Hello,
I already uploaded a sketch to my Blackpill F411 v3.0 board few months ago with Arduino 2 and it continues to execute this sketch.
Anyway, I now want to update it and I cannot do it anymore.
Maybe, setting has changed, don't really know, I 've read many posts about such kind of problem but that didn't solve my problem.
My current setting is:
Get Board Info replies:
BN: Uknown board
VID: 0x0483
PID: 0x5740
SN: 356F346D3336
And when I try to upload my sketch, I get the following message:
-------------------------------------------------------------------
STM32CubeProgrammer v2.14.0
-------------------------------------------------------------------
Error: Target device not found
Establishing connection with the device failed
Failed uploading: uploading error: exit status 1
STM32CubeProgrammer doesn't detect any DFU mode.
After reading tons of threads, I'm completely lost about what to use and set in Arduino IDE 2.1.1.
I'm using STM32 MCU based boards 2.6.0
Could you please help me?
Regards,
Alain
Cannot upload Blackpill F411 v3.0 from Arduino IDE
Re: Cannot upload Blackpill F411 v3.0 from Arduino IDE
for STM32F401 / F411, "blackpill" type devices.
Normally, you need to set the boot0 pin like as follows:
- press both reset and boot0
- hold boot0, release reset
- release boot0 1 sec later
then try to upload from the app etc.
updating using USB DFU upload require setting boot0 (i.e. pressing those buttons).
Normally, you need to set the boot0 pin like as follows:
- press both reset and boot0
- hold boot0, release reset
- release boot0 1 sec later
then try to upload from the app etc.
updating using USB DFU upload require setting boot0 (i.e. pressing those buttons).
Re: Cannot upload Blackpill F411 v3.0 from Arduino IDE
Hello,
Thanks but unfortunately, that doesn't work...
Thanks but unfortunately, that doesn't work...
Re: Cannot upload Blackpill F411 v3.0 from Arduino IDE
Ground UART1 RX (PA10) pin while you reset board.
If MCU gets anything on UART it will start bootloader with UART enabled, not USB.
If MCU gets anything on UART it will start bootloader with UART enabled, not USB.
Re: Cannot upload Blackpill F411 v3.0 from Arduino IDE
Thanks but I already did that.
I Wonder if I still have a bootloader...
I Wonder if I still have a bootloader...
Re: Cannot upload Blackpill F411 v3.0 from Arduino IDE
STM32F411 / F401 don't need a bootloader, it is built-in on the chip
in a worse case, get a st-link dongle
https://www.adafruit.com/product/2548
https://www.st.com/en/development-tools/st-link-v2.html
https://octopart.com/search?q=st-link+v ... SD&specs=0
or a 3.3v usb-uart dongle
https://www.amazon.com/s/ref=nb_sb_noss ... s=usb+uart
(this still requires that BOOT0 setting)
https://www.sgbotic.com/index.php?dispa ... page_id=48
and you are all set
in a worse case, get a st-link dongle
https://www.adafruit.com/product/2548
https://www.st.com/en/development-tools/st-link-v2.html
https://octopart.com/search?q=st-link+v ... SD&specs=0
or a 3.3v usb-uart dongle
https://www.amazon.com/s/ref=nb_sb_noss ... s=usb+uart
(this still requires that BOOT0 setting)
https://www.sgbotic.com/index.php?dispa ... page_id=48
and you are all set
Re: Cannot upload Blackpill F411 v3.0 from Arduino IDE
Hum well ok, I'm going to try with STLink dongle...
I'll let you know.
Thanks.
I'll let you know.
Thanks.
Re: Cannot upload Blackpill F411 v3.0 from Arduino IDE
Ok, I successfully uploaded my sketch with a STLink V2 dongle.
Thanks a lot.
Regards,
Alain
Thanks a lot.
Regards,
Alain