rust-embedded / rust-embedded/aarch32

BKPT instruction only added in ARMv5TE

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

Nobody has claimed this yet.

Dominant language
Rust
Stars
66
Forks
25
Avg merge
4d 6h
Merged PRs (30d)
4

Description

We run a BKPT instruction test on ARMv4T but it was only added in ARMv5TE. This passes CI because we use QEMU to emulate an ARM9 (which is ARMv5TE) when running the ARMv4T tests. But running on real ARMv4T hardware, a BKPT trips an Undefined Instruction exception.

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 locating the ARMv4T BKPT instruction test and the target or CPU configuration used by CI; compare those with the ARMv4T instruction set. Check how the test behaves on ARMv4T rather than the ARM9 QEMU environment, then verify that the relevant test suite no longer executes an undefined instruction on ARMv4T.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
embedded-iot, testing-qa
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.