Unable to write IMEI using %IMEIWRITE to nrf9161

Hi

We are working on building a custom board for the nrf9161 as it's the newer chip but are having issues writing the IMEI to the device. I have flashed a modified version of the mosh shell to use RTT so we can communicate over the JTAG connection and flashed the latest PTI image to the modem but some AT commands are just returning error. Below is a sample of the commands but it seems commands interacting with the OTP memory fail.The docs suggest that calling AT+CGSN would return F's instead of error.

mosh:~$ at AT+CGMR
mfw-pti_nrf91x1_2.3.3
OK

mosh:~$ at AT%SIMTEST
%SIMTEST: 0
OK

mosh:~$ at AT+CGSN
ERROR

mosh:~$ at AT%IMEIWRITE=0,"35829984-------"
ERROR

I just wondered if you had any pointers as to if this is likely to be a hardware issue or AT command order issue. I cannot find any official documentation on writing the imei other than the AT command reference.

Thanks

Sam

Related