Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Backdoor key not supported on Kinetis K22F #228

Open

Description

@mondalaci

Usually, swdp_scan produces the following result:

(gdb) monitor swdp_scan
Target voltage: 3.3V
Available Targets:
No. Att Driver
 1      K22F
 2      Kinetis Recovery (MDM-AP)

But when the backdoor key is set, the K22F target doesn't show up. We use the backdoor key to secure the bootloader, so that no matter what, the bootloader cannot overwite itself.

Here's some help regarding the location of the backdoor key:

Backdoor key

Also, probably the following chapters of the K22FN512 reference manual are relevant:

  • Chapter 29.1 - Flash configuration Field Description
  • Chapter 29.3 - Flash registers
  • Chapter 29.4.12 - Flash security (Functional description)

I hope that you reconsider supporting the backdoor key because it's a critical feature for us. Without that, we cannot migrate to Black Magic Probe, which we'd very much love to.

Activity

  1. added
    Enhancement
    on May 8, 2017
  2. self-assigned this
    on May 8, 2017
  3. added this to the v1.9 release milestone on Jun 27, 2022
  4. modified the milestones: v1.9 release, v1.10 on Aug 23, 2022
  5. modified the milestones: v1.10, v2.0 release on Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Enhancement

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions