Page 1 of 1

Fat Init fails

Posted: Thu Jun 11, 2009 10:48 pm
by je.sid
Hi,

I cannot initialize the Fat system on my SD card. My hardware is a GBA with a Supercard SD.
I have the latest devkitPro and libfat. As long as a multiboot image is linked all works fine! But unfortunately I need more than 256kB of space for my program. As soon as the link option is changed to a normal image (no multiboot) I cannot access the fat system anymore.

Code: Select all

fatInitDefault();
...simply returns false...

Any ideas what I am doing wrong, or why it does not work?

Greetings
Juergen

Re: Fat Init fails

Posted: Thu Jun 25, 2009 9:30 pm
by WinterMute
As far as I know there's no access to the SD card when running from ROM, you'll need to embed your data instead.

Re: Fat Init fails

Posted: Thu Jun 25, 2009 9:41 pm
by je.sid
Hi,

thanks for your answer. I can confirm your guess. At least as far as I know. I changed the linker option to do a multi-boot image and embedded all graphics and sounds into the file system.

Thx
Juergen