How to debug in standby mode for s32k324

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

How to debug in standby mode for s32k324

1,248 次查看
Prasad_330
Contributor III

Hi all,

I am working on power mode of s32k324,

->we wanted to debug in the standby mode. we studied the debug chapter in the reference module but i was not able to implement.

Is there any configuration plz help me.

 

 

 

 

0 项奖励
回复
4 回复数

1,228 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Prasad_330,

After entering the Standby mode, the connection between the debugger and the MCU cannot be maintained. After waking up the MCU, you can enable the "Attach to running target" feature of the debugger connect to MCU without resetting. This is for PE Micro:

Julin_AragnM_0-1729184678675.png

You can also read chapter 9. (Low-power debug handshake protocol) from the S32K3 Low Power Management AN and demos document, which allow to re-connect Lauterbach debugger to S32K344 after standby wakeup.

Best regards,
Julián

0 项奖励
回复

1,216 次查看
Prasad_330
Contributor III

hi Julián_AragónM

Thank you.

I will check and come back to you.

Plz confirm me that S32k324 controller will reset after wakeup from the standby mode

In the other controller, once the controller is in standby mode, it used to start the execution from the next instruction from where it entered into Standby mode. Cannot we have same behavior in s32k324. 

Or 

I am doing anything wrong so that the s32k324 controller is getting reset once it had woken up

 

0 项奖励
回复

1,211 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Prasad_330

That is right. K3 will always perform a reset sequence after waking up:

Julin_AragnM_0-1729187276416.png

But you can define a boot address to enter after the Fast standby exit:

Julin_AragnM_1-1729187333101.png

Best regards,
Julián

0 项奖励
回复

1,206 次查看
Prasad_330
Contributor III

hi  Julián_AragónM,

Thanks for reply.

I will try to implement and i will come back.