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.
 
 
 
 
 
 

39 lines
744 B

  1. # i.MX28 config file.
  2. # based off of the imx21.cfg file.
  3. reset_config trst_and_srst
  4. #jtag nTRST and nSRST delay
  5. adapter srst delay 100
  6. jtag_ntrst_delay 100
  7. if { [info exists CHIPNAME] } {
  8. set _CHIPNAME $CHIPNAME
  9. } else {
  10. set _CHIPNAME imx28
  11. }
  12. if { [info exists ENDIAN] } {
  13. set _ENDIAN $ENDIAN
  14. } else {
  15. set _ENDIAN little
  16. }
  17. # Note above there is 1 tap
  18. # The CPU tap
  19. if { [info exists CPUTAPID] } {
  20. set _CPUTAPID $CPUTAPID
  21. } else {
  22. set _CPUTAPID 0x079264f3
  23. }
  24. jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CPUTAPID
  25. # Create the GDB Target.
  26. set _TARGETNAME $_CHIPNAME.cpu
  27. target create $_TARGETNAME arm926ejs -endian $_ENDIAN -chain-position $_TARGETNAME
  28. arm7_9 dcc_downloads enable