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

ARM7: Filling Internal RAM of the processor

Hi,

I wish to access & modify the contents of the internal RAM of the ARM7. How do I do that. I know that in the assembly file, there is a define statement for the starting of the RAM. But how do I access the contents (in fact the whole memory) from C code?

Thanks in advance,
avani

Parents
  • Hi Alex,

    Yaa i thought that I would have to use the assembly level instructions in order to access it. So, I had started to access RAM via LDR, STR instructions. Was a bit skeptic whether it can be done using C level, which I am more used to.

    Thanks a lot for your help,
    Avani

Reply
  • Hi Alex,

    Yaa i thought that I would have to use the assembly level instructions in order to access it. So, I had started to access RAM via LDR, STR instructions. Was a bit skeptic whether it can be done using C level, which I am more used to.

    Thanks a lot for your help,
    Avani

Children
  • Yaa i thought that I would have to use the assembly level instructions in order to access it.

    No, you don't have to. Use pointers, just as Alex said. For information on how pointers work in C, consult your favorite C textbook. Pointers are not specific to ARM, they work on all architectures.