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 (registration required) various documents highlighting:

System Workbench for STM32


New (re) install, openocd debug fails [Solved]

After all my problems with the integration of stm32cubemx and eclipse projects, I ended up with a corrupt project file - at least I know that was the problem now!! At the time I couldn’t build any more so I deleted everything I could find and re-installed sw4stm32 via eclipse, re-created the project by importing the ‘MX project and then importing files to where they should be and I can now build OK.

The debug is totally hosed though frown

openocd runs fine in stand alone, I can telnet and gdb to it OK but something in the eclipse settings is asking gdb to do something at startup that results in


stm32f3x.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000300 msp: 0x20010000, semihosting
Error: gdb requested a non-existing register
Info : dropped ‘gdb’ connection



I originally set this up at the start of February and I don’t recall these sorts of problems and as usual the project is getting critical!

Any assistance very much appreciated.

Turns out eclipse wasn’t setting some environmental vars correctly so it was picking up the host gdb instead of the cross-gdb

Stupid thing!!