This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SD card Boot SDHC.lib source code

Other Parts Discussed in Thread: AM3517

Hi All,

 

I am working on a AM3517 custom board, and I am trying to boot the processor using an SD card. I get the following:

Texas Instruments Windows CE SD X-Loader for AM35x
Built Feb  7 2012 at 11:01:36
Version BSP_WINCE_ARM_A8 2.00.00.02

Climet Instruments Build Ver - 0.9
open ebootsd.nb0 file
Init HW: controller RST

SDCARD: reqested speed 1000000, actual speed 1000000

SDHC: command CRC error!

SDHC: command response timeout CTO!

MMC::MMCCommandResponse: MMCSendCommand error, command = 0

MMC::MMCCommandResponse: Command Response Error

 

It seems that when the speed is stepped up, the card is not communicating correctly.  I am wondering if the source code the get the sd card booting is avaible and can be changed to use a slower 400khz transfer rate.  I have been able to make my own MLO from the Am35xx_OSdesign solution in Platform builder( as noted in the above boot code out put). IT seems that the function SBBLdownload(filename) that is in the "open ebootsd.nbo file" output line is a library function. I haved edited the sdmain.c file in the AM35x_BSP\Bootloader\XLDR\sdmemory\sourcefiles\

 

I am looking for the source code to:  BLSDCardDownload(g_bootCfg.filename)

Any help or advice would be great!

Thanks,

Caleb