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

ARMGCC compiled DFU has logging issues.

I am using SDK 14.0.0 with Softdevice S132 V5.0.0 and the accompanied DFU libraries. In the examples\dfu\bootloader_secure_ble example I think the logging system has a problem.

When compiling the debug version of this project using Keil MDK (pca10040_debug\arm5_no_packssecure_dfu_ble_s132_pca10040_debug.uvprojx) the output from RTT looks okay: image description

When compiling the same version with GCC, the output from RTT looks somewhat wrong: image description

The sources of the log output are wrong, as I do not believe that the clock is responsible for initializing the flash.

Related