Information about evaluating Ethernet using the STM32Cube initialization code generator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-26 5:52 PM
Hello,​
I use STM32H735DK.
And I'm creating an Ethernet project using STM32CubeMX
​
However, the following sample software did not have an .ioc file
--
STM32Cube_FW_H7_V1.9.1\Projects\STM32H735G-DK\Applications\LwIP\LwIP_UDP_Echo_Server
--
​
I created a new project and generated an .ioc file using STMCubeMX.
However, Ethernet did not work in the project.
​
LinkerScript.ld is the same as H7_V1.9.1 and
I checked for differences with the sample software.
​
There was a difference
Added the following code, as a result Ethernet worked
--
__HAL_RCC_D2SRAM1_CLK_ENABLE();
--
​
Where can I find this setting in STMCubeMX?
​
Best regards
​
​
Solved! Go to Solution.
- Labels:
-
Ethernet
-
STM32CubeMX
-
STM32H7 series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-27 6:51 AM
Hi @forst​ ,
How do I create a project for STM32H7 with Ethernet and LwIP stack working?
May be this is what you need to start with.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-26 6:03 PM
There is no such setting in CubeMX. This is in template database used to generate initialization code.
IMHO enabling the appropriate D2SRAM should better be done where the memory area for Ethernet is selected: close to the MPU area initialization or close to ETH initialization where it assigns memory for DMA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-26 6:20 PM
Hello,​
What is template database?
After I have generated the code in CubeMX,
Do I have to manually add it to my code?
Is there a standard project for Ethernet using CubeMX?
regardst regards​
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-01-27 6:51 AM
Hi @forst​ ,
How do I create a project for STM32H7 with Ethernet and LwIP stack working?
May be this is what you need to start with.
-Amel
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-02-01 5:56 AM
@forst​ The template database is (on Windows) %USERPROFILE%\.stm32cubemx\databases\DB.6.0.21\db\templates
