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


Debugger doesn't work

So I am just starting with STM32 and I have already encountered numerous problem... Basically, I have problem even with the debugging an example problem.
Error:
Error
main.c is attached.
I am using nucleo 4F01RE with adafruit shield (https://www.adafruit.com/products/802).

And I wasn’t able to deal with any other program as well, so I suppose the problem is somewhere in installation/configurations...

I would be very grateful for any help.

Hi,
May you check the USB cable?
May you test the target connection in using ST Link Utility? (if it fails, the board could be damaged)


Hi. I managed to compile this project and it worked with adafruit. But then I moved to creating a new project I have the same problem even with an empty project. First debugger worked. Then I relauched debugging session, same mistake as in the first post appeared again.
USB cable and the board seem to work ok though.


Hi, did you Terminate the previous debug session (with the Red Square button)?

Hi. Yes, the debug session was terminated.
Today I have actually failed to reproduce the error. I really don’t know what caused, but today debugger works fine for me. I have other problems, but that’s another story already. Thanks everyone who tried to help.