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
791 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. # force an error till we get a good number
  18. set _CPUTAPID 0x1181501d
  19. }
  20. #jtag speed
  21. adapter_khz 4500
  22. #has only srst
  23. reset_config srst_only
  24. #jtag scan chain
  25. jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 1 -irmask 0x1 -expected-id $_CPUTAPID
  26. #target configuration
  27. set _TARGETNAME $_CHIPNAME.cpu
  28. target create $_TARGETNAME dsp563xx -endian $_ENDIAN -chain-position $_TARGETNAME
  29. #working area at base of ram
  30. $_TARGETNAME configure -work-area-virt 0