I am not an expert on linker scripts. The first_data section creates a dedicated section at the beginning of RAM for all initialized data, guaranteeing 4-byte alignment. This is useful if large contiguous block of uncached memory is required at the start of RAM for DMA. In the context of FreeRTOS-Plus-TCP, the 4-byte alignment enforced by linker scripts is primarily intended for efficient DMA access to network buffers.. From this post - FreeRTOS +TCP on SAME70 - #13 by PBot, I think this is also done to deal with the D-cache (if enabled) and maintain cache coherency. I will let the experts from the community and my colleagues/TCP developers confirm here. @htibosch @Shub @moninom1 @ActoryOu @tony-josi-aws
NikhilKamath
(Nikhil Kamath)
7
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| FreeRTOS-Plus-TCP on SAME70 and latest code | 19 | 6445 | January 23, 2025 | |
| Running FreeRTOS PLUS TCP on ST32F409 | 9 | 238 | December 26, 2024 | |
| FreeRTOS-PLUS-TCP: Ethernet installation with DHCP enable and TCP server | 39 | 896 | August 30, 2024 | |
| FreeRTOS+TCP on SAME70 with ASF4 (Atmel Start) MAC drivers | 24 | 3458 | April 25, 2020 | |
| FreeRTOS +TCP on SAME70 | 26 | 5143 | September 22, 2020 |