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

Try to run all code from RAM memory

Hi.

I have a problem, I want to run all my code from RAM memory.
I try to do it with a scatter file.
But after alot of experiments, I think it's cannot be done, because the interrupts vector has to be in the flash. And it's mean that in any interrupt I will 'go' to flash in an interrupt.

So there is another way to run all my code from the RAM?
If not how the scatter file should be looked like?

Thnks.

Parents
  • Have you still not read the datasheet information about remapping the interrupt vector table to RAM?

    Remapping of the interrupt vector table means that a part of the RAM is mapped on top of the flash, so the ARM core thinks that it reads interrupt vectors from flash, when in reality the vectors are stored in RAM, allowing you to modify them on-the-fly.

Reply
  • Have you still not read the datasheet information about remapping the interrupt vector table to RAM?

    Remapping of the interrupt vector table means that a part of the RAM is mapped on top of the flash, so the ARM core thinks that it reads interrupt vectors from flash, when in reality the vectors are stored in RAM, allowing you to modify them on-the-fly.

Children