I tried old version of black-parrot-example (
https://github.com/Yuan-Mao/zynq-parrot), it is stuck at Errant read from (110000) following is the output after running in Pynq Z2 board:
// VS_HK_zynq_pl: mmap returned 40000000 (offset 0) errno=0
// VS_HK_zynq_pl: mmap returned 80000000 (offset 0) errno=0
INFO: ps.cpp: reading four base registers
INFO: ps.cpp: reset(lo)=0, bitbang=0, dram_init=0, dram_base=0
INFO: ps.cpp: attempting to write and read register 0x8
INFO: ps.cpp: successfully wrote and read registers in VividSparks_FRST_zynq_shell (verified ARM GP0 connection)
INFO: Creating Bitbang Driver: 0x4ceab8 40000004 16 1
INFO: Reset Tag Master
INFO: Resetting Tag Client 0
INFO: Resetting Tag Client 1
INFO: Setting Tag Client 0<-1
INFO: Setting Tag Client 1<-1
INFO: Setting Tag Client 0<-0
INFO: Idling for 50
INFO: ps.cpp: CSRs do not contain a DRAM base pointer; calling allocate dram with size 83886080
VS_HK_zynq_pl: allocate_dram() called with size 83886080 bytes --> virtual ptr=0xb1aae000, physical ptr=0x16900000
INFO: ps.cpp: received 0xb1aae000 (phys = 16900000)
INFO: ps.cpp: wrote and verified base register
INFO: ps.cpp: attempting to read mtime reg in BP CFG space, should increase monotonically (testing ARM GP1 connections)
INFO: ps.cpp: attempting to read and write mtime reg in BP CFG space (testing ARM GP1 connections)
INFO: ps.cpp: reading mtimecmp
INFO: ps.cpp: writing mtimecmp
INFO: ps.cpp: reading mtimecmp
INFO: ps.cpp: attempting to write L2 655360 times over 80 MB (testing ARM GP1 and HP0 connections)
INFO: ps.cpp: finished write L2 655360 times over 80 MB
INFO: ps.cpp: DIRECT access from ARM to DDR (some L1/L2 coherence mismatches expected) 655232 matches, 128 mismatches, 0.999805
INFO: ps.cpp: attempting to read L2 655360 times over 80 MB (testing ARM GP1 and HP0 connections)
INFO: ps.cpp: READ access through BP (some L1 coherence mismatch expected): 1310592 matches, 128 mismatches, 0.999902
INFO: ps.cpp: beginning nbf load
DEBUG-PS: ps.cpp: nbf finish command, line 4016
DEBUG-PS: ps.cpp: finished loading 4016 lines of nbf.
DEBUG-PS: ps.cpp: finished nbf load
INFO: Setting Tag Client 1<-0
INFO: ps.cpp: starting watchdog
INFO: Idling for 50
INFO: ps.cpp: Starting scan thread
INFO: ps.cpp: Starting i/o polling thread
INFO: ps.cpp: waiting for i/o packet
ERROR: ps.cpp: Errant read from (110000)
I am unable to figure-out where it's going wrong, any guidance of great help.
Thanks,
-Amit