On Tue, Feb 14, 2012 at 12:08 PM, Vivien Giraud <[email protected]> wrote:
> On 02/14/2012 11:51 AM, Andreas Fritiofson wrote:
>>
>> On Tue, Feb 14, 2012 at 9:56 AM, Vivien Giraud<[email protected]>
>>  wrote:
>>
>>> In my case I don't need layout because I make my own, I'm working on own
>>> devboard for my company.
>>
>> You definitely need to specify your layout (mapping between FTDI I/O
>> and signals such as nSRST/nTRST and how the I/O need to be handled to
>> control level shifters, blink LED or other circuitry), one way or the
>> other.
>
> Sorry, I mean I use our own layout :)

Ok, so you need to describe that layout to OpenOCD.

>>> 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.

/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

Reply via email to