Samples hci_lpuart + lte_ble_gateway not working on thingy91 SDKs v2.4.2, v2.3.0, v2.2.0

Hi, I am programming on a thingy91 (and a nrf9160DK).
I have an app that uses hci_lpuart sample and used to be running with 1.9.1 sdk, the app is very similar to the lte_ble_gateway sample
I am migrating to a newer version (2.4.2) and I managed to make it work on my DK.
However, when I try to flash it on the thingy91, it will not be able to enable bluetooth (using bt_enable) because of what's going on with the 52 chip.
I can make both my app and the lte_ble_gw sample work on my DK (using hci_lpuart sample) but when trying to do the exact same thing on my Thingy91, nothing works and the bluetooth cannot be enable, no matter what I try.
I would like to know if I need to have any specific configuration (maybe a specific .overlay file or smth) as it's most likely that the problem comes from compatibility issues with the configuration build provided when getting the sample since I cannot even make a nordic sample work on my thingy.

Thanks for your answers.

Regards,

0x35c

Parents Reply Children
  • Hi, I tested the samples (cf title of the ticket) with several SDKs. None of these worked, maybe I am doing something wrong but I don't think the DK and the thingy have much difference with flashing 91 and 52 chips (except I have to use the DK to flash thingy91).

    My process is :

    - build hci_lpuart and lte_ble_gateway samples using VSCode extension (I build both nrf9160dk_nrf52840 and thingy91_nrf52840 for hci_lpuart and nrf9160dk_nrf9160ns and thingy91_nrf9160ns for lte_ble_gateway)

    - [DK] Set sw5 to nrf52 then hci_lpuart > Flash (in the extension)

      [DK] Set sw5 to nrf91 then lte_ble_gateway > Flash

      [T91] Connect the DK to my computer and the t91 to the DK through the 10 pins interface

      [T91] Set sw2 to nrf52 then > nrfjprog -f NRF52 --program ~/hci_lpuart/build/zephyr/zephyr.hex --chiperase --verify zephyr.hex

      [T91] Set sw2 to nrf91 then > nrfjprog -f NRF91 --program ~/lte_ble_gateway/build/zephyr/merged.hex --chiperase --verify merged.hex 

    Let me know if any of this process is wrong (btw my t91 has the right modem firmware even though it has nothing to do with the bluetooth failing)

    Thanks for your answer.

    Best regards,

    0x35c

  • Nothing seems wrong with your setup, something seems wrong with our setup here. I can't make it work either. waiting for the dev teams response and they are busy with other releases. 

Related