-
Notifications
You must be signed in to change notification settings - Fork 3k
Open
Description
Description of defect
TCP connections to the microcontroller cannot be established, seemingly because RX packets are never written to DMA/DMA ownership never given to application.
In core STM32Cube drivers, was a complete rework of ethernet drivers( v1.10.0 STMicroelectronics/STM32CubeH7@c94252d ), that when building off of one of the example projects from cube repo post this rework, TCP connections can be established to the microcontroller.
Most straightforward solution appears to be to uprev the cube driver version for the H7 familiy
Target(s) affected by this defect ?
STM32H745, presumably affects all H7 family chips
Toolchain(s) (name and version) displaying this defect ?
arm-gcc
What version of Mbed-os are you using (tag or sha) ?
6.17
What version(s) of tools are you using. List all that apply (E.g. mbed-cli)
mbed-cli
How is this defect reproduced ?
Attempt to connect via TCP socket to the chip.
Metadata
Metadata
Assignees
Type
Projects
Milestone
Relationships
Development
Select code repository
Activity
mbedmain commentedon May 31, 2023
@jtmyz9 thank you for raising this issue.Please take a look at the following comments:
It would help if you could also specify the versions of any tools you are using?
NOTE: If there are fields which are not applicable then please just add 'n/a' or 'None'. This indicates to us that at least all the fields have been considered.
Please update the issue header with the missing information.
0xc0170 commentedon Jun 1, 2023
cc @ARMmbed/team-st-mcd
multiplemonomials commentedon Oct 8, 2023
Funny, I recently ran the TCP test suite on my STM32H743 board and it was able to pass just fine. STM32F7, though, appears to currently have broken networking. This was on my mbed-ce fork though so not sure if anything's different there...
jtmyz9 commentedon Oct 8, 2023
As an extra data point, this did also work just fine on a STM32H743 for me.
The issue appears to be (mostly) with the MPU config on the STM32H745(and any other of the dual core H7 family), where after making some local modifications to
\connectivity\drivers\emac\TARGET_STM\stm32xx_emac.cpp
for the mpu config to match what it is in some of the H745 examples from stm_cubemultiplemonomials commentedon Apr 20, 2025
This issue should now be fixed in Mbed CE, we rewrote the Ethernet drivers for STM32 from the ground up: mbed-ce#438 . If you still have any Ethernet issues using master branch of Mbed CE, let me know and I will see what we can do!