Forum Discussion
Altera_Forum
Honored Contributor
13 years agoEPCS flash problem @ DE0-Nano board
Hello ,
may be , I have posted my problem in the wrong section, sorry. I have 2 DE0-Nano boards. One is working fine, the the other makes problems, only when I try to flash my sof+elf design to EPC. More details on my post here: http://www.alteraforum.com/forum/showthread.php?t=38687 Any help is welcome. Regards, Reinhard17 Replies
- Altera_Forum
Honored Contributor
Hi Dave,
thank you for your well-meaning advice but I do not see any necessity to verify this. Sorry, I have not enough time and in my view it will not be purposeful. Maybe you have not read it yet, but I did open another thread: http://www.alteraforum.com/forum/showthread.php?t=38687 I have attached a zip-file which contains the whole project to get the problem reproduced and it will only take 3 min to do this. Open the project, load the hardware, sof or jic down to the board via Quartus programmer. In the folder "flash", you will find a script "myflash.sh". If you have have a Spansion-EPC based board it will fail but it works fine on the other boards. leon_heller also has verified it and a friend in germany also today. Problem and symtom is always the same. In my opinion, the DE0-Nano boards must be compatible and I hope to get a solution from Terasic/Altera very soon. Anyway , thank you very much for your effort and all the infos you have provided. Cheers, Reinhard - Altera_Forum
Honored Contributor
--- Quote Start --- thank you for your well-meaning advice but I do not see any necessity to verify this. --- Quote End --- No problem. Just offering an option in case you were desperate :) Cheers, Dave - Altera_Forum
Honored Contributor
Reinhard,
Have you tried Quartus 12.1? You could just download the standalone programmer if you don't want to download the whole thing. Leon - Altera_Forum
Honored Contributor
Leon,
I was in the opinion , you tried it on your DE0-Nano with version 12.1 already ? Reinhard - Altera_Forum
Honored Contributor
Yes, but my board has the EPCS64 rather than the Spansion chip. It would be a good idea to try it with your newer boards with the Spansion chip that have the problem.
- Altera_Forum
Honored Contributor
Hallo,
very positive news: I got a solution from terasic support. Here is the solution message: >Yes, we do replace the EPCS chip with Spansion Flash, and the steps >to process the EPCS programming should be a little different. >Before programming the EPCS via nios-2-flash-programmer, users must >add an EPCS patch file nios-flash-override.txt into the Nios II EDS >folder. The patch file is available in the folder Demonstation\EPCS_Patch >of DE0-Nano System CD. It needs to copy this file to the folder >[QuartusInstalledFolder]\nios2eds\bin (e.g. C:\altera\11.1\nios2eds\bin), >then execute the flash-programmer. The override file was only included within the last shipment, 3 days ago, so I have attached this file. I also have tested it and now it is working fine. many thanks to terasic support ! "The service makes the difference" Also thanks to all other people here provided me with a lot of infos. Reinhard - Altera_Forum
Honored Contributor
Yes, due the the difference between the EPCS and Spansion Flash, there would be a littler different on process the Flash programming.
Terasic has updated the steps with its Usermanual: before programming, there is a EPCS patch file nios-flash-override.txt added into the Nios II EDS folder,which file can be found in the online CD resource.The patch file is available in the folder Demonstation\EPCS_Patch of DE0-Nano System CD. It needs to copy this file to the folder[QuartusInstalledFolder]\nios2eds\bin > (e.g.C:\altera\11.1\nios2eds\bin), then execute the flash-programmer. Thanks.