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.

TMS320F2806: Programming TMS320F2806 Fails with Err 1156

Part Number: TMS320F2806
Other Parts Discussed in Thread: UNIFLASH

Hi there,

I'm trying to program a TMS320F2806 with a XDS200 JTAG Emulator but I constantly get the following error:

 [ERROR] C28xx: Trouble Reading Register PC: (Error -1156 @ 0xA) Device may be operating in low-power mode. Do you want to bring it out of this mode? Choose 'Yes' to force the device to wake up and retry the operation. Choose 'No' to retry the operation without waking the device. (Emulation package 9.3.0.00032)

I tried this using UniFlash 6.2.0.3059 as well as Code Composer 10.2.0.00009. 
When using Code Composer I can run a test when configuring the setup which passes successfully.

In UniFlash I'm also able to read the memory. However, when I try to program the above error occurs. Any suggestion on what I could be doing wrong?
I also tried resetting the device from uniflash by opening the resetting options. Again I get the Error 1156 (as above) but additionally the error "Could not read register ST1: target is not connected (ST1|0x0200)"

I have to say though that the whole change is insanely unstable. Pretty much after every attempt I have to restart the program, reconnect the XDS200 and power cycle the device. Otherwise UniFlash just seams to crash. 

Any help would be highly appreciated.

Thanks!

  • Lennart,

    Thanks for reaching out to the E2E. 

    I want to first make sure that we have selected the matching PN in either CCS or Uniflash.  Note there is a newer device family; TMS320F2806x(69, 68, 62, etc) that is not equivalent to TMS320F2806.  Please make sure the target is the 2806 with nothing else after the 6.

    In CCS can you "connect target" under the "Run" toolbar after you have launched the ccxml target config?

    Best,
    Matthew

  • Hi Matthew,

    after some hours of struggling with it I had to figure out that the issue is the switching power supply of the device. If I connect the programmer to the TMS the JTAG wires are very close to the power supply and the JTAG signals gets distorted quite heavily. Changing the arrangment fixed the issue.

    So thanks for taking the time to help. I'm sure we'll talk again soon as this is just the beginning ;-)

    Regards,

    Lennart