Parallel Flash Loader doesn't recognize CFI Flash
Hi,
I developed a custom hardware with Cyclone V GT and MAX10 FPGAs on board. The MAX10 has to configure the Cyclone V GT via FPP x8 mode out of a CFI-Flash device MT28EW01GABA1LPC-0SIT. Basically the same topology like on your Cyclone 10 GX development kit. The only difference to your Cyclone 10 GX development kit is that I am using only one flash device with 16x databus and I am using FPPx8 configuration mode.
The flash is working fine when I am accessing it via Generic Tri-State Controller.
I did several tests:
- Tests are done without Generic Tri-State Controller in MAX10! Thus there is no bus-conflict to flash device between PFL and Generic Tri-State Controller.
- I created two different PFL designs. One has basic PFL only. The second is your Cyclone 10 GX development kit system_max10 example which I adapted to my above explained hardware.
1.) When I want to access the flash via PFL and Quartus Programmer via JTAG I get the error "Error (18591): Can't recognize the Flash device that attached to device 1. The Flash device is not supported by Quartus Prime software.".
(JTAG chain to both FPGAs work fine)
2.) When I try to configure Cyclone V GT out of the flash this process fails too.
In this case I programmed configuration data previously via Generic Tri-State Controller to flash and then I replaced MAX10 design with above mentioned PFL designs.
I did some analysis with Signal Tap Logic Analyzer:
- PFL does accessing flash on the right flash-address (Option bits). First at offset 0x80 (byte address) the .pof version (in my case 0x03). Second is at offset 0x00 the Page 0 start address. I can see right data and addresses on flash bus in Signal Tap. The PFL state machine (alt_pfl_cfg3_control.v) shows states CFG_NSTATUS_WAIT then CFG_PRE_VERSION then CFG_LOAD_VERSION then CFG_VERSION then CFG_VERSION_DUMMY then CFG_PRE_OPTION then CFG_LOAD_OPTION then CFG_OPTION then CFG_OPTION_DUMMY. After state CFG_OPTION_DUMMY the state machine goes into state CFG_ERROR!
For me it looks like PFL doesn't fetch Option Bits data because I do not see any aktiv reg version2, version3 or version4 in alt_pfl_cfg3_control.v and I do not see any data on data_reg[7..0] or data_out[7..0] in alt_pfl_down_converter.v when I sample these signals with Signal Tap!
Do you have any idea? Are there any known issues relating to PFL in conjunction with CFI-Flash device MT28EW01GABA1LPC-0SIT?
Kind regards.