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

How do I write a 0 CRC to the bootloader settings when flashing the application using J-Link?

When the bootloader in SDK 8.0.0 checks whether the application is valid, it only computes the CRC for the application if the CRC in the bootloader settings for that bank is not zero (see bootloader_app_is_valid() in bootloader.c)

I flash the soft device, bootloader and application all separately using a custom Makefile loosely based on Ole's pure-gcc makefiles. I use gcc, not Keil. How can I write a 0 CRC to the bootloader settings for bank 0 at the same time as I flash the application?

Related