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.

how to use release mode

Other Parts Discussed in Thread: TMS570LS20216, HALCOGEN

Hi

I m trying to load the program onto TMS570LS20216 USB development kit by selecting release configuration in CCS(v4).

The entry point is changed from _c_int00 to _Executive()[Function defined by user] in Symbol management under Tool Settings tab. Other initial configurations is as is  as provided by halcogen.

The code works absolutely fine in debug mode. However it doesnt seem to work in release mode.

I have followed these steps to load the program in release mode:

1. Build the code

2. Switch to debug perspective from C/C++ and select "Launch TI debugger" followed by "connect target" and load program(and specify .out file path) under Target.

After having done this I m closing CCS and disconnecting target and repowering it again.

Is this the correct way of loading program? Or do we need to follow some other method? Or any initial configurations need to be done specifically for release mode?

Regards

Pallavi

  • Hello Pallavi,

    Usually, the only difference between a debug and release build is the optimization level.  Based on your description, I am not sure if you are making additional changes between debug and release or where this code is being placed, Flash or RAM memory.

  • I have a similar problem. Finially, it turn out to be:

    _memoryInit_(); function in sys_startup.c crashed the CPU register values. After I commenting this function call, it works.

    Hope it helps.

    Regards,

    Haixiao