<div dir="ltr"><div><div><div><div>Thanks Sebastian.<br><br></div>The descriptors now appear to have addresses inside the RAM according to the map file<br><br> *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.bsp_nocache*)))<br> .bsp_nocache   0x0000000030000000     0x18c0 CMakeFiles/fsfw_example.dir/bsp_stm32_rtems/boardconfig/ethernetif.c.obj<br>                0x0000000030000000                DMARxDscrTab<br>                0x0000000030000060                DMATxDscrTab<br>                0x00000000300000c0                Rx_Buff<br>                0x00000000300018c0                bsp_section_nocache_end = .<br>                0x00000000000018c0                bsp_section_nocache_size = (bsp_section_nocache_end - bsp_section_nocache_begin)<br><br></div>But in the debugger, the descriptor entries are still zeroed out unfortunately..<br><br></div>Kind Regards<br></div>Robin Müller<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 28 Jan 2021 at 16:39, Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 28/01/2021 14:35, Robin Müller wrote:<br>
<br>
> So far, transferring the code has worked, but there are some specific <br>
> sections in the code used for our FreeRTOS example which put the <br>
> ethernet DMA descriptors in specific sections:<br>
><br>
> ETH_DMADescTypeDef DMARxDscrTab[ETH_RX_DESC_CNT] <br>
> __attribute__((section(".RxDecripSection"))); /* Ethernet Rx DMA <br>
> Descriptors */<br>
> ETH_DMADescTypeDef DMATxDscrTab[ETH_TX_DESC_CNT] <br>
> __attribute__((section(".TxDecripSection")));   /* Ethernet Tx DMA <br>
> Descriptors */<br>
> uint8_t Rx_Buff[ETH_RX_DESC_CNT][ETH_RX_BUFFER_SIZE] <br>
> __attribute__((section(".RxArraySection"))); /* Ethernet Receive <br>
> Buffers */<br>
<br>
The BSP has a nocache section, see<br>
<br>
bsps/arm/include/bsp/linker-symbols.h<br>
<br>
-- <br>
embedded brains GmbH<br>
Herr Sebastian HUBER<br>
Dornierstr. 4<br>
82178 Puchheim<br>
Germany<br>
email: <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
phone: +49-89-18 94 741 - 16<br>
fax:   +49-89-18 94 741 - 08<br>
<br>
Registergericht: Amtsgericht München<br>
Registernummer: HRB 157899<br>
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler<br>
Unsere Datenschutzerklärung finden Sie hier:<br>
<a href="https://embedded-brains.de/datenschutzerklaerung/" rel="noreferrer" target="_blank">https://embedded-brains.de/datenschutzerklaerung/</a><br>
<br>
</blockquote></div>