Skip to main content
EmbedGeek38
Visitor II
December 6, 2021
Question

For a project I use the STM32H753ZI Nucleo board. I want to know how to use the ITCM-RAM and DTCM-RAM in my application, for external pin interrups and function stacks? Is using a 32-bit boundery enough? Thanks in advance members!

  • December 6, 2021
  • 2 replies
  • 819 views

..

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
December 6, 2021

Use the linker script or scatter file to describe memory sections.

Use #pragma or __attribute__ directives to place code in described sections.

Fix the startup.s code to initialize the statics properly, and what every stack/heap allocation methods you're using ie _sbrk()

Keil will do this cleanly, ST's GNU/GCC, bit of a cluster. Study docs for tools you have chosen to use.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Nikita91
Lead II
December 9, 2021

For startup code in C and linker script example have a look here: