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.
 
 
 
 
 
 

32 lines
777 B

  1. ################################################################################
  2. # Author: Michael Trensch (MTrensch@googlemail.com)
  3. ################################################################################
  4. #Hilscher netX 10 CPU
  5. if { [info exists CHIPNAME] } {
  6. set _CHIPNAME $CHIPNAME
  7. } else {
  8. set _CHIPNAME netx10
  9. }
  10. if { [info exists ENDIAN] } {
  11. set _ENDIAN $ENDIAN
  12. } else {
  13. set _ENDIAN little
  14. }
  15. if { [info exists CPUTAPID] } {
  16. set _CPUTAPID $CPUTAPID
  17. } else {
  18. set _CPUTAPID 0x25966021
  19. }
  20. # jtag scan chain
  21. jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
  22. # that TAP is associated with a target
  23. set _TARGETNAME $_CHIPNAME.cpu
  24. target create $_TARGETNAME arm966e -endian $_ENDIAN -chain-position $_TARGETNAME