oxidecomputer / oxidecomputer/humility

`readmem -w` should read words

Open
#516 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
584
Forks
63
Avg merge
3h
Merged PRs (30d)
2

Description

In reading flash registers while debugging the flash thing, we've noticed that when we do humility readmem -w 0x1ff2_0000 4, humility appears to issue 4 reads.

If true, this is bad. It should issue one read, to get a consistent snapshot of the register.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing humility readmem -w 0x1ff2_0000 4 while observing how many reads it issues, then trace the readmem command's word-count handling. Done means the command requests one read for the four-word range and preserves a consistent register snapshot.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.