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.
 
 
 
 
 
 

35 lines
723 B

  1. # ARM920T CPU
  2. if { [info exists CHIPNAME] } {
  3. set _CHIPNAME $CHIPNAME
  4. } else {
  5. set _CHIPNAME ks869x
  6. }
  7. if { [info exists ENDIAN] } {
  8. set _ENDIAN $ENDIAN
  9. } else {
  10. set _ENDIAN little
  11. }
  12. if { [info exists CPUTAPID] } {
  13. set _CPUTAPID $CPUTAPID
  14. } else {
  15. set _CPUTAPID 0x00922f0f
  16. }
  17. adapter speed 6000
  18. # jtag scan chain
  19. jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
  20. set _TARGETNAME $_CHIPNAME.cpu
  21. target create $_TARGETNAME arm920t -endian $_ENDIAN -chain-position $_TARGETNAME
  22. $_TARGETNAME configure -work-area-phys 0x20000 -work-area-size 0x20000 -work-area-backup 0
  23. # speed up memory downloads
  24. arm7_9 fast_memory_access enable
  25. arm7_9 dcc_downloads enable