Skip to content

[Feature Request]: Add flash verify step to pyOCD flash programming #828

@TeoMahnic

Description

@TeoMahnic

Description

Flash programming with pyOCD currently does not verify that the programmed image matches the contents written to device flash.

A post-program verification step should be added. This step could either:

  • Invoke the CMSIS-Pack flash algorithm Verify function.
  • If the Verify function is not available, performa a CRC32 (or equivalent checksum) comparison as a fallback.

If verification fails, the programming operation should report an error.

Is this request a Security Requirement?

  • Yes

Priority

High

Related Issues (Optional)

No response

Additional Notes (Optional)

No response

Metadata

Metadata

Assignees

Labels

pyOCDChange is required in shipped pyOCD variant

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions