This is an old revision of the document!
Table of Contents
Maple mini boot loader
Leaflabs have a repository for the maple boot loader and pre-built binaries, however, the repository does not contain working code for the Maple mini or it's clones.
A patched version of the Maple boot loader for the mini exists elsewhere and this appears to operate.
Install
git clone https://github.com/rogerclarkmelbourne/Arduino_STM32 cd Arduino_STM32/other/maple-bootloader make TCHAIN=/embedded/arm-cortex/gcc-arm-none-eabi-4_9-2014q4/bin/arm-none-eabi st-flash write build/maple_boot.bin 0x8000000
Test
After updating the boot loader will fail to operate until the mini is reset twice. The first time we query the device we will get the following.
dfu-util -l Found DFU: [1eaf:0003] ver=0201, devnum=85, cfg=1, intf=0, alt=1, name="UNKNOWN", serial="UNKNOWN" Found DFU: [1eaf:0003] ver=0201, devnum=85, cfg=1, intf=0, alt=0, name="UNKNOWN", serial="UNKNOWN"
Subsequent queries work as expected.
Found DFU: [1eaf:0003] ver=0201, devnum=88, cfg=1, intf=0, alt=1, name="DFU Program FLASH 0x08005000", serial="LLM 003" Found DFU: [1eaf:0003] ver=0201, devnum=88, cfg=1, intf=0, alt=0, name="DFU Program RAM 0x20000C00", serial="LLM 003"