Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12435 Discussions

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

Altera_Forum
Honored Contributor II
859 Views

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 II
117 Views

how you reprogram your EPCQ?

Altera_Forum
Honored Contributor II
117 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 II
117 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 II
117 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