After quite a bit of debugging and some great help from Jim, I determined
that there were AXI data bursts occurring that crossed 4KB address
boundaries. This is something forbidden in the AXI spec that never
materialized for the Zynq hardware, but is proving to be a requirement
ZynqMP. By changing runtime/util/property/include/OcpiUtilPort.h's
BUFFER_ALIGNMENT constant from 16 to 128( (as per Jim's recommendation), I
was able to get this app as well as fsk (filerw mode) and the unit tests
working.
On Fri, Jan 11, 2019 at 4:47 PM David Banks <dbanks_at_geontech.com> wrote:
> I moved to a simpler application to debug this. I have testbias with
> biasValue=0x00000001 and input file set to /dev/zero. So, every output
> sample should be 0x1. Instead, I see:
> 0000000 0001 0000 0001 0000 0001 0000 0001 0000
> *
> *0000040 0000 0000 0000 0000 0000 0000 0000 0000*
> *
> 0000080 0001 0000 0001 0000 0001 0000 0001 0000
> *
> *0001050 0000 0000 0000 0000 0000 0000 0000 0000*
> *
> 0001080 0001 0000 0001 0000 0001 0000 0001 0000
> *
> *0002040 0000 0000 0000 0000 0000 0000 0000 0000*
> *
> 0002080 0001 0000 0001 0000 0001 0000 0001 0000
> *
> *0003050 0000 0000 0000 0000 0000 0000 0000 0000*
> *
> 0003080 0001 0000 0001 0000 0001 0000 0001 0000
> *
> *0004040 0000 0000 0000 0000 0000 0000 0000 0000*
> *
> 0004080 0001 0000 0001 0000 0001 0000 0001 0000
> *
> *0005050 0000 0000 0000 0000 0000 0000 0000 0000*
> *
> 0005080 0001 0000 0001 0000 0001 0000 0001 0000
> *
> *0006040 0000 0000 0000 0000 0000 0000 0000 0000*
> *
> 0006080 0001 0000 0001 0000 0001 0000 0001 0000
> *
> *0007050 0000 0000 0000 0000 0000 0000 0000 0000*
> *
> 0007080 0001 0000 0001 0000 0001 0000 0001 0000
> *
> *0008040 0000 0000 0000 0000 0000 0000 0000 0000*
> *
> 0008080 0001 0000 0001 0000 0001 0000 0001 0000
> *
>
> So, it looks like the glitches to 0 are occurring every ~0x1000 bytes and
> last for 0x30 or 0x40 bytes.
>
> -David
> David Banks
> dbanks_at_geontech.com
> Geon Technologies, LLC
>
--
David Banks
dbanks_at_geontech.com
Geon Technologies, LLC
Received on Thu Jan 17 2019 - 20:25:30 CST