postmortem ETB trace

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

postmortem ETB trace

1,375件の閲覧回数
jimkiely
Contributor I

Is it possible to do postmortem debugging on the LPC43xx series (LPC4350 particilarly) using the ETB?

I can get ETB to display trace info if I run from LPCXpresso, MCUXpresso or Segger's Ozone.

But I really need to connect to a target that has been running normally (i.e not running from the debugger) and read and decode the ETB.

Is this possible with LPCXpresso, MCUXpresso or Segger's Ozone or with any other tool or combination of tools in the know universe?

ラベル(1)
タグ(1)
0 件の賞賛
返信
2 返答(返信)

1,235件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Jim

I suggest you use SWO ITM trace.

  • Without debug tools attached, an ITM event will not halt the MCU, it will simply be ignored.
  • ITM operations could be left within production code, thereby allowing logging information to be captured simply

For more information, see

How to use ITM Printf 

Overview of Trace support in LPCXpresso IDE 


Have a great day,
Jun Zhang

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

0 件の賞賛
返信

1,235件の閲覧回数
jimkiely
Contributor I

I do not understand how ITM printf is related to postmortem debugging.

It does not provide the ability to back-trace where the dead device got hung.

It does not allow me to read the ETB, which has the back-trace information that I need.

0 件の賞賛
返信