nrfjprog - invalid memory areas of the hex file

Hi,

I'm facing strange behavior of the nrfjprog.
I have .hex file containing the SD (s140_7.2.0) with my customer bootloader application.

When I use "nrfjprog --program merged.hex --chiperase" with the PCA10056 (nrf52840 DK), I'm able to load the .hex file without any problem...
But when I try to load this merged.hex file into the nrf USB Dongle (via external J-link), using the same command, I got the error message:

ERROR: The file specified is not a valid hex file, has data outside valid areas
ERROR: or does not have data in valid areas.

The MCU is the same on both boards, the command is the same, the hex file is the same and I got different outputs :/

Any idea what this could be?

Many Thanks

Kind Regards,

Milan

Related