blob: 862781c3fa91d433bad2e6533cab06ab696271e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# 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/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 run
|