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

Using secure dfu without LOG (in release)

Hello,

I'm facing some problems when trying to migrate from secure dfu debug to release mode.

I set the nrf_log to use uart instead of rtt in both debug and release versions, when using debug, all process went ok, then I removed the DEBUG define and kept the uart on (using same link file from debug), I also updated the init package with non-debug. This process went ok too, I could update the firmware checking on uart the results.

But my problem was with consumption, with uart on I got an increase of ~450uA. So I just removed the uart, but now when I try to update the firmware via dfu, I get error 8 (GATT CONN TIMEOUT). If I turn uart on again, all goes back to normal (with high curr)

Is this anyway related to nrf_log_info usage without uart?

I set all configurations on sdk_config.h

Related