Forum Discussion
Having the same issue. We are reading an image that was programed with quartus_hps.exe and data read with alt_qspi_read is shifted 1 byte.
- MCOUNSELL7 years ago
Occasional Contributor
Hi JEKla,
I'm kinda pleased to hear that it's not just me..... maybe we'll get more help from Intel in this case....
What h/w are you using? Are you on the Intel/Atlera dev board?
Mike
- MCOUNSELL7 years ago
Occasional Contributor
I see, that's the same IC as I have on the Dev Kit board. My gut is that the Altera C code is to blame rather than the IC/board...... something in the QSPI indirect read code............. but no comment yet from Intel/Altera....
I've worked around the issue by adjusting the requests into alt_qspi_read(). I wrote a wrapper around this function and I read to address -4 with size +4. Hence I read the preceeding 4 bytes also.... then I pull out the data that I really want........ it's a total HACK of course but it is a reliable HACK for now until I find out the real source of the issue.
@INTEL ----- please give us some more input guys/girls.... your FPGA SoC is awesome.... loadsa folks wanna make solutions out of it and give you loads more money for these ICs but you really need to support us better..... pleeeease
- JEkla7 years ago
New Contributor
We are using a board that’s is designed using Cyclone V SX SoC development kit as reference. Our software tools are Quartus Prime Lite 17.1 and Intel SoC FPGA Embedded Development Suite 14.1.
- MCOUNSELL7 years ago
Occasional Contributor
Are you using the same QSPI IC on your board?