SD+BL+APP dfu only update SD+APP successfully

SDK: 7.0.2

CHIP: nRF52840

I'm faced with strange dfu behavior.

The dfu SD+BL+APP (softdevice 6.1.1 -> 7.2.0) is working fine which was flashed by j-link.

However, Same package dfu which was flashed by I-DAP is always updated only SD+APP without BL. nothing error. 

I assumed to write different flash data between tools I-DAP and J-Link. But Very strange, these flash data were same. I read back flash data by nrf-connect programmer and compared WinMerge.

I think it make a sense that same flash data is same behavior in this level. but actually It isn't.

Could this happen because of the use of register that I did not think of?

Is there any possibility of only updating SD+APP without Bl ?

  • I see. The problem is that I am not able to understand how this happens from only a high level description of what you are doing. Please explain every step in full detail? How you build both bootloader variants, how you generate the DFU images, how you flash, and how you do the DFU? Please copy past all commands you make, and the resulting output. Include all logs, also from the DFU master.

  • How you build both bootloader variants

    The old one build 15.X.X SDK and I updated my library to 17.0.2 SDK and then, build it.

    how you generate the DFU images

    The generation of package is easy to me. I have deployed many times of application only packages. but, sd+bl+app full package is first time. That being said, It isn't hard to me.

    something special for this is that I customized init packet added some parameters (models, etc..).

    how you flash, and how you do the DFU?

    In factory for production, Our company have used I-DAP tool and S/W supplied by I-DAP syst.

    In development, I have used nrf-connect programmer. I have wrote and read flash dump using it.

    And, I have used i-phone to dfu.

    Include all logs, also from the DFU master.

    I'll reply it when I get back to work tomorrow.

  • Hi,

    _maibi said:
    something special for this is that I customized init packet added some parameters (models, etc..).

    That is very relevant. Which exact changes did you do?

    _maibi said:
    I'll reply it when I get back to work tomorrow.

    Please do. And again, include all details of all steps. Without it, I have no way of understanding what could be happening.

Related