Forum Discussion
Altera_Forum
Honored Contributor
15 years agoDE2-115 Web Server Example
Hi,
I'm new to Quartus and Nios, and I've been trying to get the DE2-115 web server example (RGMII-ENET0) running with no luck. I followed the instructions in the user manual trying the bat file first. Using Nios 10.1 I:- Programmed the flash with the file DE2_115_Web_Server\DE2_115_WEB_SERVER_RGMII_ENET0\software\web_server_0_syslib\ro_zipfs.zip in Nios II Flash Programmer with the DE2_115_Web_Server\DE2_115_WEB_SERVER_RGMII_ENET0\DE2_115_SOPC.sopcinfo (attached is a screen shot of the programmer commands).
- Ran batch file: DE2_115_Web_Server\DE2_115_WEB_SERVER_RGMII_ENET0\demo_batch\web_server.bat
22 Replies
- Altera_Forum
Honored Contributor
Dear Daixiwen
Thanks for Daixiwen , the question is solve. The question isdue to quartusii of programmer Hardware setup (need delet USB-Blaster of outside) but...I occur the new question , I referance http://www.alteraforum.com/forum/showthread.php?p=119191#post119191 (http://www.alteraforum.com/foru/showthread.php?p=119191#post119191) and I make step to No.16 when enter the code : nios2-flash-programmer.exe ro.flashfs_cfi_flash1.flash ... --erase-all Message tell me -------------------------------------------------------------- Timestamp value was not verified : value was not specified The software you are downloading may not run on the system which is crrrently configured into the device . Please download the correct SOF or recompile . Leaving target processor paused -------------------------------------------------------------- so , I try to quartusii of programmer and recompile , then download to DE2-115. but...still can't and appear the message. And...other a question . When I bulid NiosII Application and BSP from Template , but not creat a nios2-flash-programmer.exe...I don't know this status. - Altera_Forum
Honored Contributor
This messages appears because you don't have a system ID component in your SOPC system. Either add a system ID component (recommended) or add the correct option to the NIOS programmer to disable the system ID / timestamp check before download.
- Altera_Forum
Honored Contributor
Dear Daixiwen
Thanks your support , I try again and again... 1. QuartusII →SOPC Builder 2. Add system id set "0" 3. And generate → compilation Report → download but , when I open NiosII and New Application and BSP from Template I found...the project file of "de2_115_sopc.sopcinfo" is not update Result...the bsp fail of creat...so I think... how do due de2_115_sopc.sopcinfo for update ... maybe the question is for other places...I think - Altera_Forum
Honored Contributor
The .sopcinfo file is updated automatically by SOPC builder each time you click on generate. Are you sure you are pointing to the right file? The one in the same folder than the SOPC project?
- Altera_Forum
Honored Contributor
Dear Daixiwen
I check many times , the folder and project is same of directory. but , I found , the example of SOPC Builder already have system id for include , so I try again. 1. Open d:\DE2_115_Web_Server\DE2_115_WEB_SERVER_RGMII_ENE T0 DE2_WEB_SERVER.qpf file in Quartus 10.1 2. SOPC Builder(no change anything to example) 3. Click Generate(successful) 4. Compile .qpf project in Quartus(but don't have download to de2-115) 5. Start up Nios 10.1 → File > New > Nios II Application and BSP Template (Finsh reference of step No.11 ~ No.15) 6. Open up Nios 10.1 Command Shell and enter code but ... the message again tell me ----------------------------------------------------------- Timestamp value was not verified : value was not specified The software you are downloading may not run on the system which is crrrently configured into the device . Please download the correct SOF or recompile . Leaving target processor paused ----------------------------------------------------------- I think...maybe , I need enter SOPC Builder and delet system id of original , and add new system id (system id parameters not change) maybe need this make... I will try again : ) p.s It is to strange , before in the SOPC Builder. If I add a new system id (I don't delet or change the origin system id). and Builder → Generate → Compile , but in the Nios 10.1 Command Shell haven't any questione , only questione is due to can't ... In NiosII download software to De2-115... - Altera_Forum
Honored Contributor
Dear Windex
I finsh!!! for function!!!!! After time , I will po my all make. p.s Thanks your help to until : ) - Altera_Forum
Honored Contributor
1. Open D:\demo\DE2_115_Web_Server\DE2_115_WEB_SERVER_RGMII_ENET0\DE2_115_WEB_SERVER.qdf
2. Open SOPC Builder to Regenerate , finsh and compilation 3. Open Nios II 10.1sp1 Software Build Tools for Eclipse 4. New → NiosII Application and BSP from template 5. SOPC Information name , select your project location of DE2_115_SOPC.sopcinfo 6. Application poject select porject location , project reneme → web_server_test 7. Templates select Web_Server(RGMII) , when finsh then exit the NiosII 8. Open up Nios 10.1 Command Shell and enter these commands in: cd /.../DE2_115_Web_Server/DE2_115_WEB_SERVER_RGMII_ENET0 mkdir flash bin2flash --input=D:/demo/DE2_115_Web_Server/DE2_115_WEB_SERVER_RGMII_ENET0/software/web_server_test/system/ro_zipfs.zip --output=ro.flashfs_cfi_flash1.flash --location=0x100000 --verbose nios2-flash-programmer.exe ro.flashfs_cfi_flash1.flash --base=0x0a800000 --sidp=0x9000140 --id=0x0 --device=1 --instance=0 --program --verbose --erase-all 9. Download of QuartusII and DE2_115_WEB_SERVER.qdf 10. Open up NiosII and Run hardware 11. Enable browse for file system ELE file 12. Select D:\...\DE2_115_Web_Server\DE2_115_WEB_SERVER_RGMII_ENET0\demo_batch\web_server_0.elf 13. In Target Connection , System ID check → select ignore mismatched system ID and mismatched system timestamp 14. Apply Run and open commend , enter ping xxx.xxx.xxx.xxx 15. Enter the ip addres - Altera_Forum
Honored Contributor
What do you mean by
--- Quote Start --- (but don't have download to de2-115) --- Quote End --- After you compile the project in Quartus, you need to upload the .sof file to the FPGA before running the Nios environment. - Altera_Forum
Honored Contributor
Dear Daixiwen
Sorry , I haven't explanation of clear. (but don't have download to de2-115) The mean is , I wait for NiosII to bsp builder finsh. When I finsh about NiosII action , and this time , I make burn to de2-115 of QuartusII , then download NiosII : ) - Altera_Forum
Honored Contributor
Hello all,
I've tried these steps, but It doesn't work. Could any one please say more details about flash programmer and what to do in steps. It seems a bit mixed up to me. Thanks in advance.