2025-09-24 12:59 AM
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?
2025-09-30 1:59 AM
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.