Stm32duino bootloader

Information on the latest releases
manu84
Posts: 7
Joined: Wed Aug 09, 2017 9:42 am

Re: Stm32duino bootloader

Post by manu84 » Fri Aug 18, 2017 6:37 pm

thanks !

aster
Posts: 110
Joined: Thu Mar 30, 2017 2:41 pm
Location: bella italy
Contact:

Re: Stm32duino bootloader

Post by aster » Wed Aug 30, 2017 12:40 am

for new boards we should use the bin inside bootloader_only_binaries or binaries?
these wiki should be updaded:
https://github.com/rogerclarkmelbourne/ ... bootloader
https://github.com/rogerclarkmelbourne/ ... bootloader

User avatar
RogerClark
Posts: 7438
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Stm32duino bootloader

Post by RogerClark » Wed Aug 30, 2017 12:47 am

Use the binaries folder as before

Perhaps I should rename the bootloader_only_binaries folder as its only used for people who are upgrading

aster
Posts: 110
Joined: Thu Mar 30, 2017 2:41 pm
Location: bella italy
Contact:

Re: Stm32duino bootloader

Post by aster » Wed Aug 30, 2017 2:27 am

ok great, i am burning the bootloader in a few new boards i received, using this guide
one of this seems to be broken since it can't init the device:
.\stm32flash.exe -w Z:\Storage\Programmi\Arduino\STM32-bootloaders\generic_boot20_pc13.bin COM9

output:

Code: Select all

stm32flash 0.4
http://stm32flash.googlecode.com/

Using Parser : Raw BINARY
Interface serial_w32: 57600 8E1
Failed to init device.
so i tryed with stlink, and i get:

Code: Select all

Can not connect to target!
                  If you're trying to connect to an STM32W1xx device, please select Normal or HotPlug mode from Target->Settings menu.
                  If you're trying to connect to a low frequency application , please select a lower SWD Frequency mode from Target->Settings menu.
Core is held in reset
the same procedure worked for other 3 boards so i guess the problem is with this one

User avatar
RogerClark
Posts: 7438
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Stm32duino bootloader

Post by RogerClark » Wed Aug 30, 2017 4:43 am

Blue Pill boards do not seem to undergo any testing at the factory, which is not surprising as they are only $2...

Various people have reported issues with the soldering.

The serial bootloader inside the MCU does not need the crystal etc, so sometimes you can load the bootloader but then find the boards don't work because the 8Mhz crystal is not soldered

However in your case its something more serious, like the 3.3V regulator not working or some pins on the MCU not being soldered.

So you either try reflow soldering the board again, or throw it away

zmemw16
Posts: 1484
Joined: Wed Jul 08, 2015 2:09 pm
Location: St Annes, Lancs,UK

Re: Stm32duino bootloader

Post by zmemw16 » Wed Aug 30, 2017 4:48 am

istr someone muttering about wiping a soldering iron across the usb socket pins to clear a s/c or o/c?
srp

User avatar
RogerClark
Posts: 7438
Joined: Mon Apr 27, 2015 10:36 am
Location: Melbourne, Australia
Contact:

Re: Stm32duino bootloader

Post by RogerClark » Wed Aug 30, 2017 4:50 am

zmemw16 wrote:
Wed Aug 30, 2017 4:48 am
istr someone muttering about wiping a soldering iron across the usb socket pins to clear a s/c or o/c?
srp
You can do that, with a dry iron.

Don't try it with solder on the iron, as it can result in shorted pins.

In this case the problem would only be the USB pins if it was not getting any power at all (but that could be possible)

Post Reply