Всем доброго времени суток! Имеется плата DE0nano, пытаюсь зашить с помощью NIOS II flash programer простейший проект. Device and pin option все поставил в Use as regular I/O. Reset назначил на EPCS. В pin planer все выводы epcs контроллера назначил в соответствии со схемой DE0nano data0 на h2, dclk на h1, sce на d2, sdo на c1. Выдает ошибку Error code: 8 for command:.....
В чем может быть проблема?
Собирал этот же проект на своей проверенной плате с EP4CE40F23I7 и EPCS128 и все нормально прошивается.
Указание из usermanual тоже выполнил
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. Please copy this file to the folder
[QuartusInstalledFolder]\nios2eds\bin (e.g. C:\altera\11.1\nios2eds\bin)
Info: 28.04.2017 14:00:08 - (FINE) sof2flash: Starting
Info: Info: *******************************************************************
Info: Info: Running Quartus Prime Convert_programming_file
Info: Info: Command: quartus_cpf --no_banner --convert --device=EPCS128 --option=D:/Projects/Quartus/Q15_1/Test_DEL/software/Hello_World_bsp/flash/test_epcs.opt D:/Projects/Quartus/Q15_1/Test_DEL/output_files/test.sof D:/Projects/Quartus/Q15_1/Test_DEL/software/Hello_World_bsp/flash/test_epcs.pof
Info: Info (210033): Memory Map File D:/Projects/Quartus/Q15_1/Test_DEL/software/Hello_World_bsp/flash/test_epcs.map contains memory usage information for file D:/Projects/Quartus/Q15_1/Test_DEL/software/Hello_World_bsp/flash/test_epcs.pof
Info: Info: Quartus Prime Convert_programming_file was successful. 0 errors, 0 warnings
Info: Info: Peak virtual memory: 255 megabytes
Info: Info: Processing ended: Fri Apr 28 14:00:10 2017
Info: Info: Elapsed time: 00:00:01
Info: Info: Total CPU time (on all processors): 00:00:01
Info: Info: *******************************************************************
Info: Info: Running Quartus Prime Convert_programming_file
Info: Info: Command: quartus_cpf --no_banner --convert D:/Projects/Quartus/Q15_1/Test_DEL/software/Hello_World_bsp/flash/test_epcs.pof D:/Projects/Quartus/Q15_1/Test_DEL/software/Hello_World_bsp/flash/test_epcs.rpd
Info: Info: Quartus Prime Convert_programming_file was successful. 0 errors, 0 warnings
Info: Info: Peak virtual memory: 248 megabytes
Info: Info: Processing ended: Fri Apr 28 14:00:13 2017
Info: Info: Elapsed time: 00:00:02
Info: Info: Total CPU time (on all processors): 00:00:02
Info: 28.04.2017 14:00:13 - (FINE) 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 0x00012000: verified
Info: Processor data bus width is 32 bits
Info: Looking for EPCS registers at address 0x00011000 (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 0x00011100 (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 0x00011200 (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 0x00011300 (with 32bit alignment)
Info: Initial values: 003FD006 5280040C 501496FA 701CD07A 729CB03A 843FFFC4
Info: Not here: reserved fields are non-zero
Info: Looking for EPCS registers at address 0x00011400 (with 32bit alignment)
Info: Initial values: 00000000 00000000 00000260 00000000 00000000 00000001
Info: Valid registers found
Info: EPCS signature is 0x16
Info: EPCS identifier is 0x014017
Info: No EPCS layout data - looking for section [EPCS-014017]
Info: Unable to use EPCS device
Info: Leaving target processor paused
Error: Error code: 8 for command: nios2-flash-programmer "D:/Projects/Quartus/Q15_1/Test_DEL/software/Hello_World_bsp/flash/test_epcs.flash" --base=0x11000 --epcs --sidp=0x12000 --id=0x123 --timestamp=1493369814 --device=1 --instance=0 '--cable=USB-Blaster on localhost [USB-0]' --program --verbose