Hi,
I need some help with loading a file from sd card.
I try to change the starterware bootloader sources so that the bootloader (MLO) and app is load from a sd card on our hardware. Sources came from sysbios_ind_sdk_1.1.0.4/sdk/starterware.
The ROM loader can read the MLO from sd-card and run it. I get UART outputs (UART0) and can write/read our DDR3 RAM.
But I can not read the app from sd card. In function HSMMCSDImageCopy() I get the error FR_NO_FILESYSTEM from f_open(). On the sd card is one active partition (FAT32, 2GB) with two files (MLO and app).
I seemed to me that I missed something...
Because the ROM bootloader worked, I would like to configure MMC0 like the ROM Bootloader does.
Can somone point me to the right places in the bootloader sources where I have to do the configuration for MMC0? And what are the settings I should use?
On our hardware the sd card is connected like the one on the ICE 2 board (mmc0 cmd, clk, dat0, dat1, dat2 and dat3). The voltage on our sd card is fixed 3.3V. Our crystal for the AM3359ZCZ has 25Mhz.
We do not have an eeprom so I comment out the function EVMProfileGet() (like in HSMMCSDPinMuxSetup()) and used the code appropriate for our board.
Thanks,
Sven