Patch for 3.18-rc4 to add OLIMEX ISP500 AVR Programmer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Results
-----------
root@sdrbox:~# lsusb
Bus 002 Device 004: ID 13fd:1840 Initio Corporation INIC-1608 SATA bridge
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 003: ID 15ba:000c Olimex Ltd.

The failure due to AtMega32 not attached.
root@sdrbox:~# avrdude -p m32 -F -c stk500v2 -P /dev/ttyACM1

avrdude: stk500v2_command(): warning: Command timed out
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0xc807c6
avrdude: Expected signature for ATmega32 is 1E 95 02

avrdude done.  Thank you.
Regards ... Sid.

--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks


This patch adds support for the OLIMEX ISP500 AVR Programmer to kernel 3.18-rc4.
Signed off by: Sid Boyce (sboyce@xxxxxxxxxxxxxxxx)
Tested by: Sid Boyce (sboyce@xxxxxxxxxxxxxxxx)

diff --git a/a/drivers/usb/serial/ftdi_sio.c b/b/drivers/usb/serial/ftdi_sio.c
index 0dad8ce..7a471e8 100644
--- a/a/drivers/usb/serial/ftdi_sio.c
+++ b/b/drivers/usb/serial/ftdi_sio.c
@@ -770,6 +770,7 @@ static const struct usb_device_id id_table_combined[] = {
 		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
 	{ USB_DEVICE(OLIMEX_VID, OLIMEX_ARM_USB_OCD_H_PID),
 		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
+	{ USB_DEVICE(OLIMEX_VID, OLIMEX_AVR_ISP500_ISO_PID) },
 	{ USB_DEVICE(FIC_VID, FIC_NEO1973_DEBUG_PID),
 		.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
 	{ USB_DEVICE(FTDI_VID, FTDI_OOCDLINK_PID),
diff --git a/a/drivers/usb/serial/ftdi_sio_ids.h b/b/drivers/usb/serial/ftdi_sio_ids.h
index 6786b70..78bfc30 100644
--- a/a/drivers/usb/serial/ftdi_sio_ids.h
+++ b/b/drivers/usb/serial/ftdi_sio_ids.h
@@ -838,6 +838,7 @@
 /* Olimex */
 #define OLIMEX_VID			0x15BA
 #define OLIMEX_ARM_USB_OCD_PID		0x0003
+#define OLIMEX_AVR_ISP500_ISO_PID        0x000B
 #define OLIMEX_ARM_USB_OCD_H_PID	0x002b
 
 /*


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux