How to debug at the sleep state

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to debug at the sleep state

3,191件の閲覧回数
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 件の賞賛
返信
6 返答(返信)

3,138件の閲覧回数
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 件の賞賛
返信

3,114件の閲覧回数
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 件の賞賛
返信

3,010件の閲覧回数
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?

タグ(1)
0 件の賞賛
返信

3,003件の閲覧回数
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 件の賞賛
返信

1,298件の閲覧回数
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 件の賞賛
返信

3,152件の閲覧回数
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 件の賞賛
返信