2026-02-10 11:01 AM
I have an XCore407I board with an Ethernet port installed. I'm trying to create a simple UDP server in Stm32CubeIDE. Compilation and uploading to the board is OK. But the board doesn't respond to ping and isn't visible in the router's device list.
Here are my settings in IDE.
Here is the main code.
int main(void)
{
HAL_Init();
SystemClock_Config();
/* Initialize all configured peripherals */
MX_GPIO_Init();
MX_LWIP_Init();
// Udp init function
udpServer_init();
while (1)
{
MX_LWIP_Process();
}
}Unfortunately, I can't attach the entire project here. But I can add code from other modules upon request.
Can you tell me how to set this up correctly so it works? Thank you.
Solved! Go to Solution.
2026-02-11 1:42 AM
@KeshaV wrote:Sources on vendor's site is outdated
That's something you need to take up with Waveshare - it's nothing to do with ST.
Otherwise, you'll just have to do it from first principles - as if it were a custom board of your own design.
If you want a ready-to-go solution from ST, try a Discovery or Nucleo board...
2026-02-10 12:07 PM
@KeshaV wrote:I have an XCore407I board .
You mean this: https://www.waveshare.com/wiki/XCore407I
It's not an ST board, so your primary source for support should be Waveshare:
https://www.waveshare.com/wiki/XCore407I#Support
https://service.waveshare.com/
Using the ITM console for printf redirects and LWIP debug messages
@KeshaV wrote:Unfortunately, I can't attach the entire project here. .
Why not?
2026-02-10 12:37 PM
2026-02-10 3:13 PM
The web page for that board contains some downloads related to ethernet, for one - "stm32f4 IAP ETH".
It is a source project for a ST STM32F4 board with DP83848 PHY. Does the board actually have the DP83848?
Try to use these sources, as the board vendor recommends them.
2026-02-11 1:27 AM
Board have DP83848. See photo:
Sources on vendor's site is outdated and not for Stm32CubeIde. I can't compile them.
2026-02-11 1:42 AM
@KeshaV wrote:Sources on vendor's site is outdated
That's something you need to take up with Waveshare - it's nothing to do with ST.
Otherwise, you'll just have to do it from first principles - as if it were a custom board of your own design.
If you want a ready-to-go solution from ST, try a Discovery or Nucleo board...
2026-02-11 3:41 AM
Ok. Thank you.
2026-02-11 8:02 AM
Here you can find help to adapt these sources and other available examples to CubeIDE.