Hello,
I am trying to program the bios chip with the ch341a but I can't erase it successful with what software I tried. even with yours. Please could you give me any advice? Thanks in advance.
Enter flashrom to probe for flash chips.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla shroom --help
'flashroom' is not recognized as an internal or external command,
operable program or batch file.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla shrom --help
flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Usage: flashrom [-h|-R|-L|
-p <programmername>[:<parameters>] [-c <chipname>]
(--flash-name|--flash-size|
[-E|(-r|-w|-v) <file>]
[(-l <layoutfile>|--ifd| --fmap|--fmap-file <file>) [-i <imagename>]...]
[-n] [-N] [-f])]
[-V[V[V]]] [-o <logfile>]
-h | --help print this help text
-R | --version print version (release)
-r | --read <file> read flash and save to <file>
-w | --write <file> write <file> to flash
-v | --verify <file> verify flash against <file>
-E | --erase erase flash memory
-V | --verbose more verbose output
-c | --chip <chipname> probe only for specified flash chip
-f | --force force specific operations (see man page)
-n | --noverify don't auto-verify
-N | --noverify-all verify included regions only (cf. -i)
-l | --layout <layoutfile> read ROM layout from <layoutfile>
--flash-name read out the detected flash name
--flash-size read out the detected flash size
--fmap read ROM layout from fmap embedded in ROM
--fmap-file <fmapfile> read ROM layout from fmap in <fmapfile>
--ifd read layout from an Intel Firmware Descriptor
-i | --image <name> only flash image <name> from flash layout
-o | --output <logfile> log output to <logfile>
--flash-contents <ref-file> assume flash contents to be <ref-file>
-L | --list-supported print supported devices
-p | --programmer <name>[:<param>] specify the programmer device. One of
dummy, serprog, buspirate_spi, dediprog, developerbox, pony_spi,
pickit2_spi, ch341a_spi, digilent_spi, stlinkv3_spi.
You can specify one of -h, -R, -L, -E, -r, -w, -v or no operation.
If no operation is specified, flashrom will only probe for flash chips.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla shrom --progranner ch314a_spi[:read]
flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
flashrom: unknown option -- progranner
Please run "flashrom --help" for usage info.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla shrom --progranner ch314a_spi --read 1MB.bin
flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
flashrom: unknown option -- progranner
Please run "flashrom --help" for usage info.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla shrom --programmer ch314a_spi --read 1MB.bin
flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Error: Unknown programmer "ch314a_spi". Valid choices are:
dummy, serprog, buspirate_spi, dediprog, developerbox, pony_spi, pickit2_spi,
ch341a_spi, digilent_spi, stlinkv3_spi.
Please run "flashrom --help" for usage info.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla shrom --programmer ch314a_spi --read 1MB.bin
flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Error: Unknown programmer "ch314a_spi". Valid choices are:
dummy, serprog, buspirate_spi, dediprog, developerbox, pony_spi, pickit2_spi,
ch341a_spi, digilent_spi, stlinkv3_spi.
Please run "flashrom --help" for usage info.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla shrom --programmer ch341a_spi --read 1MB.bin
flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
Found Macronix flash chip "MX25U8032E" (1024 kB, SPI) on ch341a_spi.
Reading flash... done.
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>fla shrom --programmer ch341a_spi --erase
flashrom v1.2 on Windows 10.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
Found Macronix flash chip "MX25U8032E" (1024 kB, SPI) on ch341a_spi.
Erasing and writing flash chip... FAILED at 0x0006df74! Expected=0xff, Found=0xef, failed byte count from 0x0006d000-0x0006dfff: 0x1
ERASE FAILED!
Looking for another erase function.
FAILED at 0x0000da5b! Expected=0xff, Found=0xf7, failed byte count from 0x00008000-0x0000ffff: 0x1
ERASE FAILED!
Looking for another erase function.
FAILED at 0x00010dc5! Expected=0xff, Found=0xfb, failed byte count from 0x00010000-0x0001ffff: 0x4
ERASE FAILED!
Looking for another erase function.
FAILED at 0x00028bf9! Expected=0xff, Found=0x7b, failed byte count from 0x00000000-0x000fffff: 0x8
ERASE FAILED!
Looking for another erase function.
FAILED at 0x000046ed! Expected=0xff, Found=0xef, failed byte count from 0x00000000-0x000fffff: 0x9
ERASE FAILED!
Looking for another erase function.
Looking for another erase function.
Looking for another erase function.
No usable erase functions left.
FAILED!
Your flash chip is in an unknown state.
Please report this on IRC at chat.freenode.net (channel #flashrom) or
mail flashrom@flashrom.org, thanks!
C:\Users\Christos\Desktop\Flashrom_v1.2_St1cky-main\Flashrom_v1.2_St1cky>
Regards,
Christos