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.
 
 
 
 
 
 

20 lines
582 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 arm7tdmi little 0 arm7tdmi
  7. target_script 0 reset event/eir-sam7se512_reset.script
  8. working_area 0 0x00200000 0x4000 nobackup
  9. #flash bank <driver> <base> <size> <chip_width> <bus_width>
  10. flash bank at91sam7 0 0 0 0 0
  11. # For more information about the configuration files, take a
  12. # look at the "Open On-Chip Debugger (openocd)" documentation.