This isn’t quite an OpenOCD question, but I’m hoping someone will have an answer.
I’m trying to get my Ubuntu 8.04 laptop to talk to my Luminary LM3S811 eval board. It can see the FTDI chip, I’ve been able to do some rudimentary stuff with it using OpenOCD, but I can’t get it to show up as a serial port. This is frustrating, in no small part because on my Windows XP machine it fires right up.
My USB-to-RS232 from Radio Shack works fine.
I’m definitely a Linux newbie, so don’t assume I have covered all the basics already.
Ha: I found my own answer.
You have to modify the ftdi_sio driver. I don’t know the “right” way to do this so I ended up making my own kernel version (doing a better job is for another day). In the mean time, the modifications to the driver are:
Go into the ftdi_sio.c file, and add a line to the definition for the “id_table_combined”. I put it right below the one that specifies the Olimex part, so the two lines read:
{ USB_DEVICE(OLIMEX_VID, OLIMEX_ARM_USB_OCD_PID),
.driver_info = (kernel_ulong_t)&ftdi_olimex_quirk },
{ USB_DEVICE(FTDI_VID, LUMINARY_LM3S811_PID),
.driver_info = (kernel_ulong_t)&ftdi_olimex_quirk },
(note that I had to go into ftdi_sio.h and define LUMINARY_SM3S811_PID as 0xbcd9).
Then figure out a better way to build and install the module than rebuilding the whole kernel, and let me know.