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


Does Debugging a CubeMX Project work out of the box?

Hi All,

Does Debugging a CubeMX Project work out of the box?

Debug never worked on my WS4STM32 since its installation whatever CubeMX Project I start from. It gives me all sorts of reasons not to work. Did I mess up since installation of the SW4STM32 and should Debug have worked out of the box?

I have a STM32F103C8T6 on a J-Link mini board which flashes and works ok.

I upload my projects via a J-Link on an STM32F407VGT Discovery with board appropriatly removed SB11 smd (reset) and positioned pcb jumpers.

J-LINK wires used are SWD: 1) Clock, 2) Data and 3) Reset.

Of course now I need to see what’s happening in detail to values and want to use the Debug feature of Eclipse.

Regards,
Ben

Tunisia

Default openocd scripts for ST boards, uses ST-Link as debug probe. So you need to customize your openocd script :

example (to be used as local script)

stm32f4disco+jlink.cfg
# This is an STM32F4 discovery board with a single STM32F407VGT6 chip.
# http://www.st.com/internet/evalboard/product/252419.jsp

source [find interface/jlink.cfg]

transport select jtag

source [find target/stm32f4x.cfg]

# use hardware reset, connect under reset
reset_config srst_only srst_nogate


EDIT : for further information @see this topicQuestion

Regards,
Tarek