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.
 
 
 
 
 
 

22 lines
711 B

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