FSP: 4.3
OS: FreeRTOS
Module: FreeRTOS+TCP
MCU: R7FA6M2AD3CFB
IDE: VS Code
I have set up UDP comms and this works on its own. I can send and receive messages that are smaller than ~1.5kB. However, larger messages do not trigger FreeRTOS_recvfrom, or the lower layers as far as I've been able to dig. I've tried upping the size of g_ether0_ether_buffer0-7 and increasing ether_buffer_size to match but that doesn't seem to help. I also tried increasing ipconfigUDP_MAX_RX_PACKETS incase the packet was being split somewhere, this doesn't help either. Please help in increasing the max receivable message size.
So I've done some testing and the max incoming message side on UDP seems to be 1472. Which is suspiciously equal to ipMAX_UDP_PAYLOAD_LENGTH, but this seems to only be used in the FreeRTOS_sendto function…
Hello,
Thanks for reaching our Renesas Engineering Community!
Could you please send us more details about the configurations you made in your project? Also have you tried to increase the size of RX buffer for TCP sockets in properties of FreeRTOS+TCP stack?
Thank you!
Best Regards,
IK
Hi,
I'm not sure which configurations are required but these are some below, also yes I have tried increasing those buffer sizes to 5200 with no success. According to packet sender, the size of the message being set is ~4.5k. I also have MQTT set up, not sure if that is relevant. Please let me know what additional info is required.
Hello again,
Yes I can see. Please could you send me the hole configuration.xml file of your project? You also mentioned something about setting MQTT what settings have you done?
8508.configuration.xml
Please find the config attached. Hopefully this covers what you want to know about the mqtt, please let me know if there's something else I can provide on this. Also note that I am compiling via a vscode project, though the initial setup/generation was done on e2studio, also note that the vscode project was updated to use FSP 4.3