From 019adcd4c6b5766a615c9dfd925161054abd1dcb Mon Sep 17 00:00:00 2001 From: David Barksdale Date: Tue, 2 Aug 2016 22:24:24 -0500 Subject: Update README --- laser-tag software/README | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) 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 -- cgit v1.2.3-18-g5258