JTAG cannot debug in sleep mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

JTAG cannot debug in sleep mode

跳至解决方案
2,747 次查看
jeanguyomarch
Contributor I


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

标签 (1)
标记 (3)
0 项奖励
回复
1 解答
2,474 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jean

please refer to description of low power modes in attached Linux

Manual Chapter 8 i.MX28 Static Power Management Driver.

In these modes porocessor stops with WFI command execution

and seems there is no way to debug it.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
1 回复
2,475 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Jean

please refer to description of low power modes in attached Linux

Manual Chapter 8 i.MX28 Static Power Management Driver.

In these modes porocessor stops with WFI command execution

and seems there is no way to debug it.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复