cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F303VCT6 running ISR from ccmram

eirik
Associate II
Posted on June 18, 2015 at 22:06

Hi, I have been trying to run critical interrupt routines from ccmram with gcc toolchain following the instructions in 

http://www.st.com/web/en/resource/technical/document/application_note/DM00083249.pdf

I think I have got the instructions correct, but fail to link the project. Linker emits the following message:

 section .ccmram loaded at [00000000080017a0,000000000800189f] overlaps section .data loaded at [00000000080017a0,0000000008001c17]

#stm32-ccmram
4 REPLIES 4
Posted on June 18, 2015 at 22:13

Sounds like an issue with the linker script then... might want to review that.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
eirik
Associate II
Posted on June 18, 2015 at 22:16

eirik
Associate II
Posted on June 18, 2015 at 22:18

The original post was too long to process during our migration. Please click on the provided URL to read the original post. https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I6ha&d=%2Fa%2F0X0000000btY%2F.PFMvejScG9jm6Xm6hkDKJy9fcCaoOScw0YqizyXG2c&asPdf=false
Posted on June 18, 2015 at 22:56

Pity there isn't a .ZIP of the files from the App Note provided by ST

They probably changed the .data section

/* Initialized data sections goes into RAM, load LMA copy after code */
.data :
{
. = ALIGN(4);
_sdata = .; /* create a global symbol at data start */
*(.data) /* .data sections */
*(.data*) /* .data* sections */
. = ALIGN(4);
_edata = .; /* define a global symbol at data end */
} >RAM AT> FLASH

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..