nrfjprog --qspisectorerase broken after upgrade to Command Line Tools 10.18.1

Hi there!

After upgrading Command Line Tools from 10.17.3 to 10.18.1, the following command to flash a section in QSPI Flash is broken:

nrfjprog --config k400_nrfjprog.toml --program some_data_in_qspi.hex --qspisectorerase --verify

It just stucks after Erasing:

When hitting Ctrl + C to abort the command and run it again w/o erasing, programming + verification works.

Also when running two seperate commands, first with just --qspieraseall and second with just --program, it also works. However, this erases the whole QSPI flash - so not what I want.


This was working perfectly fine with old v10.17.3.


Could you please have a look into this?


Thanks and best regards
Marvin

Version info:

nrfjprog --version
nrfjprog version: 10.18.1 external
JLinkARM.dll version: 7.80c

Affected System:

Windows 11

Affected Platform:

nRF52840 

  • I have reported this to the developers and they will look into it. In the meantime, since you have it set up on your end, could you also enable logging with the --log [<path>] command so you output a log file of this issue for us with additional information.

    Best regards,

    Simon

  • Hi Simon,

    thanks for forwarding the issue! Please find the requested log file attached:

    nrfjprog_qspisectorerase_fail.log

  • Marvin,

    Simon is away and we are still waiting for information from the tools team to know more on why this happens. When we get any updates from them, I will update this thread. Thanks for your patience.

  • Seconding this. Seeing the same issue on M1 macos Command Line Tools version :

    nrfjprog version: 10.18.1 external

    JLinkARM.dll version: 7.84b

    with the same symptoms. With --qspisectorerase the command hangs after erasing a sector on my nrf52840DK. Tried doing a recovery flash and chip erase but got the same result.

    Tim

  • Thanks for reporting, I have updated this to the internal communication and waiting for follow up.