Fat Init fails

Support for the GBA/DS/Gamecube/Wii media card library
Post Reply
je.sid
Posts: 4
Joined: Thu Jun 11, 2009 10:35 pm

Fat Init fails

Post by je.sid » Thu Jun 11, 2009 10:48 pm

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

WinterMute
Site Admin
Posts: 1986
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Fat Init fails

Post by WinterMute » Thu Jun 25, 2009 9:30 pm

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.
Help keep devkitPro toolchains free, Donate today

Personal Blog

je.sid
Posts: 4
Joined: Thu Jun 11, 2009 10:35 pm

Re: Fat Init fails

Post by je.sid » Thu Jun 25, 2009 9:41 pm

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

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests