No Port & Permission denied: macOS

Post here first, or if you can't find a relevant section!
Post Reply
crabbedh
Posts: 1
Joined: Thu May 11, 2023 3:26 pm

No Port & Permission denied: macOS

Post 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..
Attachments
Screen Shot 2023-05-11 at 12.02.36 PM.png
Screen Shot 2023-05-11 at 12.02.36 PM.png (91.54 KiB) Viewed 601 times
Screen Shot 2023-05-11 at 12.02.51 PM.png
Screen Shot 2023-05-11 at 12.02.51 PM.png (79.94 KiB) Viewed 601 times
User avatar
fpiSTM
Posts: 1723
Joined: Wed Dec 11, 2019 7:11 pm
Answers: 91
Location: Le Mans
Contact:

Re: No Port & Permission denied: macOS

Post by fpiSTM »

Set executable permission. chmod a+x.
GonzoG
Posts: 403
Joined: Wed Jan 15, 2020 11:30 am
Answers: 26
Location: Prudnik, Poland

Re: No Port & Permission denied: macOS

Post 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.
Post Reply

Return to “General discussion”