It's successful when I use west :
%west flash -d build
But it's failed when I use nrfjprog:
%nrfjprog --program merged.hex --reset
OR
%nrfjprog -f unknown --program merged.hex --reset
The result is as follow:
[error] [ Client] - Encountered error -90: Command read_memory_descriptors executed for 12 milliseconds with result -90
[error] [ Worker] - Can't read memory descriptors, ap-protection is enabled.
[error] [ Client] - Encountered error -255: Command program_file executed for 2152 milliseconds with result -255
[error] [ nRF54l] - Failed while detecting device memory block protection status!
[error] [ nRF54l] - Failed while reading device information.
[error] [ Worker] - just_assert_no_mem_access_err not yet implemented for this device
ERROR: nrfjprog DLL does not yet support this feature in your device.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
I checked the -f option of nrfjprog. The description did not contain NRF54.
-f --family <family> Selects the device family for the operation. Valid
argument options are NRF51, NRF52, NRF53, NRF91,
and UNKNOWN.
Does the nrfjprog not support NRF54 programming?
If it supports, could you help to tell me the right command?