Skip to main content
Echel.1
Associate II
June 22, 2022
Solved

Hello, i am new in this community. Is there anybody who use the SWO console on the Nucleo-STM32U575 ? Because I can't get it to work I add the write finction : int _write(int file, char *ptr, int len) // printf function Thank you

..

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
June 23, 2022

0693W00000NsedXQAR.jpg

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..

14 replies

Echel.1
Echel.1Author
Associate II
June 24, 2022

Hello Clive,

Thank you for your example which works perfectly.

When I redid a small project to test the execution of the ITM_SendChar function alone, I misconfigured the clock and that is why the ITM_SendChar function did not work.

The printf didn't work because I didn't add the \r\n characters so I had to wait about 8s before all the emits characters were displayed.

But now everything works correctly.

Thank you very much again for your precious help.

elio

Echel.1
Echel.1Author
Associate II
June 24, 2022

Hello Brian,

Thank you very much for your help which contributed to the resolution of my problem.

Elio

Brian TIDAL
ST Technical Moderator
June 24, 2022

Well done Elio. Would you please mark this issue as solved by selecting the best answer?

Rgds

BT

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.