location application run time error and warnings

Hi!

I have built a sample application "location," got some warnings, and got runtime errors. I have attached a zip file with code and images.

I just have reinstalled nRF Connect Desktop, nRF Command Line Tools and VSC extension, I think I have some problems with my setup

My setup:

Updated Windows 11, Spanish

SDK 2.6.1 and 2.8.0

Any hints would be greatly appreciated.


location.zip

Parents
  • Hello, 

    It looks like your adding more to the sample, based on the .zip flie you added. Could you please elaborate? I have no issues building nrf\samples\cellular\location for the sparkfun_thing_plus/nrf9160/ns in nRF Connect SDK v2.8.0. 

    What warnings and errors are you seeing exactly? Did you try without altering the location sample?

    Kind regards,
    Øyvind

  • Hello, Øyvind!

    What warnings and errors are you seeing exactly? Did you try without altering the location sample?
        I got some warnings, I dont get build time error, but run time errors. 

    This is the serial terminal output:

    *** Booting nRF Connect SDK v3.5.99-ncs1-1 ***
    [00:00:00.257,659] .[0m<inf> gnss_sample: Starting GNSS sample.[0m
    [00:00:00.451,477] .[1;31m<err> lte_lc: Could not send AT command, error: 65536.[0m
    [00:00:00.458,831] .[1;31m<err> lte_lc: Failed to set system mode and mode preference, err -14.[0m
    [00:00:00.471,160] .[1;31m<err> gnss_sample: Failed to set GNSS NMEA mask.[0m
    [00:00:00.477,966] .[1;31m<err> gnss_sample: Failed to initialize and start GNSS.[0m

    Aside from the standard "Add build configuration" and prj.conf "CONFIG_BOOTLOADER_MCUBOOT=y," haven't contributed any further configurations or code.

    The SparkFun board requires the "app_update.bin" file, then I use "newtmgr -c serial image upload build/zephyr/app_update.bin" to program the board.

    Maybe should upgrade the SparkFun board firmware? How can view the firmware version, please?

    believe have problem, probably with my settings; made no changes because need a working app!

    I've installed and uninstalled the software more than six times and can't figure out what's wrong; might it be that I have Spanish Windows 11 Pro? I also installed on a Windows 10 Pro; I'm desperate; I'm about to lose my job since I've been trying to make it work for so long.

    Why do you think I changed something in the application? It could be a hint; any hints would be greatly appreciated.

    Thank you!

    Best regrds



    Aside from the standard "Add build configuration" and prj.conf "CONFIG_BOOTLOADER_MCUBOOT=y," haven't contributed any further configurations or code.

    The SparkFun board requires the "app_update.bin" file, then I use "newtmgr -c serial image upload build/zephyr/app_update.bin" to program the board.

    Maybe should upgrade the SparkFun board firmware? How can view the firmware version, please?

    believe have problem, probably with my settings; made no changes because need a working app!

    I've installed and uninstalled the software more than six times and can't figure out what's wrong; might it be that I have Spanish Windows 11 Pro? I also installed on a Windows 10 Pro; I'm desperate; I'm about to lose my job since I've been trying to make it work for so long.

    Why do you think I changed something in the application? It could be a hint; any hints would be greatly appreciated.

    Thank you!

    Best regrds

Reply
  • Hello, Øyvind!

    What warnings and errors are you seeing exactly? Did you try without altering the location sample?
        I got some warnings, I dont get build time error, but run time errors. 

    This is the serial terminal output:

    *** Booting nRF Connect SDK v3.5.99-ncs1-1 ***
    [00:00:00.257,659] .[0m<inf> gnss_sample: Starting GNSS sample.[0m
    [00:00:00.451,477] .[1;31m<err> lte_lc: Could not send AT command, error: 65536.[0m
    [00:00:00.458,831] .[1;31m<err> lte_lc: Failed to set system mode and mode preference, err -14.[0m
    [00:00:00.471,160] .[1;31m<err> gnss_sample: Failed to set GNSS NMEA mask.[0m
    [00:00:00.477,966] .[1;31m<err> gnss_sample: Failed to initialize and start GNSS.[0m

    Aside from the standard "Add build configuration" and prj.conf "CONFIG_BOOTLOADER_MCUBOOT=y," haven't contributed any further configurations or code.

    The SparkFun board requires the "app_update.bin" file, then I use "newtmgr -c serial image upload build/zephyr/app_update.bin" to program the board.

    Maybe should upgrade the SparkFun board firmware? How can view the firmware version, please?

    believe have problem, probably with my settings; made no changes because need a working app!

    I've installed and uninstalled the software more than six times and can't figure out what's wrong; might it be that I have Spanish Windows 11 Pro? I also installed on a Windows 10 Pro; I'm desperate; I'm about to lose my job since I've been trying to make it work for so long.

    Why do you think I changed something in the application? It could be a hint; any hints would be greatly appreciated.

    Thank you!

    Best regrds



    Aside from the standard "Add build configuration" and prj.conf "CONFIG_BOOTLOADER_MCUBOOT=y," haven't contributed any further configurations or code.

    The SparkFun board requires the "app_update.bin" file, then I use "newtmgr -c serial image upload build/zephyr/app_update.bin" to program the board.

    Maybe should upgrade the SparkFun board firmware? How can view the firmware version, please?

    believe have problem, probably with my settings; made no changes because need a working app!

    I've installed and uninstalled the software more than six times and can't figure out what's wrong; might it be that I have Spanish Windows 11 Pro? I also installed on a Windows 10 Pro; I'm desperate; I'm about to lose my job since I've been trying to make it work for so long.

    Why do you think I changed something in the application? It could be a hint; any hints would be greatly appreciated.

    Thank you!

    Best regrds

Children
No Data
Related