2008-04-23 13:10:27 +00:00
|
|
|
|
#STR730 CPU
|
|
|
|
|
|
2008-07-04 17:33:46 +00:00
|
|
|
|
jtag_khz 10, 3000
|
|
|
|
|
|
2008-04-23 13:10:27 +00:00
|
|
|
|
#use combined on interfaces or targets that can<61>t set TRST/SRST separately
|
|
|
|
|
#reset_config trst_and_srst srst_pulls_trst
|
|
|
|
|
reset_config trst_and_srst srst_pulls_trst
|
|
|
|
|
|
|
|
|
|
#jtag scan chain
|
|
|
|
|
#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
|
|
|
|
|
jtag_device 4 0x1 0xf 0xe
|
|
|
|
|
|
|
|
|
|
#jtag nTRST and nSRST delay
|
|
|
|
|
jtag_nsrst_delay 500
|
|
|
|
|
jtag_ntrst_delay 500
|
|
|
|
|
|
|
|
|
|
#target configuration
|
|
|
|
|
daemon_startup reset
|
|
|
|
|
|
|
|
|
|
#target <type> <startup mode>
|
|
|
|
|
#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
|
2008-07-18 14:51:19 +00:00
|
|
|
|
target arm7tdmi little 0 arm7tdmi
|
2008-04-23 13:10:27 +00:00
|
|
|
|
|
|
|
|
|
run_and_halt_time 0 30
|
|
|
|
|
|
2008-07-04 17:46:41 +00:00
|
|
|
|
target_script 0 gdb_program_config event/str730_program.script
|
|
|
|
|
|
2008-04-23 13:10:27 +00:00
|
|
|
|
working_area 0 0x40000000 0x4000 nobackup
|
|
|
|
|
|
|
|
|
|
#flash bank <driver> <base> <size> <chip_width> <bus_width>
|
|
|
|
|
flash bank str7x 0x20000000 0x00040000 0 0 0 STR3x
|
|
|
|
|
|