Skip to content

nordic: west flash no longer supports changing CONFIG_GPIO_PINRESET when flashing #31055

@pabigot

Description

@pabigot

6628a16 changed the behavior of west flash, which formerly used --eraseall which clears both flash and UICR. CONFIG_GPIO_PINRESET=n is intended to support not programming NRF_UICR->PSELRESET to co-opt the reset pin for the reset function, instead leaving it available for the application to use as a button.

It appears that the west change prevents these registers in UICR from being cleared, so that flashing a new image that changes the intended PSELRESET value has no effect.

The workaround is bypass west and use nrfjprog --eraseall, but there probably should be some way to do it in west.

Metadata

Metadata

Labels

bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions