cancel
Showing results for 
Search instead for 
Did you mean: 

I cannot get any useful printf() info from SWVITM data console in STM32N6570-DK. The displayed info are messy symbols.

Yunlion
Associate II

i use STM32N6570-DK to do a simple project but i cannot get any useful info via printf() on SWVITM data console. 

(1) I add some code in systemcall.c for printf() on SWVITM data console or UART1 via a "define" in my main.c. (AS many professionals suggested on the net)   Now i can get info correctly by using uart but not the SWVITM. 

(2) I also choose SWD under DEBUG in .ioc config. Three wires are used. SWO is populated.

(2) when i use SWV ITM data console, the display is just messy symbols. AI told me that it is either due to the wrong Baud rate or wrong encoding. The default is UTF-8. I tried different Baud rates and coding standards. No one works. The same messy display 

(3) I have watched a few youtube clips and followed their methods. No one works either. 

Has anyone got the correct display of printf () in   SWV ITM data console ON THIS STM32N6570-DK?

Thanks a lot in advance!

0 REPLIES 0