Stm32 usb cdc printf not working The Trace clock is however 275MHz as noted on the Clock Configuration diagram. The new buffer will need concurrency protection I am not sure about USB Mass Storage Class but in the CDC class, the 2 APIs above detect the USB connection and disconnection, maybe this helps. Collectives™ on Stack Overflow. Solder the Bridge SB9 and it works. This board doesn’t come with any USB-TLL converter or ST-Link, unlike the STM32 Discovery line. 0. 0", with the USART support enable and the CDC with Generic USART to automatic reset over the DRT, upload a new code and the I think there's a recent pr which allows printf to work on the CDC serial, but unless you use the repo version then it's not available. I have a custom USB device that uses CDC to send and receive serial data. in my project but i found out its not working. Seems like there are easier ways to work around this, like just design your CDC code to be non-blocking or fix whatever problem you're actually having (I'm not sure what the problem is). In the Ports (COM & LPT) section of Device Drivers, COM8 was shown and I could see my print statements (sent over USB) while running the program (after uploading, disconnecting + reconnecting the USB cable and start putty). And go next step. It turned out the ST-LINK was faulty and therefore not connecting. 0 or later and get the latest version of the STM32 BSP via Last week I successfully could connect my STM32F103C8T6 (aka Blue Pill) with Virtual Com Port. 0) as I'm migrating from the Rogers core, as I'm looking for the LowPower mode. Steps to reproduce: Allow host to enumerate the device, open COM port in the host, disconnect the device completely (power down) without closing the COM port in the host, re-connect the device. Since it’s not a “real” COM port, CDC devices are also called Virtual COM Ports. 11 IDE and 1. Both the microcontrollers will be able to communicate with each other using the USB So that leaves us two options for serial. – I have generated a project from Cubemx with Stm32f405, I want to use a CDC with my computer, with USB device mode. I can see the Ethernet handled as a task. and of course on Windows, you'd need to get the appropriate drivers installed. However, today I was getting ready to do actual tests with this project and used an Using the STM32 USB stack in a project for the STM32 CubeMX IDE on a STM32L062 processor, there are issues with trying to get the device to send data back up to the host at maximum throughput. I've added my observations to the question. No reinit. 1) configured for Full Speed and the USB device configured as a CDC (Virtual COM Port) - all using the STM HAL libraries - when data is written to the device via write()/WriteFile() calls, is that data guaranteed to arrive intact on the STM32? Then reinstall STM32 ST-LINK Utility and remember to install the device driver, which is prompted for during installation. I used stm32 cubeMx to generate the project. Note about the drivers. Copy the data to a separate buffer. The easiest way to troubleshoot a problem is to tackle it in small pieces. USB device not recognized (Device Descriptor Failure) Thanks for the tip @Michaël. It is definitely working (tested by sending ctrl+S, ctrl+Q manually). By default STM32F429ZI DISC1 board comes with ST-Link's SWO input is connected to SWD connector, but not to the MCU. c file. 0 stm32 USB receive more than 1 byte. When it is called, you must take (use, copy, whatever) the Len bytes from the Buf and tell the CDC At this line, watchdog is working. if there is nothing in the sketch in the device listening on usb of course you won't get anything showing on the host. There is CDC example code that one could use for printf(). – old_timer. I haven't used the most recent IAR workbench, but due to the architecture of JTAG, you would probably have to get "printf" style information out of the UART. 4 stm32 USB-CDC after hardware reset. I noticed that your stack trace that worked has "puts" in the map file, whereas the one that did not work had "printf"Also be aware that GCC **may** translate a printf() call to puts(). Windows already provide standard (native) drivers for CDC devices – “Usbser. Augmented". There are 3 mold dents on the chip, and from what I read this typical for a CH32F103. c. Using the STM32CubeIDE v 1. The internal PCF8574 pull-up resistors measure at 4. 2 STM32 USB CDC Operation. (Code 10) {Device Timeout} The specified I/O operation on %hs was not completed before the time-out period Since you do not return any values, the virtual com port remains as driver-not-loaded. Both the microcontrollers will be able to communicate with each other using the USB I think it's better to emulate a standard USB class (CDC) than some vendor-defined thing though. Workspace is generated using STM32CubeMX software for Atollic TrueSTUDIO IDE but user can generate by Keil, System STM32 USB CDC Virtual COM doesn't work if sscanf is anywhere in code. I'm primarily concerned with using the on-board USB as a serial port, not so much with downloading a program with Arduino, although that would be nice (bootloader is another subject entirely). Build the Whetstone benchmark, with SerialUSB. But I'm wondering why all of us met this problem in CDC host application, not in other applications. Temporary, I modify this line and test like this. other then that i have same project When I checked, the arduino board I connected to communicates through cp2102, so it was in the form of USB, but it was not. The routine just queues the buffer for transmission -- and the USB The examples provided in this tutorial will help you set up the STM32 USB CDC device properly and use it to send data to a PC, receive data of unknown length, and route the STM32 USB CDC to Printf function to use it for Check the USB cable and the operation/frequency of quartz oscillator. I`ve created a project in STM32CubeIDE (the latest version available), where I`ve set up clocks, enabled USB_FS_Device and USB CDC middleware and all the settings remained default. I believe it’s refereed to as the CDC class of USB. I'm using the generic bootloader from him, and I'm able to, using the "Maple DFU bootloader 2. The project compiles without problems. I believe the buffer it uses should only be used by the usb receive. I've been trying to start with the STM core. Step #5) Add the following routines to main. I wrote a little serial debugger function that sends characters over Using STM32CubeIDE, I enabled the USB device on an SMT32F103 and then I enabled the USB CDC middleware. Enabling FATFS prevents the USB functionality from working, and it no longer detects the USB after enabling FATFS. I selected the Class "Communication Device Class (Virtual Port Com). #include "main. Product forums. Some versions of USB stack may require increased stack or heap size - set both to 2048 just in case. Smit Italiya . in fact, the USB is based on the interrupt routine and cannot works if the interrupt is not activated. 20. 1 USB library and have adapted the VCP example for our purposes (integration with RTOS and serial API). Unless my memory is failing me (again!) ↳ STM32 SD-Bootloader; ↳ STM32 USB CDC bootloader; Uploaders and debuggers; ↳ STLink; ↳ USB to Serial adaptors; ↳ Black Magic Probe & other; Micro USB cable: in order to power and program the board; Nucleo-G070RB I reviewed the spec and looks like VDD is 5V for this model. As per USB full-speed standard, packets cannot be larger than 64 bytes. 1 I can't receive more than 64 bytes on custom USB CDC class based STM32 device ITM and printf do work on the Nucleo-H723ZG. After generating the project, I get 20 new source files, Access/modification of the TxState variable is not done in a thread-safe manner. When I upload a program that sends out data through CDC with CDC_Transmit_FS and open a serial monitor right after, it works fine. I look into computer -- properties -- device manager, it is a ''unknown device'' and can't be recognized as com port. Start by creating a project for the STM32H503RB in the STM32CubeIDE. The device manual is for an F0, but it has examples of composite devices in it. The Stm32 device is correctly recognized by the PC system as STMicroelectronics Virtual COM Port but has warring. I have an STM32 with a USB interface that can be connected to a PC and recognised as a CDC device, all working good. + swv in cubeIDE worked fine for me, but suddenly no more at all. If I understand correctly the CDC_Receive_FS is the callback function, you shouldn't call it, it is being called when data was received through USB OUT endpoint and is ready for you to take it. With an actual USB cable, the STM32 enumerated and a nice new COM port appeared on my system. Current Implementation In m For a detailed explanation regarding the classic USB library, refer to to the USB wiki and the STM32 USB training: ST Wiki - Introduction to USB with STM32 . Posted on February 12, 2013 at 17:54 Hi there, I am working on STM32FDiscovery and USB CDC. but i want to use printf command. sys”, but is automatically loaded only hi I'm using stm32 f103RBT8 in keil 5 i'm using usb device to transmit data by using CDC_Transmit_FS command. For this purpose I used: Browse STMicroelectronics Community. The functions for writing to and reading from the USB device are USBH_CDC_Transmit and USBH_CDC_Receive. Initialize one of the 3 UARTs to send chars through the TX pin and receive the messages in your PC with a well-known USB-UART adapter. Possibly an issue with the ST driver. I use STM32 ST-LINK Utility v4. – I'm working on a project based on STM32l496rg and trying to send data from USB CDC to terminal. Maybe ST should change their slogan from "life. It was the frickin clock, dammit! STM32 USB CDC Operation. Thanks for your interest in the question. I've enabled USB hardware, set it to FS, set FS mode to CDC. 0 USB HID bootloader My maple mini doesn't recognized by my computer until I flashed the new bootloader And it happens every time after I uploaded a sketch Multiple USB CDC . I also see the USB CDC (Device) code for the XCube. . Associate III in which i run USB only and find the same as before. The HD44780 + PCF8574, factory soldered. thank you for the support guys. As practically all Bluepills you can order now carry clones and you hardly can be sure what you get, this platform is finally dead for me. Stm32 can driver works Some new intel, but it's still not working even though the requests are now served exactly the same. 0 Problem with USB CDC settings and libraries for STM32F4. USB does not work by toogling a GPIO in software (see next point) Read the STM32F4xx reference manual. After upload a sketch using usb bootloader: Maple mini bootloader 2. I need some help. I'm using the STM32F769NI-DISCO development board to do some testing. It surely does not show any. 3 STM32 USB CDC Long packet receive. In the similar question, that was using USB so you could get information from the running system by sending text via CDC, since it looks like a serial port. I am using an STM32F105 microcontroller with the STM32_USB-FS-Device_Lib_V3. Now everything works perfect =) This time you will see a ST driver dated sometime in 2013 in the device manager, which is the device driver installed together with the STM32 ST-LINK Utility. This also works on the Discovery board. STM32 MCUs. However, with the previous methods "Putty" or "SerialMonitor" I cannot read the sent data, because I have to specify a baudrate for this, which is unknown to me. MSC class, which also uses BULK transfer) can work fine (without frequency slowing down)? USB CDC Device and HOST in STM32. I am using int8_t CDC_Receive_FS(uint8_t* Buf, uint32_t *Len) in loop to receive data. FAQs Sign In. I am running F7 Disco. Arduino IDE 2 settings: Board: "Generic STM32F1 series" Port: "/dev/tty/ACM0" (grayed out) Hi I can not find out how to correctly use a Virtual Port Com over USB. If CDC_Transmit_FS() is called twice in Yes i looked in those examples but i could only find examples for USB cdc host mode . I tried implementing XON/XOFF flow control. The Arduino 1. CMSIS-Driver peripherals. 9. Because of this, the CDC class was not supported, and this was the problem. But lot of data is also being sent over, hence I want reception interrupt I'm using the Nucleo-H743ZI STM32 development board on windows 10. Hot Network Questions Optimize rsync when large files move around on the source b'\x00234\n' - This means that first byte is 0!Not ASCII 0 = 0x30, but just 0. Which program is suitable to monitor the incoming data? I'm using stm32l151 and I want to use usb peripheral in cdc mode. Imen. STM32 MCUs Products; CONFLICT WHEN USING I2C1 STM32F4 DISCOVERY in STM32 MCUs Boards and hardware tools 2024-10-30; I have been using prinf() function in IAR 9. So USB bulk endpoints have no concept of messages, message start or end. Augmented" to "frustration. In this tutorial I will cover how to implement USB CDC (Communication Device Class) in STM32 using both the modes, i. The packets are simply missing. One fix is to disable interrupts while it is called. After I plug it into PC via usb, there are messages saying ''usb device not recognized''. Probably this is effect of strcat - after concatenating this function adds '\0' at the end of string. Read the USB-specs, at least some basic overview (just start at wikipedia). At the lower USB level, the stream of bytes is split into packets of at most 64 bytes. \$\endgroup\$ – Marc USB Worked until the next time I had to change some code (not related to USB). My OS is Windows 10, 64 bit. Other USB host applications (e. h" #include "usbd_cdc_if. Commented Aug 31, 2022 at 12:26. 2 but the printf() didn't work any more. For the Host purpose, I will use STM32F411 DISCOVERY Board, and STM32F103 is used as a Device. MOOC - STM32 USB Training . What steps would be needed to hook this in ? USB CDC Port Not Shown In Device Manager(MCU STM32F!103RET6) Go to solution. You can likely get example code that matches the manual or code that will run on other STM32's from the ST website. You can start with a working 'CDC_Standalone' example available under STM32CubeL1 v1. Logged nctnico. It just looks like this devices USB device mode is not as STM32F103 compatible as advertised, and nobody ever bothered to adapt the cores USB CDC code to make it work on this thing. I also contacted IAR and they said fputc() based printf is not supported by IAR 9. if you are using STM32 official core, you need to select USB-CDC in your config to have USB-CDC. serial /usb-cdc monitor in Aduino works always. After finding another ST-LINK V2, the computer can recognize the board under Universal Serial Bus devices/STM32 STLink. The board is tested with a previous firmware, and usb is recognized, so there is no a hardware problem. However, the USB code example does not use FreeRTOS. Demo Application of USB Device CDC (Communication Device Class) on STM32F4-Discovery board. The other STM32F4 Discovery board that shown in the video comes with the bridge soldered by default First, regarding the enumeration issue : that was a bad cable on my part. Instead of using sprintf, just redirect stdout to USB-CDC and use printf: STM32 (SWD) printf not working. 2 in This tutorial shows how to create a basic USB communication device using the STM32F4Discovery board. I also commented out the FMC, DCMI, ETH and LTDC as per below. I used STM32CubeMx to configure the USB_OTG_FS and USB_DEVICE middleware. in STM32CubeIDE (MCUs) 2024-09-23 STM32 Nucleo F303RE: USART1 DMA not receiving data from GY-25 sensor in STM32CubeIDE (MCUs) 2024-09-23 External ADC Sampling with DMA (Timing & Configuration) in STM32 MCUs Products 2024-12-15; assertios "REENT malloc succeeded" failed, RTOS and printf in STM32 MCUs Embedded software 2024-12-13; GPIO Interrupt not working Poroperly. USB VCP worked for a a few hours but blocked the st-link debugger on USART1. g. When USB cable is disconnect on the go or USB cable is not connected at reboot time, CDC_Transmit_FS((uint8_t*)&c, 1) return FAIL. Digging a bit, I found out that if you are enable the delay after CDC_Transmit_FS (), then everything works fine, so: There is a better solution Pay attention to the value returned from CDC_Transmit_FS -- as it works in an asynchronous manner. It works normally with ESP32 processor dangling on the USB cable plugged into the same laptop's USB port. With loopback code running on the STM32 and TerraTerm running on Windows characters typed in the terminal window correctly echo back. The switch cases for control requests (in the ST example code) are all blank. It can now be used as output for printf by overwriting _write function. Now I would like to connect an ESP32 board to this STM32 device using USB to USB. Next step was to figure out data transfers. 20 any more and recommended using __write() instead of fpuct(). Don't know, I have not configured it and all works like a charm. Unless my memory is failing me (again!) ↳ USB bootloader; ↳ STM32 SD-Bootloader; ↳ STM32 USB CDC bootloader; Uploaders and debuggers; ↳ STLink; ↳ USB to Serial adaptors; I believe this problem is a problem of hardware or low layer drivers of USB host, it should not be a problem of CDC class. This article is a tutorial on how to configure the USB peripheral of STM32 microcontrollers as a virtual COM port using the USB communication device class. You might also think that USB CDC is message based because the STM32cube framework exposes a USB API that will deliver more data whenever a low-level USB message has arrived. This is not going to work or is not adapted to the STM32 board where VDD is This is in contrast to a message-based protocol. Update: It appears that the problem was a CDC control request that was not being answered. Recently I upgraded to IAR 9. 1. When I try to use the project generated by CubeMx the usb is not recognized. fpiSTM Posts: 1871 Joined: Wed Dec 11, 2019 7:11 pm. UART works fine I already tried but I want to understand why SWD printf is not working in my case. You most likely do NOT need to disable other interrupts just to copy this data to another buffer. No usb/tty-related errors are shown in dmesg. I think it may be FreeRTOS setting all IRQ priorities to 5. 0. STM32 USB Device Library User Manual. Another fix is to call it only within one scope, When I started to using FreeRTOS I've noticed that printf displays an incorrect value. – CShark. Super Contributor; Posts: 28300; Country: Re: redirect (CDC_Transmit_FS) to (printf) This question is to broad for this forum and not an actual question for a specific problem. h" #include "usb_device. if you are using CubeMx, I think that it is a bug in the tools that should automatically activate the usb interrupt. It looks not working my board. 0 if you are using libmaple core usb-serial is default. First, we could obviously just connect a serial device to the RX/TX pins. h" I have an STM32 with a USB interface that can be connected to a PC and recognised as a CDC device, all working good. ST-LINK Utilities used to have a good SWV Viewer mode, been ported to STM32 Cube Programmer, but Hi @jpichingo . The function CDC_Transmit_FS(uint8_t* Buf, uint16_t Len) can be used to transmit the data to the PC via the USB. ). 2. 0 (the latest version) the default board clock is 550MHz. Get the UART working by itself before trying to get printf() to work. Things to note: Connection > when the physical USB cable is plugged into the USB port; Disconnection > when the physical USB cable is unplugged from the USB port; I used STMCubeMX to generate the USB You can then send and receive messages serially from/to the computer. 0 and the ST-Link V2 (SWD) to download programs. Read / Write a USB Stick with STM32F103C8. I'm not sure if Wireshark is able to show invalid packet errors. I'm not using HAL so I may be wrong, but I'll try to help. 5k, which is probably slightly better than just OK. The non working USB board flashes the LED at the correct(ish) rate but I get a USB error:-A request for the USB device descriptor failed. However, as some hints, you might. I've configured the code as given in numerous examples and I can printf() without issue to an external serial port monitor. C:\Users\myuser\STM32Cube\Repository\STM32Cube_FW_F2_V1. Everything is working fine as long as, weirdly enough, I have the STlink USB cabled plugged in (which I have been using to work on the firmware, flash, debug, etc). How can I program USB device type on the ESP32 so that can talk and be recognised by the STM32? Hi guys, I'm using a stm32f103vet6 with the last core(1. After I flashed that firmware, when I plug board using a USB cable, there is no device shown on Device Manager. STM32 USB CDC Virtual COM doesn't work if sscanf is anywhere in code. Or we can use the USB capabilities of the STM32 to Is it Hardware Serial or USB CDC ? If Serial is the USB CDC then you have to wait after the begin. 6. Just google search USB CDC to learn more. Try Teams for free Explore Teams. TLDR version: Working with a Windows or Linux PC communicating with an STM32 micro via a USB port (USB 1. ↳ STM32 SD-Bootloader; ↳ STM32 USB CDC bootloader; Uploaders and debuggers; ↳ In the similar question, that was using USB so you could get information from the running system by sending text via CDC, since it looks like a serial port. After upload, open any serial terminal (like Putty) and find your serial device in Device Manager under “Ports (COM & LPT)” named “USB Serial Device (COMx)”. Before you begin, install VisualGDB 5. 0 STM core I've been doing a lot of searching to try find some examples for printf debugging over USB for the STM32 (specifically stm32f1x). Find centralized, trusted content and collaborate around the technologies you use most. The functions required to send or receive data are located in USB_DEVICE -> App -> usbd_cdc_if. Code: Select all. I’m using the STM32F4 Discovery board Posted on February 26, 2016 at 08:59. If I connect my board via USB in DFU mode, it is still recognized as STM32 BOOTLOADER, but if I do it with the ST-Link, nothing changes. 7. Do not skip this step. begin (115200); and using printf (. Printf over UART/USART is far simpler, and you may need this connection The code works. How can I program USB device type on the ESP32 so that can talk and be recognised by the STM32? I'm testing a USB CDC example on STM32F407IGH generated by STM32CubeMX. Teams. 10. Explore Teams. 2\Projects\STM322xG_EVAL\Applications\USB_Host\CDC_Standalone\ Cannot get printf to work with SWD. Working with the STM32L062 Cortex-M0 and CubeMX the generated USB CDC-ACM code works fine in Windows. If you do all of that, the Windows 10 out-of-the-box VCP driver can be used. We could also connect our own USB-to-Serial device. Currently I am developing software and I am stuck. The USB protocol stack implementation is contained in the STM32CubeF4 firmware package and is included in our latest STM32 package. I found the CDC_Transmit_FS() function to send data. In the Debug Configuration Properties, when enabling SWV, the Core Clock frequency must be set at 275MHz (not 550). What am I doing wrong? in STM32 MCUs Boards and hardware tools 2020-05-07; STM32F4, FreeRTOS, WLIP stops working after hours, no fault captured in STM32CubeIDE. CDC Device, and CDC Host. You'll have better and longer-lasting driving support. @P__J__ Incorrect, I observe the exact same behavior when working with USB CDC on STMs. I am using STM32F103, HAL and library FreeRTOS. Ask Question Asked 5 years, 5 months ago. That software is working out of the box. However, the PC never sends XOFF. But I would not recommend using this, because USB is rather brittle in case of programming errors: The USB interrupt must be working correctly, the host won't accept the device otherwise. STM32F103 Composite Example. Development. It works, but I have a problem: I’m using the STM32 Cube Framework and the HAL libraries and USB Device middle-ware for this application First open STM32 CubeIDE and start a new STM32 project and select the microcontroller of I think there's a recent pr which allows printf to work on the CDC serial, but unless you use the repo version then it's not available. PS: I read somewhere turning on VSense makes problems, too. This also applies to USB CDC as it is based on bulk endpoints. This issue has been a roadblock for me, since in a single board I am not able to use USB and FATFS I thought to use 2 STM32 micro controllers but still its not working please help me resolving this issue: I am on Windows 10 Home. in STM32 MCUs Products 2024-12-13; Octo/QuadSPI options for using external RAM and FLASH in STM32 The used USB port is simulated as a virtual com port and the data is sent with CDC_transmit. EEPROM Emulation works, but to program again I have to erase the entire flash. This is quite comprehensive. That is, if windows can find a suitable driver for your device. But when I disconnect and reconnect the Nucleo to my computer the serial port cannot seem to be able t easier to avoid printf, second easiest is to find a printf designed for this kind of work, that doesnt have such a heavy system backend. 1 without any issue. I have implemented USB CDC (VCP) on STM32-F446re(Nucleo). So that leaves us two options for serial. Specifically, a printf format string with no "%" format specifiers, like this: printf( "Hello World\n" :(The compiler will strip the trailing newline and make this: At this point you know the UART and your serial device work. STM32H523 classic USB CDC library in STM32 MCUs Embedded software 2024-11-28; Ask questions, find answers and collaborate at work with Stack Overflow for Teams. However I cannot get USB CDC to work on any of these boards. 8. When the device is attached to the USB host, it is detected correctly and the CDC class is being started. For this tutorial, I will be using the STM32F4 Black Board. all look's working great when I make a hard reset (just fresh power up) but if I try to make a soft reset like when entering in debug despite Virtual Com Port is well enumerated on windows side it could not open com port and no Usb transmit can be done on target side becase of Usb Device descriptor printf debugging over USB for the STM32. Updated solution. I have found a few examples for How can I configure Keil uVision5 to redirect printf output from STM32F4xx out through MCU's USB interface? Then, USB will connect to a Windows computer, virtual port driver, and a terminal progra board and microcontrolers are powered by USB. Top. This device cannot start. e. Apparently I grabbed an old "charge only" cable from work, you know, those that don't let you steal work data using your phone. 2. The lower layers of USB are message based. So you might observe patterns that look like a message-based communication. 27 to 5. After this, I`ve genera Ask questions, find answers and collaborate at work with Stack Overflow for Teams. or for extra credit, roll your own usb_cdc_printf() or whatever. How can I detect USB cable is not connected or disconnected. e ven for other devices when activating the USB, the interrupt is activated automatically and cannot even be deactivated which is not the case if Hello ST Community, I am working on a project using an STM32 microcontroller with USB CDC class for communication. Commented Aug 6, 2017 at 20:48 I have not tried the DevPacks methods described since I have been using the ARM-MDK and STM32 for a long time since before all that support was provided. Win 10 device manager says "invalid device descriptor" (specifically not: "device descriptor request failed"). 0 and get inspired from the functions used todevelop your application. Setting Up STM32 USB CDC. No need to install the very old ST VCP driver on your system. STM32 USB CDC Long packet receive. CDC bulk transfer; Close detected by: DTR deasserted; USB "unplugged", sleep etc; USB CDC Device and HOST in STM32. They seem to work just fine when being programmed via STLINK. The parameters are the Buf (Buffer to send) and the Len (length of the data). Now I have the opposite - ST-Link working on USART1 but USB VCP broken. A couple of other links in case that doesn't work. Or we can use the USB capabilities of the STM32 to create a virtual COM port for us. I am using the CDC_Transmit_FS function to send data over USB, but I am looking for best practices to handle the completion of data transmission effectively. in STM32CubeIDE (MCUs) 2019-12-13; How to redirect printf? in STM32CubeIDE (MCUs) 2019-06-04; Upgrade issues from 4. Anyway, using a simple blink sketch/Arduino IDE/STlink printing out a count each loop to USB Serial, the board with Farnell sourced STM32 works and prints via USB. spsiitf ngktcj toeiv vzqh yfmrbe rwkijyb pmsbdeu cwpd wskr fycaf