libftdi Archives

Subject: Re: First byte of LT245R eeprom

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 1 Feb 2013 21:29:51 +0800
On Fri, Feb 1, 2013 at 7:17 PM, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:
> On Fri, Feb 1, 2013 at 6:59 PM, Anders Larsen <al@xxxxxxxxxxx> wrote:
>>
>> Bit 3 might be DRIVER_VCP, although libftdi does not touch it for TYPE_R.
>
> Could be. I have an FT232R based USB to Serial Converter
> and it loads VCP driver by default. The first byte is 0x00.

Please also refer to the output of eeprom example documented
here about my two USB to Serial Converter. Both will load the
VCP driver by default.
http://developer.intra2net.com/git/?p=libftdi;a=blob;f=README.build
The first one is using FT232BM, the second one is using FT232R.

Take note the above is not true for FT2232H. Here is the output
of eeprom example for my Amontec JTAGkey-2 debugger. It
does not load the VCP driver for both CH A and CH B.

mymacmini:examples xiaofanc$ ./eeprom -v 0x0403 -p 0xcff8
Chip type 4 ftdi_eeprom_size: 256
0x000: 01 00 03 04 f8 cf 00 02  80 32 08 00 01 00 9a 10 ........ .2......
0x010: aa 24 ce 12 00 00 00 00  56 00 00 00 00 00 00 00 .$...... V.......
0x020: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 ........ ........
0x030: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 ........ ........
0x040: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 ........ ........
0x050: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 ........ ........
0x060: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 ........ ........
0x070: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 ........ ........
0x080: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00 ........ ........
0x090: 00 00 00 00 00 00 00 00  00 00 10 03 41 00 6d 00 ........ ....A.m.
0x0a0: 6f 00 6e 00 74 00 65 00  63 00 24 03 41 00 6d 00 o.n.t.e. c.$.A.m.
0x0b0: 6f 00 6e 00 74 00 65 00  63 00 20 00 4a 00 54 00 o.n.t.e. c. .J.T.
0x0c0: 41 00 47 00 6b 00 65 00  79 00 2d 00 32 00 12 03 A.G.k.e. y.-.2...
0x0d0: 35 00 33 00 54 00 39 00  58 00 44 00 52 00 34 00 5.3.T.9. X.D.R.4.
0x0e0: 00 00 01 00 00 00 00 00  00 00 00 00 00 00 00 00 ........ ........
0x0f0: 00 00 00 00 00 00 00 00  00 00 00 00 00 00 0e ea ........ ........
VID:     0x0403
PID:     0xcff8
Release: 0x0200
Bus Powered: 100 mA
Manufacturer: Amontec
Product:      Amontec JTAGkey-2
Serial:       53T9XDR4
Checksum      : ea0e
Attached EEPROM: 93x56
PNP: 1
Channel A has Mode FIFO
Channel B has Mode UART
AL has 8 mA drive
AH has 4 mA drive
BL has 4 mA drive
BH has 4 mA drive

-- 
Xiaofan

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread