Modify the kria kr260 design of the hackster tutorial for the DPU
NikoSalamini opened this issue · 0 comments
NikoSalamini commented
Hi everyone, I have successfully run the resnet50 model on the kria kr 260 using the hackster tutorial:
https://www.hackster.io/LogicTronix/kria-kr260-dpu-trd-vivado-flow-vitis-ai-3-0-tutorial-0085fd
However, now I am trying to run again the model but on a modified Vivado design. The DPU data0 and data1 ports share the HP0 port passing through two IP cores of my property and a smartconnect. The instruction port is connected to the S_AXI_LPD and pass through another copy of the same path. When I try to run the model again, it aborts:
WARNING: Logging before InitGoogleLogging() is written to STDERR
I0319 09:18:43.502964 1428 main.cc:292] create running for subgraph: subgraph_conv1
F0319 09:18:48.931180 1428 dpu_controller_dnndk.cpp:211] Check failed: retval == 0 (-1 vs. 0) run dpu failed.
[ 232.027355] xlnx-dpu 8f000000.dpuczdx8g: cu[0] timeout
[ 232.027373] xlnx-dpu 8f000000.dpuczdx8g: ------------[ cut here ]------------
[ 232.027378] xlnx-dpu 8f000000.dpuczdx8g: Dump DPU Registers:
[ 232.027383] xlnx-dpu 8f000000.dpuczdx8g: TARGET_ID 0101000056010400
[ 232.027389] xlnx-dpu 8f000000.dpuczdx8g: PMU_RST 0000000f
[ 232.027395] xlnx-dpu 8f000000.dpuczdx8g: IP_VER_INFO 41000001
[ 232.027400] xlnx-dpu 8f000000.dpuczdx8g: IP_FREQENCY 00064113
[ 232.027406] xlnx-dpu 8f000000.dpuczdx8g: INT_STS 00000000
[ 232.027411] xlnx-dpu 8f000000.dpuczdx8g: INT_MSK 00000000
[ 232.027416] xlnx-dpu 8f000000.dpuczdx8g: INT_RAW 00000000
[ 232.027421] xlnx-dpu 8f000000.dpuczdx8g: INT_ICR 00000000
[ 232.027426] xlnx-dpu 8f000000.dpuczdx8g: [CU-0]
[ 232.027431] xlnx-dpu 8f000000.dpuczdx8g: HPBUS 07070f0f
[ 232.027436] xlnx-dpu 8f000000.dpuczdx8g: INSTR 0003fe00
[ 232.027442] xlnx-dpu 8f000000.dpuczdx8g: START 00000001
[ 232.027447] xlnx-dpu 8f000000.dpuczdx8g: ADDR0 0000000040000000
[ 232.027453] xlnx-dpu 8f000000.dpuczdx8g: ADDR1 0000000041900000
[ 232.027459] xlnx-dpu 8f000000.dpuczdx8g: ADDR2 000000003f540000
[ 232.027464] xlnx-dpu 8f000000.dpuczdx8g: ADDR3 0000000807e74000
[ 232.027470] xlnx-dpu 8f000000.dpuczdx8g: ADDR4 0000000000000000
[ 232.027475] xlnx-dpu 8f000000.dpuczdx8g: ADDR5 0000000000000000
[ 232.027481] xlnx-dpu 8f000000.dpuczdx8g: ADDR6 0000000000000000
[ 232.027486] xlnx-dpu 8f000000.dpuczdx8g: ADDR7 0000000000000000
[ 232.027491] xlnx-dpu 8f000000.dpuczdx8g: PSTART 00000001
[ 232.027496] xlnx-dpu 8f000000.dpuczdx8g: PEND 00000001
[ 232.027501] xlnx-dpu 8f000000.dpuczdx8g: CSTART 00000003
[ 232.027507] xlnx-dpu 8f000000.dpuczdx8g: CEND 00000003
[ 232.027512] xlnx-dpu 8f000000.dpuczdx8g: SSTART 00000000
[ 232.027517] xlnx-dpu 8f000000.dpuczdx8g: SEND 00000000
[ 232.027522] xlnx-dpu 8f000000.dpuczdx8g: LSTART 0000002b
[ 232.027528] xlnx-dpu 8f000000.dpuczdx8g: LEND 00000029
[ 232.027533] xlnx-dpu 8f000000.dpuczdx8g: CYCLE 000000001e7328ce
[ 232.027538] xlnx-dpu 8f000000.dpuczdx8g: AXI 00555555
[ 232.027543] xlnx-dpu 8f000000.dpuczdx8g: [SOFTMAX]
[ 232.027547] xlnx-dpu 8f000000.dpuczdx8g:
------------[ cut here ]------------