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.
 
 
 
 
 
 

26 lines
794 B

  1. #
  2. # Xilinx Zynq-7000 All Programmable SoC
  3. #
  4. # http://www.xilinx.com/products/silicon-devices/soc/zynq-7000/index.htm
  5. #
  6. set _CHIPNAME zynq
  7. set _TARGETNAME $_CHIPNAME.cpu
  8. jtag newtap zynq_pl bs -irlen 6 -ircapture 0x1 -irmask 0x03 \
  9. -expected-id 0x23727093 \
  10. -expected-id 0x03727093
  11. jtag newtap $_CHIPNAME dap -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0x4ba00477
  12. target create ${_TARGETNAME}0 cortex_a -chain-position $_CHIPNAME.dap \
  13. -coreid 0 -dbgbase 0x80090000
  14. target create ${_TARGETNAME}1 cortex_a -chain-position $_CHIPNAME.dap \
  15. -coreid 1 -dbgbase 0x80092000
  16. target smp ${_TARGETNAME}0 ${_TARGETNAME}1
  17. adapter_khz 1000
  18. ${_TARGETNAME}0 configure -event reset-assert-post "cortex_a dbginit"
  19. ${_TARGETNAME}1 configure -event reset-assert-post "cortex_a dbginit"