[SOLVED]Reading memory with J-Link Commander and MMU

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • [SOLVED]Reading memory with J-Link Commander and MMU

    Hi!

    I use a ARM7TDMI core:

    Simple question : in J-Link Commander, if I execute a mem32 command to read memory when the MMU is activated, does the mem32 command will return the content of the physical memory location or the virtual memory location as converted by the MMU?

    In other word, does J-Link commander ignore the MMU state to read memory?

    Also, but I understand that this may not be the good forum to ask this question, does gdb (I'm using gnu gdb to debug) ignore the MMU when reading memory?

    Thanks in advance!
  • Hi,

    GDB just requests memory from the GDB stub (J-Link GDBServer).
    J-Link GDBServer uses the J-Link to access the target.

    For ARM7/9 J-Link will "see" the same memory the CPU sees since the memory is read via the CPU.
    So the MMU is taken into consideration when reading / writing memory.


    Best regards
    Alex
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.