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.

Booting issues from SD card

Hello,

 

I have the following problem

1. I have an older piece of code (from the same project) which runs from JTAG and boots correctly from SD card when placed there using TI's secure boot utility.

2. After one month of development I decided to test if the code still boots from SD card, but it fails. It still runs correctly when I connect the board through JTAG. I'm using exact same hardware and SD card to test both cases. What is the reason for the software failing to boot from SD card but running correctly when started through JTAG connection.

In both cases I'm not using GEL file, but initializing PLL's using C code (the code is unchanged between the two revisions).

Could the size of the code be a problem? The second version of our code is slightly larger than the one which boots correctly. Are there any means of debugging to see where the booting process fails?

 

 

  • Hi,

    It looks like the code size is the problem. According to the Bootloader user guide, the last 8KB SARAM block (0x4E000 - 0x4FFFF byte address or 0x27000 - 0x27FFF word address) will be used as scratch memory by bootloader. Please avoid using it in your application as program or contant data space. You can use it for buffer though.

    Best regards,

    Ming