{"id":520,"date":"2015-06-30T14:05:03","date_gmt":"2015-06-30T12:05:03","guid":{"rendered":"https:\/\/sd2snes.de\/blog\/?page_id=520"},"modified":"2017-05-09T09:46:18","modified_gmt":"2017-05-09T07:46:18","slug":"sd2snes-diagnostics","status":"publish","type":"page","link":"https:\/\/sd2snes.de\/blog\/cool-stuff\/sd2snes-diagnostics","title":{"rendered":"sd2snes diagnostics"},"content":{"rendered":"<p>The <a href=\"https:\/\/sd2snes.de\/files\/sd2snes_diagnostic_firmware.zip\">sd2snes diagnostic firmware<\/a> is used to track down hardware issues with your sd2snes. I originally wrote it for brief burn-in testing (e.g. to check for solder errors) but it might be useful in the field as well.<br \/>\n<strong>Note:<\/strong> It will change the date and time settings so make sure to correct them after going back to the regular firmware. \ud83d\ude09<\/p>\n<ul>\n<li>Download the diagnostic firmware (see link above) and unpack it to your SD Card just like a regular firmware update.<\/li>\n<li>Put the SD Card back into your sd2snes and turn on power.<\/li>\n<li>If right after startup either the green LED light up or the yellow+red LEDs light up and nothing else happens (no intermittent LED flashing etc.), the SD Card could not be initialized. It might be worth trying a different card. Otherwise there is a contact problem with the SD Card slot (hardware failure), or the sd2snes&#8217;s microcontroller doesn&#8217;t boot up properly anymore. Tests cannot continue in this case.<\/li>\n<li>Wait \ud83d\ude09 The diagnostic firmware does not show anything on screen, it will work silently for a couple of minutes. <del datetime=\"2017-05-09T07:44:30+00:00\"><strong>If the power LED (green) flashes during the process please reset the SNES twice<\/strong> (it&#8217;s part of the SuperCIC self test).<\/del> CIC test is disabled for the time being because it caused too much confusion \ud83d\ude09<\/li>\n<li>The final test is the SNES bus test. During the test the screen will turn red, orange, yellow, and finally green if everything is ok. If the screen remains black for more than 20 minutes something&#8217;s up.<\/li>\n<li>Testing is finished when the three LEDs light up in sequence like a running light.<\/li>\n<li>During testing, the sd2snes logs the results to a text file called &#8220;test_log.txt&#8221; in the sd2snes folder on card. I might ask you to upload it after running the diagnostic firmware \ud83d\ude09<\/li>\n<\/ul>\n<p>The diagnostic firmware performs the following tests (in order):<\/p>\n<ul>\n<li>SD Card read\/write error test: writes a 4MB file, reads it back, and compares the result<\/li>\n<li>RTC test: tests if the real time clock can be set and is ticking<\/li>\n<li>CIC test: checks for correct operation of the SuperCIC key. Toggles video modes\/power LED color if SuperCIC lock is installed in the SNES.<\/li>\n<li>FPGA test: configures the FPGA and runs a simple echo test to see if it is alive<\/li>\n<li>RAM test: fills both RAM units (128Mbit+4Mbit) with test patterns and reads them back for comparison<\/li>\n<li>SD DMA test: Performs DMA transfer from SD Card to RAM, compares, and dumps the actual RAM content to card for manual inspection<\/li>\n<li>Clock test: loads the test ROM, measures the SNES master clock and checks for irregularities. Also logs a number of other control signal toggle counts for manual inspection (to check for broken traces\/solder joints).<\/li>\n<li>IRQ test: triggers an IRQ via the cartridge slot and expects the SNES to react<\/li>\n<li>Address bus A\/Data bus test: tests whether the SNES can correctly access (read+write) all of the available address space. Not the most useful test because in most cases the test code can&#8217;t run if something is wrong with the address or data bus.<\/li>\n<li>Address bus B test: checks if all peripheral bus lines are working<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The sd2snes diagnostic firmware is used to track down hardware issues with your sd2snes. I originally wrote it for brief burn-in testing (e.g. to check for solder errors) but it might be useful in the field as well. Note: It will change the date and time settings so make sure to correct them after going back to the regular firmware. \ud83d\ude09 Download the diagnostic firmware (see link above) and unpack it to your SD Card just like a regular firmware&#8230;<\/p>\n<p class=\"read-more\"><a class=\"btn btn-default\" href=\"https:\/\/sd2snes.de\/blog\/cool-stuff\/sd2snes-diagnostics\"> Read More<span class=\"screen-reader-text\">  Read More<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":44,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-520","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sd2snes.de\/blog\/wp-json\/wp\/v2\/pages\/520","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sd2snes.de\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sd2snes.de\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sd2snes.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sd2snes.de\/blog\/wp-json\/wp\/v2\/comments?post=520"}],"version-history":[{"count":19,"href":"https:\/\/sd2snes.de\/blog\/wp-json\/wp\/v2\/pages\/520\/revisions"}],"predecessor-version":[{"id":921,"href":"https:\/\/sd2snes.de\/blog\/wp-json\/wp\/v2\/pages\/520\/revisions\/921"}],"up":[{"embeddable":true,"href":"https:\/\/sd2snes.de\/blog\/wp-json\/wp\/v2\/pages\/44"}],"wp:attachment":[{"href":"https:\/\/sd2snes.de\/blog\/wp-json\/wp\/v2\/media?parent=520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}