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
  • That depends on what processor you have.

    But most the ARM chips discussed on this forum has a way to remap the interrupt vectors into RAM.

    Much have already been discussed about this, if you use the search function.

    Many of the supported processors have Keil examples where one of the targets is running from RAM, to reduce flash wear when testing.

Reply
  • That depends on what processor you have.

    But most the ARM chips discussed on this forum has a way to remap the interrupt vectors into RAM.

    Much have already been discussed about this, if you use the search function.

    Many of the supported processors have Keil examples where one of the targets is running from RAM, to reduce flash wear when testing.

Children