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

switching to dfu without reset

Hi,

My system needs to maintain certain gpio at their state at all times, including when switching to bootloader,

I understand that reset will also return my gpios to input mode,

Is there a solution ? 

Maybe a way to switch to dfu/bootloader without reset ?

I would appreciate some insights/ideas/examples on this issue

Thanks

Eran

Parents
  • Reset will set GPIOs to inputs. Use pull up and pull down resistors if you need to maintain the logic levels at all times.

  • Hi Ketiljo,

    I will be more clear - the idea is that ONCE the uC is up it holds the gpio, there is one initial external trigger to the gpio and from that point the uC is in charge of maintaining it. even if we switch to dfu it should still be held, so there is no option for the hardware to include a pull-up, I need to have it maintained at '1' high level while switching from Application to DFU.

    Is there an option to switch between Application to DFU without reset, in the same way we switch from DFU to Application - nrf_bootloader_app_start(MAIN_APPLICATION_START_ADDR), only the other way around ? what will be the implications of doing something like that ? and would you recommend it ?

    Thanks

    Eran

Reply
  • Hi Ketiljo,

    I will be more clear - the idea is that ONCE the uC is up it holds the gpio, there is one initial external trigger to the gpio and from that point the uC is in charge of maintaining it. even if we switch to dfu it should still be held, so there is no option for the hardware to include a pull-up, I need to have it maintained at '1' high level while switching from Application to DFU.

    Is there an option to switch between Application to DFU without reset, in the same way we switch from DFU to Application - nrf_bootloader_app_start(MAIN_APPLICATION_START_ADDR), only the other way around ? what will be the implications of doing something like that ? and would you recommend it ?

    Thanks

    Eran

Children
No Data
Related