Hello, I tried DOS version of flashrom and have some notes. First I tried it at work on a Dell PC with ATI SB600 chipset but it failed to read flash.
Then I tried at home on P31/ICH7 board and works fine, here'e listing of flash process:
/This chipset supports the following protocols: SPI. 128,040 Calibrating delay loop... OK. Found chip "Winbond W25x40" (512 KB, SPI) at physical address 0xfff80000. === This flash part has status UNTESTED for operations: ERASE Please email a report to flashrom@flashrom.org if any of the above operations work correctly for you with this flash part. Please include the flashrom output with the additional -V option for all operations you tested (-V, -rV, -wV, -EV), and mention which mainboard or programmer you tested. Thanks for your help! === Flash image seems to be a legacy BIOS. Disabling checks. Writing flash chip... Erasing flash before programming... Erasing flash chip... spi_block_erase_20 failed during command execution at address 0x0 SUCCESS. done. Programming page:
COMPLETE. Verifying flash... VERIFIED.
/It flashed OK but why it displays this? spi_block_erase_20 failed during command execution at address 0x0
Then I looked with trace tool that flashrom makes some strange file operations, see log in attachment.
I found it tries to open dmidecode.exe I had it in PATH but when not flashrom hanged for some seconds and displays Bad command or filename about 6 times.
Superiotool works on my ITE chip OK. BTW I UPXed it from ~2MB to 80kB :)
Martin
ARGUS V1.61 - (c) by M. Heilfort, April 1995
Mar, 15 2010 23.10.49 : ------ Start of logging ------ : resident ARGUS occupies 4320 Byte
23.11.00 : change directory : H:\FLASHROM OK 23.11.00 Û run program : C:\WINDOWS\COMMAND.COM /cflashrom.exe PSP = 1B34H:0000H 23.11.00 : open file RO : C:\WINDOWS\COMMAND.COM handle = 6 OK 23.11.00 : close file : handle 6 OK 23.11.00 : open file RO : C:\WINDOWS\COMMAND.COM handle = 6 OK 23.11.00 : close file : handle 6 OK 23.11.00 : close file : handle 5 OK 23.11.00 : close file : handle 6 FAIL ! error 6 : handle unknown 23.11.00 : close file : handle 7 FAIL ! error 6 : handle unknown 23.11.00 : close file : handle 8 FAIL ! error 6 : handle unknown 23.11.00 : close file : handle 9 FAIL ! error 6 : handle unknown 23.11.00 : close file : handle 10 FAIL ! error 6 : handle unknown 23.11.00 : close file : handle 11 FAIL ! error 6 : handle unknown 23.11.00 : close file : handle 12 FAIL ! error 6 : handle unknown 23.11.00 : close file : handle 13 FAIL ! error 6 : handle unknown 23.11.00 : close file : handle 14 FAIL ! error 6 : handle unknown 23.11.00 : close file : handle 15 FAIL ! error 6 : handle unknown 23.11.00 : close file : handle 16 FAIL ! error 6 : handle unknown 23.11.00 : close file : handle 17 FAIL ! error 6 : handle unknown 23.11.00 : close file : handle 18 FAIL ! error 6 : handle unknown 23.11.00 : close file : handle 19 FAIL ! error 6 : handle unknown 23.11.00 : open file RO : C:\WINDOWS\COMMAND.COM handle = 6 OK 23.11.00 : close file : handle 6 OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 Û run program : H:\FLASHROM\FLASHROM.EXE PSP = 1CF6H:0000H 23.11.00 : close file : handle 19 FAIL ! error 6 : handle unknown 23.11.00 : close file : handle 18 FAIL ! error 6 : handle unknown 23.11.00 Û run program : H:\FLASHROM\CWSDPMI.EXE PSP = 2115H:0000H 23.11.00 : open file RO : EMMXXXX0 FAIL ! error 2 : file not found 23.11.00 : close file : handle 0 OK 23.11.00 : close file : handle 1 OK 23.11.00 : close file : handle 3 OK 23.11.00 : close file : handle 4 OK 23.11.00 : close file : handle 2 OK 23.11.00 Û program resident : H:\FLASHROM\CWSDPMI.EXE Code = 0 23.11.00 : open file RO : H:\FLASHROM\FLASHROM.EXE handle = 6 OK 23.11.00 : create file : c:\cwsdpmi.swp handle = 7 OK 23.11.00 : close file : handle 6 OK 23.11.00 : duplicate handle : handle 1 to handle = 6 OK 23.11.00 : close file : handle 1 OK 23.11.00 : open file WO : C:\WINDOWS\TEMP/dj100000 FAIL ! error 2 : file not found 23.11.00 : reset file : C:\WINDOWS\TEMP/dj100000 handle = 1 OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : get current directory : H:\FLASHROM OK 23.11.00 : flush file : handle 0 OK 23.11.00 : flush file : handle 1 OK 23.11.00 : flush file : handle 2 OK 23.11.00 : flush file : handle 3 OK 23.11.00 : flush file : handle 4 OK 23.11.00 : flush file : handle 5 OK 23.11.00 : flush file : handle 6 OK 23.11.00 : flush file : handle 7 OK 23.11.00 : flush file : handle 8 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 9 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 10 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 11 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 12 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 13 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 14 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 15 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 16 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 17 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 18 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 19 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 20 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 21 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 22 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 23 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 24 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 25 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 26 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 27 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 28 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 29 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 30 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 31 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 32 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 33 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 34 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 35 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 36 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 37 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 38 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 39 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 40 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 41 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 42 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 43 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 44 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 45 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 46 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 47 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 48 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 49 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 50 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 51 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 52 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 53 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 54 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 55 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 56 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 57 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 58 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 59 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 60 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 61 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 62 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 63 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 64 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 65 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 66 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 67 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 68 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 69 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 70 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 71 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 72 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 73 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 74 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 75 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 76 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 77 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 78 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 79 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 80 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 81 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 82 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 83 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 84 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 85 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 86 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 87 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 88 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 89 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 90 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 91 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 92 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 93 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 94 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 95 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 96 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 97 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 98 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle 99 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle100 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle101 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle102 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle103 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle104 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle105 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle106 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle107 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle108 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle109 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle110 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle111 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle112 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle113 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle114 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle115 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle116 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle117 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle118 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle119 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle120 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle121 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle122 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle123 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle124 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle125 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle126 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle127 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle128 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle129 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle130 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle131 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle132 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle133 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle134 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle135 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle136 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle137 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle138 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle139 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle140 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle141 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle142 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle143 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle144 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle145 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle146 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle147 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle148 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle149 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle150 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle151 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle152 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle153 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle154 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle155 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle156 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle157 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle158 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle159 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle160 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle161 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle162 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle163 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle164 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle165 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle166 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle167 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle168 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle169 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle170 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle171 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle172 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle173 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle174 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle175 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle176 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle177 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle178 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle179 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle180 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle181 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle182 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle183 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle184 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle185 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle186 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle187 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle188 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle189 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle190 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle191 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle192 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle193 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle194 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle195 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle196 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle197 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle198 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle199 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle200 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle201 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle202 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle203 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle204 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle205 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle206 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle207 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle208 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle209 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle210 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle211 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle212 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle213 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle214 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle215 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle216 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle217 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle218 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle219 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle220 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle221 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle222 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle223 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle224 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle225 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle226 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle227 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle228 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle229 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle230 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle231 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle232 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle233 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle234 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle235 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle236 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle237 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle238 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle239 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle240 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle241 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle242 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle243 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle244 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle245 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle246 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle247 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle248 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle249 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle250 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle251 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle252 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle253 FAIL ! error 6 : handle unknown 23.11.00 : flush file : handle254 FAIL ! error 6 : handle unknown 23.11.00 Û run program : C:\WINDOWS\COMMAND.COM /c dmidecode -s system-manufacturer PSP = 540FH:0000H 23.11.00 : open file RO : C:\WINDOWS\COMMAND.COM handle = 8 OK 23.11.00 : close file : handle 8 OK 23.11.00 : open file RO : C:\WINDOWS\COMMAND.COM handle = 8 OK 23.11.00 : close file : handle 8 OK 23.11.06 : close file : handle 5 OK 23.11.06 : close file : handle 6 FAIL ! error 6 : handle unknown 23.11.06 : close file : handle 7 FAIL ! error 6 : handle unknown 23.11.06 : close file : handle 8 FAIL ! error 6 : handle unknown 23.11.06 : close file : handle 9 FAIL ! error 6 : handle unknown 23.11.06 : close file : handle 10 FAIL ! error 6 : handle unknown 23.11.06 : close file : handle 11 FAIL ! error 6 : handle unknown 23.11.06 : close file : handle 12 FAIL ! error 6 : handle unknown 23.11.06 : close file : handle 13 FAIL ! error 6 : handle unknown 23.11.06 : close file : handle 14 FAIL ! error 6 : handle unknown 23.11.06 : close file : handle 15 FAIL ! error 6 : handle unknown 23.11.06 : close file : handle 16 FAIL ! error 6 : handle unknown 23.11.06 : close file : handle 17 FAIL ! error 6 : handle unknown 23.11.06 : close file : handle 18 FAIL ! error 6 : handle unknown 23.11.06 : close file : handle 19 FAIL ! error 6 : handle unknown 23.11.06 Û exit program : Code = 0 23.11.06 : get current directory : H:\FLASHROM OK 23.11.06 : change directory : H:\FLASHROM OK 23.11.06 : get current directory : H:\FLASHROM OK 23.11.06 : --------- E N D ---------
Hi RayeR,
thanks for your report.
On 17.03.2010 10:14, RayeR wrote:
I tried DOS version of flashrom and have some notes. First I tried it at work on a Dell PC with ATI SB600 chipset but it failed to read flash.
That is very strange. Do you have a log? SB600 should work fine. Maybe the SPI chip is not attached to the SB600 but instead to the SuperI/O. Can you try flashrom -p it87spi
Then I tried at home on P31/ICH7 board and works fine, here'e listing of flash process:
This chipset supports the following protocols: SPI. Calibrating delay loop... OK. Found chip "Winbond W25x40" (512 KB, SPI) at physical address 0xfff80000. This flash part has status UNTESTED for operations: ERASE Please email a report to flashrom@flashrom.org if any of the above operations work correctly for you with this flash part. Please include the flashrom output with the additional -V option for all operations you tested (-V, -rV, -wV, -EV), and mention which mainboard or programmer you tested. Thanks for your help! Flash image seems to be a legacy BIOS. Disabling checks. Writing flash chip... Erasing flash before programming... Erasing flash chip... spi_block_erase_20 failed during command execution at address 0x0 SUCCESS. done. Programming page: COMPLETE. Verifying flash... VERIFIED.
It flashed OK but why it displays this? spi_block_erase_20 failed during command execution at address 0x0
The W25x40 supports multiple erase commands, and your chipset does not allow flashrom to use the spi_block_erase_20 command. Flashrom notices that this command failed and tries another erase command which works.
Then I looked with trace tool that flashrom makes some strange file operations, see log in attachment.
Yes, strange. Maybe that happens as side effect from DJGPP compilation?
I found it tries to open dmidecode.exe I had it in PATH but when not flashrom hanged for some seconds and displays Bad command or filename about 6 times.
It should try only 2 times. If it tries more often, we have to check the code (bug?). I think Rudolf(?) said that there are problems if we try to run a CWSDPMI app (dmidecode) from another CWSDPMI app (flashrom). Does it work if dmidecode.exe is in the PATH? Hm. DMIDECODE.EXE is a name with 9+3 letters. That can't work on old DOS.
Superiotool works on my ITE chip OK. BTW I UPXed it from ~2MB to 80kB :)
Cool.
Regards, Carl-Daniel