UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 66544

SDSoC - ERROR: premature EOF on DMA

Description

I am running a Linux-based SDSoC design, and when I push an accelerator to hardware, I see this error reported:

ERROR: premature EOF on DMA

What does this mean? How do I fix it?

Solution

This error means that the DMA received a packet whose size was not what was expected. This can happen when code inside the accelerator attempts to access incorrect indexing in an array (which has been sent via DMA between the accelerator and the PS). 

To solve this, check loop bounds and other array indexing to make sure that the number of samples to transfer matches what you told SDSoC (by appropriate pragmas).

AR# 66544
Date Created 02/04/2016
Last Updated 02/16/2016
Status Active
Type General Article
Tools
  • SDSoC