If we detected Multiple flash chips than<br> We can easy save all chips in dynamic list - pflashes.<br> and we will not have a restrictions with number chips<br> This is Dynamic List to sorted by Volage beginnig from minimal value.<br>
Also I added to dynamic list the new parameter HEAD.<br> This is link on head of Dynamic List.<br> I added a new key "-F" or "--enum" for trying <br> choice chip automatically from array of Multiple chips<br>
with identical value model_id.<br> Now we can easy introduce a new chips with identical value model_id and different <br> chip names, reading, writing and other function.<br> <br> for example:<br> if we have a three chips <br>
M50FLW040A - already exists<br> .name = "M50FLW040A",<br> .model_id = ST_M50FLW040A,<br> ...<br> .read = read_memmapped;<br> .volage = { 3000, 3600 },<br> <br> M50FLW040B - is fairy chip<br>
.name = "M50FLW040A",<br> .model_id = ST_M50FLW040A,<br> ...<br> .read = read_memmapped_040B;<br> .volage = { 4500, 5500 },<br><br> M50FLW040C - is fairy chip<br> .name = "M50FLW040A",<br>
.model_id = ST_M50FLW040A,<br> ...<br> .read = read_memmapped_040C;<br> .volage = { 1690, 1900 },<br><br> and we want to add them to file flashrom.c <br> just will do it<br> now runnig the programm and see the array of Multiple chips<br>
<br> =OUT==================================================================================<br> ./flashrom --programmer=internal --r bios.img -o rezult<br> flashrom v0.9.6.1-r1657 on Linux 2.6.32-220.el6.x86_64 (x86_64)<br>
flashrom is free software, get the source code at <a href="http://www.flashrom.org">http://www.flashrom.org</a><br> <br> Calibrating delay loop... OK.<br> Found chipset "Intel ICH7/ICH7R". Enabling flash write... OK.<br>
Found ST flash chip "M50FLW040A" (512 kB, LPC, FWH) at physical address 0xfff80000.<br> Found ST flash chip "M50FLW040B" (512 kB, LPC, FWH) at physical address 0xfff80000.<br> Found ST flash chip "M50FLW040C" (512 kB, LPC, FWH) at physical address 0xfff80000.<br>
<br> Multiple flash chips were detected:<br> "M50FLW040C" with minimal single supply voltage 1690mV<br> "M50FLW040A" with minimal single supply voltage 3000mV<br> "M50FLW040B" with minimal single supply voltage 4500mV<br>
<br> Please specify which chip to use with the -c <chipname> option<br> or use the -F enumeration option.for trying choice chip automatically<br> =END==================================================================================<br>
<br> now running with key "-F"<br><br> =OUT==================================================================================<br> ./flashrom --programmer=internal --r bios.img -o rezult -F<br> flashrom v0.9.6.1-r1657 on Linux 2.6.32-220.el6.x86_64 (x86_64)<br>
flashrom is free software, get the source code at <a href="http://www.flashrom.org">http://www.flashrom.org</a><br> <br> Calibrating delay loop... OK.<br> Found chipset "Intel ICH7/ICH7R". Enabling flash write... OK.<br>
Found ST flash chip "M50FLW040A" (512 kB, LPC, FWH) at physical address 0xfff80000.<br> Found ST flash chip "M50FLW040B" (512 kB, LPC, FWH) at physical address 0xfff80000.<br> Found ST flash chip "M50FLW040C" (512 kB, LPC, FWH) at physical address 0xfff80000.<br>
<br> Multiple flash chips were detected:<br> "M50FLW040C" with minimal single supply voltage 1690mV<br> "M50FLW040A" with minimal single supply voltage 3000mV<br> "M50FLW040B" with minimal single supply voltage 4500mV<br>
<br> Please specify which chip to use with the -c <chipname> option<br> or use the -F enumeration option.for trying choice chip automatically<br> ===<br> This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE<br>
The test status of this chip may have been updated in the latest development<br> version of flashrom. If you are running the latest development version,<br> please email a report to <a href="mailto:flashrom@flashrom.org">flashrom@flashrom.org</a> if any of the above operations<br>
work correctly for you with this flash part. Please include the flashrom<br> output with the additional -V option for all operations you tested (-V, -Vr,<br> -VE, -Vw), and mention which mainboard or programmer you tested.<br>
Please mention your board in the subject line. Thanks for your help!<br> Reading flash "M50FLW040C" with minimal single supply voltage 1690mV... done.<br> =END==================================================================================<br>
<br> We found chips and we trying read data from every chip while will not be successful operation read.<br> <br> and i hope we will not need a reinvent the wheel with names of similar chips like a N25Q064..1E<br>
and puzzle over designation MX25U6435F and MX25L6439E<br clear="all"><br>-- <br><div>With best regards Nikolay Nikolaev</div><div>σ υΧΑΦΕΞΙΕΝ ξΙΛΟΜΑΕΧ ξΙΛΟΜΑΚ</div>