CRC error in bootloader with setting of XML

Hi,

I have known a case to raise CRC error in secure bootloader with using \nRF5_SDK_17.0.0_9d13099\examples\dfu\secure_bootloader\pca10100_s140_ble

I enabled a nrf_log to know a sequence DFU. Then I had to add some settings in .emproject, sdk_config.h and flash_placement.xml.

When i added section of 'log_backends' like below, I saw CRC error.

I resolved it by adjusting a line section of 'log_backends' like below.

I want to know what you think about this. What different...

 

thanks in advance for any helps.

Parents
  • Hi,

    The error message you post is about CRC mismatch in the bootloader settings page (which is the last page in the flash). That should not normally be related to logging, though.3

    Did you change the logger configuration of your application, or just the bootloader? If it is the application then this sounds odd. If it is the bootloader, and you made significant changes, it could be that the application grew into the bootloader settings page (just a hypothesis).

    Regarding the changes in 'flash_placement.xml I do not see any difference in the log_backends line to be honest. Can you upload the full files (not screenshots) so that I can see? Also, please explain in more details what an how you changed when this error occurred (for instance with diffs or files before and after).

  • Hi Einar,

    I see. I found a difference which is line of 'log_backends' and fixed it since I had compared with '_debug' as you say. (I think using of UART not RTT is not a problem because a logging is just needed to some delay before reset.)

    I mean that i just wanted to know why. But it's okay. I can know it someday.

    As your recommendation, I decide to do migrating to at least 17.0.2.

    Best regards,

    Sim

Reply
  • Hi Einar,

    I see. I found a difference which is line of 'log_backends' and fixed it since I had compared with '_debug' as you say. (I think using of UART not RTT is not a problem because a logging is just needed to some delay before reset.)

    I mean that i just wanted to know why. But it's okay. I can know it someday.

    As your recommendation, I decide to do migrating to at least 17.0.2.

    Best regards,

    Sim

Children
Related