• AVR Freaks

Hot!TCP/IP AN1921 demo - PIC18F47K40 - mikroe ETH Click

Author
BBick22
New Member
  • Total Posts : 3
  • Reward points : 0
  • Joined: 2020/09/28 12:44:23
  • Location: 0
  • Status: offline
2020/10/14 03:56:45 (permalink)
0

TCP/IP AN1921 demo - PIC18F47K40 - mikroe ETH Click

Hi,
 
I am working on an Ethernet project with a PIC18F47K40 and a mikroe ETH Click. I am using the AN1921 demo to get started. I have had some success but I cannot get the supplied microchip Java application to connect: pg 9 step 14 in the AN1921 demo PDF. It will just continually say "Listen.."
 
https://www.microchip.com....aspx?appnote=en573940
 
I have successfully got the micro to ping.
Using wireshark; I can see that the micro (client) is requesting the MAC address of my PC (host), and that the PC is responding. 
I can see that my the micro's IP address is stored in the PC's arp table.
When using the AN1921 Java program, after I press "listen" I can see that the port (60) is opens and is listening on my PC.
 
I believe the next step that should occur is the micro sending a packet with the SYN bit set to the host as the first step of the TCP handshake.  
 
The only changes I made to the AN1921 demo program was to modify it for my PIC, see link below; I am unsure why it is not working as is.
 
Could anyone guide me in the right direction here?  What is the next step that is missing and where should I be looking?
 
Please be kind, this is both my first PIC and networking project.
 
Best and Thank you.
 
AN1921 PDF:
https://www.dropbox.com/s...ote-00001921D.pdf?dl=0
Troubleshooting screenshots:
https://www.dropbox.com/s...robleshooting.pdf?dl=0
#1

1 Reply Related Threads

    BBick22
    New Member
    • Total Posts : 3
    • Reward points : 0
    • Joined: 2020/09/28 12:44:23
    • Location: 0
    • Status: offline
    Re: TCP/IP AN1921 demo - PIC18F47K40 - mikroe ETH Click 2020/10/22 13:22:59 (permalink)
    +1 (1)
    Connection has been made!
     
    The issue was that the RTCC was not being updated. There was a function written in Mircochip’s demo code to update it, rtcc_handler(), but it was not being called anywhere. I am unclear why.
     
    #2
    Jump to:
    © 2020 APG vNext Commercial Version 4.5