dhogendorf wrote on Monday, February 18, 2019:
Hello everyone,
I use FreeRTOS 10.1.1 to build a web server. In the ATSAM4E networkdriver usGenerateProtocolChecksum() complaines “too few arguments to function ‘usGenerateProtocolChecksum’”, size was missing.
I added the size by taking it from gmac.c where it calls vGMACGenerateChecksum( ( uint8_t * ) p_tx_td->addr, ul_size ).
So the call in network. c now is usGenerateProtocolChecksum( ( uint8_t * ) apBuffer, ul_size, pdTRUE ), the size beeing the original size received in gmac.c.
I’m mot sure if this is correct, but it won’t hit breakpoints set on errors in FreeRTOS_IP.c usGenerateProtocolChecksum.
As there is no ATSAM4E demo included in version 10.1.1 I used as much of the demo 160919_FreeRTOS_Labs as needed.
I got it all up and running and can with FTP I add the HTML_for_default_pages to the disk.
Now, when I request the freertos.html webpage, I get the web page, but without the logo and the ftp picture.
Whireshark shows the full response for the freertos.html with an ACK after the HTTP OK. The Get /logo.jpg is still send, but the web server does not respond to it. I included the file wireshark10.txt with the wireshark info.
Next I replaced the complete networkinterface folder with the folder from the 160919_FreeRTOS_Labs version.
This time the server responds OK, I get the complete web page including the logo and FTP picture.
the WireShark info is in the file wireshark9.txt
Can anyone help me getting it running for the V10.1.1 version?
Thanks in advance,
Dik Hogendorf