- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
I'm stuck at programming my EPCS. I have a "M25P64-VMF6P VDFPN8" and I only get the following errors: Info: 13.10.2015 10:06:40 - (FEIN) sof2flash: Starting Info: Info: ******************************************************************* Info: Info: Running Quartus II 64-Bit Convert_programming_file Info: Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=C:/proj/46C_leer/flash/46C_leer_epcs.opt C:/proj/46C_leer/output_files/46C_leer.sof C:/proj/46C_leer/flash/46C_leer_epcs.pof Info: Info (210033): Memory Map File C:/proj/46C_leer/flash/46C_leer_epcs.map contains memory usage information for file C:/proj/46C_leer/flash/46C_leer_epcs.pof Info: Info: Quartus II 64-Bit Convert_programming_file was successful. 0 errors, 0 warnings Info: Info: Peak virtual memory: 250 megabytes Info: Info: Processing ended: Tue Oct 13 10:06:45 2015 Info: Info: Elapsed time: 00:00:03 Info: Info: Total CPU time (on all processors): 00:00:03 Info: Info: ******************************************************************* Info: Info: Running Quartus II 64-Bit Convert_programming_file Info: Info: Command: quartus_cpf --no_banner --convert C:/proj/46C_leer/flash/46C_leer_epcs.pof C:/proj/46C_leer/flash/46C_leer_epcs.rpd Info: Info: Quartus II 64-Bit Convert_programming_file was successful. 0 errors, 0 warnings Info: Info: Peak virtual memory: 248 megabytes Info: Info: Processing ended: Tue Oct 13 10:06:51 2015 Info: Info: Elapsed time: 00:00:04 Info: Info: Total CPU time (on all processors): 00:00:04 Info: 13.10.2015 10:06:52 - (FEIN) sof2flash: Done Info: Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Info: Resetting and pausing target processor: OK Info: Reading System ID at address 0x00004040: verified Info: Processor data bus width is 32 bits Info: Looking for EPCS registers at address 0x00003800 (with 32bit alignment) Info: Initial values: 0001703A 04C00074 9801483A 9CFFF804 983FFD1E 0000203A Info: Not here: reserved fields are non-zero Info: Looking for EPCS registers at address 0x00003900 (with 32bit alignment) Info: Initial values: 93000237 6300080C 603FFD26 90000335 A8000C26 03010004 Info: Not here: reserved fields are non-zero Info: Looking for EPCS registers at address 0x00003A00 (with 32bit alignment) Info: Initial values: 02C02004 002EE03A 00000F06 90000335 4000683A 0017883A Info: Not here: reserved fields are non-zero Info: Looking for EPCS registers at address 0x00003B00 (with 32bit alignment) Info: Initial values: 3180080C 300C96BA 701CD07A 719CB03A 843FFFC4 803FF81E Info: Not here: reserved fields are non-zero Info: Looking for EPCS registers at address 0x00003C00 (with 32bit alignment) Info: Initial values: 00000000 00000000 00000260 00000000 00000000 00000001 Info: Valid registers found Info: EPCS signature is 0xBF Info: EPCS identifier is 0xBF254B Info: No EPCS layout data - looking for section [EPCS-BF254B] Info: Unable to use EPCS device Info: Leaving target processor paused Error: Error code: 8 for command: nios2-flash-programmer "C:/proj/46C_leer/flash/46C_leer_epcs.flash" --base=0x3800 --epcs --sidp=0x4040 --id=0x12345678 --timestamp=1444720315 --device=1 --instance=0 '--cable=USB-Blaster on localhost [USB-0]' --program --verbose --erase-all I read about a "nios2-flash-override.txt", but I don't know what to write into... It is also strage that the nios writes a "device=EPCS128" in the log, I chose as EPCS64 in Quartus Thanks for any helpLink Copied
7 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Alex,
Thanks for the file. I copied it into the folder, but it is still not working. I now get the following log from the Nios II Flash Programmer: For me it seems that there is maybe another problem? Info: Info: ******************************************************************* Info: Info: Running Quartus II 64-Bit Convert_programming_file Info: Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=C:/proj/46C_leer/flash/46C_leer_epcs.opt C:/proj/46C_leer/output_files/46C_leer.sof C:/proj/46C_leer/flash/46C_leer_epcs.pof Info: Info (210033): Memory Map File C:/proj/46C_leer/flash/46C_leer_epcs.map contains memory usage information for file C:/proj/46C_leer/flash/46C_leer_epcs.pof Info: Info: Quartus II 64-Bit Convert_programming_file was successful. 0 errors, 0 warnings Info: Info: Peak virtual memory: 250 megabytes Info: Info: Processing ended: Tue Oct 13 13:04:51 2015 Info: Info: Elapsed time: 00:00:04 Info: Info: Total CPU time (on all processors): 00:00:03 Info: Info: ******************************************************************* Info: Info: Running Quartus II 64-Bit Convert_programming_file Info: Info: Command: quartus_cpf --no_banner --convert C:/proj/46C_leer/flash/46C_leer_epcs.pof C:/proj/46C_leer/flash/46C_leer_epcs.rpd Info: Info: Quartus II 64-Bit Convert_programming_file was successful. 0 errors, 0 warnings Info: Info: Peak virtual memory: 248 megabytes Info: Info: Processing ended: Tue Oct 13 13:04:57 2015 Info: Info: Elapsed time: 00:00:04 Info: Info: Total CPU time (on all processors): 00:00:04 Info: Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Info: Resetting and pausing target processor: OK Info: Reading System ID at address 0x00004040: verified Info: No EPCS layout data - looking for section [EPCS-BF254B] Info: Unable to use EPCS device Info: Leaving target processor paused Error: Error code: 8 for command: nios2-flash-programmer "C:/proj/46C_leer/flash/46C_leer_epcs.flash" --base=0x3800 --epcs --sidp=0x4040 --id=0x12345678 --timestamp=1444733514 --device=1 --instance=0 '--cable=USB-Blaster on localhost [USB-0]' --program --erase-all I have set the Nios II/e with the reset vector to the epcs_control_port and the excepion vector to the on chip_mem. Was this correct?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aley,
You were right! There is a SST25VF064C assembled on my board. Not the one I had expected from the schematic. But after copying your file to "C:\altera\15.0\nios2eds\bin\" I still get the same error as befor. Could it be that I did some wrong configuration in the quartus? I did make the internal RAM bigger, thats why the addresses are now different. Info: 16.10.2015 15:21:31 - (FEIN) sof2flash: Starting Info: Info: ******************************************************************* Info: Info: Running Quartus II 64-Bit Convert_programming_file Info: Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=C:/proj/46C_leer_nios_at50MHz_ok/46C_leer/flash/46C_leer_epcs.opt C:/proj/46C_leer_nios_at50MHz_ok/46C_leer/output_files/46C_leer.sof C:/proj/46C_leer_nios_at50MHz_ok/46C_leer/flash/46C_leer_epcs.pof Info: Info (210033): Memory Map File C:/proj/46C_leer_nios_at50MHz_ok/46C_leer/flash/46C_leer_epcs.map contains memory usage information for file C:/proj/46C_leer_nios_at50MHz_ok/46C_leer/flash/46C_leer_epcs.pof Info: Info: Quartus II 64-Bit Convert_programming_file was successful. 0 errors, 0 warnings Info: Info: Peak virtual memory: 250 megabytes Info: Info: Processing ended: Fri Oct 16 15:21:36 2015 Info: Info: Elapsed time: 00:00:03 Info: Info: Total CPU time (on all processors): 00:00:03 Info: Info: ******************************************************************* Info: Info: Running Quartus II 64-Bit Convert_programming_file Info: Info: Command: quartus_cpf --no_banner --convert C:/proj/46C_leer_nios_at50MHz_ok/46C_leer/flash/46C_leer_epcs.pof C:/proj/46C_leer_nios_at50MHz_ok/46C_leer/flash/46C_leer_epcs.rpd Info: Info: Quartus II 64-Bit Convert_programming_file was successful. 0 errors, 0 warnings Info: Info: Peak virtual memory: 248 megabytes Info: Info: Processing ended: Fri Oct 16 15:21:42 2015 Info: Info: Elapsed time: 00:00:04 Info: Info: Total CPU time (on all processors): 00:00:04 Info: 16.10.2015 15:21:43 - (FEIN) sof2flash: Done Info: Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Info: Resetting and pausing target processor: OK Info: Reading System ID at address 0x00012048: verified Info: Processor data bus width is 32 bits Info: Looking for EPCS registers at address 0x00011800 (with 32bit alignment) Info: Initial values: 0001703A 04C00074 9801483A 9CFFF804 983FFD1E 0000203A Info: Not here: reserved fields are non-zero Info: Looking for EPCS registers at address 0x00011900 (with 32bit alignment) Info: Initial values: 93000237 6300080C 603FFD26 90000335 A8000C26 03010004 Info: Not here: reserved fields are non-zero Info: Looking for EPCS registers at address 0x00011A00 (with 32bit alignment) Info: Initial values: 02C02004 002EE03A 00000F06 90000335 4000683A 0017883A Info: Not here: reserved fields are non-zero Info: Looking for EPCS registers at address 0x00011B00 (with 32bit alignment) Info: Initial values: 3180080C 300C96BA 701CD07A 719CB03A 843FFFC4 803FF81E Info: Not here: reserved fields are non-zero Info: Looking for EPCS registers at address 0x00011C00 (with 32bit alignment) Info: Initial values: 00000000 00000000 00000260 00000000 00000000 00000001 Info: Valid registers found Info: EPCS signature is 0xBF Info: EPCS identifier is 0xBF254B Info: No EPCS layout data - looking for section [EPCS-BF254B] Info: Unable to use EPCS device Info: Leaving target processor paused Error: Error code: 8 for command: nios2-flash-programmer "C:/proj/46C_leer_nios_at50MHz_ok/46C_leer/flash/46C_leer_epcs.flash" --base=0x11800 --epcs --sidp=0x12048 --id=0x12345678 --timestamp=1445000242 --device=1 --instance=0 '--cable=USB-Blaster on localhost [USB-0]' --program --verbose- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I jus soldered a EPCS16SI8N from altera and programming worked fine. The layout on my board should be ok, so far. It seems the SST25VF064C was just a bad choice. Do you have a recommended type of flash which I could use in my design with the Cyclone V 5CEFA2F23C8?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Spansion (Cypress) S25FL164K offers plenty of package options or the Micron part you originally stated (that has fewer package options).
Cheers, Alex- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i heard Altera FPGA and the Quartus II software has limited support on the third party flash when it comes to Active serial scheme=(

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page