This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can one nrf51x22 transfer its firmware to another OTA?

Hi All

I have a bunch of nrf51x22 (4,8) and I'd like them to read their own firmware data and send this to others that are in DFU mode using the over the air (OTA) method. Is this possible?

Regards,

Alex

  • After thinking about this for a minute, I don't see any reason why not.

    At the end of the day any device that is using DFU to reprogram other devices is merely reading and writing characteristics on the DFU service. There isn't anything special about that. You'd just need to implement the DFU host code/state machine in your application FW.

  • Thank you for the answer! I don't suppose the DFU host code is freely available? I believe I've only seen it as a precompiled file to flash the nordic usb dongle..

    Could the nrf read it's own data from flash and send that to the other one?

    Regards,

    Alex

  • I don't know about the DFU host code availability. You could look on Github where there are a number of Nordic projects available. Worst case, the DFU message flow and behavior is extensively documented in the SDK documentation. You could write your own pretty easily, it would just take some time.

    The nrf should be able to read the application binary out of program space since it can be accessed as NVRAM.

  • Thanks! I'm kinda new to this and the documentation is not always very clear on everything. thanks for the quick response, now I have a better idea in which direction to setup my timetable.

Related