FTDI Community

General Category => Discussion - Software => Topic started by: TylerTiede on September 21, 2018, 04:40:00 PM

Title: VNC2 Firmware Update Fail safe
Post by: TylerTiede on September 21, 2018, 04:40:00 PM
When updating the VNC2 over USB, is there any way of having a fail safe if the USB device is unplugged mid flash? I know some of the application code would have been written over by then, but is there any way to have the device continue flashing if replugging the device in? For example, have a split image setup, where a second image only includes looking for the usb.

Tyler
Title: Re: VNC2 Firmware Update Fail safe
Post by: FTDI Community on September 26, 2018, 10:22:53 AM
Hi,

You can still update via UART in this case.

Have a look at AN_159 - Vinculum-II Firmware Flash Programming for further information:

https://www.ftdichip.com/Support/Documents/AppNotes/AN_159%20Vinculum-II%20Firmware%20Flash%20Programming.pdf (https://www.ftdichip.com/Support/Documents/AppNotes/AN_159%20Vinculum-II%20Firmware%20Flash%20Programming.pdf)

Regards,
FTDI Community
Title: Re: VNC2 Firmware Update Fail safe
Post by: TylerTiede on October 04, 2018, 07:54:39 PM
We already have boards made, and these will be going into a sealed case. We program the boards using the debugger module during assembly. Afterwards, the user only has access to update the device over USB.

 We are trying to avoid having devices shipped back to us if the user unplugs their device during updating.

Tyler