How to debug in standby mode for s32k324

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to debug in standby mode for s32k324

1,249 Views
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 Kudos
Reply
4 Replies

1,229 Views
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 Kudos
Reply

1,217 Views
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 Kudos
Reply

1,212 Views
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 Kudos
Reply

1,207 Views
Prasad_330
Contributor III

hi  Julián_AragónM,

Thanks for reply.

I will try to implement and i will come back.