Dobrica Pavlinušić's random unstructured stuff
McHck: Revision 1

bootloader

pi@raspberrypi ~/mchck/bootloader/usb-dfu $ sh -x flash.sh
+ ruby ../../toolchain//../programmer/flash.rb name=mchck:dev=/dev/serial/by-i/usb-mchck.org_MC_HCK_SWD_adapter_ffff0054003c000f24404e45-if00 dfu.bin 0
Attaching debugger...
KINETIS: holding system in reset
KINETIS: releasing core from reset
done.
Programming 2600 bytes of firmware to address 0...
programming 0, 0 of 3072
programming 0x400, 1024 of 3072
programming 0x800, 2048 of 3072
done.
resetting...
done.

blink

pi@raspberrypi ~/mchck/examples/blink $ sh -x flash.sh
+ ruby ../../toolchain//../programmer/flash.rb name=mchck:dev=/dev/serial/by-i/usb-mchck.org_MC_HCK_SWD_adapter_ffff0054003c000f24404e45-if00 blink.bin 3072
Attaching debugger...
KINETIS: holding system in reset
KINETIS: releasing core from reset
done.
Programming 980 bytes of firmware to address 0xc00...
programming 0xc00, 0 of 1024
done.
resetting...
done.