To program the User Flash Memory (UFM) with hex/mif in Intel MAX 10 devices without impacting the Configuration Flash Memory (CFM) do the following :
1. Open the Convert Programming Files utility in Intel Quartus® Prime software
2. Choose internal configuration in mode category.
3. Go to Options/Boot info and select UFM source as load memory file.
a. Choose a File path for your .hex or .mif file.
4. After this process add SOF file to main conversion window and generate *.pof file.
5. Open Intel Quartus Prime Programmer.
6. After proper recognition of the Intel MAX® 10 device add previously generated *.pof file and set Program / Configuration to UFM (only).