nrfjprog --program fails when FDS and LESC are used

I've pulled FDS and LESC into my development project. I've noticed now, when I do --reset --sectorerase --program "#H" --family NRF52 --verify, occasionally I see program fail. And example of the application and the devices flash upon failure:




Has this been noted  before? Is there a reason why this would happen with the inclusion of LESC?

Parents Reply
  • Are you using a custom board or nRF52840 DK? Could you also test on nRF52840DK or another board? 

    Could you try the nrfutil and the follwoing command?

    nrfutil device program --firmware nrf52840_app.HEX --options chip_erase_mode=ERASE_RANGES_TOUCHED_BY_FIRMWARE,verify=VERIFY_READ,reset=RESET_SYSTEM --log-level trace

    If that also fails, I think we can rule out issues in nrfjprog, at least. If you try with nrfutil device, it should be at a more recent version than 2.7.16, since it's using nrfjprog under the hood before that. The latest version is 2.14.2 (nrfutil device --version).

Children
Related