This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
openocd:using_openocd [2021/01/14 17:17] – ursgraf | openocd:using_openocd [2022/09/16 10:32] (current) – [Problems] ursgraf | ||
---|---|---|---|
Line 25: | Line 25: | ||
| | ||
1 zynq.dap | 1 zynq.dap | ||
+ | </ | ||
+ | |||
+ | ===== Using Telnet Terminal ===== | ||
+ | Usually, deep will open a telnet connection to the OpenOCD server running on the host (through the OpenOCDinterface). For testing purposes it is convenient to open a second telnet connection, e.g. with a terminal program such as Putty. | ||
+ | |||
+ | ===== Targets ===== | ||
+ | The PS includes two targets, // | ||
+ | < | ||
+ | TargetName | ||
+ | -- ------------------ ---------- ------ ------------------ ------------ | ||
+ | 0* zynq.cpu0 | ||
+ | | ||
+ | </ | ||
+ | The star denotes the current target, e.g. the '' | ||
+ | When halting the running targets with '' | ||
+ | < | ||
+ | target halted in ARM state due to debug-request, | ||
+ | cpsr: 0x60000113 pc: 0x00101834 | ||
+ | MMU: disabled, D-Cache: disabled, I-Cache: disabled | ||
+ | target halted in ARM state due to debug-request, | ||
+ | cpsr: 0x60000193 pc: 0xffffff34 | ||
+ | MMU: disabled, D-Cache: disabled, I-Cache: disabled | ||
</ | </ | ||
+ | The output shows the state of the two targets. <WRAP center round important 60%> | ||
+ | The first three lines always show the state of the current target, the next three lines the other target. If cpu1 is current, its state will be listed first followed by the state of cpu0. | ||
+ | </ | ||
+ | ===== Problems ===== | ||
+ | Bad USB cable connections can lead to errors such as | ||
+ | < | ||
+ | Info : accepting ' | ||
+ | Info : JTAG tap: zynq_pl.bs tap/device found: 0x13722093 (mfg: 0x049 (Xilinx), part: 0x3722, ver: 0x1) | ||
+ | Info : JTAG tap: zynq.dap tap/device found: 0x4ba00477 (mfg: 0x23b (ARM Ltd.), part: 0xba00, ver: 0x4) | ||
+ | Warn : zynq.cpu0: ran after reset and before halt ... | ||
+ | Warn : zynq.cpu1: ran after reset and before halt ... | ||
+ | Error: DSCR_DTR_RX_FULL, | ||
+ | </ | ||
+ | In such a case, try another cable. |