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.

CCS/TMS320F28035: C28xx: Error: Error 0x00000020/-2011 Error during: Execution

Part Number: TMS320F28035

Tool/software: Code Composer Studio

I have my own board with TMS320F28035PAG working fine. The following problem occurs with the same board recently populated with components.

I can TEST CONNECTION through XDS510LC USB and it can detect the presence of device.

However I get a problem while attempting loading the flash: C28xx: Error connecting to the target: Error 0x80000206/-1156 Fatal Error during: Memory, Register, OCS,  Lost processor clock. Device may be operating in a low-power mode.  Do you want to bring it out of this mode? 

When I say YES, the following problem comes: C28xx: Error: Error 0x00000020/-2011 Error during: Execution,  An internal error occurred in which an illegal action (0x00000000) was requested while disconnected.

Does this mean that my device gets locked ? 3.3V and 1.9V are present,

Please reply,

  • Sibaprasad,

    1) Did you check the VDD/VDDIO rails for the required voltage level when you get this error?

    2) Check for updates in CCS and install any emulation driver updates.

    3) Also, try changing the boot mode to something like RAM or serial and then try connecting/loading.

    4) If you can send us the schematics for the JTAG part of your design, we can ask our experts to take a look at it.

    5) Check out this thread: e2e.ti.com/.../78838

    Thanks and regards,
    Vamsi
  • Thanks for the reply,
    Vddio=3.3V, Vdd=1.9V, so they are good. However, my question is why one board is working fine while the other board creates this problem. Is it possible to list down possibilities for which such error occurs. See, people like me is simply using the uC with CCS based code development. I spend mostly on the firmware development for POWER INVERTER application and does not have in-depth knowledge of the tool-chain, neither I have time to experiment different possibilities.
    See, to cut down the time after posting this problem, I replaced the uC and the board worked. I am happy with that. So, the real question is should I make myself happy this way or TI is going to provide the best help !! TI help should be very specific NOT generic like you gave.
  • Dear Sibaprasad,

    Glad to know that your issue got resolved by replacing the existing device.

    I tried to help you by listing down different possibilities/tips that can help solve the issue you are having. If any of those suggestions does not help solve your problem, I would definitely loop in specific emulation/security experts to provide further debug help. Thank you for your understanding.

    Based on the wiki article that I referred you in my previous post: May be the previous device got password protected. A byproduct of the emulation code security logic is that when the device first powers up, before CCS is connected, the security logic may disable the JTAG. To prevent that from occurring use the "wait" boot mode that we have provided that emulates wait-in-reset mode.

    Did you program the password on the previous device?

    I will ask an emulation expert and a security expert to take a look at your post.

    Thanks and regards,
    Vamsi
  • Hi Sibaprasad,

    Since you have replaced the device and issue is resolved we'll close this thread. If you face this issue again, please follow the step provided by Vamsi to connect to CCS and then check the flash content to see if device is lock (if all the flash content ix 0x0 then device is lock)

    "Based on the wiki article that I referred you in my previous post: May be the previous device got password protected. A byproduct of the emulation code security logic is that when the device first powers up, before CCS is connected, the security logic may disable the JTAG. To prevent that from occurring use the "wait" boot mode that we have provided that emulates wait-in-reset mode. "

    One important thing to remember is, one should never interrupt the flash program/erase operation on this device. If that happens (due to power loss or manual interruption) then device may get LOCK permanently and user has to replace the part.

    Regards,
    Vivek Singh