I am trying to update the writing pointer of my TX buffer. If I understand correctly, I have to:
1- read the current pointer location
2- have data starting from the current pointer location
3- Add the size of the data to the current pointer location
4- send the new location to TX_WR0 and TX_WR1.
However, when I check the pointer value, it only update after I send the command Send to the Sn_CR. Therefore, my Data isn’t transmitted. What should I do.
Also, when I send the command Open, bot pointer for read and write are initialized to 0X0000 as expected. However, Their values change after sending the command connect in TCP mode to arbitrary values. Shouldn’t they but stay at 0X0000 until I change the pointer for writing and use command Send which change the pointer for reading?
Note: I am using 8-bit micro-controller. Therefore, I can’t use the current library.