Hi,
I had meant that to achieve it by describing the regions and placements in the ICF file,
Should we define a memory region corresponding to the Flash, then place the code in flash. Like,
define region Flashregn : [address range in flash]
And also define a memory region in the ITCM and DTCM of RAM, then place the code and data respectively there as well. Like,
define region itcmregn: [address range in ram itcm]
define region dtcmregn: [address range in ram dtcm]
And if we do have to do that, what sections, like readonly, ro code, ro data etc, would I place in each of these regions, so as to have the code loaded to flash, and then copied to ram for execution. Also do I use the initialize by copy to have the data copies to RAM.
I hope I was able to explain the scenario.
And thank you for the reply.