Вс апр 15, 2018 12:05:33
Пн апр 16, 2018 01:11:10
# sudo apt-get install flashrom avrdude
# mkdir ~/recoverdvr
# cd ~/recoverdvr
# wget http://mcheli.ru/files/prodvr/frser-duino.hex
# wget http://mcheli.ru/files/prodvr/prodvr-dump.hex
# avrdude -c arduino -p m328p -P /dev/ttyUSB0 -b 57600 -U flash:w:frser-duino.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "frser-duino.hex"
avrdude: input file frser-duino.hex auto detected as Intel Hex
avrdude: writing flash (1368 bytes):
Writing | ################################################## | 100% 0.43s
avrdude: 1368 bytes of flash written
avrdude: verifying flash memory against frser-duino.hex:
avrdude: load data flash data from input file frser-duino.hex:
avrdude: input file frser-duino.hex auto detected as Intel Hex
avrdude: input file frser-duino.hex contains 1368 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.33s
avrdude: verifying ...
avrdude: 1368 bytes of flash verified
avrdude: safemode: Fuses OK (E:00, H:00, L:00)
avrdude done. Thank you.
# flashrom --programmer serprog:dev=/dev/ttyUSB0:115200
flashrom v0.9.9-rc1-r1942 on Linux 4.4.0-22-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
serprog: Programmer name is "frser-duino"
No EEPROM/flash device found.
Note: flashrom can never write if the flash chip isn't found automatically.
c:\recoverdvr\mingw32-w64-flashrom-r1781.exe --programmer serprog:dev=COM3:115200
flashrom v0.9.7-r1781 on Windows 6.1 (x86)
flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK.
serprog: Programmer name is "frser-duino"
Found Generic flash chip "unknown SPI chip (RDID)" (0 kB, SPI) on serprog.
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
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, -Vr,
-VE, -Vw), and mention which mainboard or programmer you tested.
Please mention your board in the subject line. Thanks for your help!
No operations were specified.
# flashrom --programmer serprog:dev=/dev/ttyUSB0:115200 -c MX25L1605 -w prodvr-dump.hex
flashrom v0.9.9-rc1-r1942 on Linux 4.4.0-22-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
serprog: Programmer name is "frser-duino"
Found Macronix flash chip "MX25L1605" (2048 kB, SPI) on serprog.
Reading old flash chip contents... done.
Erasing and writing flash chip... FAILED at 0x00001000! Expected=0xff, Found=0x2b, failed byte count from 0x00000000-0x0000ffff: 0xed13
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
Erase/write done.
Verifying flash... VERIFIED.
c:\recoverdvr\mingw32-w64-flashrom-r1781.exe --programmer serprog:dev=COM3:115200 -c MX25L1605 -w c:\recoverdvr\prodvr-dump.hex
flashrom v0.9.7-r1781 on Windows 6.1 (x86)
flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK.
serprog: Programmer name is "frser-duino"
Found Macronix flash chip "MX25L1605" (2048 kB, SPI) on serprog.
Reading old flash chip contents... done.
Erasing and writing flash chip...
Warning: Chip content is identical to the requested image.
Erase/write done.
Пн апр 23, 2018 21:57:03
ВНИМАНИЕ!
Прошивка принтера которая была считана с SPI FLASH (BIOS) некорректно работает при сканировании (+копировании) "при помощи кнопки", а именно полосит.
Кратко: прошивка в SPI FLASH (BIOS) с дефектом - соответственно и дамп тоже.
При сканировании при помощи программы на компьютере и отправки её на печать, то всё отлично.
P.S.: Сканер был подключен от такого-же переделанного принтера на котором данного дефекта не наблюдается.
Вт апр 24, 2018 06:10:23
Сб апр 28, 2018 03:15:24
Нету сил, времени и навыков. Может, что-то и получится, но будет куча говно-кода + баги/лаги.
Вс окт 09, 2022 16:59:48
mingw32-w64-flashrom-r1781.exe --programmer serprog:dev=COM3:9600 -V
flashrom v0.9.7-r1781 on Windows 6.2 (x86)
flashrom is free software, get the source code at http://www.flashrom.org
flashrom was built with GCC 4.8.2, little endian
Command line (3 args): mingw32-w64-flashrom-r1781.exe --programmer serprog:dev=COM3:9600 -V
Calibrating delay loop... OS timer resolution is 1036 usecs, 1481M loops per second, 10 myus = 0 us, 100 myus = 0 us, 1000 myus = 964 us, 10000 myus = 9997 us, 4144 myus = 4032 us, OK.
Initializing serprog programmer
Baud rate is 9600.
serprog: connected - attempting to synchronize
........Error: cannot synchronize protocol - check communications and reset device?
Error: Programmer initialization failed.
Пн окт 10, 2022 01:24:28
Ср дек 14, 2022 12:07:20
Чт дек 15, 2022 21:07:01