STM32 Tutorial #36 - Serial Print ( UART/SWO/USB - Arduino users need to watch this!)
Автор: STM32World
Загружено: 2024-12-21
Просмотров: 2049
This video goes into detail about the many different ways a serial console can be implemented. The video also show how to make a virtual COM port using USB. Everything in this video has been explained in earlier videos in little side notes but here is the complete detailed view. Arduino users who want to move into STM32 NEED to watch this!
For more details, check the wiki page here: https://stm32world.com/wiki/Serial_De...
Project Files: https://github.com/STM32World/stm32fun
I sincerely hope you learned something from this video. As usual please like and subscribe and your comments - good or bad - is greatly appreciated.
#STM32 #Tutorial #GettingStarted #STM32CubeIDE #STM32CubeMX #printf #serial #UART #SWO #USB #STM32World #Arduino
00:00 Intro
00:48 Requirements for serial I/O and why a cheap ST-Link is not enough
01:50 ST-Link/V2-1 with built-in usb-serial
03:20 Basic template program
04:10 Redirecting printf to UART/USART
05:18 Overriding _write
08:22 Overriding __io_putchar instead
10:43 Buffered I/O screwing with you
11:33 Flushing I/O buffer on stdout
12:04 Disable stdout buffering completely with setbuf
13:23 I/O alternatives - SWO
16:28 Using USB virtual COM port
19:10 Redirecting printf to virtual COM port
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: