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 3.3.50.2 - ARM9 provides error "Trouble Halting Target CPU: Error 0x00000020/-2011 Error during: Execution"

Hi,

My customer is using CCS 3.3.50.2 on DM6467 (ARM9).

When video encoding is on, system goes into a hang state after some time.
After this customer can connect to DSP side through JTAG and DSP looks to be in good state.

But when  the customer try to connect to ARM side, CCS gives this error.

Trouble Halting Target CPU: Error 0x00000020/-2011 Error during: Execution,  An internal error occurred in which an illegal action (0x00000000) was requested while disconnected.   Sequence ID: 15 Error Code: -2011 Error Class: 0x00000020

We would like to know what does this error exactly mean? What are the possible causes for this error.

Regards,
Pramod Mali

  • Hi Pramod,

    So are you trying to connect to the ARM after Linux is running? Without re-booting the board in emulation mode?

  • Mariana,

    Thanks for the response. Appreciate the response.

    That's correct. The customer is trying to connect to ARM (running Nucleus on ARM - Not Linux) without rebooting the board in emulation mode

  • Even if you could connect during nucleus execution, it would halt the processor and the stop the OS execution flow. Usually to connect you need to be in emulation boot. After you boot the OS, it might interfere with the emulation and make the connection not possible. I'm not an specialist in CCS errors, but that is probably the reason why it can not halt the CPU to connect:

    Trouble Halting Target CPU

    Sometimes you an interrupt the boot process and try to connect when you get the u-boot prompt (without using any CCS GEL file), and then boot Linux after that. Not sure if it is possible for Nucleus.

  • Appreciate the response Mariana.

    We don't connect to ARM using JTAG when it is running. We stop the execution and then connect to check the status.

    Usually we don’t have any issues in this process. We are able to connect and get the required debug info.

    This is a special case where we are not able to connect even after stopping the execution. So we are trying to find out what could cause this.

    What does this error exactly mean? Why would CCS throw up this error?  (Is it some memory corruption, some registers getting wrong values?)

    Thanks,

    Pramod Mali

     

  • Hi Pramod,

    Looks like you have CCSv3.3 Service Release 4 update installed. That is pretty old. There has been a lot of bug fixes since that version. The latest SR for CCS v3.3 is SR12. Could you install that SR and see if that helps? You can get SR12 from CCS Update Advisor.

    Thanks

    ki

  • Thank you for the suggestion. will upgrade to the newer version.

    What we are more interested is to know the reason why this error is thrown by CCS.

    Trouble Halting Target CPU: Error 0x00000020/-2011 Error during: Execution,  An internal error occurred in which an illegal action (0x00000000) was requested while disconnected.   Sequence ID: 15 Error Code: -2011 Error Class: 0x00000020

    We see this error when we see a davinci crash. We are trying to find out if this ccs error gives some clue to debug the issue.

    Regards,

    Laxmi.