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.

Debug or Release to build project for boot image

Other Parts Discussed in Thread: TMS320C6670

Hi All,

I'm implementing SPI boot on TMS320C6670 and meet a problem. There're two ways to build an RTSC project -- Debug and Release. When using debug mode to make the .out file and generate boot image, it boot correctly that all 4 cores enter main(). Instead, when using release mode boot failed that some cores can not find the entrance of program. I don't know why and which is the right way for boot image generation, not only for emulator.

Expect your support~

  • Hi Chris,

    Can you please provide the compiler settings that you are using in the Release configuration? Did you try to load and run the Release version of your application binary using an emulator?

    Have you tried to connect to the device when the SPI boot fails to see where in the ROM code,. the boot may be hung. Please provide the Program counter value so that we can help you with this issue. 

    Also, it may be easier for  us to replicate this issue on the EVM if you can zip your files and provide us instructions of how you generated the boot image and flashed it to the EVM. 

    Regards,

    Rahul