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


printf causes memory corruption

I’m using a project exported from mbed to SW4STM32 for NUCLEO_F401RE and it seems using printf can corrupt memory. I’ve read countless similar forum postings that seem to point to the use of newlib and I’ve tried a number of workarounds like different newlib related linker flags, different versions of GCC for ARM, fiddling with the linker script, but nothing seems to help. I’m a newbie so there are some things I don’t comprehend enough to try.

I have used similar code in a CubeMX based project on the same hardware not did not experience this memory corruption, so I’m wondering if it has something to do with the mbed export part of it?

Has anyone experienced this that can offer some suggestions?

Hi
Got the same issue install the new arm-none-eabi, at least 5.2

JP Lathuile