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.

Entry point main() is not reached

Hi,

I am using DSP/BIOS function CLK_gethtime() and CLK_countspms() to measure execution time of my correlation modules. So I configured the DSP/BIOS with a .tcf file and used an auto generated .cmd file. If I run this program, it will not reach my main() program.

If I don't use the DSP/BIOS .tcf file and simply link with a linker command file with the same memory layout, then the program will reach main(). I wonder what could be wrong when I used the .tcf file to configure the DSP/BIOS??

Thanks,

Zhao

  • Hi Zhao --

    Which versions of BIOS and CCS are you using?   Can you start with one of the provided BIOS examples and make sure that those work? 

    When you halt, do you know which function is executing?   This might help narrow down which step in the boot process is going wrong.   You can disable the auto-go-main feature in CCS to step thru the boot code (starting at c_int00).

    -Karl-