more sophisticated ways for updating the atusb firmware
werner at almesberger.net
Sat Jun 11 13:54:37 EDT 2011
Stefan Schmidt wrote:
> Have you considered using the standard DFU method to signal a firmware
> upgrade during normal operation?
Finally implemented it. Works like a charm :-)
I also increased the boot loader delay from 2.0 s to 2.5 s to avoid
racing with dfu-util.
So there are now three approaches for updating the application:
- the old way (make update):
# wait until the device enumerates or about 1 s
- the proper way (make dfu):
- the brick way:
# unplug and re-connect the atusb dongle
# wait, as above
Boot loader and application still share the same PID. We can change
the application's PID with a firmware update in the field, should
the need arise.
More information about the discussion