LTE link monitor does not work.
OS: MacSEGGER IDE: v4.16place: Tokyo in Japan.
I set up the environment from scratch following Get Started Assistant v0.9.2, updated firmware to 0.7.0-15.alpha, and then activated SIM card.I'm using v0.4.0 of nrf repository, the latest one.
It was weird that even though README.rst file explains I should run: pip install nrf9160_mdm_dfu-0.10.1+dev-py3-none-any.whl, but there is only nrf9160_mdm_dfu-0.10.0+dev-py3-none-any.whl, instead of nrf9160_mdm_dfu-0.10.1+dev-py3-none-any.whl. I installed nrf9160_mdm_dfu-0.10.0+dev-py3-none-any.whl.
After that, I built and run at_client program to a nRF9160DK and it was successful.
Finally, I installed LTE link monitor v0.9.1, but there is no response and always timeout happens.
Can anyone give any advice? Thank you in advance.
I tried Board Name: nrf9160_pca10090ns and nrf9160_pca10090. Both does not work out
ok. I solved this by following this instruction. https://devzone.nordicsemi.com/f/nordic-q-a/46787/application-won-t-run---erroneous-flash-address-range
This is so user unfriendly and confusing.
UART button on LTE link Monitor is still red. I don't know why. But It works well.
Good to hear that you figured it out! As your link says, the secure boot application has been changed into the secure partition manager (SPM). There is updated documentation here for the v0.4.0 release & here for the master branch. The SPM example should be run as a nrf9160_pca10090 board because it sets up the secure & non-secure partitions on flash & the at client application should be setup as a nrf9160_pca10090ns (non secure) board because it is located on the non-secure part of flash.
Not sure why the UART is red. I have tested myself with the at client example from NCS v0.4.0 & the UART is green for me (i.e. flow control is enabled). Did you try pressing the reset button after you connected to your device in the LTE Link Monitor?
I'm using Mac.
It is weird that the commands below on nRF Connect SDK are not verified while I can build and run programs without problems.
・brew install cmake・brew install python3・pip3 install --user west
・brew install cmake
pip3 install --user west
This may cause UART issue. Do you have any advice?
[ at_client - prj.conf ]
CONFIG_SPM=y <- ADD
at_clientのprj.conf に CONFIG_SPM=y を追加してビルドしてください。
そうすると、zephyr.hex の他に merged.hex が新たに作られるのでそちらをJ-linkでFlashします。
merged.hexの場所は at_client/build_nrf9160_pca10090/zephyr の中です。
Target -> Connect J-Link
Target -> Download File -> Download Intel Hex
で merged.hex を指定します。
その状態でnRF Connectアプリの LTE Link Monitorを開くとエラーがいっぱい出るなら、SPMのプロジェクトもビルドしてそっちは普通にBuild and Run で Flash してみてください。
iBasisのSIMカードは nRF CloudドットコムのWEBからRegistrationをお忘れなく。