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

nrf9160 MQTT example

Hi!

I just saw the MQTT example that has been merged in the master branch and tried to run it on my DK (NB-IoT). Without changing anything in the code or configuration the execution leads to the following output in the console appears:

***** BUS FAULT *****
Precise data bus error
BFAR Address: 0x4002a514
***** Hardware exception *****
Current thread ID = 0x2000031c
Faulting instruction address = 0x6604
Fatal fault in essential thread! Spinning...

I used the latest tags of the releases of zephyr, etc. and only copied mqtt_simple from master branch. Are there any hints or tips how I can make the example work?

Parents
  • Hi Dominik,

    Which guide did you follow?

    Did you follow the guide listed in the ncs documentation?

    The reason I am asking this is because your folder setup should look like this:

    (not with the 'zephyrproject' folder included)

    If you clean up in that regards, and following the guide I proposed I think the issue should be resolved.

    Also, the error log you got could be helpful to share as well.

    I need to come back to you with regards to SES IDE support on the master branch. 

     

Reply
  • Hi Dominik,

    Which guide did you follow?

    Did you follow the guide listed in the ncs documentation?

    The reason I am asking this is because your folder setup should look like this:

    (not with the 'zephyrproject' folder included)

    If you clean up in that regards, and following the guide I proposed I think the issue should be resolved.

    Also, the error log you got could be helpful to share as well.

    I need to come back to you with regards to SES IDE support on the master branch. 

     

Children
Related