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

How to flash Application hex file using DFU service

Hi, i am using NRF52 and S132V2.0.0 SDK11. i am working on BLE application in which i implemented DFU service to it, so that i am able to observe DFU service and 3 characteristics. so i want to upload new hex file using this characteristics. i have tried with NRF connect but unable to upload application hex file. And also i need to upload app hex file using custom created Android application by using DFU characteristics.

  • Sorry don't take it wrong but the description sounds to me like "I've constructed space shuttle and now it doesn't work, what should I do?" The only suggestion I would give you is "Disassemble it to pieces and start slowly step by step and verify that all works after each little step" aka "Go back to some working code, verify that it works as it should and then do small customizations and verify that none of these small steps break the functionality".

  • Well and what do you expect us to suggest? You are comparing some firmwares which we have no clue about, E.g. if ZIP is bigger then I suppose that input HEX file is much bigger;) Have you used genpkg utility to prepare your won ZIP files from example project's HEX files and compare how that works vs. ZIP file generated by Nordic and delivered with SDK or other method?

Related