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.
 
 
 
 
 
 

33 lines
759 B

  1. #xscale ixp42x CPU
  2. if { [info exists CHIPNAME] } {
  3. set _CHIPNAME $CHIPNAME
  4. } else {
  5. set _CHIPNAME ixp42x
  6. }
  7. if { [info exists ENDIAN] } {
  8. set _ENDIAN $ENDIAN
  9. } else {
  10. # this defaults to a bigendian
  11. set _ENDIAN big
  12. }
  13. if { [info exists CPUTAPID ] } {
  14. set _CPUTAPID $CPUTAPID
  15. } else {
  16. # force an error till we get a good number
  17. set _CPUTAPID 0xffffffff
  18. }
  19. #use combined on interfaces or targets that can?t set TRST/SRST separately
  20. reset_config srst_only srst_pulls_trst
  21. #jtag scan chain
  22. jtag newtap $_CHIPNAME cpu -irlen 7 -ircapture 0x1 -irmask 0x7f -expected-id $_CPUTAPID
  23. set _TARGETNAME [format "%s.cpu" $_CHIPNAME]
  24. target create $_TARGETNAME xscale -endian $_ENDIAN -chain-position $_TARGETNAME -variant ixp42x