This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

lte_ble_gateway sample application gets a kernel panic

I have reprogrammed the nRF52840 board controller.  When I run the lte_ble_gateway application I get the following on the 2nd dev kit VCP port:

SPM: NS image at 0xc000
SPM: NS MSP at 0x2002bc90
SPM: NS reset vector at 0x14b7d
SPM: prepare to jump to Non-Secure image.
***** Booting Zephyr OS v1.14.99-ncs2 *****
Application started
Initializing Bluetooth..
Establishing LTE link (this may take some time) ...
ASSERTION FAIL [err == 0] @ ../src/main.c:515
LTE linBluetooth ready
k could noScanning...
be established.
***** Kernel Panic! *****
Current thread ID = 0x20023e34
Faulting instruction address = 0x32372

The board controller VCP (3rd port) gives:

***** Booting Zephyr OS v1.14.99-ncs2 *****

It looks like the problem is in lte_lc_init_and_connect(),  Any ideas on what is wrong?

    512                 printk("Establishing LTE link (this may take some time) ...\n");
    513                 display_state = LEDS_CONNECTING;
    514                 err = lte_lc_init_and_connect();
    515                 __ASSERT(err == 0, "LTE link could not be established.");
    516         }
    517 }

Related