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.

TMS320F28379D: Code is skip

Part Number: TMS320F28379D


Tool/software:

It is found that some code is skip in a function. View in disassembly view. the code is skipped.  I tried to use #pragma FUNCTION_OPTIONS(function_name, "--opt_level=off"). The problem is not fixed.

Below is 2 lines which is skipped

case:

ramSec1Addressptr = (uint32_t *) RAMSEC1START_ADDRESS;
ramSec1AddressNextptr = (uint32_t *) RAMSEC1START_NEXTADDRESS;

I moved the lines out of the function. It is not problem.

Any idea about the problem