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

buttonless app jlink dfu

I try create my own app based on buttonless app. I've tested dfu over the air it's ok. But for that I need to firmware bootloader (with security key) before. It's ok for production, but while I work on my app I need to firmware chip very many times and of course do it through jlink debugger much more convenient. With previous SDK versions I could do it, I just didn't load the bootloader into chip and it's ok, now I got error in log "no bootloader", if I load BL I can't load my app via Jlink. What's the best way of doing my thing?

Parents Reply
  • Yes you either can modify the bootloader in nrf_dfu_app_is_valid() function to ignore CRC check remove this: if (crc != s_dfu_settings.bank_0.image_crc)

    Or you can edit the bootloader setting and set the CRC to 0. Just do nrfutil settings display setting_file_name.hex to see the CRC and look for that in the hex file to modify it to 0, when CRC set to 0 the bootloader will skip CRC check.

Children
No Data
Related