]> git.sur5r.net Git - openocd/blob - src/target/target/sam7x256.cfg
e0030c7a76701ab83df533c1f0496d487666d54c
[openocd] / src / target / target / sam7x256.cfg
1 #use combined on interfaces or targets that can't set TRST/SRST separately
2 reset_config srst_only srst_pulls_trst
3
4 #jtag scan chain
5 #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
6 jtag_device 4 0x1 0xf 0xe
7
8 #target <type> <startup mode>
9 #target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
10 target arm7tdmi little 0 arm7tdmi
11 [new_target_name] configure -event reset-init { script event/sam7x256_reset.script }
12
13 working_area 0 0x00200000 0x4000 nobackup
14
15 #flash bank <driver> <base> <size> <chip_width> <bus_width>
16 flash bank at91sam7 0 0 0 0 0
17
18 # For more information about the configuration files, take a look at:
19 # openocd.texi