Skip to content

Ethernet: STM32 EMAC driver may return wrong frame length under heavy load #12459

Closed
@artokin

Description

@artokin

Description of defect

STM32 EMAC driver may return wrong frame length under heavy load

Target(s) affected by this defect ?

Detected only in DISCO_F769N

Toolchain(s) (name and version) displaying this defect ?

GCC_ARM

What version of Mbed-os are you using (tag or sha) ?

mbed-os-5.15.0

What version(s) of tools are you using. List all that apply (E.g. mbed-cli)

How is this defect reproduced ?

  • Use DISCO_F769N as a Wi-SUN border router connected to the Internet via Ethernet connection.
  • Have multiple Wi-SUN routers attached to the same Wi-SUN network and download a lot of content in each node.
  • Downloading continues until the Border router gets jammed because of error detection code in Nanostack. In the logs there is a trace "Buffer length overflow".
  • When "Buffer length overflow" happens, we see in our tests that Nanostack receives a 65518 bytes long Ethernet frame from the STM EMAC driver.

Please note! At the moment Nanostack is not able to recover from such a long frame but it will be fixed in a separate ticket.

cc: @mikaleppanen , @teetak01 , @mikter

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions