nRF5340 ESB OTA

Hello,

I have tested the smp_svr with hci_rpmsg Bluetooth OTA feature and I have successfully uploaded the firmware which worked with the old device manager Android app. I would like to use 2 nrf5340 with ESB protocol. What would be a good starting point do I use the hci_rpmsg existing code and enable ESB and configure it as such or is it better to use bootloader UART code? I am a bit stuck as the hci_rpmsg sample code is dependent on bluetooth defines and ESB and bluetooth give an error message when both are enabled. So if you could give me some guidance on the right decision and how I should handle the problem. Thank you

I am using:
2x NRF5340 DK 
nRF Connect for desktop v4.1.2
nRF Connect SDK v2.4.0

Parents
  • Hi again

    After a bit of digging around researching your issue I found/was made aware of this GitHub sample by one of our devs that have passed by me. It is an ESB + BLE sample for the nRF5340 that should build/run as is. Can you take a look at that, as these prj.conf snippets don't tell me much, and the ESB expert here on tech support is currently busy, so what specifics we can help with are a bit limited at the time being unfortunately.

    Best regards,

    Simon

Reply
  • Hi again

    After a bit of digging around researching your issue I found/was made aware of this GitHub sample by one of our devs that have passed by me. It is an ESB + BLE sample for the nRF5340 that should build/run as is. Can you take a look at that, as these prj.conf snippets don't tell me much, and the ESB expert here on tech support is currently busy, so what specifics we can help with are a bit limited at the time being unfortunately.

    Best regards,

    Simon

Children
  • Hello,

    Alright if I use ESB+BLE sample as is for the CPUNET core of the NRF5340 I still need to convey the ESB data to the secondary image slot via the ipc_service. Can you guide me on any documentation on how to interface via the "ipc_service_send" function that the hci_rpmsg is using? I would need information now on how the ipc_service works and how I need to packetize the data for the new binary to be stored in the flash and that the bootloader "sees" a new secondary image.

    Best regards,

    Domen

Related