Forum Discussion
Altera_Forum
Honored Contributor
20 years agoI had the same problem
I have permanent license for nios2 and NIOS2 1c20 development kit I download and install NIOS5.1 release from ALTERA and Quatus 5.1 Build 176 10/26/2005 SJ WEB Edition About NIOS5.1 I download this file ftp://ftp.altera.com/outgoing/release/nios_ii_51_release.zip (ftp://ftp.altera.com/outgoing/release/nios_ii_51_release.zip) after install C:\altera\kits\nios2_51\version.txt tell me this Kit: Nios II, Version: 5.1, Build: 73b I try to work with new NIOS5.1 2 times And I can describe in details all my steps 1. I open full featured example in Quatrus and open NIOS block in SOPC builder 2. I re-generate system without any changes 3. After this i press "Run NIOSII IDE" button 4. I close SOPC Builder 5. recompile project in Quatrus 6. go to NIOS IDE 7. and run File->new->C/C++ Application 8. Select Hello Word (in project templates) This SOPC Builder system was assigned C:\altera\kits501\nios2\examples\verilog\niosII_cyclone_1c20\full_featured\full_1c20.ptf 9. Pres NEXT button 10. Select Create a new system Library 11. Press Finish button 12. and i got Hello_word_0 project and system library 13 I make right-click mouse button on Hello_word_0 and select build project - build was success 14 I take my 1c20 board -connect USB blaster to J24 and connect power jack 15. after this select Tools->FlashProgrammer 16. I create new 17. click to a Programm FPGA configuration data into hardware-image of flash memory 18. press programm flash and got next # ! /bin/sh# # This file was automatically generated by the Nios II IDE Flash Programmer.# # It will be overwritten when the flash programmer options change.# cd C:/altera/kits501/nios2/examples/verilog/niosII_cyclone_1c20/full_featured/so ftware/hello_world_0/Debug # Creating .flash file for the FPGA configuration $SOPC_KIT_NIOS2/bin/sof2flash --offset=0x600000 --input=C:/altera/kits501/nios2/ examples/verilog/niosII_cyclone_1c20/full_featured/full_featured.sof --output=fu ll_featured.flash Info: ******************************************************************* Info: Running Quartus II Convert_programming_file Info: Command: quartus_cpf --no_banner --convert C:/altera/kits501/nios2/example s/verilog/niosII_cyclone_1c20/full_featured/full_featured.sof full_featured.rbf Info: Quartus II Convert_programming_file was successful. 0 errors, 0 warnings Info: Processing ended: Wed Feb 01 11:35:49 2006 Info: Elapsed time: 00:00:01 # Programming flash with the FPGA configuration $SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='USB-Blaster [USB-0]' --sidp= 0x021208D8 --id=1517107964 --timestamp=1138697041 --base=0x00000000 full_feature d.flash Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK Reading System ID at address 0x021208D8: FAIL ID value does not match: read 0xFFFFFFFF; expected 0x5A6D3AFC Timestamp value does not match: image on board is older than expected Read timestamp 1:59:59 1970/01/01; expected 10:44:01 2006/01/31 Leaving target processor paused # Creating .flash file for the project $SOPC_KIT_NIOS2/bin/elf2flash --base=0x00000000 --end=0x7fffff --reset=0x0 --inp ut=hello_world_0.elf --output=ext_flash.flash --boot=$SOPC_KIT_NIOS2/components/ altera_nios2/boot_loader_cfi.srec # Programming flash with the project $SOPC_KIT_NIOS2/bin/nios2-flash-programmer --cable='USB-Blaster [USB-0]' --sidp= 0x021208D8 --id=1517107964 --timestamp=1138697041 --base=0x00000000 ext_flash.fl ash Using cable "USB-Blaster [USB-0]", device 1, instance 0x00 Resetting and pausing target processor: OK Reading System ID at address 0x021208D8: FAIL ID value does not match: read 0xFFFFFFFF; expected 0x5A6D3AFC Timestamp value does not match: image on board is older than expected Read timestamp 1:59:59 1970/01/01; expected 10:44:01 2006/01/31 Leaving target processor paused ????????????????????????????????????????????????????????????????????????????? WHAT WRONG ? currently i use nios2 Kit: Altera Nios II Development Kit, Version: 1.0 Service Pack 1, Build: 393b, Patch i think it most stable version and way described above all times was work fine what i miss ?