rust-embedded / rust-embedded/cortex-m
TPIU: `LAR` and `FFCR` not part of ARMv7-M standard
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1k
- Forks
- 202
- Avg merge
- 6d 2h
- Merged PRs (30d)
- 2
Description
Both lar and ffcr introduced in c6ed9ef. lar is unused, but ffcr utilized in 720282f and refactored in fb604a7.
LAR is likely a part of the CoreSight standard, unsure about FFCR at the moment. Access to there registers should be gated if backing documentation can be found, otherwise removed.
I want to recall figuring FFCR out when I debugged openocd for an STM32 last year, but I need to verify that.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in src/peripheral/tpiu.rs, especially the LAR and FFCR register definitions, and compare them with the linked ARMv7-M TPIU register summary. Review the referenced commits and verify whether FFCR is used by the existing API. Done means the registers are supported only where the documentation confirms them, or are removed when unsupported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100