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.
 
 
 
 
 
 

38 lines
729 B

  1. # Script for freescale DSP56321
  2. #
  3. if { [info exists CHIPNAME] } {
  4. set _CHIPNAME $CHIPNAME
  5. } else {
  6. set _CHIPNAME dsp56321
  7. }
  8. if { [info exists ENDIAN] } {
  9. set _ENDIAN $ENDIAN
  10. } else {
  11. # this defaults to a big endian
  12. set _ENDIAN big
  13. }
  14. if { [info exists CPUTAPID] } {
  15. set _CPUTAPID $CPUTAPID
  16. } else {
  17. set _CPUTAPID 0x1181501d
  18. }
  19. #jtag speed
  20. adapter_khz 4500
  21. #has only srst
  22. reset_config srst_only
  23. #jtag scan chain
  24. jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 1 -irmask 0x1 -expected-id $_CPUTAPID
  25. #target configuration
  26. set _TARGETNAME $_CHIPNAME.cpu
  27. target create $_TARGETNAME dsp563xx -endian $_ENDIAN -chain-position $_TARGETNAME
  28. #working area at base of ram
  29. $_TARGETNAME configure -work-area-virt 0