Skip to content

Instantly share code, notes, and snippets.

@rpavlik
Created July 31, 2012 15:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rpavlik/3217938 to your computer and use it in GitHub Desktop.
Save rpavlik/3217938 to your computer and use it in GitHub Desktop.
dfu-programmer diff to add alternate product ID for arduino usbserial chip.
Index: src/arguments.c
===================================================================
--- src/arguments.c (revision 105)
+++ src/arguments.c (working copy)
@@ -72,6 +72,7 @@
{ "at90usb647", tar_at90usb647, adc_AVR, 0x2FF9, 0x03eb, 0x10000, 0x2000, true, 128, true, false, 128, 0x0800 },
{ "at90usb646", tar_at90usb646, adc_AVR, 0x2FF9, 0x03eb, 0x10000, 0x2000, true, 128, true, false, 128, 0x0800 },
{ "at90usb162", tar_at90usb162, adc_AVR, 0x2FFA, 0x03eb, 0x04000, 0x1000, true, 128, true, false, 128, 0x0200 },
+ { "at90usb162unor3",tar_at90usb162, adc_AVR, 0x2FEF, 0x03eb, 0x04000, 0x1000, true, 128, true, false, 128, 0x0200 },
{ "at90usb82", tar_at90usb82, adc_AVR, 0x2FF7, 0x03eb, 0x02000, 0x1000, true, 128, true, false, 128, 0x0200 },
{ "atmega32u6", tar_atmega32u6, adc_AVR, 0x2FF2, 0x03eb, 0x08000, 0x1000, true, 128, true, false, 128, 0x0400 },
{ "atmega32u4", tar_atmega32u4, adc_AVR, 0x2FF4, 0x03eb, 0x08000, 0x1000, true, 128, true, false, 128, 0x0400 },
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment