AnsweredAssumed Answered

STM32H7x3 - Ethernet Desc Allocation in D2 SRAM 

Question asked by Manish Sharma on Apr 17, 2018
Latest reply on Apr 17, 2018 by Manish Sharma

Hi All,

 

I am working on Ethernet in STM32H7 and I am unable to understand two things :

 

1) What is the need to avoid memory allocation of ETH_Tx and ETH_Rx Desc  in D1 SRAM ?

 

I have seen an example in "STM32Cube/Repository/STM32Cube_FW_H7_V1.2.0/ Projects/STM32H743I_EVAL/Applications/LwIP/LwIP_TFTP_Server" where they have allocated memory of ETH_TX and ETH_RX Desc in D2 SRAM3 (Address: 0x30040000) so why cannot i choose

 

* D2 SRAM1( Address: 0x3000000) or

* D2 SRAM2 ( Address: 0x30020000) or

* D3 SRAM ( Address: 0x3800000) ?

 

2 ) Also, I have seen in the repository example that they have used MPU_Config() but its not too much clear as i have seen a related doc which is again quite hard to understand so kindly put  "enough" light so that we can understand the significance and use case of it in this example.

 

Sincerely,

Manish

Outcomes