Forum Discussion
Hi,
May I know how do you generate the POF file to program into the flash? Do you set the MSEL correctly on the FPGA?
May I know what is the status of the nStatus, nConfig and CONF_DONE after power cycle?
- Knug4 years ago
Contributor
Hi @JohnT_Intel
>> May I know how do you generate the POF file to program into the flash? Do you set the MSEL correctly on the FPGA?
Our MSEL(4:0) is set to '00100' on the board by switches for FPP Configuration scheme
Using Convert Programming File to generate the .pof file
Specify Configuration Device: CFI_1Gb / Mode: Passive Parallel x16
Specify same application code .sof at different page valid start addresses : Page 0, Page 1 & Page 2
.pof file was successfully generated & .map file generated was :
BLOCK START ADDRESS END ADDRESS
Page_0 0x00020000 0x0043241B
Page_1 0x00440000 0x0085241B
Page_2 0x00860000 0x00C7241B
OPTION BITS 0x00000000 0x00000080>> May I know what is the status of the nStatus, nConfig and CONF_DONE after power cycle?
After changing our loadware file to our combined Loader_MConfig.pof Program/Configure it and then Power cycle before Autodetecting the flash device the status of the above signals were :
nStatus : '1'
CONF_DONE : '1'
nConfig : '0'
Q/ Are there readings what you expect to see right after power cycle ?
nConfig ? Is that correct ?
Does CONF_DONE need to be held '1' during flash programming and then go back low during FPGA configuration and when FPGA Configuration is completed it should go back high?
& why pfl_flash_access_request pin does not go back high also for the PFL to configure the FPGA right after successful flash programming? I do not have control to this pin (it's output of the PFL)
& why during the flash programming stage if I select for the CFI_1Gb flash device just the page I want to program out of the 3 (note: the loadware code I programmed/configured earlier before power cycling specified that particular page), it erases all the contents of the flash first (expect this) BUT then it programs the entire flash and not just the specific sectors of the page I ticked on the programmer ie just ticked on the <appl_file>.pof, one of the pages and the OPTION_BITS (ie the other 2 pages are unticked). Is this behaviour expected here compared to if my application .pof file just specifies 1 page?