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


Debugging STM32F107 from CubeMX

Guys,

I tried to debug a code generated from CubeMX for STM32F107 on System Workbench,

But I got this error :


Error in final launch sequence
Failed to execute MI command:
-target-select remote localhost:0

Error message from debugger back end:
localhost:0: The requested address is not valid in its context.
localhost:0: The requested address is not valid in its context.

Anyone knows how to fix it ?
And how do I upload *.hex file to the board from this System Workbench ?
How do I use my J-Link or ST-Link ?

thanks

Hi,

System Workbench support ST-Link.
Can you add the -d3 option to the debug configuration as showed in this image?

Debug Conf 01

That option tell OpenOCD to display more debug information. In this way you can check in the openocd console what is going wrong and provide more information to better understand your problem.

Regards,
Stefano


Hello,
I am trying to debug STM32F107VC in System Workbench. I use the FW from Cube, however it looks fine because I can flash it via ST-Link Utility and it works. But when starting debug following error appears:

Error in final launch sequence
Failed to execute MI command:
load “C:\Users\Public\Development\SWSTM32_workspace\Cube_eth\deebridge_eth\SW4STM32\deebridge_eth Configuration\Debug\deebridge_eth Configuration.elf”

Error message from debugger back end:
Error erasing flash with vFlashErase packet
Error erasing flash with vFlashErase packet

I append as well print screen with console output :

undefined debug reason 7 - target needs reset
Error: timeout while waiting for target halted
TARGET: stm32f1xx.cpu - Not halted

I use 4 wire SWD connection (VDD, GND, SWD, SWCLK) to MCU.

Can you please help me to find out the solution?

Thank you in advance,

Tony