Skip to content

SVD Register value got flipped with adjacent register. #221

Description

@arive298

I created an SVD file for the RX130 micro and I noticed that for some registers the values were flipped. For example the CMCNT register at address offset 0x2 of the cmt0 peripheral at 0x88002 was reading the value that was supposed to be for the CMCOR register at offset 0x4. Interesting enough the first register CMCR had the correct value.
image

I read out the entire peripheral at its base address with gdb and my suspicion was correct. Somehow these two register values got flipped.
image

I tried writing to each one and the value I wrote to one register was saved to the other register.
image

Also for other registers, the values did not match what was in memory either.
image

I tried to debug the extension using the VS Code extension host(Used Launch Extension Target, Debug Server Target was throwing a weird error) to find out what was going on, but I encountered too many issues I could not resolve. Is there any way you could help me with this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions