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

nrf5340 - peripheral-lbs issue

Hello,

I am new with nordic boards. I am using an nrf5340-(P)DK.

I bulit and downloaded the perhipher-lbs sample successfully to the board.

However, when trying to discover the board using nrfconnect-mobile, I could not.  

Parents
  • Hi, 

    What is the board version on the white sticker? Are you using NCS v1.6.1?

    Do you program with SES or West? If you are using SES, do you program the network sample from SES?

    What is the status of the DK after loading the images? Do you see the LED 1 blinks with a period of 2 seconds, duty cycle 50% (the device is advertising)?

    Regards,

    Amanda 

  • Hello,

    the board version is: PCA10095, 0.8.0, 2020.24

    I was using NCS version v1.4.0 but I updated to v1.6.1 and tried again with the same result.

    I use the SES. I was trying with the application sample. When I try to download the network sample I get the following error in SES output:

    1) Failed to Download application

    2) Error during programm/erase phase

    3) Please check Jlink-target connection

    4) Illegal value 0x210052E8 written to register 66 (MSP_NS) ignored

    Previously, when loading the app sample of peripheral_lbs there was no change in the status of the DK. The LED didn't start blinking.

    Thank you for your support.

  • Hi Petros,

    pekon94 said:
    the board version is: PCA10095, 0.8.0, 2020.24

    The board is PDK. It is only supported by v1.4.0. See this note.  

    I would suggest you use west build to flash the network sample Bluetooth: HCI RPMsg as the known issue in the netcore as you see. 

    You could run the command via the command prompt. 

    locate under  v1.4.0\zephyr\samples\bluetooth\hci_rpmsg and execute

    west build -b nrf5340pdk_nrf5340_cpunet && west flash --recover

    Then load the application by SES. 

    Or only execute west build and flash for the perhipher-lbs sample.

    west build -b nrf5340pdk_nrf5340_cpuapp && west flash --recover

    The network sample Bluetooth: HCI RPMsg is automatically added to all Bluetooth Low Energy samples in the nRF Connect SDK. When CONFIG_BT_RPMSG_NRF53 is set to y (the default), the build system automatically includes the sample as a child image in the nrf5340_pdk_nrf5340_cpunet core.

    -Amanda H.

Reply
  • Hi Petros,

    pekon94 said:
    the board version is: PCA10095, 0.8.0, 2020.24

    The board is PDK. It is only supported by v1.4.0. See this note.  

    I would suggest you use west build to flash the network sample Bluetooth: HCI RPMsg as the known issue in the netcore as you see. 

    You could run the command via the command prompt. 

    locate under  v1.4.0\zephyr\samples\bluetooth\hci_rpmsg and execute

    west build -b nrf5340pdk_nrf5340_cpunet && west flash --recover

    Then load the application by SES. 

    Or only execute west build and flash for the perhipher-lbs sample.

    west build -b nrf5340pdk_nrf5340_cpuapp && west flash --recover

    The network sample Bluetooth: HCI RPMsg is automatically added to all Bluetooth Low Energy samples in the nRF Connect SDK. When CONFIG_BT_RPMSG_NRF53 is set to y (the default), the build system automatically includes the sample as a child image in the nrf5340_pdk_nrf5340_cpunet core.

    -Amanda H.

Children
Related