Content originally posted in LPCWare by jharwood on Tue Feb 15 22:00:49 MST 2011
Quote: johnnyalexa
Hi,
I am happy that I could test EasyWeb and uIP on my LPCXpresso 1769. I have build a small board with some push buttons, Magjack, USB connector, sd-card holder and 16x2 LCD. I like the way uIP web page looks like, and I would like to go on with it. The issue I have is that, the web page is stored in external eeprom chip ( correct me if I'm wrong), and I don't have any idea on how to upload another web pages.
If someone has some experience with that, please give me some ideas.
Thanks a lot,
Regards,
johnny
The web page content for both EasyWeb and uIP httpd are hard-coded as static const unsigned char arrays. So the content lives in flash memory defined at compile time.
My approach to this would be to arrange the micro(s) to be purely RESTful web services, responding only to resource state changes. All the look and feel part would be handled by a nearby full-blown web server like Apache or LAMP stack. Ajax would provide the link between client web browser and the micro's RESTful web service.