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

CAN NOT GET AT COMMAND SAMPLE TO WORK

Hello,

I would like to get AT Command Sample to work on nRF9160. I erased the module using Programmer software "erased all" and then loaded Secure Boot sample, then updated the firmware and then loaded the AT Command sample. However, AT commands used timed out.

BR. Anas

Parents
  • If you loaded the secure boot sample and then uploaded the AT command sample, did you use the GUI programmer?  Because both the secure boot and at command sample hex files have to be loaded simultaneously.  And the GUI programmer can erase the whole chip and load what you program. 

    When looking at the LTE Link monitor, hit the reset button on the dev kit and make sure you see the secure boot stuff fly across the screen.  If not, it's not on there. In your picture it says AT Host started but doesn't have the secure boot text before it (trust me when it's there you will see it.  It's pages of text as it boots)

    I would say secure boot is not on your device.  When you programmed the AT client you erased the secure boot. 

    You can use the GUI programmer by loading BOTH the secure boot and AT client hex code files and then program.  Or use the command line:

    nrfjprog --eraseall -f nrf91
    nrfjprog.exe --program Secure_Boot.hex --sectorerase -r -f nrf91 --verify
    nrfjprog.exe --program at_client.hex --sectorerase -r -f nrf91 --verify

    Then connect the LTE link monitor, hit the reset button on the dev kit, and check that you see all the secure boot stuff fly on the screen.  AT commands should work.

  • Where I can get those Secure_Boot.hex and at_client.hex files?

Reply Children
Related