Skip to main content
Joerg Wagner
Senior III
October 4, 2017
Solved

[Solved] Linker script: block RAM for variables

  • October 4, 2017
  • 5 replies
  • 1523 views
Posted on October 04, 2017 at 20:09

How do I have to configure the linker script file to block the required space

for Ethernet buffers at 0x24000000?

STM32H743 starts with DTCM at 0x20000000, but Ethernet works in 0x24000000 only.

I want to use the RAM space around for my purpose without losing so much.

In ethernetif.c the buffers are marked with .RxDecripSection, .TxDecripSection, .RxArraySection.

I'm not a linker file specialist to make the right definitions.

Thank you for your help.

    This topic has been closed for replies.
    Best answer by Joerg Wagner
    Posted on February 07, 2018 at 23:44

    Solved with HAL 1.2.0

    5 replies

    Joerg Wagner
    Senior III
    October 6, 2017
    Posted on October 06, 2017 at 11:16

    I modified the linker script file for myself to place ETH descriptors and RX buffer in one SRAM block. It's so much fun so I did it for the UART buffer as well in another SRAM section for DMA transfer. 

    Nesrine M_O
    Associate
    October 6, 2017

    Posted on October 06, 2017 at 11:22

    Hi

    Wagner.Joerg

    ,

    0690X00000608VuQAI.pnghttps://community.st.com/0D50X00009bMM5DSAW

    -Nesrine-

    Joerg Wagner
    Joerg WagnerAuthorBest answer
    Senior III
    February 7, 2018
    Posted on February 07, 2018 at 23:44

    Solved with HAL 1.2.0