pinetime-mcuboot-bootloader icon indicating copy to clipboard operation
pinetime-mcuboot-bootloader copied to clipboard

Higher consumption on nRF52832 when boot from mcuboot

Open nanch opened this issue 4 years ago • 1 comments

Moving this issue from https://github.com/lupyuen/pinetime-rust-mynewt/issues/36

Lup doesn't work on mcuboot anymore and his repo isn't the right place for this issue.

@vbelloir says:

I'm working with @JF002 on power consumption of Pinetime watch, using Infinitime from JF.

I noticed that consumption is higher when Infinitime is booted by mcuboot than when it is stand-alone. Difference is about 500µA.

As a example, I disabled watchdog in bootloader, and add a simple __WFE loop in main function of Infinitime. Booting from mcuboot gives a consumption of 574µA, while booting in stand-alone configuration gives 170µA.

Resources may be used in mcuboot/mynewt and not de-initialized in mcuboot, nor in Infinitime.

Do you have any idea for me? How can I identify which resource is consuming power?

Thanks for your help. Vincent

nanch avatar Apr 20 '21 01:04 nanch

I'm investigating this and will report any findings.

nanch avatar Apr 20 '21 01:04 nanch