Look up a definition
Field details include bit positions, field access, and named values when the definitions provide them. If a name is close but not exact, Embedder suggests the nearest match. Check the suggested register against the exact target before you read hardware.
When the project has several devices or cores, results are labeled with the device name. Name the one you mean.
Read the live state
- Look up the register’s device, address, width, and access rules.
- If a reset or programming would destroy evidence, use an existing debugger session, or review the attachment precautions before asking for attach-only.
- Read the live value. The target must be halted for the read, so a running target is interrupted first.
- Decode the value using fields from the same device’s definitions.
Check firmware against the definitions
When Embedder writes or edits C, C++, Rust, or Python source, it checks the changed lines against the register definitions. It flags:- Writes to read-only registers.
- Reads from write-only registers.
- Peripheral names, register names, or addresses that don’t match any known register.
Troubleshoot
- No register definitions: Embedder can’t look up registers until definitions load for the project’s platform. Check the platform, then reopen the project. Some platforms have no definitions; use the device reference manual instead.
- Name is missing: search by function or keyword, then check the suggested device and register.
- Address disagrees with the manual: check the device, core, and revision before using it.
- A field is absent: consult the exact device reference rather than inventing a mask.
- Reset value differs from hardware: boot code, firmware, or debugger actions may already have changed it.