Posted on

Loading a Bootloader on the STM32 Blue Pill

Here is how I loaded the bootloader on a new STM32 Blue Pill.

Installed Arduino 1.8.5

 

Tools->Boards->Boards Manager

Install SAM Cortex-M3

Download:

https://github.com/rogerclarkmelbourne/Arduino_STM32/archive/master.zip

Unzip to My Documents->Arduino->Hardware

Rename folder. (Remove -master, so it is simply Arduino_STM32)

Navigate into drivers->win

Execute install_drivers.bat as administrator. (Right-click, run as administrator)

 

Visit:

https://github.com/rogerclarkmelbourne/STM32duino-bootloader/tree/master/binaries

And select:

Generic_boot20_pc13.bin

Save it in “tools/win/”

 

Set the Boot0 jumper to 1

Wire up the CH340 USB to TTL-232, G-G, TX-A10, RX-A9

USB (for power)

stm32flash.exe -w generic_boot20_pc13.bin COM4 (whatever com port your CH340 is on)

Put jumper back to 0

Reset

Use Arduino to upload a sketch to test. (Blink, for example)

 

Posted on

Rotary Attachment for Goliath (and, possibly, the laser cutter)

Somehow this message got lost in my inbox. So, when he says “Tues night” he’s actually referring to December 12th. Anyways, better late than never.  Here is Rylan’s writeup about the new tool he made for us:

Hey everyone! On Tues night after the meeting I made a portable tail stock to match Albert’s motorized Chuck. It Took me all night but lucky I scrounged enough pieces of metal and the whole thing came together in one night — paint and all! I turned most of the parts on the lathe. My favourite part about the build was using a flexure and a clamp to adjust the height of the bushing near the handle at the back, that along with rotation of the large ring sitting on the flexure allowed me to align the back bushing very well despite the way that parts like to warp and shift as welds cool. Putting the ACME thread up on top instead of hidden underneath the carriage as is typical is a feature in this design as exposing the treads makes it them easy to clean with all the CNC cuttings.
This rotary attachment could also be easily be placed in the laser cutter and on the CNC router.

Enjoy,
Rylan