Forum Discussion
Altera_Forum
Honored Contributor
22 years agoI want to a web server which have a cgi interface
My board is cyclone,and now i have a niosII,I want to construct a web server whick have a cgi interface to translate a command through the internet to the board. who can help me?
Altera_Forum
Honored Contributor
22 years agoA good place to start would be the Nios II example design, which has a webserver on. What sort of command do you want the CGI to execute? If you just want to do normal CGI stuff this isn't far beyond what the example shows; you can have your script run any system command. If you want to program the hardware through a CGI then this is a little trickier but still only a small extension to the code.
You might like to also look at the example for Excalibur boards, which has a webserver into which you can upload a .sof file and have it reprogram the hardware. Have fun playing with your Nios II, and good luck!