1 #daemon configuration
\r
5 # tell gdb our flash memory map
\r
6 # and enable flash programming
\r
7 gdb_memory_map enable
\r
8 gdb_flash_program enable
\r
12 ft2232_device_desc "Amontec JTAGkey A"
\r
13 ft2232_layout jtagkey
\r
14 ft2232_vid_pid 0x0403 0xcff8
\r
17 #use combined on interfaces or targets that can't set TRST/SRST separately
\r
18 reset_config trst_and_srst srst_pulls_trst
\r
21 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
\r
22 jtag_device 4 0x1 0xf 0xe
\r
24 #target configuration
\r
25 daemon_startup reset
\r
27 #target <type> <startup mode>
\r
28 #target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
\r
29 target arm7tdmi little run_and_halt 0 arm7tdmi
\r
30 run_and_halt_time 0 30
\r
32 target_script 0 gdb_program_config .\prj\str710_program.script
\r
34 working_area 0 0x2000C000 0x4000 nobackup
\r
36 #flash bank str7x <base> <size> 0 0 <target#> <variant>
\r
37 flash bank str7x 0x40000000 0x00040000 0 0 0 STR71x
\r
39 # For more information about the configuration files, take a look at:
\r
40 # http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger
\r