NUCLEO-H743ZI. DTCMRAM overflow.
How can I locate array in SRAM instead of DTCM RAM(128kB)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-28 10:43 AM
How can I locate array in SRAM instead of DTCM RAM(128kB)?
uint16_t array[320*240] is overflowed in H743ZI.
Sytem workbench says <DTCMRAM overflowed by 25760 bytes>.
I don't have any trouble with F429ZI.
Solved! Go to Solution.
- Labels:
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-28 11:16 AM
Describe section naming in your linker script and use the attribute directive to drive placement into the appropriate section.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-28 11:16 AM
Describe section naming in your linker script and use the attribute directive to drive placement into the appropriate section.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-28 12:05 PM
Thank you for your comment. I am a newbie diving into H7.
Would you give me an example to AXI SRAM or any other section?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-28 1:13 PM
I'm not a day-to-day user if GNU/GCC, I'll look at what I have pre-built later
The compiler side needs to looks something like this
char buf[256] __attribute__ ((section(".d2sram")));
And on the linker script side
.d2sram :
{
. = ALIGN(4);
*(.d2sram) /* .d2sram sections */
*(.d2sram*) /* .d2sram* sections */
} >RAM_D2 AT> FLASH
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-02-28 7:58 PM
Thank you very much. I will try as you taught me.
