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

Parents Reply
  • Did you find a solution?

    I am running into the same issue were I am trying to program the IMEI on a custom nRF9161 board using RTT and the 'at AT%IMEIWRITE=0,"<imei>"; command but also getting the ERROR response. I tried escaping the " characters with a backslash as suggested in the modem shell AT command documentation but with not luck. 

    mosh:~$ Modem domain event: No IMEI
    Network registration status: searching
    Currently active system mode: LTE-M
    LTE cell changed: ID: 17031947, Tracking area: 33902
    at AT+CGMR
    mfw_nrf91x1_2.0.1
    
    OK
    
    mosh:~$ at AT%IMEIWRITE=0,\"<imei>\"
    ERROR


    Kind regards,
    Henrico

Children
No Data
Related