Topic : using CCM (CoreCoupled Memory) of STM32F429

Forum : ARM

Original Post
Post Information Post
May 26, 2015 - 4:43pm
Guest account

Compiling STM32F429 the default linker script (no starter kit limitation) includes STM32F429_2048K_192K_DEF.ld script, where you can find only
RAM (xrw)       : ORIGIN = 0x20000000, LENGTH = 0x30000
FLASH (rx)      : ORIGIN = 0x08000000, LENGTH = 0x200000
CCM at adress 0x1000 0000 is missing (Okay, I see the filename is 192K, not 256K:))

I need whole 192kB (0x2000 0000 - 0x2002 FFFF) for framebuffer to be reached by LTDC. I place all the rest (variables, stack etc.) into CCM. I plan to make a new linker script for that like

MEMORY { //add CCM to memory spaces.
  CCM(xrw)       : ORIGIN = 0x10000000, LENGTH = 0x10000
}
.bss : //and lots of other sections go to CCM instead of RAM
    {
    } >CCM

I know that CCM is reachable only by core. Doesn't it cause any trouble?

Replies
Post Information Post
+1
0
-1
May 26, 2015 - 4:43pm
Etienne Cassin

Hello,

The linker script syntax seems good and it shouldn't cause any trouble.

In order to have more information about CCM usage and limitations (DMA...), I suggest you to ask directly ST Microelectronics.

Best regards,