SHARE
TWEET

Untitled

a guest Apr 13th, 2015 852 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. transport select jtag
  2. adapter_khz 100
  3.  
  4. if { [info exists CHIPNAME] } {
  5.    set  _CHIPNAME $CHIPNAME
  6. } else {
  7.    set  _CHIPNAME feroceon
  8. }
  9.  
  10. if { [info exists ENDIAN] } {
  11.    set  _ENDIAN $ENDIAN
  12. } else {
  13.    set  _ENDIAN little
  14. }
  15.  
  16. if { [info exists CPUTAPID ] } {
  17.    set _CPUTAPID $CPUTAPID
  18. } else {
  19.    set _CPUTAPID 0x20a023d3
  20. }
  21.  
  22. jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
  23.  
  24. set _TARGETNAME $_CHIPNAME.cpu
  25. target create $_TARGETNAME feroceon -endian $_ENDIAN -chain-position $_TARGETNAME
  26.  
  27. reset_config trst_and_srst
  28. adapter_nsrst_delay 200
  29. jtag_ntrst_delay 200
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top