Forum Discussion
Altera_Forum
Honored Contributor
17 years agoCreation of the flash POF:
1. Launch the Convert Programming Files utility in Quartus II (File/Convert Programming Files...). Setting up the Output programming file parameters: 2. Select Programmer Object File (.pof) option as Programming file type. 3. Select CFI_xxxMB as Configuration device, and passive serial as Mode. 4. Click on Options and set the Option bit address to 0x1FF0000 5. Change the File name to whatever you like (e.g. 512MB_flash.pof) Setting up the Input files: By default, you will see here the Options (Start address equal to the value you set in step 5), and one SOF Data in Page_0 and with start address <auto>. 6. Select the SOF Data of Page_0. On the right side, you should click on Properties. Change the Address mode for selected pages to Block and set the start and end addresses to 0x0 and 0x3FFFFF. This is what I used. You can also select Start or Auto. Click on OK. 7. Select Page_0 again, and click on Add File ... Choose the SOF file you have to store in Page 0. Once you are back to the main window, you should see that SOF Data of Page 0 points to the file you have just selected. 8. (Optional) If you want to add more pages, click on Add Sof Data and repeat steps 7 and 8. Make sure you set the right addresses for the pages. I found in the reference manual some hints about the recommended page mapping. According to that document: Page_0 0x00000000 - 0x003FFFFF Page_1 0x00400000 - 0x007FFFFF Page_2 0x00800000 - 0x00BFFFFF Page_3 0x00C00000 - 0x00FFFFFF Page_4 0x01000000 - 0x013FFFFF Page_5 0x01400000 - 0x017FFFFF Page_6 0x01800000 - 0x01BFFFFF Page_7 0x01C00000 - 0x01FFFFFF (this overlaps with the option bits, so I am not so sure) 9. Once you are done, click on Generate to create the POF file.