2019-09-19 02:25 AM
I know how to use ccm in keil, but now i have a project used CubeIDE, i dont know How to use STM32F40X CCM SRAM in STM32CubeIDE? thank you for your answer and help?
2019-09-19 04:02 AM
STM32CubeIDE uses the GCC toolchain, so most likely you do it manually by modifying the linker file and setting correct attributes for the variables (and/or functions) which you want to end up in CCM SRAM.
Also note, there are different types of CCM SRAM, for example, you can't run code on STM32F405/7 CCM SRAM, it's not connected to I-BUS.
2019-09-19 07:34 PM
thanks for you help ,but i dont find the way to use it. do you have any link or suggestion to real use it.
2019-09-19 07:49 PM
Did you even review the App Note cited above?
Add the sections to your .LD Linker Script
Direct content with attributes.
Initialize the space in startup.s
Perhaps gain a better understanding of your compiler and linker
2019-09-22 06:35 PM
thank you for your help.