Skip to content

Backdoor key not supported on Kinetis K22F #228

@mondalaci

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementGeneral project improvement

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions