dsp56321.cfg 774 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # SPDX-License-Identifier: GPL-2.0-or-later
  2. # Script for freescale DSP56321
  3. #
  4. if { [info exists CHIPNAME] } {
  5. set _CHIPNAME $CHIPNAME
  6. } else {
  7. set _CHIPNAME dsp56321
  8. }
  9. if { [info exists ENDIAN] } {
  10. set _ENDIAN $ENDIAN
  11. } else {
  12. # this defaults to a big endian
  13. set _ENDIAN big
  14. }
  15. if { [info exists CPUTAPID] } {
  16. set _CPUTAPID $CPUTAPID
  17. } else {
  18. set _CPUTAPID 0x1181501d
  19. }
  20. #jtag speed
  21. adapter speed 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