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

Problem in jumping from application to bootloader

Dear team,

Device  - nRF52832
SDK - SDK_15.0.0
IDE - Segger Embedded studio
Softdevice - s132_nrf52_6.0.0

I am doing buttonless DFU in my application. I have successfully build the secure bootloader code and also jump from bootloader to application by following your guidelines.

The problem is that When i tried to jump from application to bootloader it causes "GATT connection timeout" error. I have seen this error in nrfconnect android application. 

But when i remove "CONFIG_AS_GPIO_PINRESET" macro in both codes bootloader and application then everything works perfectly. I don't want to remove this macro but want some another solution .

Please guide me on the same.
Your quick reply would be highly appreciated.

Thanks.  

Parents
  • Hi

    Can you confirm that the macro is "CONFIG_GPIO_AS_PINRESET"? What GPIO(s) have you configured as reset pins? Are GPIO(s) configured to the same pins in the bootloader and application?

    Best regards,

    Simon

  • Can you confirm that the macro is "CONFIG_GPIO_AS_PINRESET"?
    Yes, the macro is "CONFIG_GPIO_AS_PINRESET".

    What GPIO(s) have you configured as reset pins?
    I have configured pin P0.21 as reset pin.

     Are GPIO(s) configured to the same pins in the bootloader and application?
    Yes, i have configured P0.21 as reset pin in both bootloader and application code.

Reply
  • Can you confirm that the macro is "CONFIG_GPIO_AS_PINRESET"?
    Yes, the macro is "CONFIG_GPIO_AS_PINRESET".

    What GPIO(s) have you configured as reset pins?
    I have configured pin P0.21 as reset pin.

     Are GPIO(s) configured to the same pins in the bootloader and application?
    Yes, i have configured P0.21 as reset pin in both bootloader and application code.

Children
No Data