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

nrf5340 - netcore and cpuapp build and upload issue

Hi, I am trying to get start nRF5340 and projects. In NCS 1.5.0 

i am following this link https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html

There i have seen

cpuapp

cpuappns

cpunetcore

I can't able to understand about secure and non-secure CPU

and I have get start the nRF5340DK with nrf_blinky so. I used cpuapp nrf5340dk

and created the netcore but while download the netcore hex. from SES but showing the error no input file

Parents
  • Hi Sunil

    Yes, nrfjprog and west are command line tools. 

    There are examples for Flash storage and TWI in the Zephyr project, please check them out here.

    Best regards,

    Simon

  • Hi Simonr, Still i am getting the same error on uploading  hci_rpmsg_nrf5340_netcore

    I added the line CONFIG_BT_RPMSG_NRF53=y in prj.conf of peripheral_lbs

    #
    # Copyright (c) 2018 Nordic Semiconductor
    #
    # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
    #
    CONFIG_NCS_SAMPLES_DEFAULTS=y
    
    CONFIG_BT=y
    CONFIG_BT_PERIPHERAL=y
    CONFIG_BT_DEVICE_NAME="Nordic_Blinky"
    
    CONFIG_BT_RPMSG_NRF53=y
    
    # Enable the LBS service
    CONFIG_BT_LBS=y
    CONFIG_BT_LBS_POLL_BUTTON=y
    CONFIG_DK_LIBRARY=y
    
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
    

    Step I have followed

    1. I have selected peripheral_lbs project and board nrf5340dk_nrf5340_cpuapp

    2. Build the project. (without doing dfu setup - the build hex is creating merged.hex) why its creating merged.hex only for peripheral_lbs

    3. I found merged_CPUNET.hex in

    D:\nRF5xx\NCS\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg\zephyr

    4. I have created hci_rpmsg_nrf5340_netcore project file inside the current peripheral_lbs solution from this link https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html

    5. loaded the path $(ProjectDir)/hci_rpmsg/zephyr/merged_CPUNET.hex as like same link

    6. merged_CPUNET.hex file is uploading only by doing with nrfconnect desktop

    after that i upload the zephyr/merged.hex from the segger and the project working in the nrf5340 board

    My questions are.

    1.why its creating merged.hex only for peripheral_lbs project?

    2. Is merged_CPUNET.hex is different for different projects ?

    3. nrf5340 DK creating 3 comports what are they?

Reply
  • Hi Simonr, Still i am getting the same error on uploading  hci_rpmsg_nrf5340_netcore

    I added the line CONFIG_BT_RPMSG_NRF53=y in prj.conf of peripheral_lbs

    #
    # Copyright (c) 2018 Nordic Semiconductor
    #
    # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
    #
    CONFIG_NCS_SAMPLES_DEFAULTS=y
    
    CONFIG_BT=y
    CONFIG_BT_PERIPHERAL=y
    CONFIG_BT_DEVICE_NAME="Nordic_Blinky"
    
    CONFIG_BT_RPMSG_NRF53=y
    
    # Enable the LBS service
    CONFIG_BT_LBS=y
    CONFIG_BT_LBS_POLL_BUTTON=y
    CONFIG_DK_LIBRARY=y
    
    CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
    

    Step I have followed

    1. I have selected peripheral_lbs project and board nrf5340dk_nrf5340_cpuapp

    2. Build the project. (without doing dfu setup - the build hex is creating merged.hex) why its creating merged.hex only for peripheral_lbs

    3. I found merged_CPUNET.hex in

    D:\nRF5xx\NCS\v1.5.0\nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg\zephyr

    4. I have created hci_rpmsg_nrf5340_netcore project file inside the current peripheral_lbs solution from this link https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf5340.html

    5. loaded the path $(ProjectDir)/hci_rpmsg/zephyr/merged_CPUNET.hex as like same link

    6. merged_CPUNET.hex file is uploading only by doing with nrfconnect desktop

    after that i upload the zephyr/merged.hex from the segger and the project working in the nrf5340 board

    My questions are.

    1.why its creating merged.hex only for peripheral_lbs project?

    2. Is merged_CPUNET.hex is different for different projects ?

    3. nrf5340 DK creating 3 comports what are they?

Children
No Data
Related