intel Cyclone V e , FPGA not reconfiguring to new flashed Image in EPCQ flash
Hi,
we are using intel cyclone v e device with EPCQ connected serial flash. we are using two IP core in our design 1st generic serial flash controller IP core for flashing EPCQ256 with .rpd image file and 2nd is reconfig IP core to configure fpga with new flash Image.
we are able to successfully flash image in QSPI through serial flash IP core as AS configuration. we flash Image at addr 0x100_0000 ( in IP core addr is 2bit shifted so addr used in IP core 0x40_000) as we are doing 4byte addressing mode page write , we increment address 0x100 (0x40) after every page write till all images is flashed
image format we used is .rpd also we checked the writing sequence in rpd , for eg if first 4 byte in .rpd is 0x12131415 (LSB -> MSB) in IP core we have used mem_wdata as 0x15141313 for writing as LSB is written first on transaction. we flashed after erasing the flash .
But after flashing is done , new image is not reconfiguring , status is nSTATUS error (0x2 value in 0x0 register of reconfig ip core), our reconfig page is set to 0x100_0000 correctly. New image is not able to reconfig even after successful flashing. Even tried with after bit reversal in each byte of config data but still new image is not able to reconfig.
1]request you to help us to solve the missing link to solve above issue?
2] also is there any way we can read flash memory after flashing for validating the flashed data, through quartus or any other tool?
thanks
Snehal B
Hi, for CRC error, i think it could be due to the incorrect bitstream / bitstream order when loading it into the QSPI flash. I would suggest to select the appropriate data format when generating RPD file. You can select little endian for it. Otherwise, you need to do bit reversal.