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
681 B

  1. ######################################
  2. # Target: Marvell Dragonite CPU core
  3. ######################################
  4. if { [info exists CHIPNAME] } {
  5. set _CHIPNAME $CHIPNAME
  6. } else {
  7. set _CHIPNAME dragonite
  8. }
  9. if { [info exists ENDIAN] } {
  10. set _ENDIAN $ENDIAN
  11. } else {
  12. set _ENDIAN little
  13. }
  14. if { [info exists CPUTAPID ] } {
  15. set _CPUTAPID $CPUTAPID
  16. } else {
  17. set _CPUTAPID 0x121003d3
  18. }
  19. jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
  20. set _TARGETNAME $_CHIPNAME.cpu
  21. target create $_TARGETNAME dragonite -endian $_ENDIAN -chain-position $_TARGETNAME
  22. reset_config trst_and_srst
  23. jtag_nsrst_delay 200
  24. jtag_ntrst_delay 200