Hi,
I have a project with nrf52832 without any BLE operation. Software runs with FreeRTOS. I am trying to add ble dfu into this project. There is a button connected to the mcu so i can use this button to enter dfu mode. But except this situtation i do not want to use bootloader or softdevice. I have managed to merge buttonless_dfu example with my project but when i upload the bootloader i can not debug so i am not able to do anything.
I tried to write 0x01 into BOOTLOADER_SETTINGS_ADDRESS = (0x0007F000UL) for nrf52 but this did not work.
uint8_t a = 0x01;
uint32_t *addr;
addr = (uint32_t *)0x0007F000UL;
memcpy(addr, &a, 1);