gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > DLDI writing problems

#135505 - JeffMan - Tue Jul 24, 2007 12:33 am

Refer to this video I made of an example of my problem: http://youtube.com/watch?v=lbR7EzJLzKU

I'll outline my problem here:

Almost every homebrew app I try on my flash cart that tries to write data to my microSD card, whether it be the saver files as demonstrated in the video, backup saver files from eepinator, or even pictures/text from DSOrganize, nothing works. Things don't write correctly when they're supposed to. Sometimes an app will create a 0-byte file and not be able to actually write anything to it, sometimes an app will try writing to an existing file and end up corrupting it, or sometimes it will just hang; all three of these outcomes are demonstrated in the video with SNEmulDS.

Now, I've asked a couple of other people who have the same flash cart as me if they have these problems, and everything seems to work fine for them. So either my flash cart or my microSD is defective, I assume? Or maybe before I go and spend lots of money on a new flash cart or microSD, is there any possibility that maybe my microSD just isn't supported by DLDI or something? This is pretty annoying, 'cause I can't even use any emulators such as SNEmulDS like in the video.

However, whenever I try to save with a commercial DS or GBA game, and my flash cart attempts to write the saver file on the next boot, it's fine. No problems whatsoever. Nothing is corrupted, everything works. This just happens when an app tries to access the microSD directly.

Likewise, if I try to use a buildable emulator such as PocketNES (or was it NESadvance? One of them) that saves in the same fashion (write to the flash cart's PSRAM, flash cart writes it to the file on next boot), it also works perfectly. I can save states and such perfectly on that particular emulator.

Specs:

EZ Flash IV Lite Deluxe
Transcend 512MB microSD, AND Transcend 2GB microSD; slightly varied but overall non-functional results


So would this be a hardware problem or a homebrew coding problem or what? Any help would be appreciated.

#135510 - Lynx - Tue Jul 24, 2007 1:42 am

So, what your saying is... It works with your warez, but not homebrew? Hmmm.
_________________
NDS Homebrew Roms & Reviews

#135511 - JeffMan - Tue Jul 24, 2007 1:57 am

You completely missed my point, but yes, that's part of the underlying situation.

#135540 - OSW - Tue Jul 24, 2007 9:42 am

well have you tried the alternate dldi for ez4? i use it because the normal fails to work with my problematic microsd card.

if you haven't i can get u a link

edit: heres a link if u need it
http://www.savefile.com/files/914105

#135630 - JeffMan - Wed Jul 25, 2007 3:24 am

I've tried that, on both cards, and the same problem happens. Thanks though.

#136488 - JeffMan - Thu Aug 02, 2007 6:35 am

Case closed; I tried a SanDisk card today and it works beautifully. Looks like Transcend just isn't supported properly. Thanks for the help, everyone.