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

Flash Patching in Cortex M7

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

Parents
  • 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?

Reply
  • 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?

Children