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.

cant program TMS470M again

Other Parts Discussed in Thread: TMS470MF06607, HALCOGEN, UNIFLASH

Hello,


I am using TMS470MF06607 and I have done test with WFI but I've never put any code to quit from sleep mode and when I try to program again, the debuger says:

"Error connecting to the target:
(Error -5008 @ 0xFFFFEC70)
Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK).
(Release 0.0.0.0)"

So I was wondering if there are some way to program it again.

I am using CCS v4 and HALCoGen.

Thanks

Raúl 

  • Hello Raúl,

    This is a typical problem, so I would suggest you to use uniFlash(http://www.ti.com/tool/uniflash) and attempt an erase by holding the nRST.

    Try holding the nRST low and initiate an erase, while the tool is attempting to get hold of the target try releasing the nRST, which essentially halts the core before it executes the code which places your device in low power mode avoiding the debugger to get access to core.

    If it doesn't work at the first time, just try a few times so that you get this access go before the core executing the LPM code.

    Hope this helps.

  • Good morning KARTHIKEYAN RAJAMANICKAM ,

    Thank you for your quickly answer, I tried 4 times but at the end I could program again!! The next time I'll make sure I'll have code to quit from sleep mode.

    Best regards

    Raúl

  • Hi Raúl ,

    Can you please help us by sharing the sleep and wakeup code working with you?

    It is giving us some problem.

    It will be really helpful if you can share the working sample code / functions to put TMS470MF06607 in sleep mode and again wake up on some interrupt.

    Thanks in advance.

    Jaywant