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
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
Part 2: Accessing Data and Peripherals
Part 3: Code & Data Breakpoints
Part 4: Instruction Trace
Part 5: FreeRTOS Task Aware Debug
Part 6: SWO trace
I hope that this information helps!
Regards,
Gustavo