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

Custom Button in DFU

Hello, 
I am using dfu in custom board and physically we have other button. 

I have changed NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN in DFU app , but after update-ing the application doesn't start. 
When I am using dfu without this modification, application is starts  but after reset dfu not shown. 


What I am missing, in which file I need do modifications? Maybe in boards.h?

Parents
  • Hi Syuzanna

    Are you doing this modification in the sdk_config.h file of your DFU application project? At what pin on your custom board is the DFU button located? Also, please add which SDK version you're using and tell me exactly what happens (do you encounter any errors, etc.) when you have set the DFU button to a custom value?

    Best regards,

    Simon

  • Hi Simonr, 

    Thank you for quick response.

    I am using SDK v15. 
    Yeah, I have changed the NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN  in sdk_config.h from 16 to 10 in DFU project. 

    It build successfully, all is ok, dfuTarg is apeared and when I uploading the firmware of application it says that all is ok, but after it application doesn't start. 

    Also I have found in other forums that I need to change BOOTLOADER_BUTTON from main.c. But in my version there is no such macro. 


    Thanks, 
    Syuzanna

Reply
  • Hi Simonr, 

    Thank you for quick response.

    I am using SDK v15. 
    Yeah, I have changed the NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN  in sdk_config.h from 16 to 10 in DFU project. 

    It build successfully, all is ok, dfuTarg is apeared and when I uploading the firmware of application it says that all is ok, but after it application doesn't start. 

    Also I have found in other forums that I need to change BOOTLOADER_BUTTON from main.c. But in my version there is no such macro. 


    Thanks, 
    Syuzanna

Children
No Data
Related