On 02/14/2012 12:14 PM, Andreas Fritiofson wrote:
>>>> FT4232H don't work with OpenOCD you have to change some code because
>>>> FT4232
>>>> PID is 0x6011 not 0x6010 and it's hard-coded.
>>> No, VID/PID is not hard coded in OpenOCD. They are configured from Tcl
>>> at runtime.
>> For me this is hardcoded :
>> static uint16_t ft2232_vid[MAX_USB_IDS + 1] = { 0x0403, 0 };
>> static uint16_t ft2232_pid[MAX_USB_IDS + 1] = { 0x6011, 0 };
> This is just a list of accepted vid/pid pairs that is populated with
> FT2232 vid/pid from start. The list is appended with values from Tcl
> configuration at runtime. See for example
> tcl/interface/arm-usb-ocd.cfg.
So why I need to change 0x6010 to 0x6011 to make it work :s ?
I'm really sorry for those questions, but I do'nt really understand that
part, I will deeply work on Tcl files this afternoon.
> /Andreas
>
Enjoy your meal !
Vivien
------------------------------------------------------------------------------
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