Hello everyone!
I am rather new to firmware development with Nordic products and am experiencing some trouble with the Thingy91 LTE BLE Gateway sample.
What is the problem?
I am trying to flash the sample onto the Thingy91 (via a Debugger and the SWD connector), but there are 2 issues:
- no LTE connection can be established wiuth the NRF Cloud
- the LPUART sample on the nrf52840 is not detected properly by the nrf9160
As a result, it is stuck in the connection establishment process to the cloud, as described below.
LTE Issue
It is precisely stuck in this state:
-
LED 4 blinking: The device is connecting to nRF Cloud.
Apparently it tries to connect to a seemingly random port and not 8883 for MQTT.
The antenna itself is fine though and the asset_tracker_v2 firmware works as well.
BLE Issue
The nrf9160 does not detect the lpuart firmware on the nrf52840 and logs an error similar to:
"could not detect bluetooth core"
I have no idea how to resolve this problem.
Equipment / Config
As required by the sample I do have a JLink Debugger to flash the chips directly and am using the VS Code extension to do so.
The board config is respectively set to thingy91/nrf9160/ns and thingy91/nrf52840.
I am grateful for all ideas / help and happy to supply more details!
Kind regards,
TK