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.

TMS320F28027: Program is not running after Power Recycle

Part Number: TMS320F28027

Hi,

I have two different hardware which uses TMS320F28027. And, it uses JTAG pins for flash programming. I have a LED blinking program which I download into flash using CCS 6.2.0.

These boards have exact same JTAG programing, LED Blinking pins connection. And, rest of the connections are not useful.

For, Board-1, I program the flash using JTAG and it works absolutely fine even after recycling power.

And, For Board-2 with same LED blinking program, CCS etc, I see LED blinking when getting program with JTAG but it doesn't work once I recycle the power.

Following are the observations:-

1. Supply are stable on Board-2

2. TMS, TDI, TDO, TRST, TCK -> I don't see any issue on Board-2

3. The JTAG connection, LED connection is same for both board Board-1 and Board-2 (Picture Attached) -> I don't see any issue on Board-2 with the connection

4. Board-1 has OTP_KEY = 0xFFFF, OTP_BMODE = 0xFFFF, EMU_KEY = 0x55AA, EMU_BMODE = 0x0003 (Get_Boot) -> Board-1 works fine

    Board-2 has OTP_KEY = 0xFFFF, OTP_BMODE = 0xFFFF, EMU_KEY = 0x55AA, EMU_BMODE = 0x0002 (Wait_Boot) -> Board-2 has issue

5. On Board-2, After JTAG programming and followed by power recycle, XRS pin is generating pulses at every ~13ms

6.  On Board-2, After JTAG programming and followed by power recycle. Now, I have selected the "Load Symbols Only" options in debug configuration and loaded it.

Once loading completes, I pressed "Restart" in CCS debug window options. And, than applied "Resumed" -> This whole, action 6, makes the LED Blinking!!!

7. In document, Literature Number: SPRUFN6A, December 2008–Revised October 2009, TMS320x2802x Piccolo Boot ROM, Reference Guide

Its mentioned in section 2.9: Bootloader Modes - " NOTE: The 2802x devices do not support the hardware wait-in-reset mode that is available on other C2000 parts" 

8. I have 3 nos of board-2 with exact same observations 1-to-8 mentioned above.

I strongly feel, but not sure, EMU_BMODE = 0x2 (wait_boot) is causing this issue for this part.

Now, I don't know how to change EMU_BMODE to 0x3 to confirm if this is the issue and getting stuck!

Appreciate your quick response to get me going with Board-2 production! Thanks.

--Ashish