On Thursday, June 24, 2010 08:49:12 Xiaofan Chen wrote:
> I am totally new to urjtag so firstly I tried to see if ft2232 works.
> Somehow it does not seem to work. It seems to me urjtag does
> not detach the kernel ftdi_sio driver. I have to manually do it myself.
> Still it does not seem to find the cable. Strange.

urjtag doesnt touch kernel drivers in any way, nor should it matter.  FTDI 
devices provide two endpoints -- typically only one is needed for the JTAG 
device.  in which case, the kernel maintains a blacklist of USB VID:PID's so 
it only attaches the serial driver to the serial end point and leaves the JTAG 
one alone.

ignoring all that, urjtag cant touch drivers since it doesnt run as root (and 
if you are running it as root, you're doing it wrong).

> Older V3 J-Link does not work. UrJtag may take some codes from
> the OpenOCD project to support older J-Link models (V3/V4).

more importantly, does the cable work *without* my patch and using libusb-0.x 
API ?  if so, then my changes are irrelevant to this issue and i'll go ahead 
and commit them.

> mc...@ubuntu64-laptop:/sys/bus/usb/drivers/ftdi_sio$ lsusb
> ...
> Bus 003 Device 003: ID 0403:bcd9 Future Technology Devices
> International, Ltd Stellaris Evaluation Board

urjtag only attaches to USB VID:PID's it knows about.  certainly the default 
USB VID:PID from the FTDI default eeprom will not work, so this is currently 
expected behavior.  the kernel also cannot know to blacklist either of the 
endpoints for the eval board, so you'll need to remove the driver yourself.

> jtag> detect
> IR length: 4
> Chain length: 1
> Device Id: 00111011101000000000010001110111 (0x3BA00477)
>   Unknown manufacturer! (01000111011)

looks like you should add this part to the urjtag database
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to