Page 1 of 1

No Port & Permission denied: macOS

Posted: Thu May 11, 2023 3:34 pm
by crabbedh
Brand new to STM32 and arduino, although am electronics guy and used to code microcontrollers years ago.

Have a Blue Pill (C8) (admittedly from AliEx.) and hoping just to connect to macOS (Monterey, Intel).. have 2 errors ..

Following one online guide I was using HID-FLASH to upload and get permission denied, even though that file/script has RW permission for all..

Other is I get no 'port' listed.. only the bluetooth one..

I don't have serial adapter and am hoping just to connect STM32F1 C8 blue pill to the mac and program.. have the lastest Arduino IDE and the lastest list of boards..

Any nudge in the proper direction appreciated.. almost wondering if I should not have gone Arduino boards.. but these are cheap..

I'll search here for better guides.. but if anyone knows a good one.. please list.. Thx..

Re: No Port & Permission denied: macOS

Posted: Thu May 11, 2023 4:22 pm
by fpiSTM
Set executable permission. chmod a+x.

Re: No Port & Permission denied: macOS

Posted: Fri May 12, 2023 8:35 am
by GonzoG
F103 does not have hardware usb upload method. You need to flash usb bootloader first (using ST-Link or serial adapter).
Also it won't show bluepill's COM port until there's a sketch with USB CDC enabled flashed to it.