2024-06-24 05:43 PM
I'm trying to get Ethernet working with STM32F765VIH MCU and developing using Keil MicroVision and CubeMX 6.11.1
When setting up CubeMX I'm seeing warning message that RAM needs to point to 0x24000000 for ethernet to work.
I don't see an option for setting ETH RX Buffer Address like in previous versions of CubeMX. Has this been renamed or moved somewhere else.
Solved! Go to Solution.
2024-11-27 02:43 AM
Issue of RAM (the warning message related to 0x24000000 address) is fixed in v6.13.0.
2024-06-25 02:22 AM - edited 2024-06-25 02:52 AM
Hello @lb2 and welcome to the community.
There is no RAM location at address 0x24000000 for STM32F7. I think you're using a project from STM32H7 (AXI-SRAM located at 0x24000000).
STM32F76xx (from AN4667) :
STM32H74x/STM32H75x (from AN4891) :
2024-06-25 04:21 PM - edited 2024-06-25 04:22 PM
It is a STM32F765VIH6 device on the board and I started this project from scratch. What I'm seeing is a warning.
Do I need to set something else for this warning to go away or should be ignored. PHY drivers have been selected in LwIP.
2024-06-26 12:09 AM
Try to ignore it.
Could you please attach your ioc file?
2024-06-27 11:40 AM
I have ignored it and generated the code. When I try to ping the IP address assigned to STM32 and step thru the code, in ethernetif_input() *p is always null.
2024-06-27 11:41 AM
2024-06-28 06:18 AM
Hello and thank you for the sharing.
To me the warning message is wrong as there is no RAM at the address 0x24000000 for F7 products (internal Ticket 185332)
Doing a search inn all the generated projet I didn't find any address pointing to 0x24xx xxxx. So, I think the warning is just a message.
Regarding "ethernetif_input() *p is always null." hope my colleague @STea can help you.
2024-06-28 08:53 AM
Hello @lb2 ,
Can you please send your schematics to make sure that you are assigning the right pins as configured in MX.
could you please get the status of PHY after init and check the status of DMAs as well.
As a suggestion you can try to have the same Ethernetif.c file found in STM32CubeF7/Projects/STM32F767ZI-Nucleo/Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS at master · STMicroelectronics/STM32CubeF7 (github.com).and adapt your pinout configuration to eliminate any software component related issue and start the elimination process form there.
Regards
2024-07-15 10:42 AM - edited 2024-07-15 06:22 PM
Hello @STea
Did not get a chance to work on this for last couple of week and starting again today.
I cannot send schematics. I have wired up Ethernet in STM in RMII mode to the PHY. I know PHY is working because I have another device wired to it and I can communicate with it at 100Mbps mode. Other device is wired to PHY in MII mode but that should not matter.
I'm going to follow your link and see if I make any progress.
Thanks.
2024-07-15 01:15 PM
Is there another example without the OS that I can reference.