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.
 
 
 
 
 
 

26 lines
542 B

  1. if { [info exists CHIPNAME] } {
  2. set _CHIPNAME $_CHIPNAME
  3. } else {
  4. set _CHIPNAME asm9260t
  5. }
  6. if { [info exists ENDIAN] } {
  7. set _ENDIAN $ENDIAN
  8. } else {
  9. set _ENDIAN little
  10. }
  11. if { [info exists CPUTAPID] } {
  12. set _CPUTAPID $CPUTAPID
  13. } else {
  14. set _CPUTAPID 0x079264F3
  15. }
  16. # And srst_pulls_trst by chip design.
  17. reset_config srst_pulls_trst
  18. jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
  19. set _TARGETNAME $_CHIPNAME.cpu
  20. target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME