nRF52810 boot loader over UART from external mcu

Hello,

Currently using a custom board that has the nRF52810 onboard along side an ESP32. I am wanting to update the firmware for the nrf chip from the ESP32 over UART. The idea is the ESP32 will make a GET request and transfer the firmware over.

I am aware of the DFU examples provided and so and do not think there is one for UART and between two micros. I am thinking of implementing a custom boot loader. Is my thinking correct on the matter to go about this by creating a child image and having the boot loader on there? If so I don’t particularly understand the documentation around a multi image build or how to go about implementation.

Currently as well I am using the Bluetooth EnOcean example for the PTM switches.

Is this the right way forward for this application?

Thanks

Parents Reply Children
  • Hello again,

    Thank you I have had a read through and I also found this ticket submitted before: Perform DFU to nRF52840 from ESP32

    Seems to be a similar situation I am in, has that changed now in regards to the protocol that could be implemented or available? Have to use the arduino framework for now for the esp32, but will be transitioning towards the IDF in a period of time.

  • Hello,

    Darrenaw said:
    Seems to be a similar situation I am in, has that changed now in regards to the protocol that could be implemented or available?

    My colleague´'s sample is built with an old version of nRF connect SDK, so following the Central SMP_client sample I pointed in my first response will be a better idea.

    Darrenaw said:
    Have to use the arduino framework for now for the esp32, but will be transitioning towards the IDF in a period of time.

    I have never worked with ESP32 before so I am not familiar with the things you mentioned here. I can help you with the nRF side. Sorry as I couldn't have anything more to share on this.

    Kind Regards,

    Abhijith

  • Hi Abhijith,

    Thanks for your help. Let me get back to you in a few days and have a deep dive and try with your colleague example and see.

    Though unsure if possible to apply an SMP Client on the esp32.. Though if so, Abhijith, I am still curious and wanting to implement own light weight bootloader on the nrf52810 just to fit the application I need to do, could you give some pointers to doing so please?

    Thanks,

    Darren

Related