Skip to main content
DWeb_2
Associate III
May 5, 2021
Question

Code generation and ETH descriptor count

  • May 5, 2021
  • 2 replies
  • 1638 views

Hi everyone,

when using the CubeIDE 1.5.0 I encountered unexpected behaviour. I set up the Ethernet peripheral of the STM32H7 in a way that I have 14 Rx and 14 Tx ETH descriptors:

0693W00000ANNiMQAX.pngHowever, after generation the code only specifies 4 descriptors each:

0693W00000ANNjyQAH.pngAt first, I suspected that these Macros might be overwritten somewhere else in the source code. But the compiled and linked program shows, that my CubeIDE settings were not correctly translated into the binary. Each DESC structure is 24 Bytes in size, so 24B*14=336B should be used in RAM. That's not the case:

0693W00000ANNlpQAH.pngManually overwriting the above shown macros in "stm32h7xx_hal_conf.h" gets the correct amount of bytes.

Are there other settings that I have to take care of or might this be a bug in the generation tool?

Thanks for your help

This topic has been closed for replies.

2 replies

DWeb_2
DWeb_2Author
Associate III
May 10, 2021

Does no one have a clue?

Mouadh JERIDI
Visitor II
May 19, 2021

Hello @DWeb_2​ 

I confirm this bug from my side,

I have just reported it and it will be fixed as soon as possible.

Thank you for your constructive contribution.

Best regards,

Mouadh.