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

Slow boot_validate / crc32_compute

I'm using the NRF52832 BLE DFU bootloader to run my code (slightly modified from the secure DFU example). At the start of my application, I toggle a pin and measure this with an oscilloscope. With a valid application and normal bootloader, there is a delay of around 450ms between power applied and the pin being toggled. If I return true before the CRC compute in boot_validate in app_is_valid (nrf_bootloader.c and nrf_dfu_validation.c), the startup time goes to around 10ms. Is it expected that it would take this long to check the CRC of the application? Are there any suggestions on ways to improve this, or skip it under certain conditions?

Parents Reply Children
No Data
Related