v0.1 board believed to be reading Vbat, Pressure, and X/Y/Z correctly now,
[fw/openalt] / oocd_flash_lpc2148.script
1 #
2 # The following commands will be executed on
3 # reset (because of run_and_init in the config-file)
4 # - wait for target halt
5 # - erase memory
6 # - flash content of file main.bin into target-memory
7 # - shutdown openocd
8 #
9 # created by Martin Thomas
10 # http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects
11 # based on information from Dominic Rath
12 #
13 arm7_9 dcc_downloads enable
14 wait_halt
15 sleep 10
16 poll
17 flash probe 0
18 # erase first bank only:
19 flash erase 0 0 26
20 flash write 0 lpc2148.bin 0x0
21 #flash write 0 scripts/lpc2148_freertos.bin 0x0
22 #flash write 0 scripts/main.bin 0x0
23 reset run
24 sleep 10
25 shutdown
26