Test my Embedded Web Server!
Hi Guys,
I have built a pic based web server from a kit in a magazine.
It's not my own hardware or software design. It's written in Microchip C (C30 Compiler).
I would like some people to try it out:
http://art.redirectme.net:8181/
Please use this next link ONLY if the link above doesn't work!
http://124.179.185.3:8181/
Please report if you were able to connect, and with what browser.
I know the server works best with Firefox, and has issues with some versions of Microsoft Internet Explorer.
It works for me locally every time, but it's temperamental when I use the external address. I don't know if it is reliable for external visitors.
Only the index.htm page is hosted by the server.
All links on the page direct to outside hosting.
Cheers, Art.
Is there a way to convert C to assembly ?
Quote:
Originally Posted by
Ioannis
Probably a dumb question ... but... Do you think the code from Microchip's AN833 could be compiled into assembly include files? Changing the below code for PBP looks doable, just not sure about the possibility of getting the C files (StackTsk.h, Tick.h and http.h) into includes for PBP in some way.
http://ww1.microchip.com/downloads/e...tes/00833c.pdf
Code:
// Declare this file as main application file
#define THIS_IS_STACK_APPLICATION
#include “StackTsk.h”
#include “Tick.h”
#include “dhcp.h” // Only if DHCP is used.
#include “http.h” // Only if HTTP is used.
#include “ftp.h” // Only if FTP is used.
// Other application specific include files
...
// Main entry point
void main(void)
{
// Perform application specific initialization
...
// Initialize Stack components.
// If StackApplication is used, initialize it too.
TickInit();
StackInit();
HTTPInit(); // Only if HTTP is used.
FTPInit(); // Only if FTP is used.
// Enter into infinite program loop
while(1)
{
// Update tick count. Can be done via interrupt.
TickUpdate();
// Let Stack Manager perform its task.
StackTask();
// Let any Stack application perform its task.
HTTPServer(); // Only if HTTP is used.
FTPServer(); // Only if FTP is used.
// Application logic resides here.
DoAppSpecificTask();
}
}
Here is a product that uses the hardware mentioned in this application note:
http://www.sparkfun.com/commerce/pro...oducts_id=7829