pyocd / pyocd/pyOCD

Option to disable overriding of security

Open
#722 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

new feature
Dominant language
Python
Stars
1.5k
Forks
560
Avg merge
1h 41m
Merged PRs (30d)
3

Description

When flashing a Kinetis device, pyOCD overrides the Flash Configuration Field with safe defaults, in order to avoid breaking/bricking the device. This is implemented as the method override_security_bits.

This behaviour should be optional (and enabled by default, to be safe) and switchable via a command line option, so developers can implement their custom security settings.

Contributor guide

Open the contributing guide

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 override_security_bits method and the command-line option definitions used when flashing Kinetis devices. Trace how the method is invoked and how options reach that path; done means the safe override remains enabled by default while developers can disable it to preserve custom security settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, embedded-iot
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.