Merged.hex & merged_CPUNET.hex not created (running BLE Peripheral sample)

Hello, 
I'm trying to run the Ble Peripheral sample from "nrf\samples\bluetooth\peripheral_lbs"
i'm using nrf connect V1.8.0 and NRF5340dk
i followed the code in the github 
but i was not able to run it on the CPU_NET neither on the CPU_APP 
i have read that: in order for the Bluetooth LE sample to function properly on the nRF53 the hex file <build folder>\zephyr\merged.hex has to get programmed onto the application core and the hex file <build folder>hci_rpmsg\zephyr\merged_CPUNET.hex has to get programmed onto the network core.
However i tried to run this command "nrfjprog -f NRF53 --coprocessor CP_NETWORK --eraseall && nrfjprog -f NRF53 --coprocessor CP_NETWORK --program merged_CPUNET.hex" under the "nrf\samples\bluetooth\peripheral_lbs\build_nrf5340dk_nrf5340_cpuapp\hci_rpmsg\zephyr" 
but  i had an output saying that the operation is unvailable due to to readback protection on => so i tried runnning "nrfjprog -f NRF53 -- recover"  and it was successfull 

but even after running ths and returninng to build the merged file it always shows the same error

do you have any suggestions to be able to build the BLE Peripheral app ?
i even tried to run it by the west command i had an error 


if you have any ideas that can help or any suggestions please feel free 
i will be very gratefull 

Kindly, 

 

Parents
  • Hello,
    My newpath is "C:\Users\rzaafouri\ncs\v1.8.0\nrf\MyProjects\peripheral_lbs"

    and it's important to precise that when i build the build file is not even created i get the fatal error befor even the build file is created 
    all i have is the build_nrf5340dk_nrf5340_cpuapp .
    it's problematic 
    do you know what's the main issue here please 

Reply
  • Hello,
    My newpath is "C:\Users\rzaafouri\ncs\v1.8.0\nrf\MyProjects\peripheral_lbs"

    and it's important to precise that when i build the build file is not even created i get the fatal error befor even the build file is created 
    all i have is the build_nrf5340dk_nrf5340_cpuapp .
    it's problematic 
    do you know what's the main issue here please 

Children
Related