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


Cannot start debugging

Hi all,

Im quite new to OpenSTM32 (to eclipse too) and I faced a lot of troubles untill now while trying to import my IAR project to OpenSTM32 and now all my code successfully build. But I am facing a problem to start debugging.

Im on latest version of OpenSTM32 (Eclipse Neon.3 Release 4.6.3) on a windows 10.
My debugger is an original ST-Link/V2 and I have a custom board.
My target is a STM32F746IGT6

My problem is that before start debug I get the following error:

“Exception occurred during launch

Reason:
Error in final launch sequence

Details:
Failed to execute MI command:
-exec-continue

Error message from debugger back end:
Warning:\nCannot insert breakpoint 1.\nCannot access memory at address 0xf3af47de\n
Warning:\nCannot insert breakpoint 1.\nCannot access memory at address 0xf3af47de\n

On my Launch configuration file, in debug settings (Project Proprieties -> Run/Debug Settings)

Startup TAB is with following setup:

(checked) Reset and Delay: 3 seconds
(checked) Halt: monitor reset halt

(checked) Load Image - Use project binary

(checked) Load Symbols - Use project binary

(unchecked) Set program counter at
(checked) Set breakpoint at: main
(checked) Resume


Note that I can run the exactly same code with the same board with my project in IAR, so I really think that I missed some configuration on OpenSTM32.

Anyone can help me?

By the wat, if there is some admin here, the instrunctions to configure debugger on this website is outdated, on section “Configuration Script” of TAB Debugger on launch configuration proprieties.

Thanks in advance,

Danilo

I still don’t know what happend. I was trying to make a C++ project with CubeMX’s gerenated project. I hint “convert to C++” on project preferences...

I just give up and created a project with OpenSTM32 wizard instead of trying to use the CubeMX generated. Now it’s all working.

After that I created a project with OpenSTM wizard I just moved the openstm32-custom startup file and LinkerScript to my new project.