This code has been superseded by the nRF51 SDK bootloader firmware signing example. See nRF51 SDK release notes for more details: http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/index.html?cp=4_1_1