Skip to content

[Bug]: Programming fails on LPC55S69 when device is erased #128

@TeoMahnic

Description

@TeoMahnic

Summary

As the title says.

Description

pyOCD has a mechanism to check if the device needs to be flashed. This is done by reading chunks of device memory and compare the read data to the contents of the application binary. If the contents don't match, pyOCD will proceed to flash the application. Otherwise, flashing is skipped.

When the device is erased, a bus error is generated if memory is directly accessed.

Note: Flashing erased device works when using pyOCD internal target.

Steps to Reproduce

  1. Erase LPCXpresso55S69.
  2. Build application for LPCXpresso55S69 and try to flash it.
  3. Observe the error.

Expected Behavior

Flash operation is successful.

Additional Information

No response

Metadata

Metadata

Assignees

Labels

pyOCDChange is required in shipped pyOCD variant

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions