xds100v2.cfg 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. #
  2. # Texas Instruments XDS100v2
  3. #
  4. # http://processors.wiki.ti.com/index.php/XDS100#XDS100v2_Features
  5. #
  6. # Detailed documentation is available only as CPLD verilog source code
  7. # to the registered TI users.
  8. #
  9. adapter driver ftdi
  10. ftdi vid_pid 0x0403 0xa6d0 0x0403 0x6010
  11. ftdi layout_init 0x0038 0x597b
  12. # 8000 z - unused
  13. # 4000 0 > CPLD loopback (all target side pins high-Z)
  14. # 2000 z < !( cable connected ) (open drain on CPLD side for $reasons)
  15. # 1000 0 > EMU1_oe
  16. #
  17. # 800 0 > PWR_RST = clear power-loss flag on rising edge
  18. # 400 z < !( power-loss flag )
  19. # 200 z < nSRST
  20. # 100 0 > nSRST_oe
  21. #
  22. # 80 z < RTCK
  23. # 40 0 > EMU0_oe
  24. # 20 1 > EMU_EN
  25. # 10 1 > nTRST
  26. #
  27. # 8 1 > TMS
  28. # 4 z < TDO
  29. # 2 0 > TDI
  30. # 1 0 > TCK
  31. #
  32. # As long as the power-loss flag is set, all target-side pins are
  33. # high-Z except the EMU-pins for which the opposite holds unless
  34. # EMU_EN is high.
  35. #
  36. # To use wait-in-reset, drive EMU0 low at power-on reset. If the
  37. # target normally reuses EMU0 for other purposes, clear EMU_EN to
  38. # keep the EMU pins high-Z until the target is power-cycled.
  39. #
  40. # The LED only turns off at USB suspend, which is also the only way to
  41. # set the power-loss flag manually. (Can be done in software e.g. by
  42. # changing the USB configuration to zero.)
  43. #
  44. ftdi layout_signal nTRST -data 0x0010
  45. ftdi layout_signal nSRST -oe 0x0100
  46. ftdi layout_signal EMU_EN -data 0x0020
  47. ftdi layout_signal EMU0 -oe 0x0040
  48. ftdi layout_signal EMU1 -oe 0x1000
  49. ftdi layout_signal PWR_RST -data 0x0800
  50. ftdi layout_signal LOOPBACK -data 0x4000
  51. echo "\nInfo : to use this adapter you MUST add ``init; ftdi set_signal PWR_RST 1; jtag arp_init'' to the end of your config file!\n"
  52. # note: rising edge on PWR_RST is also needed after power-cycling the
  53. # target