https_sample run-time errors.

Hello!

I built the https sample app for the Sparkfun_I got run time errors.

my setup:

Updated Windows 11 Pro

SDK 2.6.1 and 2.8.0

How do I solve this?

"The Modem library must be enabled by CONFIG_NRF_MODEM_LIB to be included in the build(missing_kconfig_param)" CONFIG_NRF_MODEM_LIB=y is set on prj.conf; what else?

Errors:

<err> lte_lc: Failed to configure RAI, err 65536.

<err> cloud: Unable to connect. Err: -116 - Connection timed out.

<err> os: ***** BUS FAULT *****.
<err> os: Precise data bus error.
<err> os: BFAR Address: 0x0.
<err> os: r0/a1: 0xfffffffc r1/a2: 0x20013c2c r2/a3: 0x2000d394.
<err> os: r3/a4: 0x00000020 r12/ip: 0x00000000 r14/lr: 0x0002e381.
<err> os: xpsr: 0x21000000.
<err> os: Faulting instruction address (r15/pc): 0x0002ad04.[0m
<err> os: >>> ZEPHYR FATAL ERROR 25: Unknown error on CPU 0.
<err> os: Current thread: 0x2000d240 (unknown).
<err> fatal_error: Resetting system.

Thanks!

Parents Reply
  • Hi!

    I copied the file from Github, I changed the overly name to "sparkfun_thing_plus_nrf9160_ns.conf," the same name as the board, I edited build configuration and added the overlay with "Base Devicetree overlays" button, built the application and got some errors, Then I tried with "Extra Devicetree overlays" button, both of which got errors; I never used overlay, so I don't know how to work with them; if I did something wrong, please let me know

    I have attached the build log and support information to the zip file.

    With kind regards

    0245.Build log.zip

Children
  • Hi,

     

    The first time, you were able to build successfully. The second time, you have mixed up what is the kconfig configuration file and what is the DT overlay file.

    Do not specify a .conf / .overlay file. The build-system will pick up the corresponding board file in the boards/ folder.

    Digisoles said:
    "Base Devicetree overlays" button

    A DT overlay file has extension .overlay, and a kconfig fragment/file has the .conf file extension. You seem to be mixing these.

     

    Kind regards,

    Håkon

Related