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.
Hello,
I had a big misunderstanding.
It will behave like an instruction cache of 16KB size in the 8MB ITCM address space.
This is incorrect.
Regarding STM32F7, ITCM interface has two paths of ART accelerator and ITCM RAM
This is the cause of the misunderstanding.
Instruction codes in the flash memory are not automatically put into ITCM RAM.
If an application uses the ITCM RAM, CPU should put codes into it in advance.
This can be done only by CPU.
Also, it would be the same as other Cortex-M7 parts.
So I will close this issue.
Best regards,
Yasuhiko Koumoto.