I am trying to implement DFU for nrf51822 qfaa module
I have used sdk secure boot-loader example.
Its working on nrf51DK
but not working on nrf51822 qfaa module
sdk : 12.3.0
I am trying to implement DFU for nrf51822 qfaa module
I have used sdk secure boot-loader example.
Its working on nrf51DK
but not working on nrf51822 qfaa module
sdk : 12.3.0
Its advertising as DFUTARG
Ok, can you place breakpoints in app_error_handler_bare() and app_error_fault_handler() in main.c and then try to connect? Do you end up in one of these handlers? If so, please look at the call stack and see which function that caused the error.
Best regards
Bjørn
testing with nrf51DK
nRF5_SDK_12.3.0_d7731ad\examples\dfu\bootloader_secure\pca10028_debug\hex\secure_dfu_secure_dfu_ble_s130_pca10028_debug.hex
With this hex file I am able to connect discover all service and characteristics and allows DFU
nRF5_SDK_12.3.0_d7731ad\examples\dfu\bootloader_secure\pca10028_debug
I have compiled same example which preexist with sdk just changed public key file and its not able to find services
Just changing the public key should not affect the ability to connect to the device. Please place breakpoints at the locations I stated below. Do you enter one of the handlers?
I put delay
void app_error_fault_handler(uint32_t id, uint32_t pc, uint32_t info)
{
NRF_LOG_ERROR("received a fault! id: 0x%08x, pc: 0x&08x\r\n", id, pc);
nrf_delay_ms(2000);
NVIC_SystemReset();
}
void app_error_handler_bare(uint32_t error_code)
{
(void)error_code;
NRF_LOG_ERROR("received an error: 0x%08x!\r\n", error_code);
nrf_delay_ms(2000);
NVIC_SystemReset();
}
but not printed anything