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.
USB port does not appear (linux mint)
Re: USB port does not appear (linux mint)
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
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
you need
http://dfu-util.sourceforge.net/
next
- press boot0 and reset.
- hold boot0 release reset
Code: Select all
> dfu-util -l
^ check if you can see the stm32 internal DFU bootloader listed
> dfu-util -RD -s 0x8000000 sketch.bin
that DFU boot loader is built-in
-
- Posts: 633
- Joined: Thu Dec 19, 2019 1:23 am
Re: USB port does not appear (linux mint)
If Roger's core, a USB-serial adapter also works painlessly:


Good luck,
Ray
Good luck,
Ray
Re: USB port does not appear (linux mint)
Thanks for the replies, I will carry out the advice received.
Re: USB port does not appear (linux mint)
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
used before to program a NUCLEO L053R8 card.
After loading STM32CubeProgrammer v2.3.0 it works fine.
OK
Thanks