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

AT_CLIENT app not working

Hello,

I have a Thingy91 pca20035 board (not the DK). So far, I have had success building my own modifications of the asset_tracker application by building it using SES and loading the HEX file into the device by using the nRF connect programmer. 

My issue is that I am not able to make the AT_CLIENT work. I tried programming the device with the default HEX file (both the image_dfu and the image_full version) found in https://www.nordicsemi.com/Software-and-Tools/Prototyping-platforms/Nordic-Thingy-91/Download#infotabs (the asset_tracker application found there works just fine). I have tried both COM ports in the nRF connect LTE link monitor. I have also the "auto device/port filter" option unchecked. I have tried turning on and off the device as well as reloading the LTE Link Monitor several times. All I see is this:

Additionally, the UART, Modem, UICC and LTE indicators are red color, while the PDN indicator is grey in the LTE Link Monitor.

It would be nice if you guys have any suggestion?

Parents Reply Children
  • Hi Heidi,

    As I wrote in my question, I am loading the HEX image into the device using the nRF connect "programmer". I guess "programmer" uses MCUBoot deep inside, but I really don't know. 

      

    After writing my question, I kept plugging and unplugging the device, resetting the LTE Link Monitor and turning on and off the device (since that was one suggestion for one similar question) and it worked just once! HOWEVER, I was not able to make it work again. So I suspect something funky is happening. I tested with another USB cable, but I saw no difference. 

  • Hi, so you're not using a debugger but just trying the load the hex file onto the PCA20035 board directly with USB? Did you follow these steps?

    If you want to use MCUboot, please see this tutorial on how to do that.

  • Yes, I followed those steps for loading the HEX image into the Thingy91 PCA20035. It has worked so far several times for me.

    I am sure the AT_CLIENT image is correctly loaded into the device since after trying to connect to LTE Link Monitor a few more times (using the same HEX image), it connected once (but only once). I was not able to make a successful connection again. Is that a known issue? Could it be that the device is waiting for something before being able to respond to AT commands?

  • No, this isn't a known issue. There could be something wrong with your device.

    Could you send over the log file from LTE Link Monitor? Or is it completely empty? 

    What AT Commands are you trying to send to the modem?

  • This is the log file:

    2020-03-18T09:00:01.729Z INFO Application data folder: C:\Users\zdiva\AppData\Roaming\nrfconnect\pc-nrfconnect-linkmonitor
    2020-03-18T09:00:01.791Z DEBUG App pc-nrfconnect-linkmonitor v1.1.1 official
    2020-03-18T09:00:01.792Z DEBUG App path: C:\Users\zdiva\.nrfconnect-apps\node_modules\pc-nrfconnect-linkmonitor
    2020-03-18T09:00:01.792Z DEBUG nRFConnect 3.3.0 is supported by the app (^3.2.0)
    2020-03-18T09:00:01.792Z DEBUG nRFConnect path: C:\Users\zdiva\AppData\Local\Programs\nrfconnect\resources\app.asar
    2020-03-18T09:00:01.792Z DEBUG HomeDir: C:\Users\zdiva
    2020-03-18T09:00:01.792Z DEBUG TmpDir: C:\Users\zdiva\AppData\Local\Temp
    2020-03-18T09:00:08.442Z INFO Modem port is opened
    2020-03-18T09:00:08.448Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2020-03-18T09:02:51.075Z DEBUG modem >> AT\x0D\x0A
    2020-03-18T09:02:52.076Z ERROR Error: 'AT
    ' timed out
    2020-03-18T09:02:58.827Z DEBUG modem >> AT+CFUN?\x0D\x0A
    2020-03-18T09:02:59.828Z ERROR Error: 'AT+CFUN?
    ' timed out
    2020-03-18T09:03:00.489Z DEBUG modem >> AT+CFUN=1\x0D\x0A
    2020-03-18T09:03:01.490Z ERROR Error: 'AT+CFUN=1
    ' timed out

    And this is how the LTE Link Monitor looks like:

    I am trying to send any command. I am using the same HEX image that worked once yesterday (thingy91_at_client_dfu_2019-11-29_d3130d77.hex). Yesterday I was able to send a few AT commands, the most important for me is the AT+CESQ, I even could receive RSRP notifications!!.

Related