DFU OTA - image not confirmed

Dear support

I am develop another application to use DFU OTA - I have already done 1 and successful so far. I think i better generate a new key file as this is a different product, so I did. But when I try to the test using Device Manager App. it ends up with an error message - "image not confirm ", I tried to read images and it does have two images there, so downloaded fine, just not confirmed, so not be able to update the firmware.

Any suggestions please? is it OK to generate two different key (.pem) files use same toolchain?

Thanks!

Ping

Parents
  • Hi Ping,

    Nice to see you again.

    I would like to first confirm one thing. For each of your test, you tested the application and DFU package built with the same key, right?

    There should be two tests here:

    1. Application and DFU package built with the default sample key

    2. Application and DFU package built with your new key.

    Also, what version of NCS are you using?

    Hieu

  • Hello, Hieu

    Nice to see you too:), the first product is already out in field, and I am now developing another product use same chip, so decided to generate another key for it.

    For new project, I tested with new key and doesn't work, later tested with old key for the first product, still doesn't work. For first project, I tested again with old key, still works.

    I will try to use default sample key and see what happens - do I remove the Child image folder in project folder to do it?

    I believe I am always build Application and DFU package with same key, is this right? I use VS code. 

    NCS version is v2.1.0.

    Thanks!

    Ping

Reply
  • Hello, Hieu

    Nice to see you too:), the first product is already out in field, and I am now developing another product use same chip, so decided to generate another key for it.

    For new project, I tested with new key and doesn't work, later tested with old key for the first product, still doesn't work. For first project, I tested again with old key, still works.

    I will try to use default sample key and see what happens - do I remove the Child image folder in project folder to do it?

    I believe I am always build Application and DFU package with same key, is this right? I use VS code. 

    NCS version is v2.1.0.

    Thanks!

    Ping

Children
  • Hi, Hieu

    Tested again, it seems working now, the only change is that the project has more content now, the project last week is almost empty except an advertising data for app to discover. 

    I noticed the auto generated paritions.yml and pm.config is exactly same with the first project now, while before today, it was slightly different. I provide this information, so you can figure out what is happening inside.

    I believe there is ways to control this as posted by Susheel above, I wonder how I can control it here without going deep into the app - we are not developing app.

    Thanks for your attention, I am happy for now as it works fine now for whatever reason.

    Ping

  • Hi Ping,

    I am a little tight with work right now, so I probably cannot look into it soon.
    If the problem comes up again and you need help, feel free to return here and either I or someone will support you.

    Hieu

Related