Full modem update configuration

Hi,

I want to do full modem update.

https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/nrf9160/http_update/full_modem_update/README.html

My device is - nrf1960

nrf SDK version  - 1.9.1

I am not understanding how to do the following configuration. Please guide me.

On the nRF9160 DK, set the control signal from the nRF52840 board controller MCU (P0.19) to high to let the nRF9160 communicate with the external flash memory. 

I have through following link also. Still cant understand.

developer.nordicsemi.com/.../index.html

Best regards


Praveen Deshmane


  • Hello,

    I am not understanding how to do the following configuration. Please guide me.

    What part do you not understand? To change the board controller, just build the Zephyr hello_world sample for example, and choose nrf9160dk_nrf52840 as board. You need to put

    &external_flash_pins_routing {
        status = "okay";
    };

    in the .overlay file before building and flashing. Then flash it to the nrf52840 chip. After that you should be able to access the P0.19 to enable the external flash communication.

  • Hi Haken,

    My current board id nrf1960_ns.

    if I change to nrf9160dk_nrf52840 board and build, i get build errors.

    what to do?

  • Praveen Deshmane said:
    if I change to nrf9160dk_nrf52840 board and build, i get build errors.

    Can you show the build log?

  • Hello Hakon,

    Sorry for replying late. I was busy in other tasks. I really appreciate your time.
     
    Here it is build error log

    Including boilerplate (Zephyr base (cached)): C:/Users/ift_praveen/ncs/v1.9.1/zephyr/cmake/app/boilerplate.cmake
    -- Application: C:/Users/ift_praveen/Desktop/IM-830/WORK/dev_lpwa/im830
    -- Zephyr version: 2.7.99 (C:/Users/ift_praveen/ncs/v1.9.1/zephyr), build: v2.7.99-ncs1-1
    -- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
    -- Board: im830_nrf9160_ns, Revision: 0.1.0
    -- Cache files will be written to: C:/Users/ift_praveen/ncs/v1.9.1/zephyr/.cache
    -- Found dtc: C:/Users/ift_praveen/ncs/v1.9.1/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (c:/Users/ift_praveen/ncs/v1.9.1/toolchain/opt)
    -- Found BOARD.dts: C:/Users/ift_praveen/Desktop/IM-830/WORK/dev_lpwa/im830/boards/arm/im830_nrf9160/im830_nrf9160_ns.dts
    -- Found devicetree overlay: C:/Users/ift_praveen/Desktop/IM-830/WORK/dev_lpwa/im830/im830_nrf9160_ns.overlay
    devicetree error: C:\Users\ift_praveen\Desktop\IM-830\WORK\dev_lpwa\im830\im830_nrf9160_ns.overlay:2 (column 1): parse error: undefined node label 'external_flash_pins_routing'
    CMake Error at C:\Users\ift_praveen\ncs\v1.9.1\zephyr\cmake\dts.cmake:205 (message):
      gen_defines.py failed with return code: 1
    Call Stack (most recent call first):
      C:\Users\ift_praveen\ncs\v1.9.1\zephyr\cmake\app\boilerplate.cmake:543 (include)
      C:\Users\ift_praveen\ncs\v1.9.1\zephyr\share\zephyr-package\cmake\ZephyrConfig.cmake:24 (include)
      C:\Users\ift_praveen\ncs\v1.9.1\zephyr\share\zephyr-package\cmake\ZephyrConfig.cmake:40 (include_boilerplate)
      c:\Users\ift_praveen\Desktop\IM-830\WORK\dev_lpwa\im830\build\CMakeLists.txt:5 (find_package)
     

    nrf9160_ns.overlay

    &external_flash_pins_routing {
      status = "okay";
    };


    Please help me to resolve this issue.

    Best Regards

    Praveen Deshmane


Related