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

Getting Started with nRF9160 DK : Problem to connect DK to nrFcloud

Hello,
I cannot connect my DK to nRF cloud
After following the step "Asset Tracker programming to DK" I have the following error in the logs:
***** Booting Zephyr OS v1.14.99-ncs2-rc2 *****
Flash region Domain License ***** Hardware exception *****
Current thread ID = 0x20001870
Faulting instruction address = 0x30100
Fatal fault in ISR! Spinning ...

Can you help me ?
Parents
  • Hello, 

    Can you please give me some information on what version you are using? I.e. in command prompt give the output to the command "west status"

    Kind regards,
    Øyvind

  • Hello, 

    I'm not sure you want this result

    Result of command : west status 

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    === status of nrf (nrf):
    On branch master
    Your branch is up to date with 'origin/master'.
    Changes not staged for commit:
    (use "git add <file>..." to update what will be committed)
    (use "git checkout -- <file>..." to discard changes in working directory)
    modified: applications/asset_tracker/src/main.c
    modified: subsys/spm/spm.c
    Untracked files:
    (use "git add <file>..." to include in what will be committed)
    applications/asset_tracker/build_nrf9160_pca10090ns/
    applications/nrf_desktop/build_nrf9160_pca10090/
    applications/nrf_desktop/build_nrf9160_pca10090ns/
    samples/bluetooth/central_bas/build_nrf9160_pca10090/
    samples/bluetooth/central_bas/build_nrf9160_pca10090ns/
    samples/bluetooth/throughput/build_nrf9160_pca10090/
    samples/debug/ppi_trace/build_nrf9160_pca10090/
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • Yes, this was exactly what I needed.  (Tip to next time is to use the Insert --> Insert Code)

    You are currently working on the master branch of NCS which can cause issues. I was able to reproduce the issue. My solution was to checkout tag v0.4.0, and this is currently what we suggest customers use v0.4.0 until a new tag is released.

    Before changing to tag v0.4.0, you should remove the untracked files that you have. If these are not important changes, you can use:

    Fullscreen
    1
    git clean -fd
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX


    To change to tag v0.4.0, please do the following:

    Fullscreen
    1
    2
    3
    4
    5
    cd ncs/nrf
    git checkout master
    git pull
    git checkout v0.4.0
    west update
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Then try "Asset Tracker programming to DK" step one more time.

    Kind regards,
    Øyvind

  • Thanks for your help Øyvind.
    It works now.

    Kind regards, 

    Jérôme

  • Good to hear! 

    Cheers, 
    Øyvind

Reply Children
No Data