Page 47 of 58

Re: Firmware upgrade using Linux tool, requires no hardware

Posted: 19 Apr 2017, 23:07
by lugs
It is a Benq, no rebrand.

Re: Firmware upgrade using Linux tool, requires no hardware

Posted: 13 Oct 2017, 06:22
by Bombilakus
Hi guys I just got XL2420z V1 used monitor and I would like to flash it via Linux method. On the last 40 pages I've seen many "guides" and don't know which one to follow. Can someone point me to the easiest one. I can get vga and Ubuntu Live and have spare monitor. From hardware I have I5 with onboard graphics and 970GTX.

Is this MSTAR ISP alternative tool?

https://www.aliexpress.com/item/USB-upg ... f2da1d3425

Re: Firmware upgrade using Linux tool, requires no hardware

Posted: 28 Oct 2017, 11:47
by Bolli
Hi i just tried to update my Benq XL2420Z from v1 to v4.

At the last Step i get this

Calibrating delay loop... OK.
Info: Will try to use device /dev/i2c-1 and address 0x49.
Info: Will reset the device at the end.
Error enabling ISP mode: errno 6 & 6.
Please check that device (/dev/i2c-1) and address (0x49) are correct.
Error: programmer initialization failed.

I got no expierence with Linux.

I Just started the whole process again and look its working ! :D
Thanks for the nice and Easy Guide

Re: Firmware upgrade using Linux tool, requires no hardware

Posted: 07 Dec 2017, 01:47
by abossard
Hi guys,

I followed the instructions and have a XL2720Z connected with VGA to my Notebook.

Creating the backup worked fine, but I can't write the new firmware:

Code: Select all

ubuntu@ubuntu:~/Desktop/monihack/flashrom$ sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-1:49 -c "MX25L1605A/MX25L1606E" -w firmware.bin
flashrom v0.9.7-r1846 on Linux 4.13.0-16-generic (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org

Calibrating delay loop... OK.
Info: Will try to use device /dev/i2c-1 and address 0x49.
Info: WILL reset the device at the end.
Found Macronix flash chip "MX25L1605A/MX25L1606E" (2048 kB, SPI) on mstarddc_spi.
Reading old flash chip contents... done.
Erasing and writing flash chip... Error sending write command: errno 6.
spi_nbyte_program failed during command execution at address 0x0
Reading current flash chip contents... 
done. Looking for another erase function.
Error sending write command: errno 6.
spi_nbyte_program failed during command execution at address 0x0
Reading current flash chip contents... done. Looking for another erase function.
Error sending write command: errno 6.
spi_nbyte_program failed during command execution at address 0x0
Reading current flash chip contents... done. Looking for another erase function.
Error sending write command: errno 6.
spi_nbyte_program failed during command execution at address 0x0
Reading current flash chip contents... done. Looking for another erase function.
Error sending write command: errno 6.
spi_nbyte_program failed during command execution at address 0x0
Looking for another erase function.
No usable erase functions left.
FAILED!
Uh oh. Erase/write failed. Checking if anything has changed.
Reading current flash chip contents... done.
Apparently at least some data has changed.
Your flash chip is in an unknown state.
Please report this on IRC at chat.freenode.net (channel #flashrom) or
mail [email protected], thanks!
Info: Reset command was not sent. Either the noreset=1 option was used, or an error occured.
I tried it several times with unplugging the screen for 15s in between.

Any ideas?

Re: Firmware upgrade using Linux tool, requires no hardware

Posted: 25 Dec 2017, 19:12
by bigbit
Succesfully Flashed Benq XL2720Z to from V2 to V5
GTX980 DVI to VGA converter
ubuntu try 17.04

Bus 0
So you still have to find the right bus and expand the firmware to 2MB
Put the firmware.bin in the current folder!

Code: Select all

sudo apt-get install git libusb-dev libpci-dev build-essential libusb-1.0-0-dev i2c-tools

sudo git clone https://github.com/flashrom/flashrom

cd flashrom <--- It should be in your /home/ubuntu folder. Put the firmware.bin in the current folder!

make CONFIG_MSTARDDC_SPI=yes

sudo make install

sudo flashrom -p mstarddc_spi:dev=/dev/i2c-0:49 -c "MX25L1605D/MX25L1608D/MX25L1673E" -w firmware.bin

Re: Firmware upgrade using Linux tool, requires no hardware

Posted: 26 Dec 2017, 16:04
by Chief Blur Buster
Thank you for informing us!

Re: Firmware upgrade using Linux tool, requires no hardware

Posted: 12 Jan 2018, 20:55
by hamc17
I'm after upgrading the version 5 firmware on my XL2720Z (about 8 hours and 3 different computer combinations) to fix the displayport no signal after waking from sleep issue; has v5 reintroduced this bug?

I'm using a GTX 970 if that sheds any light.

Thanks.

Update: It seems to only occur when I turn the computer on before turning the monitor on. Turning the monitor on before waking the computer works fine. Strange, but manageable!

Re: Firmware upgrade using Linux tool, requires no hardware

Posted: 13 Jan 2018, 10:28
by Fonta
Hi All,

hope you guys can help me out here. I have a Benq xl2720z and want to upgrade it to the latest version as it's currently still on V1.
However, I can't get this tool to work. I'm stuck at the part to identify the flash chip.
The monitor is connected on the vga port, disabled and in standby.
At first:

Code: Select all

ubuntu@ubuntu:~/flashrom$ sudo i2cdetect -l
i2c-3	i2c       	DPDDC-A                         	I2C adapter
i2c-1	i2c       	i915 gmbus dpb                  	I2C adapter
i2c-4	i2c       	DPDDC-C                         	I2C adapter
i2c-2	i2c       	i915 gmbus dpd                  	I2C adapter
i2c-0	i2c       	i915 gmbus dpc                  	I2C adapter
i2c-5	i2c       	DPMST                           	I2C adapter
ubuntu@ubuntu:~/flashrom$ sudo i2cdetect 3
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-3.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- 37 -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
ubuntu@ubuntu:~/flashrom$ sudo i2cdetect 4
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-4.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
ubuntu@ubuntu:~/flashrom$ sudo i2cdetect 5
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-5.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- 37 -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- -- 59 -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
ubuntu@ubuntu:~/flashrom$ 
0, 1 and 2 are not reporting any addresses, and of these, none has 49.

Searching for the EDID I get the monitor name on 2 busses:

Code: Select all

ubuntu@ubuntu:~/flashrom$ sudo i2cdump -r 0-127 3 0x50
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-3, address 0x50, mode byte
Probe range limited to 0x00-0x7f.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 ff ff ff ff ff ff 00 06 af 3d 10 00 00 00 00    ........??=?....
10: 09 19 01 04 95 1f 11 78 02 fb 05 a4 55 50 a0 28    ???????x????UP?(
20: 0f 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01    ?PT...??????????
30: 01 01 01 01 01 01 14 37 80 b8 70 38 24 40 10 10    ???????7??p8$@??
40: 3e 00 35 ad 10 00 00 1a 10 2c 80 b8 70 38 24 40    >.5??..??,??p8$@
50: 10 10 3e 00 35 ad 10 00 00 1a 00 00 00 fe 00 50    ??>.5??..?...?.P
60: 59 57 38 59 80 42 31 34 30 48 41 54 00 00 00 00    YW8Y?B140HAT....
70: 00 00 41 22 9b 01 10 00 00 0a 01 0a 20 20 00 c0    ..A"???..???  .?
ubuntu@ubuntu:~/flashrom$ sudo i2cdump -r 0-127 4 0x50
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-4, address 0x50, mode byte
Probe range limited to 0x00-0x7f.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 ff ff ff ff ff ff 00 09 d1 28 7f 45 54 00 00    ........??(?ET..
10: 03 18 01 04 a5 3c 22 78 2e 14 d1 a5 58 52 a2 26    ?????<"x.???XR?&
20: 0c 50 54 a5 6b 80 d1 c0 45 7c 61 7c 81 80 81 bc    ?PT?k???E|a|????
30: 95 3c 31 7c 01 01 02 3a 80 18 71 38 2d 40 58 2c    ?<1|???:??q8-@X,
40: 45 00 55 50 21 00 00 1e 00 00 00 ff 00 33 31 45    E.UP!..?.....31E
50: 30 37 36 33 37 53 4c 30 0a 20 00 00 00 fd 00 18    07637SL0? ...?.?
60: 78 0f 87 15 00 0a 20 20 20 20 20 20 00 00 00 fc    x???.?      ...?
70: 00 42 65 6e 51 20 58 4c 32 37 32 30 5a 0a 00 64    .BenQ XL2720Z?.d
ubuntu@ubuntu:~/flashrom$ sudo i2cdump -r 0-127 5 0x50
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-5, address 0x50, mode byte
Probe range limited to 0x00-0x7f.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 ff ff ff ff ff ff 00 09 d1 28 7f 45 54 00 00    ........??(?ET..
10: 03 18 01 03 0e 3c 22 78 2e 14 d1 a5 58 52 a2 26    ?????<"x.???XR?&
20: 0c 50 54 a5 6b 80 d1 c0 45 7c 61 7c 81 80 81 bc    ?PT?k???E|a|????
30: 95 3c 31 7c 01 01 02 3a 80 18 71 38 2d 40 58 2c    ?<1|???:??q8-@X,
40: 45 00 55 50 21 00 00 1e 00 00 00 ff 00 33 31 45    E.UP!..?.....31E
50: 30 37 36 33 37 53 4c 30 0a 20 00 00 00 fd 00 18    07637SL0? ...?.?
60: 78 0f 87 15 00 0a 20 20 20 20 20 20 00 00 00 fc    x???.?      ...?
70: 00 42 65 6e 51 20 58 4c 32 37 32 30 5a 0a 00 fc    .BenQ XL2720Z?.?
ubuntu@ubuntu:~/flashrom$ 
Any flash chip recognizing gives the following:

Code: Select all

ubuntu@ubuntu:~/flashrom$ sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-5:49
flashrom v0.9.7-r1846 on Linux 4.10.0-28-generic (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org

Calibrating delay loop... OK.
Info: Will try to use device /dev/i2c-5 and address 0x49.
Info: WILL reset the device at the end.
Error enabling ISP mode: errno 5 & 5.
Please check that device (/dev/i2c-5) and address (0x49) are correct.
Error: Programmer initialization failed.
ubuntu@ubuntu:~/flashrom$ sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-5:59
flashrom v0.9.7-r1846 on Linux 4.10.0-28-generic (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org

Calibrating delay loop... OK.
Info: Will try to use device /dev/i2c-5 and address 0x59.
Info: WILL reset the device at the end.
Error enabling ISP mode: errno 5 & 5.
Please check that device (/dev/i2c-5) and address (0x59) are correct.
Error: Programmer initialization failed.
ubuntu@ubuntu:~/flashrom$ sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-5:37
flashrom v0.9.7-r1846 on Linux 4.10.0-28-generic (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org

Calibrating delay loop... OK.
Info: Will try to use device /dev/i2c-5 and address 0x37.
Info: WILL reset the device at the end.
Error enabling ISP mode: errno 5 & 5.
Please check that device (/dev/i2c-5) and address (0x37) are correct.
Error: Programmer initialization failed.
ubuntu@ubuntu:~/flashrom$
Does anyone have an idea what to do?

Re: Firmware upgrade using Linux tool, requires no hardware

Posted: 13 Jan 2018, 12:29
by hamc17
Fonta wrote:Hi All,

hope you guys can help me out here. I have a Benq xl2720z and want to upgrade it to the latest version as it's currently still on V1.
However, I can't get this tool to work. I'm stuck at the part to identify the flash chip.
The monitor is connected on the vga port, disabled and in standby.
At first:

Code: Select all

ubuntu@ubuntu:~/flashrom$ sudo i2cdetect -l
i2c-3	i2c       	DPDDC-A                         	I2C adapter
i2c-1	i2c       	i915 gmbus dpb                  	I2C adapter
i2c-4	i2c       	DPDDC-C                         	I2C adapter
i2c-2	i2c       	i915 gmbus dpd                  	I2C adapter
i2c-0	i2c       	i915 gmbus dpc                  	I2C adapter
i2c-5	i2c       	DPMST                           	I2C adapter
ubuntu@ubuntu:~/flashrom$ sudo i2cdetect 3
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-3.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- 37 -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
ubuntu@ubuntu:~/flashrom$ sudo i2cdetect 4
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-4.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
ubuntu@ubuntu:~/flashrom$ sudo i2cdetect 5
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-5.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- 37 -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- -- 59 -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
ubuntu@ubuntu:~/flashrom$ 
0, 1 and 2 are not reporting any addresses, and of these, none has 49.

Searching for the EDID I get the monitor name on 2 busses:

Code: Select all

ubuntu@ubuntu:~/flashrom$ sudo i2cdump -r 0-127 3 0x50
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-3, address 0x50, mode byte
Probe range limited to 0x00-0x7f.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 ff ff ff ff ff ff 00 06 af 3d 10 00 00 00 00    ........??=?....
10: 09 19 01 04 95 1f 11 78 02 fb 05 a4 55 50 a0 28    ???????x????UP?(
20: 0f 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01    ?PT...??????????
30: 01 01 01 01 01 01 14 37 80 b8 70 38 24 40 10 10    ???????7??p8$@??
40: 3e 00 35 ad 10 00 00 1a 10 2c 80 b8 70 38 24 40    >.5??..??,??p8$@
50: 10 10 3e 00 35 ad 10 00 00 1a 00 00 00 fe 00 50    ??>.5??..?...?.P
60: 59 57 38 59 80 42 31 34 30 48 41 54 00 00 00 00    YW8Y?B140HAT....
70: 00 00 41 22 9b 01 10 00 00 0a 01 0a 20 20 00 c0    ..A"???..???  .?
ubuntu@ubuntu:~/flashrom$ sudo i2cdump -r 0-127 4 0x50
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-4, address 0x50, mode byte
Probe range limited to 0x00-0x7f.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 ff ff ff ff ff ff 00 09 d1 28 7f 45 54 00 00    ........??(?ET..
10: 03 18 01 04 a5 3c 22 78 2e 14 d1 a5 58 52 a2 26    ?????<"x.???XR?&
20: 0c 50 54 a5 6b 80 d1 c0 45 7c 61 7c 81 80 81 bc    ?PT?k???E|a|????
30: 95 3c 31 7c 01 01 02 3a 80 18 71 38 2d 40 58 2c    ?<1|???:??q8-@X,
40: 45 00 55 50 21 00 00 1e 00 00 00 ff 00 33 31 45    E.UP!..?.....31E
50: 30 37 36 33 37 53 4c 30 0a 20 00 00 00 fd 00 18    07637SL0? ...?.?
60: 78 0f 87 15 00 0a 20 20 20 20 20 20 00 00 00 fc    x???.?      ...?
70: 00 42 65 6e 51 20 58 4c 32 37 32 30 5a 0a 00 64    .BenQ XL2720Z?.d
ubuntu@ubuntu:~/flashrom$ sudo i2cdump -r 0-127 5 0x50
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-5, address 0x50, mode byte
Probe range limited to 0x00-0x7f.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 ff ff ff ff ff ff 00 09 d1 28 7f 45 54 00 00    ........??(?ET..
10: 03 18 01 03 0e 3c 22 78 2e 14 d1 a5 58 52 a2 26    ?????<"x.???XR?&
20: 0c 50 54 a5 6b 80 d1 c0 45 7c 61 7c 81 80 81 bc    ?PT?k???E|a|????
30: 95 3c 31 7c 01 01 02 3a 80 18 71 38 2d 40 58 2c    ?<1|???:??q8-@X,
40: 45 00 55 50 21 00 00 1e 00 00 00 ff 00 33 31 45    E.UP!..?.....31E
50: 30 37 36 33 37 53 4c 30 0a 20 00 00 00 fd 00 18    07637SL0? ...?.?
60: 78 0f 87 15 00 0a 20 20 20 20 20 20 00 00 00 fc    x???.?      ...?
70: 00 42 65 6e 51 20 58 4c 32 37 32 30 5a 0a 00 fc    .BenQ XL2720Z?.?
ubuntu@ubuntu:~/flashrom$ 
Any flash chip recognizing gives the following:

Code: Select all

ubuntu@ubuntu:~/flashrom$ sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-5:49
flashrom v0.9.7-r1846 on Linux 4.10.0-28-generic (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org

Calibrating delay loop... OK.
Info: Will try to use device /dev/i2c-5 and address 0x49.
Info: WILL reset the device at the end.
Error enabling ISP mode: errno 5 & 5.
Please check that device (/dev/i2c-5) and address (0x49) are correct.
Error: Programmer initialization failed.
ubuntu@ubuntu:~/flashrom$ sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-5:59
flashrom v0.9.7-r1846 on Linux 4.10.0-28-generic (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org

Calibrating delay loop... OK.
Info: Will try to use device /dev/i2c-5 and address 0x59.
Info: WILL reset the device at the end.
Error enabling ISP mode: errno 5 & 5.
Please check that device (/dev/i2c-5) and address (0x59) are correct.
Error: Programmer initialization failed.
ubuntu@ubuntu:~/flashrom$ sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-5:37
flashrom v0.9.7-r1846 on Linux 4.10.0-28-generic (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org

Calibrating delay loop... OK.
Info: Will try to use device /dev/i2c-5 and address 0x37.
Info: WILL reset the device at the end.
Error enabling ISP mode: errno 5 & 5.
Please check that device (/dev/i2c-5) and address (0x37) are correct.
Error: Programmer initialization failed.
ubuntu@ubuntu:~/flashrom$
Does anyone have an idea what to do?

What input adapter are you using?
Are you using the live version of ubuntu or a fully installed one?
Is the monitor off and plugged in?

I did this all last night so it's fresh in my mind and can give you a hand.

Re: Firmware upgrade using Linux tool, requires no hardware

Posted: 13 Jan 2018, 12:33
by Fonta
hamc17 wrote:
Fonta wrote:Hi All,

hope you guys can help me out here. I have a Benq xl2720z and want to upgrade it to the latest version as it's currently still on V1.
However, I can't get this tool to work. I'm stuck at the part to identify the flash chip.
The monitor is connected on the vga port, disabled and in standby.
At first:

Code: Select all

ubuntu@ubuntu:~/flashrom$ sudo i2cdetect -l
i2c-3	i2c       	DPDDC-A                         	I2C adapter
i2c-1	i2c       	i915 gmbus dpb                  	I2C adapter
i2c-4	i2c       	DPDDC-C                         	I2C adapter
i2c-2	i2c       	i915 gmbus dpd                  	I2C adapter
i2c-0	i2c       	i915 gmbus dpc                  	I2C adapter
i2c-5	i2c       	DPMST                           	I2C adapter
ubuntu@ubuntu:~/flashrom$ sudo i2cdetect 3
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-3.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- 37 -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
ubuntu@ubuntu:~/flashrom$ sudo i2cdetect 4
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-4.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
ubuntu@ubuntu:~/flashrom$ sudo i2cdetect 5
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-5.
I will probe address range 0x03-0x77.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f
00:          -- -- -- -- -- -- -- -- -- -- -- -- -- 
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
30: -- -- -- -- -- -- -- 37 -- -- -- -- -- -- -- -- 
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
50: 50 -- -- -- -- -- -- -- -- 59 -- -- -- -- -- -- 
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 
70: -- -- -- -- -- -- -- --                         
ubuntu@ubuntu:~/flashrom$ 
0, 1 and 2 are not reporting any addresses, and of these, none has 49.

Searching for the EDID I get the monitor name on 2 busses:

Code: Select all

ubuntu@ubuntu:~/flashrom$ sudo i2cdump -r 0-127 3 0x50
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-3, address 0x50, mode byte
Probe range limited to 0x00-0x7f.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 ff ff ff ff ff ff 00 06 af 3d 10 00 00 00 00    ........??=?....
10: 09 19 01 04 95 1f 11 78 02 fb 05 a4 55 50 a0 28    ???????x????UP?(
20: 0f 50 54 00 00 00 01 01 01 01 01 01 01 01 01 01    ?PT...??????????
30: 01 01 01 01 01 01 14 37 80 b8 70 38 24 40 10 10    ???????7??p8$@??
40: 3e 00 35 ad 10 00 00 1a 10 2c 80 b8 70 38 24 40    >.5??..??,??p8$@
50: 10 10 3e 00 35 ad 10 00 00 1a 00 00 00 fe 00 50    ??>.5??..?...?.P
60: 59 57 38 59 80 42 31 34 30 48 41 54 00 00 00 00    YW8Y?B140HAT....
70: 00 00 41 22 9b 01 10 00 00 0a 01 0a 20 20 00 c0    ..A"???..???  .?
ubuntu@ubuntu:~/flashrom$ sudo i2cdump -r 0-127 4 0x50
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-4, address 0x50, mode byte
Probe range limited to 0x00-0x7f.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 ff ff ff ff ff ff 00 09 d1 28 7f 45 54 00 00    ........??(?ET..
10: 03 18 01 04 a5 3c 22 78 2e 14 d1 a5 58 52 a2 26    ?????<"x.???XR?&
20: 0c 50 54 a5 6b 80 d1 c0 45 7c 61 7c 81 80 81 bc    ?PT?k???E|a|????
30: 95 3c 31 7c 01 01 02 3a 80 18 71 38 2d 40 58 2c    ?<1|???:??q8-@X,
40: 45 00 55 50 21 00 00 1e 00 00 00 ff 00 33 31 45    E.UP!..?.....31E
50: 30 37 36 33 37 53 4c 30 0a 20 00 00 00 fd 00 18    07637SL0? ...?.?
60: 78 0f 87 15 00 0a 20 20 20 20 20 20 00 00 00 fc    x???.?      ...?
70: 00 42 65 6e 51 20 58 4c 32 37 32 30 5a 0a 00 64    .BenQ XL2720Z?.d
ubuntu@ubuntu:~/flashrom$ sudo i2cdump -r 0-127 5 0x50
No size specified (using byte-data access)
WARNING! This program can confuse your I2C bus, cause data loss and worse!
I will probe file /dev/i2c-5, address 0x50, mode byte
Probe range limited to 0x00-0x7f.
Continue? [Y/n] y
     0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f    0123456789abcdef
00: 00 ff ff ff ff ff ff 00 09 d1 28 7f 45 54 00 00    ........??(?ET..
10: 03 18 01 03 0e 3c 22 78 2e 14 d1 a5 58 52 a2 26    ?????<"x.???XR?&
20: 0c 50 54 a5 6b 80 d1 c0 45 7c 61 7c 81 80 81 bc    ?PT?k???E|a|????
30: 95 3c 31 7c 01 01 02 3a 80 18 71 38 2d 40 58 2c    ?<1|???:??q8-@X,
40: 45 00 55 50 21 00 00 1e 00 00 00 ff 00 33 31 45    E.UP!..?.....31E
50: 30 37 36 33 37 53 4c 30 0a 20 00 00 00 fd 00 18    07637SL0? ...?.?
60: 78 0f 87 15 00 0a 20 20 20 20 20 20 00 00 00 fc    x???.?      ...?
70: 00 42 65 6e 51 20 58 4c 32 37 32 30 5a 0a 00 fc    .BenQ XL2720Z?.?
ubuntu@ubuntu:~/flashrom$ 
Any flash chip recognizing gives the following:

Code: Select all

ubuntu@ubuntu:~/flashrom$ sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-5:49
flashrom v0.9.7-r1846 on Linux 4.10.0-28-generic (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org

Calibrating delay loop... OK.
Info: Will try to use device /dev/i2c-5 and address 0x49.
Info: WILL reset the device at the end.
Error enabling ISP mode: errno 5 & 5.
Please check that device (/dev/i2c-5) and address (0x49) are correct.
Error: Programmer initialization failed.
ubuntu@ubuntu:~/flashrom$ sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-5:59
flashrom v0.9.7-r1846 on Linux 4.10.0-28-generic (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org

Calibrating delay loop... OK.
Info: Will try to use device /dev/i2c-5 and address 0x59.
Info: WILL reset the device at the end.
Error enabling ISP mode: errno 5 & 5.
Please check that device (/dev/i2c-5) and address (0x59) are correct.
Error: Programmer initialization failed.
ubuntu@ubuntu:~/flashrom$ sudo ./flashrom -p mstarddc_spi:dev=/dev/i2c-5:37
flashrom v0.9.7-r1846 on Linux 4.10.0-28-generic (x86_64)
flashrom is free software, get the source code at http://www.flashrom.org

Calibrating delay loop... OK.
Info: Will try to use device /dev/i2c-5 and address 0x37.
Info: WILL reset the device at the end.
Error enabling ISP mode: errno 5 & 5.
Please check that device (/dev/i2c-5) and address (0x37) are correct.
Error: Programmer initialization failed.
ubuntu@ubuntu:~/flashrom$
Does anyone have an idea what to do?

What input adapter are you using?
Are you using the live version of ubuntu or a fully installed one?
Is the monitor off and plugged in?

I did this all last night so it's fresh in my mind and can give you a hand.
Not sure what you mean by input adapter.
I’m using a live Ubuntu 16.04 usb stick startup the laptop of my work.
The monitor is standby and connected to the vga port.