2 # The following commands will be executed on
3 # reset (because of run_and_init in the config-file)
4 # - wait for target halt
6 # - flash content of file main.bin into target-memory
9 # created by Martin Thomas
10 # http://www.siwawi.arubi.uni-kl.de/avr_projects/arm_projects
11 # based on information from Dominic Rath
13 arm7_9 dcc_downloads enable
18 # erase first bank only:
20 flash write 0 lpc2148.bin 0x0
21 #flash write 0 scripts/lpc2148_freertos.bin 0x0
22 #flash write 0 scripts/main.bin 0x0