From: Elias P. <eli...@bs...> - 2024-04-24 10:51:26
|
Hi, I have a design with a custom RISC-V CPU in a Xilinx Alveo u280. When using OpenOCD I can only see the FPGA device and not the JTAG device inside the RISC-V CPU: These are the different commands I have used and the error I am getting is always the same. Commands: ./src/openocd -c "debug_level 4" -c "adapter driver ftdi" -c "ftdi vid_pid 0x0403 0x6011" -c "transport select jtag" -c "ftdi layout_init 0x0008 0x000b" -c "ftdi layout_signal nSRST -data 0x0020 -oe 0x0020" -c "jtag newtap auto0 tap -irlen 2 -expected-id 0x14b7d093" -c "jtag newtap op cpu -irlen 18 -expected-id 0xb1aaa07d" ./src/openocd -c "debug_level 4" -c "adapter driver ftdi" -c "ftdi vid_pid 0x0403 0x6011" -c "transport select jtag" -c "ftdi layout_init 0x0008 0x000b" -c "ftdi layout_signal nSRST -data 0x0020 -oe 0x0020" -c "jtag newtap auto0 unknown0 -irlen 2 -expected-id 0x14b7d093" -c "jtag newtap op unknown1 -irlen 18 -expected-id 0xb1aaa07d" ./src/openocd -c "debug_level 4" -c "adapter driver ftdi" -c "ftdi vid_pid 0x0403 0x6011" -c "transport select jtag" -c "ftdi layout_init 0x0008 0x000b" -c "ftdi layout_signal nSRST -data 0x0020 -oe 0x0020" -c "jtag newtap auto0 bs -irlen 2 -expected-id 0x14b7d093" -c "jtag newtap op bs -irlen 18 -expected-id 0xb1aaa07d" Error: ebug: 157 22 core.c:960 default_interface_jtag_execute_queue(): JTAG DR SCAN to DRPAUSE Debug: 158 22 core.c:967 default_interface_jtag_execute_queue(): 96b out: ffffffffffffffffffffffff Debug: 159 22 core.c:972 default_interface_jtag_execute_queue(): 96b in: ffffffffffffffff14b7d093 Debug: 160 22 core.c:978 default_interface_jtag_execute_queue(): JTAG TLR RESET to RESET Info : 161 22 core.c:1133 jtag_examine_chain_display(): JTAG tap: auto0.tap tap/device found: 0x14b7d093 (mfg: 0x049 (Xilinx), part: 0x4b7d, ver: 0x1) Debug: 162 22 jep106.c:22 jep106_table_manufacturer(): BUG: Caller passed out-of-range JEP106 ID! Info : 163 22 core.c:1133 jtag_examine_chain_display(): JTAG tap: op.unknown0 tap/device found: 0xffffffff (mfg: 0x7ff (<invalid>), part: 0xffff, ver: 0xf) Debug: 164 22 jep106.c:22 jep106_table_manufacturer(): BUG: Caller passed out-of-range JEP106 ID! Warn : 165 22 core.c:1133 jtag_examine_chain_display(): JTAG tap: op.unknown0 UNEXPECTED: 0xffffffff (mfg: 0x7ff (<invalid>), part: 0xffff, ver: 0xf) Error: 166 22 core.c:1133 jtag_examine_chain_display(): JTAG tap: op.unknown0 expected 1 of 1: 0x01aaa07d (mfg: 0x03e (Oracle Corporation), part: 0x1aaa, ver: 0x0) Nevetherlles, with the AMD/Xilinx tool XSCT I can recognize the whole JTAG chain: xsct% connect tcfchan#0 xsct% targets 1 xcu280_u55c 2 BSCAN JTAG 3 00000000 4 b1aaa07d I don´t know what else to try, any help will be appreciated. Best, Elias -- =================================================================== Elias A. Perdomo Hourné | E-mail: eli...@bs... Research Engineer | Barcelona Supercomputing Center | URL: http://www.bsc.es Plaça Eusebi Güell, 1-3 | 08034 Barcelona, Spain | Phone: +34 93 4117373 =================================================================== cid:par...@bs... WARNING / LEGAL TEXT: This message is intended only for the use of the individual or entity to which it is addressed and may contain information which is privileged, confidential, proprietary, or exempt from disclosure under applicable law. If you are not the intended recipient or the person responsible for delivering the message to the intended recipient, you are strictly prohibited from disclosing, distributing, copying, or in any way using this message. If you have received this communication in error, please notify the sender and destroy and delete any copies you may have received. http://www.bsc.es/disclaimer |