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

execution in ram memory

can we execute the code in ram memory in lpc915...if yes,how?

Parents
  • Do you really mean C251 - or should that be C51?

    The 8051 CPU knows nothing about "RAM" - all it knows is its CODE, XDATA, and other address spaces.

    An 8051 CPU can only execute from CODE space; if you have RAM in your CODE space, then it will execute from RAM!

    But remember that the 8051 architecture has no way to write to CODE space - so you will have to think up some "cunning trick" to get your code into that RAM...

    eg, see: www.8052.com/.../182555 (and follow the whole thread).

Reply
  • Do you really mean C251 - or should that be C51?

    The 8051 CPU knows nothing about "RAM" - all it knows is its CODE, XDATA, and other address spaces.

    An 8051 CPU can only execute from CODE space; if you have RAM in your CODE space, then it will execute from RAM!

    But remember that the 8051 architecture has no way to write to CODE space - so you will have to think up some "cunning trick" to get your code into that RAM...

    eg, see: www.8052.com/.../182555 (and follow the whole thread).

Children