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

How to put codes into ITCM?

Hello experts,


I have a question how to put instruction codes into ITCM?
I have only one experience of ITCM by STM32F7 based on Cortex-M7.
In the STM32F7 case, there is no path to write codes into ITCM from CPU.
Codes in the flash memory seem to be put automatically into ITCM.
It will behave like an instruction cache of 16KB size in the 8MB ITCM address space.
Is it a usual scheme?
I am especially interested in the Atmel parts of Cortex-M7.
In the case, TCM is configured as a part of an internal SRAM.
And I think codes should be put into ITCM by CPU (i.e. by software moving) before enabling the ITCM.
Is it true?

Best regards,
Yasuhiko Koumoto.