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

HTTP Example. Secure Error or Stuck

Hi! 
Found in this post https://devzone.nordicsemi.com/f/nordic-q-a/43514/nrf9160-http-and-other-examples
about http client example, and link to repo to examles.
All libs is up to date. (zephyr, nrf, nrfxlib, mcuboot)

I have two error types:
1. Hardfault error. After getaddr return -1.
2. Forever stuck in this stage

06 NRF_IPC		Non-Secure	OK
07 NRF_VMC		Non-Secure	OK
08 NRF_FPU		Non-Secure	ERROR
09 NRF_EGU1		Non-Secure	OK
10 NRF_EGU2		Non-Secure	OK
11 NRF_TWIM2		Non-Secure	OK
12 NRF_SPIM3		Non-Secure	OK
13 NRF_TIMER0		Non-Secure	OK
14 NRF_TIMER1		Non-Secure	OK
15 NRF_TIMER2		Non-Secure	OK
16 NRF_GPIOTE1		Non-Secure	OK

SPM: MSP_NS 20024e00
SPM: prepare to jump to Non-Secure image
***** Booting Zephyr OS v1.13.99-ncs1-5891-gd70aa052bc4b *****

Parents
  • Hi Moshe,

     I assume that you have tested some other samples and know that you have coverage and made connection with the network.


    Since the "nrf9160_samples" is it's own branch in a forked repository(rallare/nrf) of the nrf repo, it is behind of a lot of commits which is in the master branch.
    This means that if you are going to work with those samples, you need to be in sync. with the same stage as the rallare/nrf repository.

    • So if you are working in the nrf master branch, you need to revert to the correct stage which syncs up with the forked repository.

    cd ncs/nrf
    git checkout b95410c398d334050ef029eebf159e43905423d1
    west update

    Then you should be able to paste in the http sample and build/run it correctly.


    • If you have cloned the forked "rallare/nrf" repository and checked out the "nrf9160_samples" branch you should do a "west update" inside that branch to sync up the rest of the repos (zephyr, nrfxlib..)

    This is shown in detail in this guide: : 

    How_to_add_a_remote_branch_into_your_own_local_repository_v1.2.pdf


    by the way this is the correct output of the sample:

    Best Regards,

    Martin L.

Reply
  • Hi Moshe,

     I assume that you have tested some other samples and know that you have coverage and made connection with the network.


    Since the "nrf9160_samples" is it's own branch in a forked repository(rallare/nrf) of the nrf repo, it is behind of a lot of commits which is in the master branch.
    This means that if you are going to work with those samples, you need to be in sync. with the same stage as the rallare/nrf repository.

    • So if you are working in the nrf master branch, you need to revert to the correct stage which syncs up with the forked repository.

    cd ncs/nrf
    git checkout b95410c398d334050ef029eebf159e43905423d1
    west update

    Then you should be able to paste in the http sample and build/run it correctly.


    • If you have cloned the forked "rallare/nrf" repository and checked out the "nrf9160_samples" branch you should do a "west update" inside that branch to sync up the rest of the repos (zephyr, nrfxlib..)

    This is shown in detail in this guide: : 

    How_to_add_a_remote_branch_into_your_own_local_repository_v1.2.pdf


    by the way this is the correct output of the sample:

    Best Regards,

    Martin L.

Children
No Data
Related