![]() ![]() Then you're finished! Disconnect the USB to Serial/USB to TTL adapter, and connect the Blue Pill with a Micro USB cable. ![]() IMPORTANT: Before powering off the Blue Pill, return the BOOT0 jumper to 0. Then select "Next" to flash the bootloader. Select the Download to Device radio button, and select the proper bootloader. Proceed to the next screen, where you'll see the the available pages for flashing. Select "Next" The following screen should indicate that the Target is readable. Make sure the right COM port is selected. To double-check, you can open up Device Manager and looking for the device under "Ports". Your PC should recognize the USB serial device. Preparing the Blue Pill for flashingĬonnect the USB to Serial/USB to TTL adapter to your PC and the Blue Pill. Since the example picture's LED pin is PC13, I would download generic_boot20_pc13.bin.įor the USB Maple serial driver, navigate to the drivers\win folder and run the install_drivers.bat batch file. bin bootloader file that corresponds to your Blue Pill's LED pin. Then nagivate to Roger Clark's STM32duino-bootloader repo and download the appropriate. The following example picture has its LED on pin PC13. To get the proper bootloader for your Blue Pill, read the pin number for the built-in LED of the board. You will need a few things to get up and running: #Using an adaptor on serial cloner how to#This post will show you how to upload a new bootloader to the Blue Pill and upload sketches over USB with PlatformIO in Windows. You are then forced to use a USB to Serial/USB to TTL to interface with the BLue Pill, and that can be a nuisance sometimes, especially since you have to change the BOOT0 pin from 0 to 1 to upload, and then the reverse to run a sketch. The Blue Pill (STM32) can be bought very cheaply on sites like eBay and Aliexpress, but they likely do not come shipped with a USB bootloader. USB Serial for Blue Pill (STM32) with PlatformIO 4 years ago ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |