Advertisement
Guest User

Untitled

a guest
Apr 1st, 2020
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. source [find target/swj-dp.tcl]
  2.  
  3. if { [info exists CHIPNAME] } {
  4. set _CHIPNAME $CHIPNAME
  5. } else {
  6. set _CHIPNAME s4ln045x01
  7. }
  8.  
  9. if { [info exists ENDIAN] } {
  10. set _ENDIAN $ENDIAN
  11. } else {
  12. set _ENDIAN little
  13. }
  14.  
  15. if { [info exists CPUTAPID] } {
  16. set _CPUTAPID $CPUTAPID
  17. } else {
  18. set _CPUTAPID 0x4ba00477
  19. }
  20.  
  21.  
  22. transport select jtag
  23. reset_config trst_only
  24. adapter_khz 200
  25.  
  26. swj_newdap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
  27. dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
  28. set _TARGETNAME $_CHIPNAME.cpu
  29. jtag init
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement