>>>>> "Thomas" == Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx> writes:
Thomas> On Wednesday, 18. August 2010 14:24:29 DJ Delorie wrote:
>> > if it's an R type chip and the serial is 000000?
>>
>> You mean, if it's an R chip and the serial is *not* 000000 ?
Thomas> As the idea was to -disallow- flashing, I would still go with
Thomas> "if (chip_type == TYPE_R && serial == "000000")" to abort the
Thomas> flash process.
I think the serial number has a permanent copy in the bytes above 0x40 in
the EEPROMN space. Look at it with mpog.exe ( perhaps with wine and my
ftd2xx translation layer)...
--
Uwe Bonnes bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx
|