libftdi Archives

Subject: Re: ftdi_eeprom and max packet size

From: Tilmann <tilmann@xxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 31 Aug 2011 12:18:02 +0000
Uwe Bonnes sandte am 110830 1047 Uhr:
> Can you dump the EEPROM content, e.g with running
> examples/eeprom 
> from
> http://developer.intra2net.com/git/?p=libftdi-1.0

$./eeprom 
Chip type 3 ftdi_eeprom_size: 128
0x000: 01 40 03 04 01 60 00 00  a0 2d 08 00 00 00 98 0a .@...`.. .-......
0x010: a2 20 c2 12 23 10 05 00  0a 03 46 00 54 00 44 00 . ..#... ..F.T.D.
0x020: 49 00 20 03 46 00 54 00  32 00 34 00 35 00 52 00 I. .F.T. 2.4.5.R.
0x030: 20 00 55 00 53 00 42 00  20 00 46 00 49 00 46 00  .U.S.B.  .F.I.F.
0x040: 4f 00 12 03 41 00 36 00  30 00 30 00 38 00 68 00 O...A.6. 0.0.8.h.
0x050: 32 00 72 00 0d 17 1e 60  00 00 00 00 00 00 00 00 2.r....` ........
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 31 d3 ........ ......1.
0x080: 18 04 e7 fb 01 00 0d 17  1e 60 42 00 00 00 00 00 ........ .`B.....
0x090: 00 00 00 00 00 00 00 00  36 41 32 55 4a 43 4e 4a ........ 6A2UJCNJ
VID:     0x0403
PID:     0x6001
Release: 0x0000
Bus Powered:  90 mA USB Remote Wake Up
Manufacturer: FTDI
Product:      FT245R USB FIFO
Serial:       A6008h2r
Checksum      : d331
Internal EEPROM
Enable Remote Wake Up
PNP: 1
Channel A has Mode UART VCP
C0 Function: TXLED
C1 Function: RXLED
C2 Function: TXDEN
C3 Function: PWREN
C4 Function: SLEEP


> Try if the error happens also with libftdi-1.0 git.

--snip--
./ftdi_eeprom --flash-eeprom ef3-eeprom.rc

FTDI eeprom generator v0.4
(c) Intra2net AG <opensource@xxxxxxxxxxxxx>
ef3-eeprom.rc:23: no such option 'BM_type_chip'
Unable to find FTDI devices under given vendor/product id: 0x403/0x8738
Error code: -3 (device not found)
Retrying with default FTDI id.
ftdi_eeprom_build(): error: -2
FTDI write eeprom: 0
Writing to file: ef3.eeprom
FTDI close: 0
--snip--

The dumped ef3.eeprom file contains 128 zero bytes.
Also, reading the eeprom yields 128 zero bytes in the resulting dump file.
Note the EEPROM size:
--snip--
./ftdi_eeprom --read-eeprom ftdi245r.rc

FTDI eeprom generator v0.4
(c) Intra2net AG <opensource@xxxxxxxxxxxxx>
EEPROM size: 129
FTDI read eeprom: 0
FTDI close: 0
--snip--

Best regards,
Tilmann Hentze.
-- 
time flies like an arrow, fruit flies like a banana

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

Current Thread