Stack Analysis in MCUXPRESSO IDE

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

Stack Analysis in MCUXPRESSO IDE

722 Views
prasannanaik
Contributor III

Hi,

I am using MCUXPESSO IDE to develop a Protection Relay with LPC54608J512BD208 microcontroller. I want to analyze the stack usage of the Firmware. 

Is there any feature in MCUXpresso through which i can find stack usage of different functions and interrupts.

 

Thanks & Regards,

Prasanna

Tags (1)
0 Kudos
1 Reply

713 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Prasanna,

There is a heap and stack view on MCUXpresso IDE, you can find a brief description on the MCUXpresso IDE User Guide (link below).

https://www.nxp.com/docs/en/user-guide/MCUXpresso_IDE_User_Guide.pdf

For a more hands-on approach, please check the Advanced Debugging with MCUXpresso IDE training (link below, you may need to login to access it). Particularly Part 5.

Part 1: Building Debugging and Direct Flashing

https://www.nxp.com/design/training/advanced-debugging-with-mcuxpresso-ide-part-1-building-debugging...

Part 2: Accessing Data and Peripherals

https://www.nxp.com/design/training/advanced-debugging-with-mcuxpresso-ide-part-2-accessing-data-and...

Part 3: Code & Data Breakpoints

https://www.nxp.com/design/training/advanced-debugging-with-mcuxpresso-ide-part-3-code-data-breakpoi...

Part 4: Instruction Trace

https://www.nxp.com/design/training/advanced-debugging-with-mcuxpresso-ide-part-4-instruction-trace:...

Part 5:  FreeRTOS Task Aware Debug

https://www.nxp.com/design/training/advanced-debugging-with-mcuxpresso-ide-part-5-freertos-task-awar...

Part 6: SWO trace

https://www.nxp.com/design/training/advanced-debugging-with-mcuxpresso-ide-part-6-swo-trace:TIP-ADVA...

I hope that this information helps!

Regards,
Gustavo