Skip to main content
msureshkumar2610
Associate III
December 8, 2018
Question

Recently I bought original NUCLEOF103RB development board. 1.Is there any inbuilt serial window available in KEIL IDE ?. 2.Can I check serial output through the same USB port while debugging (Like Arduino) ?

  • December 8, 2018
  • 1 reply
  • 561 views

I am new to this controller, Before I am well aware of PIC and Atmel chips, Now I would like to move to 32 ARM that is why I am choosing this developments board.

  1. This compiler is very new for me compared with CCSC PIC and Arduino, So please tell me where is the correct tutorials available ?.
  2. Any compiler manuals available(I m using KEIL - MDK5)
  3. Now only I blink the led finished
  4. Now I am little bit move to UART So please help me to how to check the uart in and out ?. any external uart (CP2102) converter required ?.
This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
December 8, 2018

The USART2 PA2/PA3 should go to the ST-LINK VCP, as I recall. I would typically use a terminal program for this.

You can also use the SWV/SWO method, via ITM_SendChar(), to output to the "Serial Debug (printf)" window.

https://community.st.com/s/question/0D50X00009XkYWISA3/how-to-properly-setup-printf-with-keil-vision-and-stm32l151c8t6a-

http://www.keil.com/appnotes/files/apnt_297_v102.pdf

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