chan FAT mit IAR

Gast #592144
Lesenswert?

Hallo,

ich habe unter IAR das FAT Filesystem von Chan eingebunden. Ich benutze 
einen AT91SAM7X und die Kickstartversion vom IAR EWARM.

Leider funktioniert der Code nicht. Er bleibt bei mir (mit JTAG 
festgestellt) bei einer trivialen Zuweisung stehen und springt ins 
nirvana.

Der gleiche Code funktioniert einwandfrei auf einem M16C mit Renesas 
Compiler.

Muss ich für das Filesystem irgendetwas eingestellt haben?


Danke schon mal
#592212
Lesenswert?

Yes Peter is right,

Make sure you set _MCU_ENDIAN to 2, otherwise it won't work.
I'm using Chan's FatFs and IAR too for the at91SAM7A3, which uses MCI 
instead of SPI. It really works perfect, only problem I encounter is 
working with 2 GB SD cards. I've tried to fix it, but still didn't work.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren