Test my Embedded Web Server!


Closed Thread
Results 1 to 22 of 22

Hybrid View

  1. #1
    Join Date
    Aug 2003
    Posts
    985

    Default 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.

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,606


    Did you find this post helpful? Yes | No

    Default

    Hi Art,
    Just tried both links without being able to connect - using IE8.0

    /Henrik.

  3. #3
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    I think my IP changed and the DNS didn't catch it.

    http://124.179.185.3:8181/


    http://art.redirectme.net:8181/

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,606


    Did you find this post helpful? Yes | No

    Default

    Hi,
    Yep, now the first link in your latest message works. The second one (http://art.redirectme.net:8181/) does not work for me though.

  5. #5
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    Well that sux.
    that's my dns problem maybe.
    I'll try another free dns provider.

  6. #6
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Dave
    Always wear safety glasses while programming.

  7. #7
    Join Date
    Jan 2009
    Location
    Miami, Florida USA
    Posts
    699


    Did you find this post helpful? Yes | No

    Default

    Hi,

    In one of my computers the link doesn't work. This computer has IE 6.0 with service pack 2.

    Robert

  8. #8
    Join Date
    Aug 2003
    Posts
    985


    Did you find this post helpful? Yes | No

    Default

    Now if some coding genius (that leaves me out) could just port the "C" over to PBP for us basic heads then we could all have fun with it
    It's a shame PBP doesn't support a lot of the newer pics.
    This one is a dspic33j64gp802.

  9. #9
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,116


    Did you find this post helpful? Yes | No

    Default

    The http://art.redirectme.net:8181/ works fine. The other nop.

    I once wanted to do this in PBP, but got disappointed. My next idea was to use Tibbo products.

    Ioannis

  10. #10
    Join Date
    Feb 2006
    Location
    Gilroy, CA
    Posts
    1,530


    Did you find this post helpful? Yes | No

    Default Is there a way to convert C to assembly ?

    Quote Originally Posted by Ioannis View Post
    The http://art.redirectme.net:8181/
    I once wanted to do this in PBP, but got disappointed. My next idea was to use Tibbo products.
    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
    Last edited by ScaleRobotics; - 8th April 2010 at 14:25.

  11. #11
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,116


    Did you find this post helpful? Yes | No

    Default

    I find it difficult. But if one knows C at a level that can read the code, why botherdo it in PBP?

    Ioannis

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts