Also, less flags need to be activated now in the build_flags. This is what the monitor_dtr = 1 instruction above is for. GitHub you will only get data if the DTR line is enabled.Also: Using the dev-platform is not required anymore, you can write platform = ststm32 instead.ĮDIT March 2021: Per Serial USB without DTR optional: set COM port to monitor here if there are multipleĮDIT October 2020: Added USBD_PID. data will be received on the serial USB port Activating PIO_FRAMEWORK_ARDUINO_USB_HIGHSPEED will cause it to try HS which it doesn’t have, and PIO_FRAMEWORK_ARDUINO_USB_HIGHSPEED_FULLMODE will cause it to put its HS peripheral into FS mode, which it doesn’t even have in the first place, so both macros must be omitted.Ĭan you test on your bluepill if this works? Baud rate for the CDC should be 115200. Regarding high-speed (HS) mode: The bluepill only supports the lesser Full-Speeed (FS) standard. SO I installed VCP drivers - CP210xWindowsDrivers. It’s missnig needed flags like USBD_VID, USB_MANUFACTURER, USB_PRODUCT, USBCON and HAL_PCD_MODULE_ENABLED. but now i download an721sw and run CP21xxCustomizationUtility i got the device is cp2102 with vid - 10c4 and pid-EA60 and power i changed the value of pid to EA61 and press program device button it gives me errror that cp2102 USB to UART bridge controller driver is not installed. PlatformIO’s build script for activating USB serial support seems really broken right now.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |