The basic steps for porting websever from 10.0 to 11.0:
1. Open the original 10.0 project file with 11.0, then open the Sopc Builder tool, regenerate the Nios system (this step is important), then go back to the Quartus project to recompile the hardware system, and finally download the. Sof to the Development Board.
2. Start Nios SBT (Win7 system needs to be started as an administrator), set up a workspace directory, and then create a new Web Sever template to apply engineering and BSP Engineering, copy the. c and. h files from the original software to the new software, and then compile software engineering.
3, the hardware system. SOF download to the Development Board (if it was downloaded in the first step, ignore this action), and then use the Flash Programmer tool in Nios SBT to write the ro_zips file to flash, you must note that the write offset address is 0x100000 (The address can be changed by the BSP Editor, don't forget to enter 0x).
In Nios SBT, the process of burning a file with the Flash Programmer tool is shown in the following two diagrams.
4, download the running Software elf file.
(Note that the IP address of the Development Board and PC must be in the same network segment)
The successful results of the download and operation are shown in the following two figures.
5, through the browser to access the Development Board, through the Web page can control the Development Board of the LED and other resources. As shown in.
Basic steps for porting websever from 10.0 to 11.0