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

DFU in custom board without Segger

Good afternoon, I have developed a custom board based on nRF51822 device and SD-110-v8. For debugging I have been usign the Ulink2 tool with Keil. Now, I want to implement DFU on my custom device but I have problems to program the DFU Bootloader into my device with my debuggin tool. So, is there any way of programming the DFU without a Segger tool (to access UICR) and continue using my ULINK2? If not, which Segger debugger do you recommend the most? The solution should also think in the future production stage.

Parents Reply
  • (continues) The only problem I have is related to Data-Peserving: when my device starts, I only write flash with my default values if it is not written (when 0xFF). I also use DeviceManager, I have PSTORAGE_MAX_APPLICATIONS to 5, and DFU_APP_DATA_RESERVED is set to 0x1400. If I try to read flash later on, I get all values to 0, so it means that it has not written with my default values and it seems as it was initialised to 0x00. Any suggestion???

Children
No Data
Related