Unable to print logs using printf on STM32F303
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-01-28 6:32 AM
Hi,
I am using STM32F303 micro controller for my development on IAR 8.40.1 IDE running at 72MHz.
I am facing a problem where logs are not getting printed on SWO ( using IAR Terminal IO ) using printf. Its printing few characters from the log for example
printf("Hellow World ") is printing "Hello w" only on terminal IO.
I am using STLink debugger for debugging and flashing purpose and have also checked STLINK frequency in Project ->Options->STLINK on IAR.
Another strange observation is if i use I-Jet debugger in place of STLINK, logs print works correctly.
Is there some setting we need to do in IAR or any other configuration required to do in microcontroller registers ??
- Labels:
-
ST-Link
-
STM32F3 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-01-28 7:05 AM
Sounds to me like concurrency issues within the debug pod (ST-Link) firmware, at least in relation to IAR.
I wouldn't bother and use the I-Jet.
Or perhaps you could try the J-Link firmware for the ST-Link, provided by Segger.
