SWO Trace Debuggiing examples

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

SWO Trace Debuggiing examples

828 Views
a_bet
Contributor IV

Hi to you all,

I'm trying to use LPCLink2 to debug my application, which is based on a LPC4370. I need to profile a function I wrote, in particular I need to know, the execution time.
I know it can be done using ITM (instrumentation Trace Macrocell), but the user guide from NXP does not provide info on how to do use it to profile a function.
Can someone pointing me to examples/material to learn how to use these advanced debugging tools?

Regards,
Andrea

Labels (1)
Tags (1)
3 Replies

614 Views
BlackNight
NXP Employee
NXP Employee

Hi Andrea,

maybe this?

ARM SWO Performance Counters | MCU on Eclipse 

I hope this helps,

Erich

614 Views
a_bet
Contributor IV

Hi ErichS‌ , thanks a lot for the reply and for the beautiful blog (one of the best LPC resources... which I knew already!).
I will dig out the profiling as soon as I'm done with functional evaluation.
Unfortunately I'm in deep troubles using LPCOpen vcom example to stream data over USB between Matlab and my LPC4370.

0 Kudos

614 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Andrea Bettati,

About the vcom example, you can create a new case in this thread:  https://community.nxp.com/community/lpc?tid=community 

BR

Alice

0 Kudos