Replies: 3 comments 1 reply
-
Hi @bmo |
Beta Was this translation helpful? Give feedback.
-
Can you suggest a path by which I can resolve why it may be the case that it does not work with a variety of blue pill boards for me? |
Beta Was this translation helpful? Give feedback.
-
Long time I haven't played with arduino and bluepill, but if you are trying to use serial port through the USB port of the blue-pill, i remember there was a resistor issue on some batches of the bluepills, which prevented the USB port from being detected appropriately. edit : see here : https://www.stm32duino.com/viewtopic.php?t=269 |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
With generic blue pill STM32F103C8 boards from multiple vendors, Serial.read and Serial.available do not report characters received from the host.
Setup
Arduino IDE 2.3.2
STM32 support 2.7.1
ST-LINK v2 clone programmer
To Reproduce
Use this sketch:
Set the following under Tools:
Board: "Generic STM32F1"
Optimize: "Smallest (-Os default)"
Board part number: "BluePill F103C8"
C Runtime library: "Newlib nano (default)"
Upload Method: "STM32CubeProgrammer (SWD)"
USB Support (if available): "CDC (Generic 'Serial' superceds U(S)ART)"
U(S)ART Support: "Disabled (no Serial support)"
Steps to reproduce the behavior:
Expected behavior
After connection, and after typing characters that are sent to the target board, the character codes should be echoed back to the host, like this (this was taken from success STM32F103ZE board):
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Board (please complete the following information):
Additional context
Also tested with the following other boards/processors:
Beta Was this translation helpful? Give feedback.
All reactions