STM32H7 single core, which RAM is good for code?
Dear experts,
A customer asks me to copy application from flash to RAM and run in RAM.
Not sure if this is justified. If I remember correctly it is not so much on 'F4, but maybe on H7 RAM performs much better? Anyway they pay for this so...
I've created a project in latest Atollic and selected Target settings-> Code location = RAM.
It generates linker script where both code and data goes to DTCRAM at 0x20000000.
From description of the memory layout in the H7 RM DTCM RAM area is not suitable for code:
"The DTCM-RAM can be used as read-write segment to host critical real-time data (such as
stack and heap) for application running on Cortex®-M7 CPU".
But it seems to work, with cache disabled.
I tried to change the link script: ITCM RAM for code and DTCM for data. This of course works.
So, is DTCRAM good for code or it works by coincidence and not supported officially?
Where I can find better explanation of the RAM parts of H753/743?
Thanks,
-- Pavel A.
