MCOUNSELL
Occasional Contributor
7 years agoalt_qspi_read() QSPI addressing problem
alt_qspi_read() is returning data from the QSPI address -1. I've written data to the QSPI by two different methods. quartus_hps.exe and also using alt_qspi_write function it in both cases the data from QSPI is returned out by 1byte address.
I am using the Altera Cyclone V dev kit.
QSPI is setup in PlatformDesigner as per the GSRD examples.
I have debugged through the alt_qspi_read() code and I cannot see any obvious "out by one" issues.
The hardware must be OK I assume since the preloader runs correctly from QSPI and loads my bare metal application and runs it.
The problem is quite easy for me to work around BUT I'm worried that it is the sign of something bad elsewhere!! Has anyone seen similar?
Intel? Can you comment please?