This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

make flash runs fine but stop flashing sometimes

Hello everyone,

We are using the nrf52840 Dev Kit (PCA10056 1.1.0 2019.19 683465548)

SDK Version: 15.3

OS: Fedora

When we are using the command line "make flash" on our main project, the command execution works fine but the flashed program stay the old one.

This issue happens when we flash our main project after flashing an example project like the example/peripheral/blinky one.

Usually to solve this issue, we dragged and dropped the .hex file from our main project into JLINK. But today we need to flash it without drag and drop because we can't.

Any ideas?

Parents Reply
  • Here it is:

    nrfjprog --program _build/nrf52840_xxaa.hex --sectorerase --verify --reset
    Parsing hex file.
    Erasing page at address 0x26000.
    Erasing page at address 0x27000.
    Erasing page at address 0x28000.
    Erasing page at address 0x29000.
    Erasing page at address 0x2A000.
    Erasing page at address 0x2B000.
    Applying system reset.
    Checking that the area to write is not protected.
    Programming device.
    Verifying programming.
    Verified OK.
    Applying system reset.
    Run.

    Verify OK but same issue even if I power-cycle the board.

    The program run as the old flashed one until make erase.

    But my main project is compiled in s140/ folder instead of blank/ folder in blinky example.

    I don't know if it helps.

Children
Related