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.

  • Resolved

TMS320F2808: Runs only with JTAG connected

Expert 1325 points

Replies: 5

Views: 125

Part Number: TMS320F2808

Hello.

I am running code on a TMS320F2808 in a bespoke card.  One of these is showing a strange problem (others OK).

If I connect to the processor via JTAG & run, the code runs OK (I can see a GPIO being toggled).  I can use CCS to reset and run, or toggle the reset line into the processor, and the code runs OK.  I terminate the debugging session and the code goes on running.  But if I power cycle or toggle the reset pin, the code does not appear to be executing.  I have monitored the reset pin, and this is not showing any resets.

I have created at target configuration to connect without resetting (no GEL script, etc.).  This does work as I have tested with running code, and on connect I find the PC in a timer wait loop (where it will spend most of its time).
If I connect after a reset when the code is not seen running, I find that PC = 0x3FFB50, which is the reset address.  Clicking “run”, the code then runs.

So, it looks like the processor is getting stuck at the reset address.
Any ideas why this might be?  Or what is really happening?
Perhaps there is a common cause of this.

Regards, Giles

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.