I am unable to upload code to my STM32 blue pill. I am using a Mac and it was running very well, all of a sudden, after doing something in terminal, I am unable to use it since then. I tried uploading code from my Mac to an UNO and its also not working.

When I try uploading code to my STM32 blue pill this is the error that I am getting-

Arduino: 1.8.9 (Mac OS X), Board: "Generic STM32F103C series, STM32F103C8 (20k RAM. 64k Flash), Serial, 72Mhz (Normal), Smallest (default)"

Sketch uses 12648 bytes (19%) of program storage space. Maximum is 65536 bytes. Global variables use 2456 bytes (11%) of dynamic memory, leaving 18024 bytes for local variables. Maximum is 20480 bytes. Error probing interface "serial_posix" stm32flash Arduino_STM32_0.9 Cannot handle device "/dev/cu.usbserial-A800GAP3"

Failed to open port: /dev/cu.usbserial-A800GAP3 http://github.com/rogerclarkmelbourne/arduino_stm32

Using Parser : Raw BINARY

the selected serial port does not exist or your board is not connected

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

Please help me with this. How do I successfully upload code to my STM32 blue pill?

migrated from electronics.stackexchange.com Apr 25 at 18:55

This question came from our site for electronics and electrical engineering professionals, students, and enthusiasts.

  • Try removing the Serial "Modems" from the network-setting, in the setting app. (Pressing the small - button at the bottom of the list.) – Gerben Apr 26 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy