This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

No response to AT

I got up to this stage while trying to evaluate the module...

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_nrf91_dk_gsg%2FUG%2Fnrf91_DK_gsg%2Fintro.html

There is no response to AT+CFUN=4 (or even AT). I successfully updated the modem and application FW to the latest prior to this. I have tried switching the board on/off, etc. without success.

Parents
  • Hi,

    What application are you running on the nRF91?

    What are you using to send the AT comand?

    Do you get any log from the device?

    Best regards,

    Didrik

  • I'm following the getting started guide for the dev kit. Terminal app in nRF Connect v3.7.1.

  • I was referring to the logs from the device, sent over UART. Depending on what tools you are using to send the AT commands, you should be able to see them there, e.g. if you are using the Link Monitor tool.

    But, based on the log from the Programmer app, I believe I know what the issue is.

    The images in the img_fota_* folders only contain the application, and not the bootloader, and are ment to be used for DFU. Either over UART, or over the air.

    But, from the log, it looks like you are programming the device "normally", with a programmer. That will delete the bootloader, so that the application isn't able to boot.

    Instead, you should be using the images in the img_app_bl folder.

  • I believe I have the right application now:

    Parsing HEX file: D:\DriveOne1\OneDrive - LED Roadway Lighting Ltd\Designs\IntCellCntrl\Nordic\img_app_bl\nrf9160dk_asset_tracker_ltem_2021-06-25_7a076c22.hex

    Still no response to AT commands. Here is what I see in the Terminal window...

    *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    
    
    
    
    [00:02:30.838,287] 
    
    
    [1;31m<err> at_cmd: Failed to open AT socket (err:-117)
    
    
    [0m
    
    
    
    
    [00:02:30.845,336] 
    
    
    [0m<inf> at_host: UART check failed: 1. Dropping buffer and retrying.
    
    
    [0m
    
    
    
    
    [00:02:30.863,647] 
    
    
    [0m<inf> asset_tracker: Asset tracker started
    
    
    [0m
    
    
    
    
    [00:02:30.869,750] 
    
    
    [0m<inf> watchdog: Watchdog timeout installed. Timeout: 60000
    
    
    [0m
    
    
    
    
    [00:02:30.877,258] 
    
    
    [0m<inf> watchdog: Watchdog started
    
    
    [0m
    
    
    
    
    [00:02:30.882,751] 
    
    
    [1;31m<err> at_cmd: Failed to send AT command (err:9)
    
    
    [0m
    
    
    
    
    [00:02:30.889,648] 
    
    
    [1;31m<err> nrf_cloud_transport: Failed to obtain IMEI, error: -9
    
    
    [0m
    
    
    
    
    [00:02:30.897,460] 
    
    
    [1;31m<err> asset_tracker: Cloud backend could not be initialized, error: -9
    
    
    [0m
    
    
    
    
    [00:02:30.906,372] 
    
    
    [1;31m<err> asset_tracker: LTE link disconnect
    
    
    [0m
    
    
    
    
    [00:02:30.912,689] 
    
    
    [1;31m<err> at_cmd: Failed to send AT command (err:9)
    
    
    [0m
    
    
    
    
    [00:02:30.919,525] 
    
    
    [1;31m<err> asset_tracker: lte_lc_power_off failed: -9
    
    
    [0m
    
    
    [00:02:30.926,422] 
    
    
    [1;31m<err> asset_tracker: Shutdown modem
    
    
    [0m
    
    
    
    
    *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    
    
    
    
    I: Starting bootloader
    
    
    
    
    I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
    
    
    I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
    
    
    
    
    I: Boot source: none
    
    
    I: Swap type: none
    
    
    
    
    I: Bootloader chainload address offset: 0x10000
    
    
    
    
    I: Jumping to the first image slot
    
    
    *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    
    
    Flash regions
    	
    	
    Domain
    	
    	
    Permissions
    
    
    
    
    00 03 0x00000 0x20000 
    	
    Secure
    	
    	
    rwxl
    
    
    
    
    04 31 0x20000 0x100000 
    	
    Non-Secure
    	
    rwxl
    
    
    
    
    
    
    
    
    Non-secure callable region 0 placed in flash region 2 with size 32.
    
    
    
    
    SRAM region
    	
    	
    Domain
    	
    	
    Permissions
    
    
    
    
    00 07 0x00000 0x10000 
    	
    Secure
    	
    	
    rwxl
    
    
    
    
    08 31 0x10000 0x40000 
    	
    Non-Secure
    	
    rwxl
    
    
    
    
    
    
    
    
    Peripheral
    	
    	
    Domain
    	
    	
    Status
    
    
    
    
    00 NRF_P0               Non-Secure
    	
    OK
    
    
    
    
    01 NRF_CLOCK            Non-Secure
    	
    OK
    
    
    
    
    02 NRF_RTC0             Non-Secure
    	
    OK
    
    
    03 NRF_RTC1             Non-Secure
    	
    OK
    
    
    
    
    04 NRF_NVMC             Non-Secure
    	
    OK
    
    
    05 NRF_UARTE1           Non-Secure
    	
    OK
    
    
    
    
    06 NRF_UARTE2           Secure
    	
    	
    SKIP
    
    
    
    
    07 NRF_TWIM2            Non-Secure
    	
    OK
    
    
    
    
    08 NRF_SPIM3            Non-Secure
    	
    OK
    
    
    
    
    09 NRF_TIMER0           Non-Secure
    	
    OK
    
    
    10 NRF_TIMER1           Non-Secure
    	
    OK
    
    
    
    
    11 NRF_TIMER2           Non-Secure
    	
    OK
    
    
    12 NRF_SAADC            Non-Secure
    	
    OK
    
    
    
    
    13 NRF_PWM0             Non-Secure
    	
    OK
    
    
    
    
    14 NRF_PWM1             Non-Secure
    	
    OK
    
    
    
    
    15 NRF_PWM2             Non-Secure
    	
    OK
    
    
    
    
    16 NRF_PWM3             Non-Secure
    	
    OK
    
    
    
    
    17 NRF_WDT              Non-Secure
    	
    OK
    
    
    
    
    18 NRF_IPC              Non-Secure
    	
    OK
    
    
    
    
    19 NRF_VMC              Non-Secure
    	
    OK
    
    
    
    
    20 NRF_FPU              Non-Secure
    	
    OK
    
    
    21 NRF_EGU1             Non-Secure
    	
    OK
    
    
    
    
    22 NRF_EGU2             Non-Secure
    	
    OK
    
    
    23 NRF_DPPIC            Non-Secure
    	
    OK
    
    
    
    
    24 NRF_REGULATORS       Non-Secure
    	
    OK
    
    
    25 NRF_PDM              Non-Secure
    	
    OK
    
    
    
    
    26 NRF_I2S              Non-Secure
    	
    OK
    
    
    
    
    27 NRF_GPIOTE1          Non-Secure
    	
    OK
    
    
    
    
    
    
    
    
    SPM: NS image at 0x20200
    
    
    
    
    SPM: NS MSP at 0x200257a8
    
    
    
    
    SPM: NS reset vector at 0x2a0cd
    
    
    
    
    SPM: prepare to jump to Non-Secure image.
    
    
    *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    
    
    I: Starting bootloader
    
    
    
    
    I: Primary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
    
    
    
    
    I: Secondary image: magic=unset, swap_type=0x1, copy_done=0x3, image_ok=0x3
    
    
    
    
    I: Boot source: none
    
    
    
    
    I: Swap type: none
    
    
    
    
    I: Bootloader chainload address offset: 0x10000
    
    
    
    
    I: Jumping to the first image slot
    
    
    *** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***
    
    
    
    
    Flash regions
    	
    	
    Domain
    	
    	
    Permissions
    
    
    
    
    00 03 0x00000 0x20000 
    	
    Secure
    	
    	
    rwxl
    
    
    
    
    04 31 0x20000 0x100000 
    	
    Non-Secure
    	
    rwxl
    
    
    
    
    
    
    
    
    Non-secure callable region 0 placed in flash region 2 with size 32.
    
    
    SRAM region
    	
    	
    Domain
    	
    	
    Permissions
    
    
    
    
    00 07 0x00000 0x10000 
    	
    Secure
    	
    	
    rwxl
    
    
    
    
    08 31 0x10000 0x40000 
    	
    Non-Secure
    	
    rwxl
    
    
    
    
    Peripheral
    	
    	
    Domain
    	
    	
    Status
    
    
    00 NRF_P0               Non-Secure
    	
    OK
    
    
    
    
    01 NRF_CLOCK            Non-Secure
    	
    OK
    
    
    
    
    02 NRF_RTC0             Non-Secure
    	
    OK
    
    
    
    
    03 NRF_RTC1             Non-Secure
    	
    OK
    
    
    
    
    04 NRF_NVMC             Non-Secure
    	
    OK
    
    
    
    
    05 NRF_UARTE1           Non-Secure
    	
    OK
    
    
    
    
    06 NRF_UARTE2           Secure
    	
    	
    SKIP
    
    
    
    
    07 NRF_TWIM2            Non-Secure
    	
    OK
    
    
    08 NRF_SPIM3            Non-Secure
    	
    OK
    
    
    
    
    09 NRF_TIMER0           Non-Secure
    	
    OK
    
    
    
    
    10 NRF_TIMER1           Non-Secure
    	
    OK
    
    
    
    
    11 NRF_TIMER2           Non-Secure
    	
    OK
    
    
    
    
    12 NRF_SAADC            Non-Secure
    	
    OK
    
    
    13 NRF_PWM0             Non-Secure
    	
    OK
    
    
    
    
    14 NRF_PWM1             Non-Secure
    	
    OK
    
    
    15 NRF_PWM2             Non-Secure
    	
    OK
    
    
    
    
    16 NRF_PWM3             Non-Secure
    	
    OK
    
    
    
    
    17 NRF_WDT              Non-Secure
    	
    OK
    
    
    18 NRF_IPC              Non-Secure
    	
    OK
    
    
    
    
    19 NRF_VMC              Non-Secure
    	
    OK
    
    
    
    
    20 NRF_FPU              Non-Secure
    	
    OK
    
    
    
    
    21 NRF_EGU1             Non-Secure
    	
    OK
    
    
    22 NRF_EGU2             Non-Secure
    	
    OK
    
    
    
    
    23 NRF_DPPIC            Non-Secure
    	
    OK
    
    
    
    
    24 NRF_REGULATORS       Non-Secure
    	
    OK
    
    
    
    
    25 NRF_PDM              Non-Secure
    	
    OK
    
    
    
    
    26 NRF_I2S              Non-Secure
    	
    OK
    
    
    
    
    27 NRF_GPIOTE1          Non-Secure
    	
    OK
    
    
    SPM: NS image at 0x20200
    
    
    
    
    SPM: NS MSP at 0x200257a8
    
    
    
    
    SPM: NS reset vector at 0x2a0cd
    
    
    
    
    SPM: prepare to jump to Non-Secure image.
    
    
    
    
    AT+CFUN=4
  • It looks like it is not able to start the modem.

    How did you program the modem? What file did you use?

    Could you try to program the modem again?

  • I programmed the modem using the procedure in the Getting Started guide (mfw_nrf9160_1.3.0.zip). I note there is an extra _ character in this file versus what the guide says.

    In any case, I tried programming it again. It said it verified successfully, but still no response to AT commands.

  • Do you still get the same errors in the log?

    [1;31m<err> at_cmd: Failed to open AT socket (err:-117)

    [1;31m<err> at_cmd: Failed to send AT command (err:9)
Reply Children
Related