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.

Error connecting to DM8168 A8 core with CCSv5.1 with XDS510+

Expert 2220 points

 

Hello,

I am using the DM8168 eval board. I have erased the flash and am trying to rewrite the flash. The way I read to do this is through code compose, but I cannot get code composer to connect to the A8. I get the error

 

Error connecting to target:

Error 0x20000220/-1260

Severe Error during: Executions, OCS,

The target device is operating in secure mode.

Debug is not allowed in this mode. 

 

Now that the flash is erased I can't get the EVM to boot either. I tried to configure the SD card as it once was but it may not be exactly the same. Should I be able to connect to the A8 core if nothing is running and uBoot never launches?

Thanks,

Ben

 

 

  • Ben,

    The secure mode referenced by the emulator error message may be caused by invalid code that is forcing the A8 into this state. The emulator then is not able to force its way into accessing the protected core. That obviously does not take into consideration any damages to the device/board.

    You can try to inspect the status of the cores inside the processor by checking step 4 of the section Strategy for debugging JTAG connectivity problems of the troubleshooting page.

    However, even with a blank flash you should be able to boot it from SD card. Just be sure you create an SD card following the exact procedure documented in its EZSDK (I think there is a script that performs this automatically) and set the bootmode jumpers accordingly.   

    In addition to that I would try to ask in the device forum itself, as they may have some additional ideas on how to recover a bricked board.

    Hope this helps,

    Rafael