Knowledge Base Article
How do I generate SVF files which only program the CFM or the UFM in Intel® MAX® 10 devices?
Description
Intel® Quartus® Prime Programmer generates SVF files that erase and program all of the flash in Intel® MAX® 10 devices. To generate SVF files that only program the Configuration Flash memory (CFM) or the User Flash Memory (UFM), you need to edit the generated SVF file as described below.
Resolution
One way to program only one part of the memory is as follows :
- Remove the code that programs UFM or CFM;
- Remove the DSM Clear
- Add sector erase before program UFM or CFM:
Example: Below ISC Erase inserted into SVF file matching the line !ADDRESS according to the !ADDRESS line of Program UFM1.
!
!Max 10 ISC Erase UFM1
!
SIR 10 TDI (203); ! ISC_ADDRESS_SHIFT (10 0000 0011)
RUNTEST 18 TCK;
SDR 23 TDI (001000); ! ADDRESS
SIR 10 TDI (2F2); ! ISC_ERASE (10 1111 0010)
RUNTEST 1050003 TCK;
!
!Max 10 Program UFM1
!
SIR 10 TDI (203); ! ISC_ADDRESS_SHIFT (10 0000 0011)
RUNTEST 18 TCK;
SDR 23 TDI (001000); ! ADDRESS
SIR 10 TDI (2F4); ! ISC_PROGRAM (10 1111 0100)
RUNTEST 18 TCK;
SDR 32 TDI (0531050A0); ! DATA
RUNTEST 960 TCK;