Can't send large amount of bytes

Hi

I am using an FPGA to transmit and receive data to and from the wiznet, I can send and received multiple bytes, however I am having problems transmitting more than 1Kbyte of data, sometimes I get the whole thing and other times I just get part of it, before I transmit something I make sure that I have the available space in the transmitter buffer. Could someone help here please?

Hi,

In W5500 reference code, refer to ioLibrary_BSD. [url]http://wizwiki.net/wiki/doku.php?id=products:w5500:driver[/url]

In w5500.c file, you can see the funtion as following.

uint32_t getSn_TX_FSR(uint8_t sn);

This function return the transimitable size of Socket n TX buffer.

You can have a ideaa from this function.

Thank you.