How to debug at the sleep state

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

How to debug at the sleep state

2,884 Views
HaileyByun
Contributor II

Hello. I'm using S32K312 and I'd like to know how to debug at the sleep state.

I'm using Trace32 and canoe. And I can't debug at the sleep state because of hardfault.

How can I debug?

0 Kudos
Reply
6 Replies

2,831 Views
HaileyByun
Contributor II

HaileyByun_0-1728883981725.png

I got running(power down) state but I can't see B:List window as you can see this picture.

0 Kudos
Reply

2,807 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Did you add the command "SYStem.Option PWRDWNRecover ON" to Lauterbach download script?

I am able to run S32K344_GPIO_Wkup_S32DS_3_4_RTD_LLD_2_0.elf on S32K3X4EVB-Q257. This elf is from S32K3 Low Power Management AN and demos.

0 Kudos
Reply

2,703 Views
HaileyByun
Contributor II

yes I did.

So as you can see the picture that I uploaded, there's "(powerdown)" in the running state.

But I can't see B:List window.

Are there anything else that I should do?

Tags (1)
0 Kudos
Reply

2,696 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

I'm not sure if you can't see B::List main
Please refer to the attached video

0 Kudos
Reply

991 Views
HaileyByun
Contributor II

I can't see the "B::List" window like you. But I can't set break point. When I try to set breakpoint on B::List window, and I can only see the message,"Chip powered down", on T32.

And also I can't see anything on"B:Var Watch" window.

 

HaileyByun_0-1767612385507.png

 

0 Kudos
Reply

2,845 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

Have you referred to the Low-power debug handshake protocol chapter of S32K3xx Low Power Management.pdf and S32K3XXRM.pdf?

Low-power debug handshake protocol S32K3xx Low Power Management S32K3XXRM.png


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply