I am working on nRF9160 DK development platform.
For that i Compile & run GPS example, But while debuging that example i find that mcu stucks in CPU Idle function for infinite period of time.
And this is happening while creating a socket.
I Assume that sample example code should not have any issue it should run flawlessly, i think i am missing soemthing while creating an environment / installing SDK & toolchain.
Please let know the solution of this issue.
Is this the example you're running?
Does the UART print anything? Could you share the logs?
yes, i am running that example
By debugging i found that mcu goes into cpu_idle state(Infinite loop) while creating socket for enabling GPS.
Debug logs are:
***** Booting Zephyr OS v1.14.99-ncs2 *****Staring GPS applicationFailed to enable GPS
After GPS enable fail printed cpu goes into infinite idle state.
Also i checked to LTE Monitor link to get AT command response But in that also i am not getting any response form device.
Have you updated to the latest modem fw?
How to update modem firmware ?
You mean firmware of GPS modem ?
Please see this answer from a colleague of mine on how to update the modem:
Note that v1.0.1 is now available.