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

Programming ARMv8 memory mapped registers

How can ARMv8 memory mapped registers ( ex : EDITCTRL ) be programmed in assembly ?

Parents
  • Hello ravinder,

    you have misunderstanding.

    The ARMv8 specs only define offset address. They don't define the base address.

    The base address is SoC specific.

    The memory mapped registers are accessible by LDR/STR instructions.

    However, to do do, it is needed the processor is in the debug mode.

    In usual case, you would not access those registers.

    Best regards,

    Yasuhiko Koumoto.

Reply
  • Hello ravinder,

    you have misunderstanding.

    The ARMv8 specs only define offset address. They don't define the base address.

    The base address is SoC specific.

    The memory mapped registers are accessible by LDR/STR instructions.

    However, to do do, it is needed the processor is in the debug mode.

    In usual case, you would not access those registers.

    Best regards,

    Yasuhiko Koumoto.

Children
  • Yasuhiko  , Martin ,

    Thanks for clearing this up for me .

    Yes I understand now that it depends upon the memory map of the SoC and  the accesses are steered to these debug registers via the SoC decoding logic / interconnect  to the  debug  port ( APB   )  of the  cluster , where it is further decoded based on the register offsets and ROM tables .

    Regards,

    -Ravinder