cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G474 On-the-Fly Flash Update: Handling ramfunc and CCMRAM Functions

Leo_Yang_1985
Associate

Currently, on the STM32G474, I am able to perform on-the-fly flash operations and interrupt vector relocation using BF_MODE and VTOR.

However, I have encountered an issue: when a function is placed in RAM using the ramfunc attribute or located in CCMRAM, how can I still achieve on-the-fly operation?

1 REPLY 1
Imen.D
ST Employee

Hello @Leo_Yang_1985 ,

Yo may find recommendations in this application note AN4296 to optimize performance when using CCMRAM for code execution. Make sure that the code execution is not affected by cache behavior as described in the errata-sheet.

 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen