AnsweredAssumed Answered

JTAG cannot debug in sleep mode

Question asked by Jean Guyomarc'h on Jul 25, 2016
Latest reply on Jul 25, 2016 by igorpadykov


Hello,

 

I have a random bug that occurs sometimes after an i.MX28 enters in sleep mode.

I'm using TRACE32 by Lauterbach to try to monitor the evolution of the kernel code and try to determine whether Linux is stuck somewhere, get the last value of the PC, etc.

However, when the i.MX28 enters in sleep mode, TRACE32 fails to determine what code is Linux executing: there is a "task error" on the JTAG side. After wake-up, I can monitor the execution of Linux as expected.

 

I've read that debuggers may be disabled during sleep mode, and I would like to know what is expected behaviour of the i.MX28. I could not found a relevant information on this subject in the reference manual.

Is it even possible to debug with a JTAG probe during sleep mode?

 

 

Thank you.

Best regards,

Jean

Outcomes