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

Problem with MQTT_Simple

I am having a problem running MQTT_Simple on my nRF9160 DK.

The COM Port shows the following:

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

I have recently updated SES, but the code still produces the bus fault.

Case ID: 226428 seems to be similar, but the discussion involves several "experiments" only some of which were productive.

So, could someone explicitly lists the steps needed to get this example working.  I wish to use it as the basis for a new product that sends data to the cloud.

Thank you,

-Craig Goldman

  • I appreciate your help, but I am not making much progress.

    I switched the board to nrf9160_pca10090ns.
    I cleared out the build directory so I get a clean build.

    The "Open nRF Connect SDK Project" fails.

    The end of the log shows the following....

    Zephyr version: 1.14.99
    -- Found PythonInterp: C:/Python37/python.exe (found suitable version "3.7.2", minimum required is "3.4")
    -- Selected BOARD nrf9160_pca10090ns
    -- Found west: C:/Python37/Scripts/west.exe (found suitable version "0.5.8", minimum required is "0.5.6")
    -- Cache files will be written to: C:\Users\info\AppData\Local/.cache/zephyr
    USING OUT OF TREE BOARD
    CMake Error at C:/Users/info/Dropbox/64Seconds/NCS/zephyr/cmake/kconfig.cmake:135 (message):
      File not found:
      C:/Users/info/Dropbox/64Seconds/NCS/zephyr/boards/arm/nrf9160_pca10090ns/nrf9160_pca10090ns_defconfig
    Call Stack (most recent call first):
      C:/Users/info/Dropbox/64Seconds/NCS/zephyr/cmake/app/boilerplate.cmake:500 (include)
      CMakeLists.txt:10 (include)

    -- Configuring incomplete, errors occurred!
    Project load failed
    Reported error: solution load command failed (1)
    Any thoughts?
    There are three pca100090ns files:
    nrf9160_pca10090ns.dts
    nrf9160_pca10090ns.yaml
    nrf9160_pca10090ns_defconfig
    Is something else needed?
    -Craig Goldman
  • Hi Craig, 

    In SES, can you please go to:
    Tools --> Options --> nRF Connect

    Make sure your Zephyr Base is pointing to: 
    C:/Users/info/Dropbox/64Seconds/NCS/zephyr/

    Let me know how that works for you.

    Kind regards,
    Øyvind

  • No listing.

    File --> Open nRF Connect SDK Project looks like the following...

    This fails.

    After that when I do Tools --> Options, I get this....

    Does this help?

  • Forgot to mention, when I do File --> Open nRF Connect SDK Project using

    Board Directory: C:/Users/info/Dropbox/64Seconds/NCS/zephyr/boards/arm/nrf9160_pca10090

    (i.e without the "ns" on the end), the project will open.  It just will not build (as described earlier in this thread.)

  • There seems to be an issue with the installation of Segger Embedded Studio. This is what it should look like:







Related