hilscher_netx10.cfg 821 B

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