Hello,
I am trying to understand how to implement the functionality to remap code literals from Code Flash (connected to AXI of M7) to RAM (connected to peripheral bus AHB). As I understand from ARMv7 Architecture Reference Manual, this is possible in the FPB unit (FP_REMAP) but when i look into the Cortex M7 manuals, this functionality of FPB is not implemented. Any suggestions would be helpful.
Thanks and Regards,
Sai
SaiGautamJP said:i look into the Cortex M7 manuals,
Right, CM7 does not support it, as the manual clearly state. So you cannot implement it. So what?
Yes so how and where could it be implemented? Can one implement such remappping in the microcontroller itself manually or should it be implemented outside the core and in the bus interconnect? Which RAM should be used for this purpose, is it the TCM or a system RAM on the AHB bus connected to the AHBP of the core? As I state in the question, the goal is to provide the facility to remap code flash to a RAM and if ARM doe not support it, how could it be realized otherwise?
When it is about designing a SoC based with an CM7, this is likely the wrong forum.
Anyway, if you can control the interconnect you are free to direct any address to where you want. At least those which leave the core.
Thanks for your reply. I will repost in the SoC Forum