Re: STM32F4 Ethernet Issues

2022-07-26 Thread Sebastien Lorquet
Hi, good find but -I dont think any usual application tinkers with PHY regs during its lifetime except the ethernet monitor -the fix is certainly a lock somewhere but global or fine grained I dont know. Not all calls need to be locked, eg the one that returns the PHY address. Probaby not

Re: STM32F4 Ethernet Issues

2022-07-26 Thread Fotis Panagiotopoulos
Hello, I have eventually found 2 issues regarding networking in my application. I would like to discuss the first one. My code contains something like this: int sd = socket(AF_INET, SOCK_DGRAM, 0); struct ifreq ifr; memset(&ifr, 0, sizeof(struct ifreq)); strncpy(ifr.ifr_name, CONFIG_NETIF_DEV_