Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is it possible to reset/restart application without resetting USBD

Hi,

We have a custom bootloader and a firmware, both use the USB CDC ACM. Is it possible to start the firmware without resetting the USB instance so Windows have a continuous COM "connection" , i.e. the COM port does not disappear and reappear. Is it also possible to restart the firmware in the same fashion?

Currently nrf_bootloader_app_start(); is used to start and restart the firmware.

Best Regards,
Andreas Öhman

Parents
  • It is the pull-ups on the D+ or D- lines (Depends on device speed) that determine if Windows re-enumerates.
    During device reset these typically are turned off, so Windows terminates the connection.

    If you are getting a different COM number on each cycle, you can assign a serial number, even if it is just "1", in your USB descriptor for the port. It will stop being a different COM port number on that USB hardware instance.

Reply
  • It is the pull-ups on the D+ or D- lines (Depends on device speed) that determine if Windows re-enumerates.
    During device reset these typically are turned off, so Windows terminates the connection.

    If you are getting a different COM number on each cycle, you can assign a serial number, even if it is just "1", in your USB descriptor for the port. It will stop being a different COM port number on that USB hardware instance.

Children
Related