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:47] – [Resources] 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 [[:boards:maple|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.
Line 12: Line 12:
 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 18: Line 18:
 === Test === === Test ===
  
-After installing the boot loader and resetting, 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.+To communicate with the boot loader [[:tools:dfu-util|dfu-util]] can be installed and used. 
 + 
 +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> <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"
Line 32: Line 36:
 === Resources === === Resources ===
  
-[[http://static.leaflabs.com/pub/leaflabs/maple-bootloader/maple_mini_boot.bin|Official boot loader]]+[[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]] 
 +