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
526 B

  1. # imx31 config
  2. #
  3. # NB! Does not work yet. Work in progress
  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. # The device below does not have an IDCODE, so lsb is 1
  11. jtag_device 4 0x0 0x0 0xf
  12. jtag_device 5 0x1 0x0 0x1e
  13. jtag_nsrst_delay 500
  14. jtag_ntrst_delay 500
  15. target create target0 arm11 -endian little -chain-position 1