metroid-maniac / SCFW

SCFW Supercard Custom Firmware & Kernel
GNU General Public License v3.0
83 stars 4 forks source link

SDRAM write failed at #13

Closed pitrako closed 1 week ago

pitrako commented 1 month ago

I get this message repeatedly sometimes when turning off and turning on, but If I let the console off a few seconds and turn on It goes away and saves correctly.

OmDRetro commented 2 weeks ago

Issue sounds similar to this bug.

pitrako commented 2 weeks ago

My gba sp is AGS-001, I just touch the power switch only once each time for turning off and on: 1-Start console and start game. 2-Turn off console. 3-Inmediately turn on console again: IMG_20240709_101021 4-Turn off console again. 5-Wait a few seconds. 6-Turn on console. 7-SCFW says is creating the save for the game. 8-Everything is normal until it happens again.

OmDRetro commented 2 weeks ago

After some searching across the net, looks like there's a way to figure out if the battery cell(coin battery) has gone dry. That error indicates a dry battery based on what I found. Since the stock firmware has an SDRAM test feature on it, it actually tells you whether or not it's working as intended and a user was able to fix it by swapping out the dry battery cell with a new one.

Reference here

Solution: Try swapping out the CR2032 battery in your SuperCard SD with a new one and see if it works for you

pitrako commented 2 weeks ago

sdram is ok but flash id gives me error: IMG_20240709_215730 IMG_20240709_215750 IMG_20240709_215819 IMG_20240709_215838 IMG_20240709_215903

OmDRetro commented 2 weeks ago

Why are you booting SCFW from this version?

Based on the error you shown, the OFW version 1.52 doesn't recognize your flash chip and that's probably causing some of the problems here.

The tests I do is to boot from OFW 1.85 to SCFW and I've not experienced any issue so far. Also, have you tested if your coin battery has gone dry?

pitrako commented 2 weeks ago

Now with 1.85 I get different sdram errors, flash id is the same error I think, I am going to test another battery but I don't know when, thanks: IMG_20240710_181247 IMG_20240710_181310 IMG_20240710_181554 IMG_20240710_181723

OmDRetro commented 2 weeks ago

Hm... Alright, but since this issue is similar to another that I referenced and that both stock firmware(v1.85) and SCFW show the same problem (SDRAM write failed).

This is more likely tied to the edge connectors of the GBA SP not having proper contacts with the SuperCard SD pins.

Try this first:

pitrako commented 1 week ago

The pins are clean, I think is the cartridge that is bad because I have an everdrive clone for gb/gbc games that works ok, close this.

OmDRetro commented 1 week ago

Ok, but I'd rather let you know that anything can happen especially during flashing. If the pins aren't properly touching the edge connectors, who knows what the behavior will be when you flash the cartridge?

For now, as you requested, the issue ticket will be closed. Feel free to file anew if this persists.