Arduino and BluePill on Ubuntu

Programming via ST-Link ends with error:
2022-02-14T10:35:49 WARN src/stlink-usb.c: Error -3 (Permission denied) opening ST-Link/V2 device 002:005

With WIN10 no error Message but no upload done.

need help

For normal Arduinos, you have to make yourself a member of the dialout group; you can find instructions all over the web, I do not have them at hand. Maybe the same applies to the ST-Link?

2022-02-14T18:31:01 WARN src/stlink-usb.c: Error -3 (Permission denied) opening ST-Link/V2 device 002:006

rdrabek@fuji:~$ id rdrabek
uid=1000(rdrabek) gid=1000(rdrabek) Gruppen=1000(rdrabek),4(adm),20(dialout),24(cdrom),27(sudo),30(dip),46(plugdev),116(lpadmin),126(sambashare)

Das wars leider nicht.
Muss noch immer den unbequemen Weg nehmen:
compilieren in Arduino IDE,
export xxx .bin
with ST cube programmer uploaden.

This one looks promising: linux - Error -3 opening ST-Link/V2 device - Stack Overflow.

Found it with WARN src/stlink-usb.c - Google Search

added plugdev and edited /etc/udev/rules.d

nothing works.

In that case I can't help further, sorry.

In any case I thank you for your cooperation.
rgds Rudi

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.