Using LwIP on the STM32H7

Robin Müller robin.mueller.m at gmail.com
Thu Jan 28 15:45:28 UTC 2021


Thanks Sebastian.

The descriptors now appear to have addresses inside the RAM according to
the map file

 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.bsp_nocache*)))
 .bsp_nocache   0x0000000030000000     0x18c0
CMakeFiles/fsfw_example.dir/bsp_stm32_rtems/boardconfig/ethernetif.c.obj
                0x0000000030000000                DMARxDscrTab
                0x0000000030000060                DMATxDscrTab
                0x00000000300000c0                Rx_Buff
                0x00000000300018c0                bsp_section_nocache_end =
.
                0x00000000000018c0                bsp_section_nocache_size
= (bsp_section_nocache_end - bsp_section_nocache_begin)

But in the debugger, the descriptor entries are still zeroed out
unfortunately..

Kind Regards
Robin Müller

On Thu, 28 Jan 2021 at 16:39, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 28/01/2021 14:35, Robin Müller wrote:
>
> > So far, transferring the code has worked, but there are some specific
> > sections in the code used for our FreeRTOS example which put the
> > ethernet DMA descriptors in specific sections:
> >
> > ETH_DMADescTypeDef DMARxDscrTab[ETH_RX_DESC_CNT]
> > __attribute__((section(".RxDecripSection"))); /* Ethernet Rx DMA
> > Descriptors */
> > ETH_DMADescTypeDef DMATxDscrTab[ETH_TX_DESC_CNT]
> > __attribute__((section(".TxDecripSection")));   /* Ethernet Tx DMA
> > Descriptors */
> > uint8_t Rx_Buff[ETH_RX_DESC_CNT][ETH_RX_BUFFER_SIZE]
> > __attribute__((section(".RxArraySection"))); /* Ethernet Receive
> > Buffers */
>
> The BSP has a nocache section, see
>
> bsps/arm/include/bsp/linker-symbols.h
>
> --
> embedded brains GmbH
> Herr Sebastian HUBER
> Dornierstr. 4
> 82178 Puchheim
> Germany
> email: sebastian.huber at embedded-brains.de
> phone: +49-89-18 94 741 - 16
> fax:   +49-89-18 94 741 - 08
>
> Registergericht: Amtsgericht München
> Registernummer: HRB 157899
> Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
> Unsere Datenschutzerklärung finden Sie hier:
> https://embedded-brains.de/datenschutzerklaerung/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20210128/449479ee/attachment.html>


More information about the users mailing list