Which values can I poll from credit register while doing CvP of Stratix 10?
Hello,
I have a board with Stratix 10 and OpenCL applications has been working properly. I want to use it as CvP. I programmed QSPI flash with periph.jic and trying to load core image(core.rbf) over CvP driver.
When I am trying to read extended configuration space, all data seems correct for CvP but "0x0" value is in the credit register (offset: 0xBC8). I can manage initial steps of CvP but when I am trying to send core.rbf data as 4K sizes to the device, it fails after two packets sent. Actually, it seems no reply for CvP data. I wait until credits are granted but the credit register has always zero value.
Example Workflow:
Initial Polling: Start by reading the credit register to determine if any credits are available.
Send Data: When you observe that credits are available (i.e., the register shows a non-zero value), send the corresponding amount of configuration data (e.g., 4 KB per credit).
Continuous Polling: After sending data, continue polling the credit register to check for additional available credits before sending more data.
Completion: Repeat the process until all configuration data has been sent.
1- Which value must be set in the credit register before starting CvP process?
2- Which values will be set while doing CvP process from start to end?
Thanks in advance.