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

DFU not working on S332 2.0 SDK12 . Help me setting Target IROM1 and IRAM1?

Hi 

   I am trying to implement DFU to my project. I have done all the steps to generate packages,  private and public keys etc. My program now starts at dfu and I can upload the package to nrf52 but it then get stuck to (Jump to 0x0029000).

Can anyone help me target setting on keil? Thanks

  

Parents Reply
  • Hi Stark, 

    I have been testing here and actually found a bug in the bootloader (after 4 hours :( ). We used wrong size of data when doing nrf_dfu_flash_store() inside nrf_dfu_app_continue() in nrf_dfu_utils.c. It should be like this: 

    ret_val = nrf_dfu_flash_store((uint32_t*)target_addr, (uint32_t*)src_addr, cur_len/sizeof(uint32_t), NULL);

    It may not be related to the issue you are having now, but it's worth to try again. 

    Could you please do the same test (reading out hex files) with the following images. Please flash the softdevice and bootloader that's included in this .zip file and update blinky and then update hrs. 

    0572.DFU_TEST.zip

Children
Related