diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-06-02 18:25:46 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2013-06-02 18:25:46 +0200 |
commit | b2df34e622ddee5d51beb1e9e93d4ecbb1745e55 (patch) | |
tree | 88822c96df5c98c74130ae532936f5d2f034c5b6 /firmware/openocd.cfg | |
parent | f547775b5a8c60f655bcdb0d10bbcdb1417f3890 (diff) |
Initial experiments with SPI.
Diffstat (limited to 'firmware/openocd.cfg')
-rw-r--r-- | firmware/openocd.cfg | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/firmware/openocd.cfg b/firmware/openocd.cfg new file mode 100644 index 0000000..44bdfb3 --- /dev/null +++ b/firmware/openocd.cfg @@ -0,0 +1,34 @@ +# This file is for use with the PhotonSaw LPC1769 based laserctrl board. +# The script will flash the main.bin file to the board and run it. +# To flash the board call with: +# $ openocd -f openocd-flash.cfg + +jtag_khz 1 + +# This is the JTAG connector I use +#source [find interface/olimex-arm-usb-tiny-h.cfg] +source [find interface/buspirate.cfg] + +# This is close enough to the board I use +source [find target/lpc1768.cfg] + +adapter_nsrst_assert_width 10 +adapter_nsrst_delay 2 +reset_config srst_only + +#adapter_khz 0 +adapter_khz 500 +#jtag_khz 100 + +init +sleep 200 +reset halt +#sleep 200 +#soft_reset_halt +wait_halt +mww 0x400FC040 0x01 +sleep 200 + +#flash write_image erase vcomdemo.hex +#verify_image vcomdemo.hex +#reset runq |