Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
777 Views

How to program a new file into EPCS by erasing the old one.

Hello! I am using Quartus 10.1 and am trying to execute a LED blink program from nios. Target device is Cyclone II. I had successfully programmed the EPCS16 so that the LED blinks automatically after FPGA power on. 

Now I want to try a different application. I am trying to program a different file to the EPCS for which it says 'Device ID' and 'Timestamp' mismatch. 

I think it is considering the timestamp and ID of the previous .sopcinfo file that is stored in the EPCS. 

How shall I proceed? Need help...
0 Kudos
4 Replies
Altera_Forum
Honored Contributor I
35 Views

how you reprogram your EPCQ?

Altera_Forum
Honored Contributor I
35 Views

You can tell the Nios FLASH programmer tool to 'Ignore mismatched system ID' and 'Ignore mismatch system timestamp'. If you are 'Converting Programming File' via Quartus you can select 'Disable EPCS/EPCQ Id check' from the Advanced menu. 

 

Happy New Year, 

Alex
Altera_Forum
Honored Contributor I
35 Views

Happy New Year!! 

Thanks for the reply.. 

I have tried doing that many times. In the run configurations tab it will not display any error if we select the ignore option. But when I run the code it shows "elf download failed". If timestamp and ID are matched then elf successfully downloads. There are many other reasons why elf download might fail.. but, I think matching timestamp and ID is one of those reasons that aid to the successful elf download.
Altera_Forum
Honored Contributor I
35 Views

The best way to program EPCS/Q is to use the .jic flow, where you merge .sof and .hex files as a single file .jic. 

You can program the EPCS/Q through Quartus programmer. it will erase the old content and program the new one.
Reply