Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Developing a Webserver to control Hardware

Hi,

I would like to develop a Webserver on a Stratix 1s10 Development Board. Should I use standalone LwIP Stack or the socket Library from uCLinux. Witch is the advantage of this two Stacks? My purpose is to configure and to control the LAN91C111 interface and other periphery, such as LED's, LCD display or seven segment display... . Should I develop an own driver for the ethernet Interface if I use uCLinux?

Can anybody help me. http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/huh.gif

regards!

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    I would like to develop a Webserver on a Stratix 1s10 Development Board[/b]

    --- Quote End ---

    if i&#39;m not wrong... a webserver (boa) for uClinux is available.

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    Should I use standalone LwIP Stack or the socket Library from uCLinux. Witch is the advantage of this two Stacks?[/b]

    --- Quote End ---

    I don&#39;t know much about the LwIP Stack, so i vote for uClinux and sockets

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    My purpose is to configure and to control the LAN91C111 interface and other periphery, such as LED&#39;s, LCD display or seven segment display...[/b]

    --- Quote End ---

    At least for uClinux, why do you want to control the LAN91C111 interface? uClinux does all the work for you. Also there are a lot of device drivers available. if you&#39;re lucky you don&#39;t have write device drivers.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Tanks for your fast answer, helmchen.

    My purpose is to control hardware with a webserver. Can I control hardware with the boa webserver or should I use LwIp to programm my own webserver?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    Can I control hardware with the boa webserver or should I use LwIp to programm my own webserver?[/b]

    --- Quote End ---

    i haven&#39;t tried boa webserver yet, so don&#39;t have the experience to answer your question. I think you need something like cgi in conjunction with the webserver.

    there are some people, who are working with the boa web server. it would be a good idea to ask them; check this link:

    <div class='quotetop'>QUOTE </div>

    --- Quote Start ---

    http://forum.niosforum.com/forum/lofiversi...x.php/t4414.htm (http://forum.niosforum.com/forum/lofiversion/index.php/t4414.htm)[/b]

    --- Quote End ---

    if trying to use LwIP you might have to reinvet the wheel (develop webserver)

    hope, it will help you.