On Tue, Feb 14, 2012 at 12:54 AM, Peter Stuge <[email protected]> wrote: > Andreas Fritiofson wrote: >> > Andreas, Vivien is eager to do some work on cleaning up the ft2232 >> > driver, but I recall that you had also begun on that. What's the >> > status? >> >> The new driver is more or less ready and waiting to get pushed for >> review. > > Great news! > > >> Main thing missing is the handling of different layouts. It's >> not clear to me what's the best way to handle it. I really want the >> layouts specified in Tcl instead of C, but I'm not really fluent in >> that language or Jim's integration with OpenOCD. I'm about to ask for >> help with that on the list. Maybe I'll push the driver first to get >> some context to the question and widespread testing. > > I think this is a good idea! >
Oh, heck, I'll just Cc the list, if someone understands what I'm after, feel free to share your thoughts, otherwise I'll post a more specific request tomorrow when I'm not so tired. > >> Looking at Vivien's first mail it seems like the intention perhaps is >> to auto-select the ft2232 layout based on the vid/pid of the connected >> devices. In that case I have some, possibly conflicting, ideas about a >> more general mechanism along that line. > > If I understood correctly, her primary interest is to also make > FT4232H-based adapters work in OpenOCD. Don't they work today? I don't have one so I don't know. I think it should work. > I'm very eager to look at your driver. On a side note, hopefully > you're not using Mauro Gamba's code for libusb-1.0, because that > will get reverted. (It's incomplete and issues pointed out in review > have not been addressed.) I'll wait with that until I see your new > driver though. I'm not quite sure what you mean so I'm pretty sure I'm not using it. I have used the existing configure.ac stuff for detecting libusb-1.0, though, and noticed there are flaws there. /Andreas ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
