Advertisement
Guest User

openocd.cfg

a guest
Mar 7th, 2012
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. telnet_port 4444
  2. gdb_port 3333
  3.  
  4. interface ft2232
  5. ft2232_device_desc "Dual RS232-HS"
  6. ft2232_layout usbjtag
  7. ft2232_vid_pid 0x0403 0x6010
  8. jtag_khz 400
  9. jtag_nsrst_delay 200
  10. jtag_ntrst_delay 200
  11.  
  12. #use combined on interfaces or targets that cannot set TRST/SRST separately
  13. reset_config trst_and_srst srst_pulls_trst
  14.  
  15. set _ENDIAN little
  16. set _CHIPNAME s3c2412
  17. set _CPUTAPID 0x0792609d
  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 arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME -variant arm926ejs
  22. $_TARGETNAME configure -work-area-phys 0x30400000 -work-area-size 0x20000 -work-area-backup 0
  23.  
  24. # speed up memory downloads
  25. arm7_9 fast_memory_access enable
  26. arm7_9 dcc_downloads enable
  27.  
  28. nand device 0 s3c2412 s3c2412.cpu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement