STM32: Ethernet Driver not working on F7 and H7 with 2.4.0 #stm32 #driver #ethernet #networking
andreas.eberhart@...
Dear all,
We try to run the net/sockets/packet sample on both, the Nucleo F746ZG and the H747I Discovery Board an run into the following issue with version 2.4.0 (works fine with 2.3.0 on F7): Has anyone encountered this behavior with the Ethernet driver on the STM32? It seems like the ethernet driver (eth_stm_32_hal.c) is not able to pass on the received packets to the buffer using net_pkt_rx_alloc_with_buffer(). Regards, Andreas
|
|
Dejavu, I think I have seen this question before. I don’t have a H7 or F7, but I remember a similar question was posted in April. Here is what it said, unfortunately there was no follow up to say if this helped or not.:
Hi Erik,
you are running out of RX network buffers. Try to increase the value of CONFIG_NET_BUF_RX_COUNT and optionally CONFIG_NET_PKT_RX_COUNT options.
Cheers, Jukka
On Sun, 2020-04-19 at 23:58 -0700,
erik.samyn@... wrote:
> Hi, > > I'm implementing mqtt on an nucleo stm32 board (stm32f767zi). The > communication from the broker seemed to work OK at first, however when > stressing the communication a bit the next error appears multiple > times in the log: > ==> "<err> eth_stm32_hal: Failed to obtain RX buffer". > > What can be the cause of this? > > Kind regards > > Erik Samyn >
Lawrence King Principal Developer +1(416)627-7302
From: users@... <users@...>
On Behalf Of andreas.eberhart@...
Dear all,
Has anyone encountered this behavior with the Ethernet driver on the STM32? It seems like the ethernet driver (eth_stm_32_hal.c) is not able to pass on the received packets to the buffer using net_pkt_rx_alloc_with_buffer().
|
|
David Leach
Andreas,
Can you bisect this to narrow down where things stopped working for you?
David
From: users@... <users@...>
On Behalf Of andreas.eberhart via lists.zephyrproject.org
Sent: Friday, October 2, 2020 2:12 AM To: users@... Subject: [Zephyr-users] STM32: Ethernet Driver not working on F7 and H7 with 2.4.0 #driver #ethernet #stm32 #networking
Dear all,
Has anyone encountered this behavior with the Ethernet driver on the STM32? It seems like the ethernet driver (eth_stm_32_hal.c) is not able to pass on the received packets to the buffer using net_pkt_rx_alloc_with_buffer().
|
|