sd2snes diagnostics

sd2snes diagnostics

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. ;)

  • Download the diagnostic firmware (see link above) and unpack it to your SD Card just like a regular firmware update.
  • Put the SD Card back into your sd2snes and turn on power.
  • 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’s microcontroller doesn’t boot up properly anymore. Tests cannot continue in this case.
  • Wait ;) The diagnostic firmware does not show anything on screen, it will work silently for a couple of minutes. If the power LED (green) flashes during the process please reset the SNES twice (it’s part of the SuperCIC self test). CIC test is disabled for the time being because it caused too much confusion ;)
  • 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’s up.
  • Testing is finished when the three LEDs light up in sequence like a running light.
  • During testing, the sd2snes logs the results to a text file called “test_log.txt” in the sd2snes folder on card. I might ask you to upload it after running the diagnostic firmware ;)

The diagnostic firmware performs the following tests (in order):

  • SD Card read/write error test: writes a 4MB file, reads it back, and compares the result
  • RTC test: tests if the real time clock can be set and is ticking
  • CIC test: checks for correct operation of the SuperCIC key. Toggles video modes/power LED color if SuperCIC lock is installed in the SNES.
  • FPGA test: configures the FPGA and runs a simple echo test to see if it is alive
  • RAM test: fills both RAM units (128Mbit+4Mbit) with test patterns and reads them back for comparison
  • SD DMA test: Performs DMA transfer from SD Card to RAM, compares, and dumps the actual RAM content to card for manual inspection
  • 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).
  • IRQ test: triggers an IRQ via the cartridge slot and expects the SNES to react
  • 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’t run if something is wrong with the address or data bus.
  • Address bus B test: checks if all peripheral bus lines are working

54
Leave a Reply

27 Comment threads
27 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
21 Comment authors
newest oldest most voted
James :-}

Not sure my last comment was sent. With this software all that happens is the GREEN LED is on but dimmed and the RED LED flashes on and off 5 times then recycles around and around but nothing else. It does not save any files to the SD card and happens on four different SNES machines. I am going to replace the caps on all machines next week to see if it is a power issue as I suspect. I got it from Retrotowers and it is an official PCB and it runs for a bit then crashes from time… Read more »

James :-}

Thanks for the reply Ikari. I think the dimming LED is down to the capacitors on the SNES machines meaning the power is not up to the job. The “/sd2snes” path is actually missing! Will need to check again in the morning. Thank you for the help so far.

hI I have repaired the fail in RAM1. I have resolder all chips in my SD2SNES and now the ram test is ok. Only have a error , but I don´t know where is the problem. TEST SUMMARY ============ Test Result —————- SD Passed USB no run RTC Passed CIC Passed FPGA Passed RAM Passed SD DMA Passed CLK Passed DAC no run SNES IRQ Passed SNES RAM Passed SNES PA FAILED thanks for oyur help

Thanks , I see the RA112 with possible bad solder, but my snes is now with black screen (It shows nstc black screen without sound, ¡. The scart 2 hdmi detect black screen NTSC signal), I am waiting other sfc or repair this to continue with sd2snes.
thanks very much

Hi. Now I had repair bad solders in RA112 and any capacitors. The test is all ok now, and I was change firmware and SD (0,2 -0,5ms, sd2snes menu test ) now the sound seems clean. Thanks very much. PD , is possible in a future change firms without connect SD to a computer?, . I need a firm to msu1 games and other for dsp because 1.3 , 1.4 and 1.4a is good for dsp and normal roms but msu1 games have a bit of noise ( very little) , but in 0.1.7 pre 3 and 4 the sound… Read more »

RE PD:
With 0.1.7 pre 3-4 MSU1 games are good but DSP games fails, thanks

Thanks very much, I will wait next firmware.
thanks very much for all

Henrique

good day my sd2snes gave the following errors
TEST SUMMARY
============

Test Result
—————-
SD Passed
USB on the run
RTC Passed
CIC FAILED
FPGA Passed
RAM Passed
SD DMA Passed
CLK Passed
DAC on the run
SNES IRQ FAILED
SNES RAM FAILED
SNES PA FAILED
More I never had a problem with him, worked always normal, you have to help me? lack any application?

Hey Ikari, I have the same results as Henrique, any tips on getting the IRQ/RAM/PA tests to pass? I have some experience with soldering.

Vielen dank Ikari, I should have followed your steps on resetting twice. That worked. TEST SUMMARY ============ Test Result —————- SD Passed USB no run RTC Passed CIC Passed FPGA Passed RAM Passed SD DMA Passed CLK Passed DAC no run SNES IRQ Passed SNES RAM Passed SNES PA Passed Pretty good for a suspected China cart ;)

cutchemist

Hey Ikari, any idea what the log bellow means, it’s RIP console right? ;____; Testing RAM0 (128Mbit) – clearing RAM – writing RAM – verifying RAM -error @0x000020: expected 0x20, got 0x00 error @0x000022: expected 0x22, got 0x02 error @0x000024: expected 0x24, got 0x04 error @0x000026: expected 0x26, got 0x06 error @0x000028: expected 0x28, got 0x08 error @0x00002a: expected 0x2a, got 0x0a error @0x00002c: expected 0x2c, got 0x0c error @0x00002e: expected 0x2e, got 0x0e error @0x000030: expected 0x30, got 0x10 error @0x000032: expected 0x32, got 0x12 error @0x000034: expected 0x34, got 0x14 error @0x000036: expected 0x36, got 0x16 error @0x000038:… Read more »

Rafael

Hello,

Rev F, but, I dont now, china version or not.

Test Result
—————-
SD Passed
USB no run
RTC Passed
CIC FAILED
FPGA Passed
RAM Passed
SD DMA Passed
CLK Passed
DAC no run
SNES IRQ FAILED
SNES RAM FAILED
SNES PA FAILED

Rafael

really, you saved me !!!! are two small arms, one of them gave no contact! I pushed him inside, and now works !!! thank you so much!!! Question: rev. F is without LEDS ?, My PCB did not have, I even installed !!

RodryxarK

Hi,

I did the test and this are the results.

TEST SUMMARY
============

Test Result
—————-
SD Passed
USB no run
RTC Passed
CIC Passed
FPGA Passed
RAM Passed
SD DMA Passed
CLK Passed
DAC no run
SNES IRQ FAILED
SNES RAM FAILED
SNES PA FAILED

there’s something wrong with the snes?

Regards

vmenge

Hello! Just got my SD2Snes a week ago and was only able to test it today. I bought both an SD2Snes and an Everdrive v3 from the krikzz store. Everdrive is working perfectly. SD2Snes gave me a blank screen with firmware. Without SD card it initializes to a “No SD card found screen”. I tried with another SD card and got this screen: http://imgur.com/J8ejfqW I ran the diagnostics and got: TEST SUMMARY ============ Test Result —————- SD Passed USB no run RTC Passed CIC FAILED FPGA Passed RAM Passed SD DMA Passed CLK Passed DAC no run SNES IRQ FAILED… Read more »

vmenge

The only flash I see is a single flash as soon as the SNES turns on. If I reset the SNES twice after that single flash I get excatly same results except Passed instead of failed on IRQ. Still get failed on CIC :(

KnuckleheadFlow

Just a heads up that you should always try simple fixes first. After 5 days of normal operation, my brother’s cart stopped working the night I gave it to him in his customized SNES shell. After a few hours, he was playing one of the Street Fighter 2s when suddenly the game wouldn’t reset. He power cycled it and all he had was a black screen and a blinking yellow read light. Such a disappointment. I was wondering if it’s a bunk MCU or the Spartan, looking at busting out the oscilloscope to see if there’s communication, getting ready to… Read more »

the_crayon_king

Plz halp. Stays blinking red and yellow after resets. No video.
I touched up the solder on the resistor blocks to no avail. The text saying “FPGA is stuck high” makes me think maybe its a bridge and not a cracked solder joint. Then again I have no clue.

===log opened===
derp
SD test… please insert card
=============================
data=111133b04504
crc1 = d805a1bf crc2 = d805a1bf PASSED

RTC Test
========
setting clock to 2011-01-01 00:00:00
2011-01-01 00:00:00
waiting 5 seconds
new time: 2011-01-01 00:00:05
PASSED

CIC Test:
=========
Current CIC state: CIC_OK
CIC reports OK; no pair mode available. Provoking CIC error…
new CIC state: CIC_FAIL
***Please reset SNES***
PASSED

FPGA test
=========
configuring fpga…
DONE is stuck high!

Francisco Nascimento

Ikari, what kind of LED is used on the boards? Mine came without the LEDs and I would like to solder them on the board. Thank you!

Ed

Hi!
Sorry for my english, but i have this problem:
“RAM1 FAILED”
I have read maybe is problem with solder. Which part from the pcb i’m must check to apply solder?
Thanks!

Littlecolt

Everything says PASSED, but my SD2SNES won’t load MSU-1 music, and loads MSU-1 videos with no sound. Something wrong with the SD2SNES that the diagnostic didn’t catch? TEST SUMMARY ============ flash check: 1111-4-33b04504-dfb09a7f-00-11-0 Test Result —————- SD Passed USB not implemented RTC Passed CIC no run FPGA Passed RAM Passed SD DMA Passed CLK Passed DAC not implemented SNES IRQ Passed SNES RAM Passed SNES PA Passed

Anonymous

Hey, great work Ikari.
I have this problem that popped up overnight.
The LED blinks yellow after booting up and there’s no video… can’t find anything on this problem so far.

FPGA test
=========
configuring fpga…
fpga_pgm: 212501 bytes programmed
no response from FPGA trying to initiate configuration!

Thanks!

daniel

bought sd2snes at warners retro corner, i assume its a copy
works fine buy left audio channel has noise when running games

changed console,ac adapter ,videocable, sd card etc

maybe with an older firmware?

daniel

all tests passed ok

Jcx

I do not know if it’s a console, sd or cartridge problem or all I. Stand up on the yellow screen, and supposedly the 3 leds flashing in order TEST SUMMARY ============ flash check: 1111-4-33b04504-dfb09a7f-00-11-0 Test Result —————- SD Passed USB not implemented RTC Passed CIC no run FPGA Passed RAM FAILED SD DMA FAILED CLK Passed DAC not implemented SNES IRQ Passed SNES RAM FAILED SNES PA Passed

xTookayx

===log opened===
derp
SD test… please insert card
=============================
data=111133b04504
crc1 = d805a1bf crc2 = d805a1bf PASSED

RTC Test
========
setting clock to 2011-01-01 00:00:00
2011-01-01 00:00:00
waiting 5 seconds
new time: 2011-01-01 00:00:05
PASSED

FPGA test
=========
configuring fpga…
fpga_pgm: 212501 bytes programmed
no response from FPGA trying to initiate configuration!

yellow led blinks forever

What is that?

Muzik_Monkey

TEST SUMMARY ============ flash check: 1111-4-33b04504-dfb09a7f-b8-11-0 Test Result —————- SD Passed USB not implemented RTC Passed CIC no run FPGA Passed RAM Passed SD DMA Passed CLK Passed DAC not implemented SNES IRQ FAILED SNES RAM Passed SNES PA Passed https://i.gyazo.com/b5af29da286110b08df0dd323e65e50f.jpg this is the image i see on boot up. I can play normal cartridges. I can save game play normal. With no SD inserted in SD2SNES, I get a clear “NO SD inserted”… but with all versions of firmware installed, this is what I see.

Romeo

Hi,

Just a quick question:
– I have launched this firmware for test and I get an error on RTC test:
RTC Test
========
setting clock to 2011-01-01 00:00:00
2011-01-01 00:00:00
waiting 5 seconds
new time: 2011-01-01 00:00:00
FAILED

What can be the issue? Batterry?
Thanks

Romeo

Hi Another question, I have this result: TEST SUMMARY ============ flash check: 1011-3-0a4fa98f-14067959-00-11-1 Test Result —————- SD Passed USB not implemented RTC FAILED CIC no run FPGA Passed RAM Passed SD DMA Passed CLK Passed DAC not implemented SNES IRQ Passed SNES RAM Passed SNES PA FAILED What is the SNES PA, DAC not implemented? I tested on several snes consoles and same results. Thanks

Romeo

Pb fixed by resoldering ra101,ra102,ra111 and ra112.
Rtc works again
Button ingame works fine.

sylvio joão

Hi everyone, I’ve seen a strange problem in my sd2snes for about a week, sorry for my bad english as I am a brazilian, so when I turn the super famicom on with the cart it gives me the message “flash check error (clone!?)”, then it boots normally. At first I thought my sd2snes was a fake one, but them I carefully opened it up and there was a lot of traces that makes me certain that it is original, and it says it is revision E2 from 2012-02-26, should I worry that my cart is dying? This problem started… Read more »

Dave R

I have reformatted two SD cards to FAT32. Am I missing something obvious? Here is the diagnostic summary: TEST SUMMARY ============ flash check: 1000-1-33b04504-dfb09a7f-b8-11-0 Test Result —————- SD Passed USB not implemented RTC Passed CIC no run FPGA Passed RAM Passed SD DMA Passed CLK Passed DAC not implemented SNES IRQ FAILED SNES RAM FAILED SNES PA FAILED

Paulo Flores

Hi, I have black screen, yellow led blinking and green and red down.

Problem happening:
https://www.youtube.com/watch?v=V51ie155TtM

PCB in details:
https://www.youtube.com/watch?v=HGLhz99gV1c

Here is the log:

===log opened===
derp
SD test… please insert card
=============================
data=111133b04504
crc1 = d805a1bf crc2 = d805a1bf PASSED

RTC Test
========
setting clock to 2011-01-01 00:00:00
2011-01-01 00:00:00
waiting 5 seconds
new time: 2011-01-01 00:00:05
PASSED

FPGA test
=========
configuring fpga…
fpga_pgm: 212501 bytes programmed
no response from FPGA trying to initiate configuration!

Pictures:
https://www.dropbox.com/s/dsmbb6itwtt59qo/2018-08-31%2022.27.42.jpg?dl=0
https://www.dropbox.com/s/cp8c748vw05ht1c/2018-08-31%2022.27.39.jpg?dl=0
https://www.dropbox.com/s/hgl368sh1l2m1wu/2018-08-31%2022.27.32.jpg?dl=0
https://www.dropbox.com/s/35t9rjax2rd6e6e/2018-08-31%2022.27.29.jpg?dl=0
https://www.dropbox.com/s/epfjmj9wsbrd2j0/2018-08-31%2022.27.26.jpg?dl=0
https://www.dropbox.com/s/bivdsddog2zrnz8/2018-08-31%2022.27.20.jpg?dl=0
https://www.dropbox.com/s/unv47e5wmrr9ddm/2018-08-31%2022.27.18.jpg?dl=0
https://www.dropbox.com/s/5897wwnnhgu4u1k/2018-08-31%2022.27.15.jpg?dl=0

Any help please?

Thanks

This site uses cookies.
You need to accept cookies to use the comment feature and view embedded media.
See Privacy Policy for further details: more information

Some content on this site is hosted on an external site (YouTube).

This site uses a cookie for comment spam protection, and WordPress uses cookies to store some information.

If you want to use either of these features you need to opt-in to the use of cookies by clicking "Accept" in the cookie notification bar.

See Privacy Policy for further details.

Close