aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Barksdale <amatus@amatus.name>2016-08-02 22:24:24 -0500
committerDavid Barksdale <amatus@amatus.name>2016-08-02 22:24:24 -0500
commit019adcd4c6b5766a615c9dfd925161054abd1dcb (patch)
tree95dfc2866db8ae19d0e5a13f315b6e80e41e13a3
parent9b9a9bd122cf306b2dd26e18755e51f5f0b09e39 (diff)
Update README
-rw-r--r--laser-tag software/README25
1 files changed, 25 insertions, 0 deletions
diff --git a/laser-tag software/README b/laser-tag software/README
index 0bd0918..10c5895 100644
--- a/laser-tag software/README
+++ b/laser-tag software/README
@@ -37,4 +37,29 @@ Load instructions for openocd:
gdb) load
gdb) monitor reset
+Creating graphics:
+0) Create a 232 x 128 black and white (not greyscale) image
+1) Use gimp to convert it to "SUN Rasterfile image" with the extension .im1
+2) Choose Standard Data Formatting, not RunLength Encoded
+3) Check that the image file size is 3872 bytes
+
+Load images with blhost:
+ blhost -u -- flash-erase-region 0x20000 0x5000
+ blhost -u -- write-memory 0x20000 image0.im1
+ blhost -u -- write-memory 0x21000 image1.im1
+ blhost -u -- write-memory 0x22000 image2.im1
+ blhost -u -- write-memory 0x23000 image3.im1
+ blhost -u -- write-memory 0x24000 image4.im1
+
+Load images with dd:
+0) Plug the badge in to your computer's USB port
+1) Note the five USB drives that appear
+2) dd (on Linux/BSD/OSX?) or rawrite (on Winblows) images to those drives
+ Example:
+ dd if=image0.im1 of=/dev/sdb
+ dd if=image1.im1 of=/dev/sdc
+ dd if=image2.im1 of=/dev/sdd
+ dd if=image3.im1 of=/dev/sde
+ dd if=image4.im1 of=/dev/sdf
+
[0] http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/kinetis-cortex-m/kinetis-symbols-footprints-and-models/kinetis-bootloader:KBOOT