I have 2 nRF9160 DK's. I've been using 1 for most of my testing and the second one was still in the box.
I loaded the secure boot and the AT_CLIENT demo project. Opened up the nRF Link Monitor tool. Hit the reset button and Zephyr stuff flies on the screen. Ends up with:
Secure Boot: prepare to jump to Non-Secure image
***** Booting Zephyr OS v1.13.99-ncs2 *****
The AT host sample started. err=0
(I added the err=%d) in the printf statement to prove that I was doing stuff.
The problem is when I send it an AT command, I get: Error: 'AT ' timed out
I reloaded the modem firmware with: nrf9160_mdm_dfu --update
That worked. But still did not respond to AT commands, just time out.
Took my other dev kit out of the box. Moved my sim card to DevKit #2. Loaded the same code on it. With this: nrfjprog.exe --program zephyr.hex --sectorerase -r -f nrf91 --verify
Reboot DevKit #2, and get the same Zephyr messages and everything works. AT commands work. Connects to the network.
Hook back up to DevKit #1, AT commands time out.
Now I did solder on a 1 ohm resistor on R60 to measure current. And if I program the asset tracker software to it, it connects and works perfectly. But why does the AT_CLIENT time out now?
Anyone have any thoughts? Thanks!
Steve