USB port does not appear (linux mint)

STM32duino bootloader aka Maple bootloader
Post Reply
carlo
Posts: 6
Joined: Fri May 29, 2020 4:47 pm

USB port does not appear (linux mint)

Post by carlo »

Today I got the ST32F401 card.
I would like to use it with arduino ide but I cannot load the sketch because the USB0, 1 etc. port does not appear.
Linux mint operating system 19.3.
Some idea?
Thanks.
ag123
Posts: 1655
Joined: Thu Dec 19, 2019 5:30 am
Answers: 24

Re: USB port does not appear (linux mint)

Post by ag123 »

to upload the sketch, and assuming that you are using a stm32f401 pill board. the following finger dance applies

you need
http://dfu-util.sourceforge.net/

next
  • press boot0 and reset.
  • hold boot0 release reset
you can release both after another (few) seconds.

Code: Select all

> dfu-util -l
^ check if you can see the stm32 internal DFU bootloader listed

> dfu-util -RD -s 0x8000000 sketch.bin
of course you'd need to build your sketch for 0x8000000 start of flash. there is no need for another usb boot loader on stm32f401
that DFU boot loader is built-in
mrburnette
Posts: 633
Joined: Thu Dec 19, 2019 1:23 am
Answers: 7

Re: USB port does not appear (linux mint)

Post by mrburnette »

If Roger's core, a USB-serial adapter also works painlessly:

Image

Image


Good luck,

Ray
carlo
Posts: 6
Joined: Fri May 29, 2020 4:47 pm

Re: USB port does not appear (linux mint)

Post by carlo »

Thanks for the replies, I will carry out the advice received.
carlo
Posts: 6
Joined: Fri May 29, 2020 4:47 pm

Re: USB port does not appear (linux mint)

Post by carlo »

STM32F401 blue pill after installing dfu-util I encountered another problem due to the wrong STN32CubeProgrammer
used before to program a NUCLEO L053R8 card.
After loading STM32CubeProgrammer v2.3.0 it works fine.

OK
Thanks
Post Reply

Return to “USB bootloader”