On Thu, 29 Nov 2012 05:25:38 +0100
"Daniel ." <phl3ckz(a)googlemail.com> wrote:
> Hi everyone,
>
> I am absolute beginner but I need to read and write the above mentioned
> serial Flash memory.
>
> This is a BIOS chip and had a bad flash. Now it is unsoldered from
> mainboard. I want read it out and reflash a new BIOS file.
>
> Therefore I really need help how to connect the chip pins with the
> buspirate pins in a correct way.
Hello,
we have fixed the flashrom website and i have added a table
explaining the connections. please see
http://flashrom.org/Bus_Pirate#Connections
--
Kind regards/Mit freundlichen Grüßen, Stefan Tauner
Dear team flashrom I wish know when you produce update for ASUS M2N-MX SE
PLUS.
When I install Linux always appeared string <kernel panic IO-APIC+timer
doesn't work!>
I wish replace proprietary code in my PC
Sincerely
Alexander
serialport_write could loop endlessly when used with a seemingly valid port
that does always return 0 on writes instead of an error.
Give up after about 125 ms i.e. 250 tries with a period of 500 us.
Signed-off-by: Stefan Tauner <stefan.tauner(a)student.tuwien.ac.at>
---
serial.c | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
diff --git a/serial.c b/serial.c
index 7e47dcc..794763e 100644
--- a/serial.c
+++ b/serial.c
@@ -262,6 +262,7 @@ int serialport_write(unsigned char *buf, unsigned int writecnt)
#else
ssize_t tmp = 0;
#endif
+ unsigned int empty_writes = 250; /* results in a ca. 125ms timeout */
while (writecnt > 0) {
#ifdef _WIN32
@@ -273,9 +274,16 @@ int serialport_write(unsigned char *buf, unsigned int writecnt)
msg_perr("Serial port write error!\n");
return 1;
}
- if (!tmp)
- msg_pdbg("Empty write\n");
- writecnt -= tmp;
+ if (!tmp) {
+ msg_pdbg2("Empty write\n");
+ empty_writes--;
+ programmer_delay(500);
+ if (empty_writes == 0) {
+ msg_perr("Serial port seems dead!\n");
+ return 1;
+ }
+ }
+ writecnt -= tmp;
buf += tmp;
}
--
Kind regards, Stefan Tauner
Hi everyone...
Here is a dump of "flashrom -V" in a Clevo P170EMx laptop...
http://paste.debian.net/213281/
Any further information you might need, please don't hesitate in replying
to this email...
Best regards...
PsySc0rpi0n
2012/11/29 Daniel . <phl3ckz(a)googlemail.com>:
> Hi everyone,
>
> I am absolute beginner but I need to read and write the above mentioned
> serial Flash memory.
>
> This is a BIOS chip and had a bad flash. Now it is unsoldered from
> mainboard.
How do you connect the buspirate to the chip and what is the chip's
form factor (e.g. soic8)? The datasheet mentions SOP/WSON/PDIP.
> I want read it out and reflash a new BIOS file.
>
> Therefore I really need help how to connect the chip pins with the buspirate
> pins in a correct way.
>
> This is how pins are shown in the data sheet of Macronix MX25L1605DM2I-12G
>
> CS# 1 8 VCC
> SO/SIO1 2 7 HOLD#
> WP#ACC 3 6 SCLK
> GND 4 5 SI/SIO0
http://dangerousprototypes.com/docs/Bus_Pirate_I/O_Pin_Descriptions
This is how I connect my buspirate to a MX25L1605A soic8 chip:
CS# (CS) [1 8] VCC (bridge with buspirate pin 3+7)
SO (MISO) [2 7] HOLD # (+3V3)
WP# (bridge with buspirate pin 7+8) [3 6] SCLK (CLK)
GND (GND) [4 5] SI (MOSI)
>
> I am using Bus Pirate v3.5 with FW v6.2-beta1 r1981 BL v4.4 and flashrom
> v0.9.6.1-r1624 on Windows.
HiZ>i
Bus Pirate v3.a
Firmware v6.2-beta1 r1981 Bootloader v4.4
>
> Would I have to setup the buspirate in a terminal before using flashrom? I
> mean SPI mode and so on? If yes could someone help me with this settings
> too?
It's not necessary to change modes (no need to change from HiZ to SPI).
>
> Thanks!
>
> Best regards,
> Daniel
>
>
> _______________________________________________
> flashrom mailing list
> flashrom(a)flashrom.org
> http://www.flashrom.org/mailman/listinfo/flashrom
Hi everyone,
I am absolute beginner but I need to read and write the above mentioned
serial Flash memory.
This is a BIOS chip and had a bad flash. Now it is unsoldered from
mainboard. I want read it out and reflash a new BIOS file.
Therefore I really need help how to connect the chip pins with the
buspirate pins in a correct way.
This is how pins are shown in the data sheet of Macronix MX25L1605DM2I-12G
CS# 1 8 VCC
SO/SIO1 2 7 HOLD#
WP#ACC 3 6 SCLK
GND 4 5 SI/SIO0
I am using Bus Pirate v3.5 with FW v6.2-beta1 r1981 BL v4.4 and flashrom
v0.9.6.1-r1624 on Windows.
Would I have to setup the buspirate in a terminal before using flashrom? I
mean SPI mode and so on? If yes could someone help me with this settings
too?
Thanks!
Best regards,
Daniel