libftdi Archives

Subject: Re: 230X EEPROM Battery Charge Detect bits

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Cc: truth@xxxxxxxxxxxxxxxx
Date: Wed, 27 May 2015 17:51:59 +0200
Hi Kevin,

On Wednesday, 6. May 2015 06:57:00 truth@xxxxxxxxxxxxxxxx wrote:
> ...
> -no Battery Charge Enable
> -no Force Power Enable
> -yes De-activate Sleep
> 
> 0x000: 84 00 03 04 15 60 00 10  80 fa 08 00 00 00 a0 10 .....`.. ........
> 0x010: b0 10 c0 12 00 00 00 00  00 00 0e 04 05 03 00 00 ........ ........
> 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 ........ ........
> ...
> 
> Are there any plans to add these properties to the libftdi library?  They
> currently appear to be specific to the FT230X chip.

thanks for those EEPROM dumps. Features are added to libftdi on a
as-needed basis by the developers using it.

If you need to configure those bits, feel free to implement the flags and send 
a patch. I'll then review it. There is already some stuff at offset 0x00 f.e. 
for the 2232H type chips. For TYPE_230X, we currently program "0x80"
as the default value.

If you don't need this right now, those dumps are still
useful to someone willing to implement it.

Cheers,
Thomas


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

Current Thread