This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Placing executable code in ITCM

Hi Guys,

I'm using the STM32H725 micro, which has 64 kbytes of ITCM at location 0x00000000. I have an interrupt rutine, which needs to execute fast and I would like to place it into that ITCM. From an ST application note I saw that the correct way of doing that is to create a new region in the scatter file and then use the __attribute__ before each function, which is to be placed there.

That seems reasonable, but what I did not get from the app note, or from the Keil's linker documentation is, who copies the code from flash to the ITCM after boot? Do I need to do that manually, or does the compiler generate that piece of code for me?

Thanks for any info on this topic,

Regards,

Jure

Parents Reply Children
No data