hi support team,
i was testing pgps, the dk board should be ok, because pgps testing in ncs2.5.0 is ok, however when testing in ncs2.7.0, it failed.
the log in ncs2.5.0 as below:
the log in ncs2.7.0 as below:
i am not sure i miss something to config?
the demo is cellular\location.
[09:16:14.848] *** Booting nRF Connect SDK v2.5.0 *** [09:16:14.848] Location sample started [09:16:14.848] [09:16:14.848] [00:00:00.528,900] [0m<inf> nrf_modem_lib_trace: Trace thread ready[0m [09:16:15.088] [00:00:00.542,877] [0m<inf> nrf_modem_lib_trace: Trace level override: 2[0m [09:16:15.101] Connecting to LTE... [09:16:15.119] +CEREG: 2,"5B12","01832F1B",9 [09:16:35.619] +CSCON: 1 [09:16:36.231] +CGEV: ME PDN ACT 0,0 [09:16:37.395] +CNEC_ESM: 50,0 [09:16:37.501] +CEREG: 1,"5B12","01832F1B",9,,,"00000100","11100000" [09:16:37.501] Connected to LTE [09:16:37.512] Waiti%XTIME: "23","42905210617323","00" [09:16:37.512] ng for current time [09:16:37.512] [00:00:22.956,970] [0m<dbg> location: location_core_init: Initialized 'GNSS' method successfully[0m [09:16:37.522] [00:00:22.965,881] [0m<dbg> location: location_core_init: Initialized 'Cellular' method successfully[0m [09:16:37.532] [00:00:22.975,128] [0m<dbg> location: location_core_init: Initialized 'Wi-Fi + Cellular (internal)' method successfully[0m [09:16:37.542] [00:00:22.986,450] [0m<dbg> location: location_init: Location library initialized[0m [09:16:37.553] Requesting 30s periodic GNSS location with cellular fallback... [09:16:37.553] [00:00:22.999,694] [0m<dbg> location: location_core_config_log: Location configuration:[0m [09:16:37.563] [00:00:23.007,812] [0m<dbg> location: location_core_config_log: Methods count: 1[0m [09:16:37.572] [00:00:23.015,533] [0m<dbg> location: location_core_config_log: Interval: 30[0m [09:16:37.583] [00:00:23.022,918] [0m<dbg> location: location_core_config_log: Timeout: 300000ms[0m [09:16:37.583] [00:00:23.030,731] [0m<dbg> location: location_core_config_log: Mode: 0[0m [09:16:37.593] [00:00:23.037,658] [0m<dbg> location: location_core_config_log: List of methods:[0m [09:16:37.603] [00:00:23.045,379] [0m<dbg> location: location_core_config_log: Method #0[0m [09:16:37.612] [00:00:23.052,673] [0m<dbg> location: location_core_config_log: Method type: GNSS (2)[0m [09:16:37.612] [00:00:23.061,157] [0m<dbg> location: location_core_config_log: Timeout: 120000ms[0m [09:16:37.623] [00:00:23.069,335] [0m<dbg> location: location_core_config_log: Accuracy: normal (1)[0m [09:16:37.633] [00:00:23.077,789] [0m<dbg> location: location_core_location_get_pos: Requesting location with 'GNSS' method[0m [09:16:37.642] [00:00:23.087,707] [0m<inf> nrf_cloud_pgps: Storage base:0xEB000, size:86016[0m [09:16:37.652] [00:00:23.094,879] [0m<dbg> location: method_gnss_pgps_handler: P-GPS event type: 0[0m [09:16:37.662] [00:00:23.103,607] [0m<inf> nrf_cloud_pgps: Checking P-GPS header: Schema version:0, type:0, num:0, count:0[0m [09:16:37.672] [00:00:23.113,464] [0m<inf> nrf_cloud_pgps: size:0, period (minutes):0, GPS day:0, GPS time:0[0m [09:16:37.683] [00:00:23.122,314] [1;33m<wrn> nrf_cloud_pgps: One or more fields are wrong[0m [09:16:37.683] [00:00:23.129,455] [0m<dbg> location: method_gnss_pgps_handler: P-GPS event type: 1[0m [09:16:37.692] [00:00:23.137,329] [0m<dbg> location: method_gnss_pgps_handler: P-GPS event type: 5[0m [09:16:37.696] [00:00:23.245,269] [0m<dbg> location: location_core_location_get_pos: Starting request timer with timeout=300000[0m [09:16:37.806] [00:00:32.268,737] [0m<dbg> location: method_gnss_pgps_request_work_fn: P-GPS data requested[0m [09:16:46.833] [00:00:32.277,496] [0m<dbg> nrf_cloud_codec_internal: nrf_cloud_pgps_response_decode: host: pgps.nrfcloud.com[0m [09:16:46.843] [00:00:32.287,506] [0m<dbg> nrf_cloud_codec_internal: nrf_cloud_pgps_response_decode: path: public/16334-0_16340-72000.bin[0m [09:16:46.853] [00:00:32.298,950] [0m<inf> download_client: Downloading: public/16334-0_16340-72000.bin [0][0m [09:16:46.863] [00:00:32.307,495] [0m<dbg> location: method_gnss_pgps_request_work_fn: P-GPS data processed[0m [09:16:46.873] [00:00:32.316,040] [0m<inf> nrf_cloud_pgps: Searching for prediction[0m [09:16:46.882] [00:00:32.322,509] [0m<inf> nrf_cloud_pgps: Predictions not loaded yet[0m [09:16:46.882] [00:00:32.329,162] [0m<dbg> location: method_gnss_pgps_request_work_fn: P-GPS prediction requested[0m [09:16:46.892] [00:00:32.339,752] [0m<dbg> location: method_gnss_agnss_expiry_process: GPS: Expired ephemerides: 32, almanacs: 32[0m [09:16:46.902] [00:00:32.350,189] [0m<dbg> location: method_gnss_agnss_expiry_process: A-GNSS data need: data_flags: 0x3f[0m [09:16:46.912] [00:00:32.359,985] [0m<dbg> location: method_gnss_agnss_expiry_process: A-GNSS data need: GPS sv_mask_ephe: 0xffffffff, sv_mask_alm: 0xffffffff[0m [09:16:46.932] [00:00:32.372,955] [0m<dbg> location: method_gnss_assistance_request: P-GPS request sv_mask_ephe: 0xffffffff, data_flags 0x00[0m [09:16:46.943] [00:00:32.384,368] [0m<dbg> location: method_gnss_assistance_request: A-GNSS request: data_flags: 0x3f[0m [09:16:46.952] [00:00:32.393,829] [0m<dbg> location: method_gnss_assistance_request: A-GNSS request: GPS sv_mask_ephe: 0x0, sv_mask_alm: 0x0[0m [09:16:46.955] [00:00:32.484,680] [0m<dbg> location: scan_cellular_execute: Triggering cell measurements[0m [09:16:47.053] [00:00:32.492,950] [0m<dbg> location: scan_cellular_execute: Starting cellular timer with timeout=5000[0m [09:16:47.063] %NCELLMEAS: 0,"01832F1B","46000","5B12",0,3684,404,84,25,31933,31862 [09:16:47.063] [00:00:32.510,650] [0m<dbg> location: scan_cellular_lte_ind_handler: Cell measurements results received: ncells_count=0, gci_cells_count=0, current_cell.id=0x01832F1B[0m [09:16:47.083] [00:00:32.525,573] [0m<dbg> location: scan_cellular_lte_ind_handler: No neighbor cell information from modem[0m [09:16:47.093] [00:00:32.535,522] [0m<dbg> location: scan_cellular_lte_ind_handler: No surrounding cell information from modem[0m [09:16:47.102] [00:00:32.545,867] [0m<dbg> location: scan_cellular_execute: scan_cellular_execute: scan_cellular_cell_count=0[0m [09:16:47.106] [00:00:33.529,754] [0m<inf> download_client: Setting up TLS credentials, sec tag count 1[0m [09:16:48.092] [00:00:33.537,994] [0m<inf> download_client: Connecting to pgps.nrfcloud.com[0m [09:16:48.096] [00:00:40.944,763] [0m<inf> download_client: Downloaded 1500/84268 bytes (1%)[0m [09:16:55.512] [00:00:40.951,995] [0m<inf> nrf_cloud_pgps: Checking P-GPS header: Schema version:1, type:10, num:1, count:42[0m [09:16:55.522] [00:00:40.962,036] [0m<inf> nrf_cloud_pgps: size:2006, period (minutes):240, GPS day:16334, GPS time:0[0m [09:16:55.522] [00:00:40.971,679] [0m<inf> nrf_cloud_pgps: pgps_header: Schema version:1, type:10, num:1, count:42[0m [09:16:55.533] [00:00:40.980,804] [0m<inf> nrf_cloud_pgps: size:2006, period (minutes):240, GPS day:16334, GPS time:0[0m [09:16:55.541] [00:00:43.542,236] [0m<inf> download_client: Downloaded 3000/84268 bytes (3%)[0m [09:16:58.103] [00:00:43.549,530] [0m<inf> nrf_cloud_pgps: Storing prediction num:0 idx:0 for gps sec:1411257600[0m [09:16:58.113] [00:00:43.558,715] [0m<dbg> location: method_gnss_pgps_handler: P-GPS event type: 2[0m [09:16:58.117] [00:00:44.897,399] [0m<inf> download_client: Downloaded 4500/84268 bytes (5%)[0m [09:16:59.463] [00:00:44.904,754] [0m<inf> nrf_cloud_pgps: Storing prediction num:1 idx:1 for gps sec:1411272000[0m [09:16:59.465] [00:00:45.045,837] [0m<inf> nrf_cloud_pgps: Searching for prediction[0m [09:16:59.612] [00:00:45.052,307] [0m<dbg> location: method_gnss_pgps_handler: P-GPS event type: 3[0m [09:16:59.612] [00:00:45.060,089] [0m<dbg> location: method_gnss_pgps_handler: P-GPS event type: 2[0m [09:16:59.618] [00:00:45.166,107] [0m<dbg> location: method_gnss_nrf_cloud_agnss_request: A-GNSS data requested[0m [09:16:59.732] [00:00:45.179,351] [0m<dbg> location: method_gnss_nrf_cloud_agnss_request: A-GNSS data processed[0m [09:16:59.742] [00:00:45.188,232] [0m<inf> nrf_cloud_pgps: Searching for prediction[0m [09:16:59.752] [00:00:45.194,763] [0m<dbg> location: method_gnss_pgps_handler: P-GPS event type: 3[0m [09:16:59.762] [00:00:45.202,514] [0m<inf> nrf_cloud_pgps: Searching for prediction[0m [09:16:59.762] [00:00:45.209,045] [0m<dbg> location: method_gnss_pgps_handler: P-GPS event type: 3[0m [09:16:59.773] [00:00:45.217,590] [0m<dbg> location: method_gnss_allowed_to_start: RRC already in idle mode[0m [09:16:59.776] [00:00:45.237,609] [0m<dbg> location: location_core_timer_start: Starting timer with timeout=120000[0m [09:16:59.802] [00:00:45.246,826] [0m<dbg> location: method_gnss_inject_pgps_work_fn: Sending prediction to modem (ephe: 0xffffffff)...[0m [09:16:59.811] [00:00:45.257,812] [0m<inf> nrf_cloud_pgps: GPS unit needs ephemerides. Injecting 32.[0m [09:16:59.816]
[09:17:29.285] *** Booting nRF Connect SDK v2.7.0-5cb85570ca43 *** [09:17:29.295] *** Using Zephyr OS v3.6.99-100befc70c74 *** [09:17:29.295] Location sample started [09:17:29.295] [09:17:29.298] [00:00:00.638,366] [0m<inf> nrf_modem_lib_trace: Trace thread ready[0m [09:17:29.535] [00:00:00.652,404] [0m<inf> nrf_modem_lib_trace: Trace level override: 2[0m [09:17:29.550] Connecting to LTE... [09:17:29.565] +CEREG: 2,"5B12","01832F1B",9 [09:17:52.419] +CSCON: 1 [09:17:53.030] +CGEV: ME PDN ACT 0,0 [09:17:54.201] +CNEC_ESM: 50,0 [09:17:54.305] +CEREG: 1,"5B12","01832F1B",9,,,"00000100","11100000" [09:17:54.305] Connected to LTE [09:17:54.316] %XTIME: "23","42905210713523","00" [09:17:54.316] Waiting for current time [09:17:54.316] [00:00:25.422,729] [0m<dbg> location: location_core_init: Initialized 'GNSS' method successfully[0m [09:17:54.326] [00:00:25.431,671] [0m<dbg> location: location_core_init: Initialized 'Cellular' method successfully[0m [09:17:54.335] [00:00:25.440,979] [0m<dbg> location: location_core_init: Initialized 'Wi-Fi + Cellular' method successfully[0m [09:17:54.345] [00:00:25.451,416] [0m<dbg> location: location_init: Location library initialized[0m [09:17:54.354] Requesting 30s periodic GNSS location with cellular fallback... [09:17:54.354] [00:00:25.464,660] [0m<dbg> location: location_core_config_log: Location configuration:[0m [09:17:54.364] [00:00:25.472,808] [0m<dbg> location: location_core_config_log: Methods count: 1[0m [09:17:54.376] [00:00:25.480,529] [0m<dbg> location: location_core_config_log: Interval: 600[0m [09:17:54.386] [00:00:25.487,976] [0m<dbg> location: location_core_config_log: Timeout: 300000ms[0m [09:17:54.386] [00:00:25.495,788] [0m<dbg> location: location_core_config_log: Mode: 0[0m [09:17:54.395] [00:00:25.502,746] [0m<dbg> location: location_core_config_log: List of methods:[0m [09:17:54.405] [00:00:25.510,437] [0m<dbg> location: location_core_config_log: Method #0[0m [09:17:54.415] [00:00:25.517,730] [0m<dbg> location: location_core_config_log: Method type: GNSS (2)[0m [09:17:54.425] [00:00:25.526,275] [0m<dbg> location: location_core_config_log: Timeout: 180000ms[0m [09:17:54.425] [00:00:25.534,454] [0m<dbg> location: location_core_config_log: Accuracy: low (0)[0m [09:17:54.436] [00:00:25.542,663] [0m<dbg> location: location_core_location_get_pos: Requesting location with 'GNSS' method[0m [09:17:54.445] [00:00:25.552,612] [0m<dbg> location: location_core_location_get_pos: Starting request timer with timeout=300000[0m [09:17:54.455] [00:00:25.562,957] [0m<inf> nrf_cloud_pgps: Storage base:0xEB000, size:86016[0m [09:17:54.464] [00:00:25.570,129] [0m<dbg> location: method_gnss_pgps_handler: P-GPS event type: 0[0m [09:17:54.475] [00:00:25.578,948] [0m<inf> nrf_cloud_pgps: Checking P-GPS header: Schema version:0, type:0, num:0, count:0[0m [09:17:54.486] [00:00:25.588,836] [0m<inf> nrf_cloud_pgps: size:0, period (minutes):0, GPS day:0, GPS time:0[0m [09:17:54.496] [00:00:25.597,717] [1;33m<wrn> nrf_cloud_pgps: One or more fields are wrong[0m [09:17:54.496] [00:00:25.604,827] [0m<dbg> location: method_gnss_pgps_handler: P-GPS event type: 1[0m [09:17:54.505] [00:00:25.612,670] [0m<dbg> location: method_gnss_pgps_handler: P-GPS event type: 5[0m [09:17:54.514] [00:00:25.622,131] [0m<dbg> location: method_gnss_agnss_expiry_process: GPS: Expired ephemerides: 32, almanacs: 32[0m [09:17:54.524] [00:00:25.632,598] [0m<dbg> location: method_gnss_agnss_expiry_process: A-GNSS data need: data_flags: 0x3f[0m [09:17:54.535] [00:00:25.642,456] [0m<dbg> location: method_gnss_agnss_expiry_process: A-GNSS data need: GPS sv_mask_ephe: 0xffffffff, sv_mask_alm: 0xffffffff[0m [09:17:54.554] [00:00:25.655,456] [0m<dbg> location: method_gnss_assistance_request: P-GPS request sv_mask_ephe: 0xffffffff, data_flags 0x00[0m [09:17:54.565] [00:00:25.666,931] [0m<dbg> location: method_gnss_assistance_request: A-GNSS request: data_flags: 0x3f[0m [09:17:54.575] [00:00:25.676,452] [0m<dbg> location: method_gnss_assistance_request: A-GNSS request: GPS sv_mask_ephe: 0x0, sv_mask_alm: 0x0[0m [09:17:54.578] [00:00:25.766,296] [0m<dbg> location: scan_cellular_execute: Triggering cell measurements timeout=5000, cell_count=0[0m [09:17:54.676] [00:00:25.776,916] [0m<dbg> location: scan_cellular_execute: Starting cellular timer with timeout=5000[0m [09:17:54.685] [00:00:25.786,376] [0m<dbg> location: scan_cellular_execute: Normal neighbor search (NCELLMEAS=1)[0m [09:17:54.685] %NCELLMEAS: 0,"01832F1B","46000","5B12",0,3684,404,84,29,25176,24774 [09:17:54.695] [00:00:25.803,436] [0m<dbg> location: scan_cellular_lte_ind_handler: Cell measurements results received: ncells_count=0, gci_cells_count=0, current_cell.id=0x01832F1B[0m [09:17:54.716] [00:00:25.818,420] [0m<dbg> location: scan_cellular_lte_ind_handler: No neighbor cell information from modem[0m [09:17:54.725] [00:00:25.828,369] [0m<dbg> location: scan_cellular_lte_ind_handler: No surrounding cell information from modem[0m [09:17:54.729] [00:00:34.300,537] [0m<dbg> location: method_gnss_nrf_cloud_agnss_request: A-GNSS data requested[0m [09:18:03.205] [00:00:34.313,537] [0m<dbg> location: method_gnss_nrf_cloud_agnss_request: A-GNSS data processed[0m [09:18:03.216] [00:00:34.322,479] [0m<inf> nrf_cloud_pgps: Searching for prediction[0m [09:18:03.225] [00:00:34.328,979] [0m<inf> nrf_cloud_pgps: Predictions not loaded yet[0m [09:18:03.225] [00:00:34.335,662] [0m<inf> nrf_cloud_pgps: Searching for prediction[0m [09:18:03.234] [00:00:34.342,102] [0m<inf> nrf_cloud_pgps: Predictions not loaded yet[0m [09:18:03.238] [00:00:36.747,192] [0m<dbg> location: method_gnss_pgps_request_work_fn: P-GPS data requested[0m [09:18:05.645] [00:00:36.756,286] [0m<inf> download_client: Downloading: public/16334-0_16340-72000.bin [0][0m [09:18:05.655] [00:00:36.764,923] [0m<dbg> location: method_gnss_pgps_request_work_fn: P-GPS data processed[0m [09:18:05.665] [00:00:36.773,468] [0m<inf> nrf_cloud_pgps: Searching for prediction[0m [09:18:05.676] [00:00:36.779,937] [0m<inf> nrf_cloud_pgps: Predictions not loaded yet[0m [09:18:05.685] [00:00:36.786,621] [0m<dbg> location: method_gnss_pgps_request_work_fn: P-GPS prediction requested[0m [09:18:05.685] [00:00:36.799,255] [0m<dbg> location: method_gnss_allowed_to_start: RRC already in idle mode[0m [09:18:05.698] [00:00:36.816,558] [0m<dbg> location: location_core_timer_start: Starting timer with timeout=180000[0m [09:18:05.715] [00:00:37.403,717] [0m<inf> download_client: Setting up TLS credentials, sec tag count 1[0m [09:18:06.304] [00:00:37.412,048] [0m<inf> download_client: Connecting to 2600:9000:2164:4200:3:e9a6:59c0:93a1[0m [09:18:06.315] [00:00:37.421,173] [1;31m<err> download_client: Unable to connect, errno 114[0m [09:18:06.324] [00:00:37.428,771] [1;31m<err> nrf_cloud_pgps: Download failed: -5[0m [09:18:06.324] [00:00:37.810,974] [0m<dbg> location: method_gnss_print_pvt: Tracked satellites: 0, fix valid: false, insuf. time window: false, deadline missed: true[0m [09:18:06.714] [00:00:38.811,309] [0m<dbg> location: method_gnss_print_pvt: Tracked satellites: 0, fix valid: false, insuf. time window: false, deadline missed: true[0m [09:18:07.714] [00:00:39.811,370] [0m<dbg> location: method_gnss_print_pvt: Tracked satellites: 0, fix valid: false, insuf. time window: false, deadline missed: true[0m [09:18:08.714] [00:00:40.812,072] [0m<dbg> location: method_gnss_print_pvt: Tracked satellites: 0, fix valid: false, insuf. time window: false, deadline missed: true[0m [09:18:09.715]
Regards,
William.