OTA Failed!Failed to Mcumgr DFU: Invalid header magic number

why can cause this  problem! I'm not familiar with NCS OTA

Parents Reply
  • Hi,

    This bin looks good in this regard. Are you sure you get the "Invalid header magic number" error with this file? Or is it so that you get another error when you changed to (what looks like) the correct file?

    Note that you can refer to the SMP Server Sample to see a working DFU example. I would recommend that you use that as a reference, and perhaps also test that sample first to check that your procedure is correct. Then, you can copy-paste configurations and a few things from main.c and bluetooth.c into your application in order to use it there.

Children
Related