I'm not able to figure out how I can set up a UDP broadcast message receiver and whatever I try just isn't working. I have an embedded web server running on the same device which I can load without issue - obviously this is TCP/IP however the address configuration is absolutely correct so I know that FNET is correctly configured. this->fnetAddress.sin_family = AF_INET; this->fnetAddress.sin_port = port; /* 52100 */ this->fnetAddress.sin_addr.s_addr = INADDR_BROADCAST; /* 255.255.255.255 */ // Create...
Aha, I think that was the issue - the stack size was set to 0x2000 in my project. Having just increased that to 0x4000, everything seems to be working!!
Hi Andrey, What stack size did you specify when testing the file system image I sent previously? I disabled IPV6 and mDNS, after which the web page loaded up completely within 1 second - but it only fully loaded twice before failing again. I'm wondering whether it is a heap allocation issue maybe? Kind regards, Kevin
Also, I will dig out my tower stack to try and reproduce it on there.
Hi Andrey, Thanks for taking the time to test the website. I guess then it is either an FNET configuration issue (to match my hardware) or a hardware issue itself. I shall try and explain a bit about both to see if anything obvious springs up: In order for FNET to work on our K66 setup, I have had to make a couple of changes in the fnet_mk_eth.c file, changing the following starting at line 98: /* Enable clock */ FNET_MK_SIM_SCGC5 |= FNET_MK_SIM_SCGC5_PORTE_MASK | FNET_MK_SIM_SCGC5_PORTA_MASK | FNET_MK_SIM_SCGC5_PORTB_MASK;...
Here's the download link: https://blueprintsubsea-my.sharepoint.com/:u:/p/k_webster/EdEiH7VJuwNEs0t0OnI1Up4Bcw5xiLbvVLvtJUvSTo3fMQ?e=MIZa5l
Here's the download link: https://blueprintsubsea-my.sharepoint.com/:u:/p/k_webster/EdEiH7VJuwNEs0t0OnI1Up4Bcw5xiLbvVLvtJUvSTo3fMQ?e=MIZa5l