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


First time program in STM32F411E-Disco

Hi,

IMO, because you don’t have examples for you board STM32Cube v1.7.0 or v1.8.0, the easy way is to generate the project from STM32CubeMX and then import into System Workbench. This should work, I do this for 4 or 5 different boards and I did not have any problems. Just follow the procedure you mention and generated project should build without problems.

If you can toggle some LEDs on the board then you can add code from existing examples from HAL library over the generared code.

I check CubeMX and you can select you board - see attached pictures. The clock is already configured and also the GPIO. Just generate this code then import into SW, then build, select the elf and try to download.
Turn ON a LED in main, check how this is done in STM32F4-Discovery - is the same code.

Pay attention to instructions related OpenOCD configuration: “Setting up your project for debug”. This is a sensitive part. The board has an ST-LINK/V2 hardware debugger same as F4 Discovery (don’t choose something with V2.1). If don’t find the OpenOCD configuration for you board for this part I think is safe to use the configuration for F4 Discovery.