With the ending of support for Windows 7, I'm moving all my development to Linux and, for the most part, I'm pleased with how well MCUXpresso IDE works under Linux except for providing task debug information for FreeRTOS. If I run my application under Windows, I get full debug information as you can see here:
But I can't get any in Linux (I'm running under Ubuntu 18.04.4 LTS) - is it not set up or do I need to enable this capability?
These are the same projects running under the two different systems.
Thanx,
myke
Solved! Go to Solution.
I've discovered how to get the task-aware debugging information on MCUXpresso IDE running under Linux.
To get to the selection window, click on the MCUXpresso's "WIndows" drop down and then click on "Show View". In "Show View", click on "Other" and then in the "Show View" window that comes up click on "MCUXpresso IDE FreeRTOS" and select what you want to see:
This is the same/different to Windows where the debugger information works the same, but seems to come up automatically for Windows.
I've discovered how to get the task-aware debugging information on MCUXpresso IDE running under Linux.
To get to the selection window, click on the MCUXpresso's "WIndows" drop down and then click on "Show View". In "Show View", click on "Other" and then in the "Show View" window that comes up click on "MCUXpresso IDE FreeRTOS" and select what you want to see:
This is the same/different to Windows where the debugger information works the same, but seems to come up automatically for Windows.
Anybody on the MCUXpresso IDE team available to answer this question?
I just spent a day on Linux trying to understand a hardfail on the MK22 and even updated the "semihost_hardfail.c" file provided in the project using the information provided the excellent articles by Erich on the subject (hard fault | Search Results | MCU on Eclipse ). I couldn't get any useful information other than a hardfault was happening.
Then I moved the project to a Windows system and the hardfault's PC was displayed with symbolic information, allowing me to see where the error occured with variable information so I could figure out the error basically immediately.
I really would like to see these capabilities on Linux rather than feeling like I have to move to Windows10.
Thanx,
myke
Hi myke,
I notice that you might not have turned on the following option in the J-Link configuration?
And you can open the views with:
I hope this helps,
Erich
Hi Erich,
I did not have that flag set, but it didn't make any difference in how MCUXpresso IDE on Linux works.
Can I ask a question? From your screenshot, it looks like you are running on Windows 10. Are you running under Linux and does this work there?
myke