- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Tags:
- Stratix 10 CvP
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
"We sincerely apologize for the inconvenience caused by the delay in addressing your Forum queries. Due to an unexpected back-end issue in our system, your Forum cases, along with others, did not get through as intended. As a result, we have a backlog of cases that we are currently working through one by one.
Please be assured that we are doing everything we can to resolve this issue as quickly as possible. However, this process will take some time, and we kindly ask for your patience and understanding during this period. The cases will be attended by AE shortly.
We appreciate your patience and understanding, and we are committed to providing you with the best support possible.
Thank you for your understanding."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am sorry for late reply.
For CvP (Configuration via Protocol) on Stratix 10, the credit register plays a critical role in managing the flow of data between the host and the FPGA during the configuration process.
Initial Credit register value:
Before CvP start, the credit register (offset 0xBC8) should contain a non-zero value once the FPGA is ready to receive configuration data. This value represents the number of 4 KB data blocks (credits) that the FPGA can handle at that moment.
A value of 0x0 in the credit register indicates that the FPGA is not yet ready to accept data.
please check below items :
- Incorrect programming of the periph.jic file.
- An issue with the CvP configuration process initialization.
- A mismatch in the PCIe link settings or the CvP driver setup.
Summary of Register behavior:
Initial Polling | -> Cdt Register value: Non-zero (number of available 4 KB credits) |
During Data Transfer | -> Cdt Register value: Decreases as data is sent |
After Transfer | -> Cdt register value : 0x0 if all data has been sent |
regards,
Farabi
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page