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

Add app_timer.c to bootloader_secure problem

Hi Nordic Community,

I'm trying to run app timer in bootloader_secure. But when I add app_timer.c file to project, it built successfully but breaks when execute. I don't even call app_timer_init() function, just add app_timer.c. I used sdk_16.0.0 for nRF52832. Any idea about my issue?

Thanks for your attention

Parents
  • Hi,

    I think it must have to do with the code size since you are not even calling the init function. Could you try to reduce the bootloader start address by a couple of flash pages and see if you get the same result? Note that the SES bootloader project, due to the way its set-up, will not generate any linker errors even if code starts to grow into the MBR params page.

Reply
  • Hi,

    I think it must have to do with the code size since you are not even calling the init function. Could you try to reduce the bootloader start address by a couple of flash pages and see if you get the same result? Note that the SES bootloader project, due to the way its set-up, will not generate any linker errors even if code starts to grow into the MBR params page.

Children
Related