You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

23 lines
704 B

  1. jtag_nsrst_delay 200
  2. jtag_ntrst_delay 200
  3. #use combined on interfaces or targets that can't set TRST/SRST separately
  4. reset_config srst_only srst_pulls_trst
  5. #jtag scan chain
  6. #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
  7. jtag_device 4 0x1 0xf 0xe
  8. #target <type> <startup mode>
  9. #target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
  10. target arm7tdmi little 0 arm7tdmi
  11. run_and_halt_time 0 30
  12. target_script 0 reset event/at91r40008_reset.script
  13. working_area 0 0x3C000 0x4000 nobackup
  14. flash bank cfi 0x10000000 0x400000 2 2 0
  15. # For more information about the configuration files, take a look at:
  16. # http://openfacts.berlios.de/index-en.phtml?title=Open+On-Chip+Debugger