Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world.
And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download two short videos (registration required) highlighting:

System Workbench for STM32


Can't See Disassembly Code

I need to see disassembly code so I can look am address to find out where an interrupt is being thrown. After a sucessful compile and code run up to the exception point I do not see any disassembly code in the Disassembly tab. There is message in that tab that says “No debug context”.

When I run the code the lines pasted below appear appear in red. Everyone of these paths are valid. I checked them in the Windows Explorer, and the compiler was able to find them to create the executable. These line nunbers correspond to set breakpoints. The lines are actually there because clicking on a break point in the Breakpoints tab finds those lines the messages say are not there.

I am using this article a guide to find out why the interrupt is taking place. The interrupt is due to a system error that causes it to enter a default handling routine that has an infinite loop. I removed the “static” compiler directives. Otheriwise the code I am using is the same for each interrupt I handle this way.

What do I need to do to see the disassembly?

Why are these red lines appearing?


No line 240 in file “C:\Projects\Vladimir Rubtsov\Navy Tower Fiber Optic Beacon\Thermoelectric Cooler Driver\Firmware\TEC Driver SW4STM32\Src\freertos.c”.
No line 225 in file “C:\Projects\Vladimir Rubtsov\Navy Tower Fiber Optic Beacon\Thermoelectric Cooler Driver\Firmware\TEC Driver SW4STM32\Src\freertos.c”.
No line 320 in file “C:\Projects\Vladimir Rubtsov\Navy Tower Fiber Optic Beacon\Thermoelectric Cooler Driver\Firmware\TEC Driver SW4STM32\TEC\Src\tec_msg_threads.c”.
No line 171 in file “C:\Projects\Vladimir Rubtsov\Navy Tower Fiber Optic Beacon\Thermoelectric Cooler Driver\Firmware\TEC Driver SW4STM32\Src\freertos.c”.
No source file named C:\Projects\Vladimir Rubtsov\Navy Tower Fiber Optic Beacon\Thermoelectric Cooler Driver\Firmware\TEC Driver SW4STM32\Src\main.c.
No source file named C:\Projects\Vladimir Rubtsov\Navy Tower Fiber Optic Beacon\Thermoelectric Cooler Driver\Firmware\TEC Driver SW4STM32\Src\main.c.
No line 195 in file “C:\Projects\Vladimir Rubtsov\Navy Tower Fiber Optic Beacon\Thermoelectric Cooler Driver\Firmware\TEC Driver SW4STM32\Src\freertos.c”.
No line 509 in file “C:\Projects\Vladimir Rubtsov\Navy Tower Fiber Optic Beacon\Thermoelectric Cooler Driver\Firmware\TEC Driver SW4STM32\TEC\Src\tec_msg_threads.c”.

France

To see the disassembly you should switch to Instruction Stepping Mode by clicking th esmall icon on the top right of the Debug view (or just on the right of the “step” buttons.

Bernard (Ac6)