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


Re: Printf via SWV doesn't print anything

Hello,

to do the printf I used semihosting from https://github.com/justyn/semihosting-cortexm-uosQuestion
I did minor modifications because the compiler complains but it works fine.
In my code I have
trace_printf(“>>>>> AmbientT: %3.3f°C AmbientP: %4.1fhPa\n”, oMeasure_AmbientTemperature.m_lTemperature/1000.0F,oMeasure_AmbientPressure.m_lPressure/100.0F );
In the openocd console:
>>>>> AmbientT: 27.114°C AmbientP: 1025.4hPa
My configuration is STM32f429I-DISCO openstm321.1.0 and eCos as RTOS

Hello,

I’ve fixed my bug !
Actually, in “system_stm32f10x.c”, I uncommented “#define PLL_SOURCE_HSE” instead of “#define PLL_SOURCE_HSI” and now ITM_SendChar works properly (“printf()” still doesn’t work however).

Have a good day.

Hi Julien,

Could you please describe, how you implemented the ITM? What are the files you included? What are the functions that you used? and what softwared did you view the output in? was in the console of openOCD or ST utility? Could you please describe. That would be a lot helpful.

Thank you

Rosh