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

button_less DFU SDK13

Hello, I'm trying the bootlader of SDK13.1, with SD S132_nrf52_4.0.2 I manage to send a ZIP file to the bootloader, but the application doesn't launch. I've tested with buttonless example, but the advertising is still dfuTarg. There must be something I've missed, but I don't know what. I someone could help me... Thanks

Parents
  • hi, to debug the bootloader, i've enabled the nrf_log module, include the several required librairies and paths to include files, and finally add uart support and nrf_log_backend support in sdkconfig.h.

    As the target file was too big for the bootloader allocated memory, I've rised it to 0xD000. But no message on debug window...

    I just gave up this solution to classic debug to see that indeed, the bootloader app start stuck. I then erase the entire chip by means of a real Jlink-Pro and Jflash and not nrfgostudio. I programmed the softdevice with nrfgostudio then the booloader.

    Then it worked...

    I managed to programm the buttonless app. I guess this problem is solved.

    Nevertheless my old application that work without bootloader doesn't work with it, and I have to erase the chip, reprogram softdevice and so on at every test... I've changed the memory footprint to fit bootloader behaviour. Everyday has its problem :/

Reply
  • hi, to debug the bootloader, i've enabled the nrf_log module, include the several required librairies and paths to include files, and finally add uart support and nrf_log_backend support in sdkconfig.h.

    As the target file was too big for the bootloader allocated memory, I've rised it to 0xD000. But no message on debug window...

    I just gave up this solution to classic debug to see that indeed, the bootloader app start stuck. I then erase the entire chip by means of a real Jlink-Pro and Jflash and not nrfgostudio. I programmed the softdevice with nrfgostudio then the booloader.

    Then it worked...

    I managed to programm the buttonless app. I guess this problem is solved.

    Nevertheless my old application that work without bootloader doesn't work with it, and I have to erase the chip, reprogram softdevice and so on at every test... I've changed the memory footprint to fit bootloader behaviour. Everyday has its problem :/

Children
No Data
Related