As I am preparing our application for production, I have been trying put together programming/testing scripts for the assembly house. We are targeting the 2.9.0SDK for use with our nRF5340 application.
In avoiding the need to instantiate a full development environment I initially looked at just installing the nRF Command Line Tools and building my production tooling around nrfjprog.
However, the command line tools states that it is being phased out in favor of nRF Util, which works perfectly for recovery and flashing, but I am not find an equivalent operation to nrfjprog -qspieraseall to erase the external qspi flash, or any of the other qspi functionalities.
The closest I've found is the device program option ext_mem_erase_mode, but in the following script is seems to have no effect on external qspi memory, leaving an nvs instance on the external memory intact.
.\nrfutil device recover --x-family nrf53 --core Network .\nrfutil device recover --x-family nrf53 --core Application .\nrfutil device program --x-family nrf53 --core network --options ext_mem_erase_mode=ERASE_ALL,verify=VERIFY_READ --firmware merged_CPUNET.hex --log-level=warn .\nrfutil device program --x-family nrf53 --core Application --options ext_mem_erase_mode=ERASE_ALL,verify=VERIFY_READ --firmware merged.hex .\nrfutil device reset --x-family nrf53
If there a way to emulate the behavior of nrfjprog -qspieraseall via nrfutil or am I stuck using the deprecated nrfjprog?