Installing the STM32 USB Bootloader, Easily!

32
50



I wasn’t able to easily find information on how to add USB bootloader support. I have compiled my findings and hopefully you will find this very useful.

PLEASE READ:
This video is now a year and a half old. I have a new version of the video here:

The dan drown stm32 link below that I used in the video is now old. There are multiple versions of the STM32 core now, this is the newest version, but may be incompatible with what is shown in the video. I am working on a new version of the video.

STM32 “Blue Pill” Discord, join for easy access to like-minded developers

Add this to your Additional URLs under File/Preferences (OLD, BUT SHOULD STILL WORK):

Links:
Flash Loader:

Drivers:

Binaries:

Serial Adapter:
Amazon:

Ebay:

Song:
Prototyperaptor – Awe Listen to the track here:

Nguồn: https://quydinh.com

Xem thêm bài viết khác: https://quydinh.com/cong-nghe

32 COMMENTS

  1. Hello sir I successfully uploaded the bootloader and blink programme worked fine. But in this bootloader lcd display programme not working . What may be the reason . Sketch uploaded successfully but nothing shows on the display. 😢

  2. I thought this didn't work for the longest time. I tried everything and never got it to work. The FTDI wouldn't program the blue pill, and after using the ST-Link to flash the bootloader the Arduino IDE still wouldn't program it. I tried swapping the resistor and still nothing. Then I finally came across the information I needed. The STM32 on my board was fake, and so was the FTDI. Also the ST-Link seems fake but it still works. Turns out almost everything I had was fake, guess that's what I get from buying from China but I had no idea. Anyway after ordering the chips from Digikey and soldering them all up this works great. Just wish I would have found out sooner.

  3. MAGIC SMOKE REFILL KIT @ 1.55
    Sadly, Sparkfun discontinued sales of the Magic Smoke Refill Kit

    I did some research to see if I could replicate it. The crystalline structure of the silicon that makes up the chips seem to crystallize in a tetrahedron form. when the voltage gets too high, the angular lattice of the silicone vaporizes, but the structure remains partially intact.
    By a rather complicated osmosis process, it might be able to be replenished. The best I could figure is that it would be a process of:

    Tetra-Osmosis Tetrahedron Angular Lattice Binary Sedimentation

    unfortunately, the acronym does not sound quite as scientific.

  4. Hello, after a lot of trials and tests, I followed your video step by step and I finally managed to get the bootloader (…pc13.bin) for my "blue-pill" module working.

    I'm with windows 10 and it's much more random than with W7.

    Thanks for everything!

    Bonjour, après beaucoup d'essais et de tests, j'ai suivi votre vidéo pas à pas et j'ai enfin réussi à mettre en fonctionnement le bootloader (…pc13.bin) pour mon module "blue-pill".

    Je suis avec windows 10 et c'est bien plus aléatoire qu'avec W7.

    Merci pour tout !

  5. Do we need to upload a boot loader if we want to upload hex files from asm files? Does STM32 fall in arm family

  6. Well done. This is the best and most complete explanation I've seen. I might actually dig a couple of these out of the back of a drawer and try them again.

  7. @0:30 I certainly don't keep my pieces all in a plastic box. I keep them in the anti static bags they come in. My body is extra conductive and I have static electricity issues especially in the winter.

  8. Very informative video. I would love to see these processors used in either for Analog to Digital type of projects as well as Digital to Analog. Like the Teensy processors Paul has provided a nice web interface to build the DAC components. I was looking at using one of these processor to avoid buying DACs and ADC and Reference voltage since these should all be built into the processor.

  9. i did every step , redid again , restarted pc and all … still Stm32 not recognised .

    i had some resistors lying around , made series combination to reach a value of 1.5k and attached where you are showing in the video. shorted R10. NO gain .

    then checked R10 value with my multimeter , it came out to be 1.3k
    and checked R2 value , which was 10K.
    Is R2 's value ok? and can you help me in any way?

  10. Thank you very much for this great and detailed video. I am using genuine /and fake/ STM32 blue pill boards for a time now. With your help my job just got better. You saved my life dude 🙂 Thanks again!!

  11. i followed the same process as you and uploaded binary file and succesfully installed drivers but as soon as i plug stm32 to my pc it throws error that it does not recognise this device.
    any help

  12. I can flash (and verify) the bootloader fine, but when I plug the USB cable into my Win10 machine I get Code 43 device cannot start 🙁 I can't fix this. R3 is 1K5

  13. Thank you for explaining it without a lot of fanfare and jumping around. There's enough to keep track of figuring this stuff out without trying to follow a scattered video too.

    I knew I'd found something special at 0:22

  14. Hello, I am getting error unable to flash memory in (5:01) and cannot download data. Any advice? Thank you

  15. Arduino doesn't have USB support either. There is an onboard UART to USB interface that handles it. Btw you can use the arduino as a USB to UART adapter, no need to buy one.

  16. Hey, I don't know if you still check these comments but Im having a weird issue. I have 5 of these boards that I got from my university. Of the 5 there are 3 different batches. 2 of the 3 different batches of the board worked fine with this method. However, 3 of the boards (which all come from the same batch) go through the process "successfully" but still wont work. I have changed the resistor on 2 of these 3 boards with no luck. I know that its not a problem with my procedure because the first two work perfectly. I was hoping you might have some idea of what is going on, do you think you can help?

  17. I thought the ST-Link is the one that perform the USB interface of the STM32F? can someone enlighten me on this one.

LEAVE A REPLY

Please enter your comment!
Please enter your name here