diff options
author | David Barksdale <amatus@amatus.name> | 2016-06-11 11:33:22 -0500 |
---|---|---|
committer | David Barksdale <amatus@amatus.name> | 2016-06-11 11:33:22 -0500 |
commit | 27c00e26c44e6db0ea51dbbeebf40242619e51af (patch) | |
tree | 2958a209eade515ab86b59663afe20ae1b25ae3c | |
parent | 5919a4acbf6aa5d17db9a19aa7c9bbf54fdd5f06 (diff) |
Update READMEs with more info
-rw-r--r-- | README.md | 9 | ||||
-rw-r--r-- | laser-tag software/README | 15 |
2 files changed, 22 insertions, 2 deletions
@@ -1 +1,8 @@ -This is the development repo for AHA! badge designs. +## Getting Started + +Instructions for building firmware and flashing your badge is in +[laser-tag software/README](laster-tag software/README). + +## Getting Help + +Join #ahabadges on Freenode. 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 |