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.
 
 
 
 
 
 

17 lines
459 B

  1. #use combined on interfaces or targets that can't set TRST/SRST separately
  2. reset_config trst_and_srst
  3. jtag_speed 10
  4. #jtag scan chain
  5. #format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)
  6. # 4 devices otherwise openocd complains, the last one returns 0x0 for all bytes
  7. jtag_device 4 0x1 0x0 0xe
  8. jtag_device 5 0x1 0x1f 0x1e
  9. jtag_device 4 0x0 0x0 0xe
  10. jtag_device 5 0x1 0x0 0x1e
  11. #target <type> <endianess> <reset mode>
  12. target arm11 little 1