using Barkley API, missing recv packets?

#1

I am trying to use W5100S with Barkley API, which seems to start working OK, connection is established, and data transfer begins. However after a short time my device (server) waits for a response from client, but it looks like client already sent it, but the W5100S missed it. How can I check it?
I also fine cases that I call recv(sn, buf,len), but it reads more then len bytes from the chip RX buffer (looks like it reads all pending bytes).
This is incorrect behavior, I wonder if it should be like so (it should retrive only len bytes, even if the buffer has more)
Thanks
Johanan

#2

Hi~ johanan

Could you check the socket buf size about opened socket?
Please attach the wireshark capture file(*.pcap) and I think I can solve the problem more quickly.

thanks
BR
irina

#3

Hello Irina,

I didn’t make any initialization to socket buffer size as I assume it is the default 2K after reset.

I never send or recv buffer larger then 1K, so I think this is not the issue.

I will do wireshark capture and send you on separate mail.

Thanks and regards,

Johanan

#4

Hi~ Johanan

Did you send me an email with the package capture file attached?
I don’t receive your email.

thanks,
BR
irina

#5

Hi Irina,
Thanks for the followup, but I had an urgent bug in another project and didn’t make it.
Will do it on Monday.
Best regards
Johanan.

irina_kim

      WIZnet Team




    April 11

johanan:
I will do wireshark capture and send you on separate mail.

Thanks and regards,

Johanan

Hi~ Johanan

Did you send me an email with the package capture file attached?

I don’t receive your email.

thanks,

BR

irina


Visit Topic or reply to this email to respond.


In Reply To

johanan

    April 10

Hello Irina, I didn’t make any initialization to socket buffer size as I assume it is the default 2K after reset. I never send or recv buffer larger then 1K, so I think this is not the issue. I will do wireshark capture and send you on separate mail. Thanks and regards, Johanan


Visit Topic or reply to this email to respond.

To unsubscribe from these emails, click here.

missing recv packets?
CC:

#6

Hello Irina,

Well I used Wireshark, found my problem.

(It was enough to suggest using it, :slight_smile: )

All working now.

Thanks.

Johanan

#7

Hi Irina,
Now I have my system is working quite well,

I would like to speed it up by using SPI DMA (using the Barkley API).

I found this document in Korean, do you have in English? (I couldn’t find).

https://wizwiki.net/wiki/lib/exe/fetch.php?media=products:w5100s:w5100s_evb:w5100s_an_dma_v100k.pdf

Thanks,
Johanan

#8

Hi~ Johanan

Currently, I didn’t write the document in English version yet.
I think you can’t need to see the document of English version when DMA mode use.
If you need to see the document of English version, I will send email you after write the document as soon as possible.

thanks,
irina

#9

Hi~ Johana

I uploaded the W5100S DMA document in English version.
You can download it by clicking the link below.
Download link : W5100S DMA Datasheet(En)

thanks,
BR
irina

#10

Thank you very much.
I have one question about optimal 25 MHz crystal for W6100 (we are making a pcb for it), can you advice suitable crystal part number?

Regards

Johanan

#11

Hi~ johanan

You have to use 25MHz crystal when you make the pcb using the W6100.
We have used the crystal part(82J0626-25.000MHz) and Tech.Characteristic is X-tal 25MHz,3.2x2.5 SMD, CL=27pF,Industrial,ITTI .

For detailed information, you visit the web site : W6100 EVB Schematic

thanks,
BR
irina

#12

Hi, as we are preparing to make our own PCB with your module, I am confused which module is best for us, and which one is the most updated.
Please let me know difference between W5100S, W5500, and W6100.

I need to make sure that I select right chip for me which means:

  1. Stable user library.

  2. Availability (in stock)

  3. Price.

Please let me know what is the recommended chip for new design.

Best Regards

Johanan