FT232RL EEPROM READ AND WRITE

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

FT232RL EEPROM READ AND WRITE

ravjeet
This post was updated on .
HI,
I require help to read and write entire data from one ft232rl into another
ft232rl.
I do not have much knowledge about linux so will require step by step help.
thanks
below is the data from the original ft232rl

Read EEPROM successful Device 0
0000 : 08 40 03 04 01 60 00 06 80 2D 00 78 00 02 98 06   @. .. `. .. .. x. .. ..
0010 : 9E 14 B2 12 00 40 28 00 06 03 43 00 47 00 14 03   .. .. @. .. .. .C .G ..
0020 : 59 00 61 00 6D 00 61 00 68 00 61 00 31 00 2E 00   .Y .a .m .a .h .a .1 ..
0030 : 32 00 12 03 46 00 54 00 32 00 30 00 30 00 38 00   .2 .. .F .T .2 .0 .0 .8
0040 : 38 00 39 00 02 03 01 00 00 00 00 00 00 00 00 00   .8 .9 .. .. .. .. .. ..
0050 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   .. .. .. .. .. .. .. ..
0060 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00   .. .. .. .. .. .. .. ..
0070 : 00 00 00 00 00 00 00 00 00 00 00 00 00 00 58 C2   .. .. .. .. .. .. .. .X
0080 : 1B 04 E4 FB 00 00 69 98 99 70 42 00 00 00 00 00   .. .. .. .i p. .B .. ..
0090 : 00 00 00 00 00 00 00 00 37 41 4A 56 57 55 43 30   .. .. .. .. A7 VJ UW 0C


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

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: FT232RL eeprom read and write

Thomas Jarosch
Hi Ravjeet,

Am 18.05.2016 um 07:50 schrieb RAVJEET:
> HI,
> I require help to read and write entire data from one ft232rl into another
> ft232rl.
> I do not have much knowledge about linux so will require step by step help.

first step: Build the latest libftdi 1.3rc1 from source
or use at least libftdi 1.2.

For a raw copy of the eeprom content,
create a "ftdi_eeprom.conf" config file like this:

##################################################
filename="eeprom.copy"  # Filename to save eemrpon config
eeprom_type=3           # number three is for type R chips
flash_raw=true          # raw copy of unmodified image
##################################################

- find your USB device id using "lsusb" command.
  Adjust the cmdline below if it's not the default 0x0403:0x6001

- Read out current eeprom. Will save to "eeprom.copy" file

  ./ftdi_eeprom --device i:0x0403:0x6001 --read-eeprom ftdi_eeprom.conf


  This should give you a "eeprom.copy" file with 128 bytes
  for type R chips.

- Unplug chip and plug in other chip. Flash the device

  ./ftdi_eeprom --device i:0x0403:0x6001 --flash-eeprom ftdi_eeprom.conf


You might have to adapt the USB vendor/device id
and the path to ftdi_eeprom according to your specific siuation.

Best regards,
Thomas


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to [hidden email]  

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: FT232RL eeprom read and write

ravjeet
thanks,
can someone help me step bt step how to create a "ftdi_eeprom.conf" file
Loading...