aboutsummaryrefslogtreecommitdiff
path: root/laser-tag software/README
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amatus.name>2016-06-11 11:33:22 -0500
committerDavid Barksdale <amatus@amatus.name>2016-06-11 11:33:22 -0500
commit27c00e26c44e6db0ea51dbbeebf40242619e51af (patch)
tree2958a209eade515ab86b59663afe20ae1b25ae3c /laser-tag software/README
parent5919a4acbf6aa5d17db9a19aa7c9bbf54fdd5f06 (diff)
Update READMEs with more info
Diffstat (limited to 'laser-tag software/README')
-rw-r--r--laser-tag software/README15
1 files changed, 14 insertions, 1 deletions
diff --git a/laser-tag software/README b/laser-tag software/README
index b0c838b..2573f83 100644
--- a/laser-tag software/README
+++ b/laser-tag software/README
@@ -6,7 +6,18 @@ Build instructions for Ubuntu:
2) cd "laser-tag software"
./build_debug.sh
-Load instructions:
+Load instructions Kinetis Bootloader:
+0) Download the Kinetis Bootloader[0]. (registration required)
+1) Extract that huge zip and find the blhost executable for your OS in the bin directory.
+2) Boot your badge into the ROM boot-loader by holding the direction pad UP while pressing reset.
+3) It should show up as a USB-HID device.
+4) Execute:
+ blhost -u -- flash-erase-all-unsecure
+ blhost -u -- write-memory 0 hello_world.bin
+5) Reset the badge or:
+ blhost -u -- reset
+
+Load instructions for openocd:
0) openocd
in another terminal:
telnet localhost 4444
@@ -15,3 +26,5 @@ Load instructions:
gdb-multiarch -x gdb.init debug/hello_world.elf
gdb) load
gdb) monitor reset
+
+[0] http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/kinetis-cortex-m/kinetis-symbols-footprints-and-models/kinetis-bootloader:KBOOT