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.

TMS320F28335: code runs in CCS12, skips lines stand alone

Part Number: TMS320F28335
Other Parts Discussed in Thread: TIDM-1022

I am developing code for a PFC circuit using the 'F28335 and CCS12.

We have our own target board.

The code runs fine in CCS12.

In stand alone mode, a section of the ControlCalcs() is always missed.

I toggle a port at the start of ControlCalcs() and at the end, so I know it is running all the way thru.

The optimizer was turned off.  I turned it on, just to see what would happen and the code did run a few more instructions.

This is a bit difficult to diagnose!!  I've been working on this for a long time now without progress.