STM32 ETHERNET #1. Hardware Configuration || PART 1

preview_player
Показать описание
________________________________________________________________________________________

________________________________________________________________________________________

******* SUPPORT US BY DONATING******

*******Join the Membership*******

Рекомендации по теме
Комментарии
Автор


2.) Don't misunderstand the logic. You don't necessarily need to do this. Memory configuration in only required in M7 processors.
Also if the cubeMX don't let you configure the memory, then you are good to go with the default setup itself. This is why I said "Watch both parts of the configuration". I can't make separate videos for all processors.

ControllersTech
Автор

Would be interesting to see Ethernet using external ICs, like W5500 and etc. Thank you for your work!

bogdan
Автор

Hi, thanks for the informative video. I struggled with the NUCLEO-H753ZI board to get it to work. But when I put in a large delay after HAL_init() it worked. I had to put 3 secounds. (I used DHCP by the way) It took me a long time to figure this out. Because it worked only during Debug mode (Using the onboad SWD), and not in free run. So as soon as I restarted the controller it did not work. I was sure it had something to do with the cloks or the memory. The only thing was that the LAN8742 need time to initialize. So I just put HAL_Dealy(3000); after the hal init. And it worked! So I hope this can help others struggling with the same.

yvindSalvesen
Автор

Now I finnally know why I was not able to run ethernet on CM7 core.. Because I did not configure memory.. But on CM4 it worked fine for some tcp echo tests. Now I can do it in correct way.
Nice job, looking forward for the next ones! Hope that you will also demonstrate simple tcp/udp echo with freeRtos

MrHause
Автор

This is awesome!!! Finally some good ethernet sources!!!

dymastro
Автор

Hello, sir I have the stm32f446 Nucleo board and STM32F103BluePill Board, , Both the boards do not support the inbuilt Ethernet feature. Instead, there is an alternate option of using an ENC28J60 or W5500 ethernet module interfacing with SPI communication. Can you make a video series for ethernet using the SPI Module so that it will be useful for LowerEnd MicroControllers?

ferdinvivian
Автор

5:38 - What about that warning saying "The ETH can work only when RAM is pointing at 0x2400..."?

eduardojreis
Автор

I am using a W5500 with the STM32 through SPI. Want to use the Ethernet controller in the STM. So very exciting

fillempie
Автор

Thank you !!
I am waiting for a MODBUS TCP communication video in this case, I hope that ..

tahaaboud-xx
Автор

Thanks so much, you are really professional. Thanks also for your Accent. You speak so clear. Thanks again.

arashhashemi
Автор

Im using stm32H747I Discovery board and i used RMII connection and configured memory mapping just like you and I did all the configurations as explained in the video . The only difference is that even with RMII connection the cube MX let me configure the memory but i get no response when i do the ping test . Im using the stm32cubeide V 1.9.0

IMENSOUHAYEL
Автор

with the new version of LWIP, the RxArray buffer doesn't exist into the ethernetif.c file, the procedure to add the "external" gnetif fails due to missing elsewhere.

CallistoPili
Автор

6:14 - Is the main code really organized in the AXI SRAM? In another video AXI SRAM is referred as the main RAM. Also, in my reference manual, RM0468, there is an entire region named CODE.

eduardojreis
Автор

How will we know the value of each dma descriptor . Is it like the size of a structure in the HAL library?

akashv
Автор

Thank you very much, amazing information, can you help me with something, I have a board where I used other PHY driver, in my case I am using DP83620 for optic fiber instead LAN8742, do you know how to install this driver or change the dPHY driver?, I am using RMII connection

Thank you very much

fabiancastano
Автор

thanks for your video, did you check the maximum speed?? I tried but speed very low

TRANHOANG-cypp
Автор

Hello can you say that which ethernet cable do you use ? where can i buy it ?

alisahin
Автор

Hi I like your video very much, just wonder if the above works on STM32H7A3 or STM32H743 ?

woldecosgrove
Автор

Hi Sir,
I have done all the configuration as per your video and I'm using stm32h745-DISCO board. But the ping on the IP is showing "host unreachable" . On debug, I was able to find out that within the LwIP_Init() function, within netif_add(); function I'm falling into error;
LWIP_ERROR("netif_add: invalid netif", netif != NULL, return NULL);.

When configuring from cube-MX, I could all see one difference between your configuration and mine, there is no "Rx_Buffers_Address" in my set-up.

Can you suggest on where I've gone wrong?
Note: - I'm using cat-5e ethernet cable that I've verified working in my PC.

arunc
Автор

10:58 The default LWIP_RAM_HEAD_POINTER is 0x30044000. I am using a H723ZG, for which the reference manual says that memory address is under a reserved section of the SRAM. What is the point of the IDE putting addresses as default that can not be used? Does anyone knows that?

eduardojreis