Re: Problem when flashing nrf52840dk_nrf52840


Hi Omar,

Have you updated to the latest version of the nRF command line tools from and can you try manually using them from a command prompt, e.g. nrfjprog -f NRF52 --memrd 0x1000

If you have an nRF52832 board attached, you cannot flash an nRF52840 project, you would need an nRF52840 development board/kit.



From: devel@... <devel@...> On Behalf Of Omar Morceli via
Sent: 04 July 2021 23:41
To: devel@...
Subject: [Zephyr-devel] Problem when flashing nrf52840dk_nrf52840



When I'm trying to flash mesh example project to nrf52840dk_nrf52840 this error occurs 


-- runners.nrfjprog: Flashing file: C:\Users\OMAR\zephyrproject\zephyr\samples\bluetooth\mesh_demo\build\zephyr\zephyr.hex
ERROR: The --family option given with the command (or the default from nrfjprog.ini)
ERROR: does not match the device connected.
FATAL ERROR: command exited with status 18: nrfjprog --program 'C:\Users\OMAR\zephyrproject\zephyr\samples\bluetooth\mesh_demo\build\zephyr\zephyr.hex' --sectoranduicrerase -f NRF52 --snr 683377576


knowing that I'm working with nr52832dk without any problem.


Join { to automatically receive all group messages.