How did you generate the .pof file? Are you using Quartus programmer to program the .pof file into the EPM240T device CFM memory block ? Or are you using your own custom tools/programmer to program the EPM240T device CFM memory block?
Did you perform erase operation first before program operation? Make sure all the power supplies are correctly powered up before any operation. Did you power cycle the EPM240 device after program the CFM before perform the verification process? Please do not perform power cycle between any processes. As explain in the MAX II device handbook under Chapter 3: JTAG and In-System Programmability, the programming sequence should be Power up ->Enter ISP ->Check ID->Erase ->Program ->Verify -> Exit ISP ->Power down.
How did you get/generate this DFh data? If you are using your own programmer, then you should be referring to the .pof or .svf file for the correct data that need to be write into the CFM memory block. You should convert the .pof file into a .svf file. The .svf file contain all the correct programming sequence and data that user can use to program the CFM + UFM. You can refer to the how to video on the steps to generate .svf file: