Disable SMP server n seconds after MCU booting

Hello!

We have an application with an nRF52832 connected through an UART to another MCU. We want to have the possibility to update the nRF FW, but as nrF52832 only has 1 UART, there is no straightforward way to share it with APP and SMP server at the same time.

Is it possible to do the following?

1- Boot with SMP server and wait a few seconds for an incoming image upload command.

2- If no SMP communication is received after n seconds, disable SMP server until next reboot and start APP which can use UART without problems.

Thanks in advance!

Regards.

Parents
  • Hi Sigurd,

    Thanks for your answer! I also think Serial Recovery is the best option in this case. 

    I do not need dual slot having serial recovery. In fact, the current .bin size is close to the assigned slot space if dual slot is used, so if I delete second slot I will not have to worry about FW size.

    Thanks again and have a nice day.

    Pedro.

Reply
  • Hi Sigurd,

    Thanks for your answer! I also think Serial Recovery is the best option in this case. 

    I do not need dual slot having serial recovery. In fact, the current .bin size is close to the assigned slot space if dual slot is used, so if I delete second slot I will not have to worry about FW size.

    Thanks again and have a nice day.

    Pedro.

Children
No Data
Related