Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:maple [2015/03/18 13:39] darrontools:maple [2020/08/07 03:46] (current) – [Resources] darron
Line 1: Line 1:
 ==== Maple mini boot loader ==== ==== 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'clones.+Leaflabs have a repository for the maple boot loader and pre-built binaries, however, the repository does not contain working code for the [[:boards:maple|Maple mini]] or its clones.
  
 A patched version of the Maple boot loader for the mini exists elsewhere and this appears to operate. A patched version of the Maple boot loader for the mini exists elsewhere and this appears to operate.
  
 === Install === === Install ===
 +
 +Install [[:tools:gccarm|this]] compiler and the [[:tools:stlink|STLink]] programmer.
  
 <code> <code>
 git clone https://github.com/rogerclarkmelbourne/Arduino_STM32 git clone https://github.com/rogerclarkmelbourne/Arduino_STM32
 cd Arduino_STM32/other/maple-bootloader cd Arduino_STM32/other/maple-bootloader
-make TCHAIN=/embedded/arm-cortex/gcc-arm-none-eabi-4_9-2014q4/bin/arm-none-eabi+make TCHAIN=/embedded/arm-cortex/gcc-arm-none-eabi-4_9-2015q1/bin/arm-none-eabi
 st-flash write build/maple_boot.bin 0x8000000 st-flash write build/maple_boot.bin 0x8000000
 </code> </code>
Line 16: Line 18:
 === Test === === 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. +To communicate with the boot loader [[:tools:dfu-util|dfu-util]] can be installed and used.
-<code> +
-dfu-util -l+
  
 +After initial installation of the boot loader and the first reset, [[:tools:dfu-util|dfu-util]] will fail to operate correctly until the mini is reset once again.
 +
 +The first time we query the device we will get the following.
 +<code>
 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=1, name="UNKNOWN", serial="UNKNOWN"
 Found DFU: [1eaf:0003] ver=0201, devnum=85, cfg=1, intf=0, alt=0, name="UNKNOWN", serial="UNKNOWN" Found DFU: [1eaf:0003] ver=0201, devnum=85, cfg=1, intf=0, alt=0, name="UNKNOWN", serial="UNKNOWN"
Line 29: Line 33:
 Found DFU: [1eaf:0003] ver=0201, devnum=88, cfg=1, intf=0, alt=0, name="DFU Program RAM 0x20000C00", 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"
 </code> </code>
 +
 +=== Resources ===
 +
 +[[https://web.archive.org/web/20110811161116/http://static.leaflabs.com/pub/leaflabs/maple-bootloader/|Official boot loaders]]
 +
 +[[https://web.archive.org/web/20150928225110/http://static.leaflabs.com/pub/leaflabs/maple-bootloader/maple_mini_boot.bin|Official boot loader]]
 +
 +