diff options
Diffstat (limited to 'src/target/target/sam7x256.cfg')
-rw-r--r-- | src/target/target/sam7x256.cfg | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/target/target/sam7x256.cfg b/src/target/target/sam7x256.cfg new file mode 100644 index 00000000..cb289824 --- /dev/null +++ b/src/target/target/sam7x256.cfg @@ -0,0 +1,21 @@ +#use combined on interfaces or targets that can't set TRST/SRST separately +reset_config srst_only srst_pulls_trst + +#jtag scan chain +#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE) +jtag_device 4 0x1 0xf 0xe + +#target <type> <startup mode> +#target arm7tdmi <reset mode> <chainpos> <endianness> <variant> +target arm7tdmi little run_and_init 0 arm7tdmi +run_and_halt_time 0 30 + +target_script 0 reset event/sam7x256_reset.script + +working_area 0 0x00200000 0x4000 nobackup + +#flash bank <driver> <base> <size> <chip_width> <bus_width> +flash bank at91sam7 0 0 0 0 0 + +# For more information about the configuration files, take a look at: +# http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger |