libftdi Archives

Subject: Re: [EEPROM branch] "size_check" init value

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Sat, 25 Sep 2010 18:11:59 +0800
On Sat, Sep 25, 2010 at 12:43 PM, Xiaofan Chen <xiaofanc@xxxxxxxxx> wrote:
> I think you guys have sorted out the issue. Anyway, here is the
> dump for Amontec JTAGkey-2.
>
> Type: FT2232H
> VID:PID: 0403:CFF8
> Mfg String: Amontec
> Product string: Amontec JTAGkey-2
> Serial Number: 5379XDR4
>
> Word
> 0000: 0100 0304 F8CF 0002 8032 0800 0100 9A10
> 0008: AA24 CE12 0000 0000 5600 0000 0000 0000
> 0010: 0000 0000 0000 0000 0000 0000 0000 0000
> 0018: 0000 0000 0000 0000 0000 0000 0000 0000
> 0020: 0000 0000 0000 0000 0000 0000 0000 0000
> 0028: 0000 0000 0000 0000 0000 0000 0000 0000
> 0030: 0000 0000 0000 0000 0000 0000 0000 0000
> 0038: 0000 0000 0000 0000 0000 0000 0000 0000
>
> 0040: 0000 0000 0000 0000 0000 0000 0000 0000
> 0048: 0000 0000 0000 0000 0000 1003 4100 6D00
> 0050: 6F00 6E00 7400 6500 6300 2403 4100 6D00
> 0058: 6F00 6E00 7400 6500 6300 2000 4A00 5400
> 0060: 4100 4700 6B00 6500 7900 2D00 3200 1203
> 0068: 3500 3300 5400 3900 5800 4400 5200 3400
> 0070: 0000 0100 0000 0000 0000 0000 0000 0000
> 0078: 0000 0000 0000 0000 0000 0000 0000 0EEA
>
> XML dump from FT_Prog
>
> <?xml version="1.0" encoding="UTF-8"?>
> <FT_EEPROM>
>  <Chip_Details>
>    <Type>FT2232H</Type>
>  </Chip_Details>
>  <USB_Device_Descriptor>
>    <VID_PID>1</VID_PID>
>    <idVendor>0403</idVendor>
>    <idProduct>CFF8</idProduct>
>    <bcdUSB>USB 2.0</bcdUSB>
>  </USB_Device_Descriptor>
>  <USB_Config_Descriptor>
>    <bmAttributes>
>      <RemoteWakeupEnabled>false</RemoteWakeupEnabled>
>      <SelfPowered>false</SelfPowered>
>      <BusPowered>true</BusPowered>
>    </bmAttributes>
>    <IOpullDown>false</IOpullDown>
>    <MaxPower>100</MaxPower>
>  </USB_Config_Descriptor>
>  <USB_String_Descriptors>
>    <Manufacturer>Amontec</Manufacturer>
>    <Product_Description>Amontec JTAGkey-2</Product_Description>
>    <SerialNumber_Enabled>true</SerialNumber_Enabled>
>    <SerialNumber>
>    </SerialNumber>
>    <SerialNumberPrefix>53</SerialNumberPrefix>
>  </USB_String_Descriptors>
>  <Hardware_Specific>
>    <Suspend_DBUS7>false</Suspend_DBUS7>
>    <TPRDRV>0</TPRDRV>
>    <Port_A>
>      <Hardware>
>        <UART>false</UART>
>        <_245FIFO>true</_245FIFO>
>        <CPUFIFO>false</CPUFIFO>
>        <OPTO>false</OPTO>
>      </Hardware>
>      <Driver>
>        <VirtualCOM>false</VirtualCOM>
>        <D2XX>true</D2XX>
>      </Driver>
>    </Port_A>
>    <Port_B>
>      <Hardware>
>        <UART>true</UART>
>        <_245FIFO>false</_245FIFO>
>        <CPUFIFO>false</CPUFIFO>
>        <OPTO>false</OPTO>
>      </Hardware>
>      <Driver>
>        <VirtualCOM>false</VirtualCOM>
>        <D2XX>true</D2XX>
>      </Driver>
>    </Port_B>
>    <IO_Pins>
>      <Group_AL>
>        <SlowSlew>false</SlowSlew>
>        <Schmitt>false</Schmitt>
>        <Drive>8mA</Drive>
>      </Group_AL>
>      <Group_AH>
>        <SlowSlew>false</SlowSlew>
>        <Schmitt>false</Schmitt>
>        <Drive>4mA</Drive>
>      </Group_AH>
>      <Group_BL>
>        <SlowSlew>false</SlowSlew>
>        <Schmitt>false</Schmitt>
>        <Drive>4mA</Drive>
>      </Group_BL>
>      <Group_BH>
>        <SlowSlew>false</SlowSlew>
>        <Schmitt>false</Schmitt>
>        <Drive>4mA</Drive>
>      </Group_BH>
>    </IO_Pins>
>  </Hardware_Specific>
> </FT_EEPROM>
>

git branch seems to work fine as well.

mcuee@ubuntu:~/Desktop/build/libftdi/neweeprom/libftdi-1.0/build/examples$
sudo ./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 245
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