Using the Arduino Eth shie wi AMIS18 (new thread so not so long scroll to end)


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1

    Default Re: Using the Arduino Eth shie wi AMIS18 (new thread so not so long scroll to end)

    Henrik, i wanted to comment to your original post, so I tried to restart a new ref to original, but to add (comment), ran into max chars so I deleted some letters to make room for my comment. But if it would be less confusing, a new named thread could be done.
    Checking a little further, your using the 5100 chip and working closer with its coding compared to the modules where there is less or no directly accessing the networking controller chip, aside from the few basic tcp/ip and serial settings.
    If you havn't yet, try W3schools.com. Covers about everything and free.

    Name:  Capture15.JPG
Views: 3802
Size:  44.7 KB
    The Wiz701 serial to ethernet module I use stores it settings in flash reguarding power-up.

    Code:
    '''-------TX INT ROUTINE-------------AX is start adderss in prog flash------''''
    TRint:
    READCODE AX , B4         'SEND OUT FLASH MEM
    if b4=0 then 
    @ INT_DISABLE TX_INT   
    else
    txreg=b4       
    AX=AX+1                         
    endif
    @ INT_RETURN
    I send with TX interrupt , like you said, readcode and check for 0 to stop transmit. Allows base PIC program to keep going even with send 1-2000 chars

    Don

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

    Default Re: Using the Arduino Eth shie wi AMIS18 (new thread so not so long scroll to end)

    Exactly, the W5100. My code targets the W5100 specifically though I think that it, with some minor changes, will work with the new W5200....
    I took for granted you were using a module containing the W5100, like the Wiz810, 811 or 812. If you're using one of their more intelligent modules my code is of little use to you.

    However, mechanisms and routines to store HTML in the PIC and "pushing it" to the chip/module (be it via USART or MSSP module) can likely be done in the same way for both types - and any other ethernet module, like the X-port for example.

    /Henrik.

  3. #3

    Default Re: Using the Arduino Eth shie wi AMIS18 (new thread so not so long scroll to end)

    DHCP for setting PIC Server inside some LAN. You may already be clear this.
    To access PIC Server from outside of its LAN, it needs to be on a specific PORT and set the Router to pass packets destined for PIC from the internet based on that PORT number. On my router, I had to enter a static PIC address and specific PORT that allows packets to pass through. That doesn't change so from outside, IP and PORT # access to PIC stays the same. I'm not sure if some routers can add that routing based on the HOST NAME,instead of IP, that you may set in the 5100.

    IPV6 will change this but thats still evolving as more devices handle the addressing protocols. I think.

    The HTML pages parts stored locally would be because the PIC Server can only handle so much HTML, so that could make pages more functional and appealing while still getting timely data from PIC.

    Don

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