Forum RSS Feed Follow @ Twitter Follow On Facebook

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[-]
Welcome
You have to register before you can post on our site.

Username:


Password:





[-]
Latest Threads
[REQUEST] HP Elitebook 8560p Whitelist R...
Last Post: ucav211
Today 02:43 AM
» Replies: 89
» Views: 76091
[Request] HP 620 whitelist removal
Last Post: rjbjej
Yesterday 05:53 AM
» Replies: 13
» Views: 19261
OptiPlex 360 380 760 780 960 Xeon LGA 77...
Last Post: William P
11-22-2026 01:53 PM
» Replies: 268
» Views: 409720
[HP ENVY X360] Help with bios
Last Post: SanCiro
11-22-2026 04:03 AM
» Replies: 0
» Views: 73
[REQUEST] Lenovo ThinkPad X380 Yoga 20LJ...
Last Post: mp107_
11-21-2026 12:27 PM
» Replies: 12
» Views: 6005
[REQUEST] HP dv6 1315et Wi-Fi card white...
Last Post: Pandemic
11-21-2026 12:12 PM
» Replies: 0
» Views: 99
an adding of the ASUS CT-479 support for...
Last Post: DeathBringer
11-20-2026 08:56 AM
» Replies: 11
» Views: 725
[REQUEST] ASUS K55A BIOS Unlock
Last Post: hipeo77
11-18-2026 11:35 PM
» Replies: 8
» Views: 5174
[REQUEST] Sony Vaio VPCEH & VPCEJ series...
Last Post: angelheart
11-18-2026 03:57 PM
» Replies: 250
» Views: 235548
[REQUEST] Dell Inspiron 545 BIOS Unlock
Last Post: irq5
11-17-2026 03:24 PM
» Replies: 20
» Views: 14573
[REQUEST] MSI X79A-GD65 - Add support fo...
Last Post: iaval
11-17-2026 12:11 PM
» Replies: 0
» Views: 157
HP Zbook G7 POST password removal
Last Post: Kruba
11-17-2026 06:56 AM
» Replies: 0
» Views: 279
[Request] Acer Aspire X3200 (DA078L / nF...
Last Post: Canhao
11-17-2026 04:16 AM
» Replies: 6
» Views: 352
[REQUEST] HP EliteBook 840 G3 Whitelist ...
Last Post: Max Peet
11-16-2026 03:09 PM
» Replies: 2
» Views: 6186
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Znixz12
11-16-2026 02:30 PM
» Replies: 508
» Views: 347476
[REQUEST] Dell Wyse 3040: CSM enable for...
Last Post: mm400
11-16-2026 12:00 PM
» Replies: 3
» Views: 4329
Thinkpad e460 whitelist removal
Last Post: JohnBen
11-15-2026 10:18 PM
» Replies: 0
» Views: 200
[REQUEST] Lenovo G580 (5ECNxxWW) Whiteli...
Last Post: Alex'sShtormXXX
11-15-2026 01:40 PM
» Replies: 1738
» Views: 1257080
[REQUEST] Lenovo Ideapad Z710 (7FCNxxWW)...
Last Post: Dudu2002
11-15-2026 01:28 PM
» Replies: 232
» Views: 218284
[Unlocked AHCI, sp53872] HP Pavilion g6-...
Last Post: bryan26i
11-15-2026 01:13 AM
» Replies: 14
» Views: 22538

BIOS programmer with microcontroller
#1
Hi!

I'm making a BIOS programmer because my BIOS upgrade failed and I don't want to buy a programmed chip. Since I managed to read from an SST49LF040 it should be no problem to write to it.

However, I'm not sure what to write. The BIOS file for my Asus P5VD2-X board from the asus site - 5VD2X308.ZIP - contains the file 0308.BIN (524288 bytes) which is an lha archive which contains the file 0308.bin (131072). The SST49LF040 is a 4 Mbit (512kbyte) chip, so writing the 128k 0308.bin seems wrong. But the 512k 0308.bin begins with '!?-lh5-' and I doubt '!?' is the code to jump to some routine which starts the bios. Possibly the entry point is somewhere else, and I could just try it.

Can you tell me what to burn?

Another problem is, that my original bios chip was an SST49LF040B (probably broken) and the replacement I got is an SST49LF040 which has the ID and flash/register selection bit on different bits coded into the 32 bit address of the LPC protocol. Someone said it would still work, but I can't imagine how. What do you think? Anyone have an SST49LF040B (or Winbond W39V040B) for me?

Thanks, Bernhard

images:
http://darsie.dyndns.org/bernhard/img/bi...llery.html

datasheets:
SST40LF040B,
http://www.datasheetcatalog.com/datashee...F040.shtml
SST49LF004A,
http://www.datasheetcatalog.com/datashee...004A.shtml
find
quote
#2
Hey darsie,

I commend you on your construction of the bios programmer! As for the bios image, you are reading too far into it. The award BIOS platform uses lha compression so that the bios can fit the chip. The 128K image you see is the main ROM, but many other components are in the image besides that. The correct image to flash is the 0308.BIN with 512KB in size. As for the chips, if it flashes, fits the socket, and boots you're good to go, if not, better find another chip. But I'm pretty sure that you don't need a separate chip. Just take the chip that no longer boots, and overwrite it by flashing the 512KB image.

Hope this helps,
TheWiz
www find
quote
#3
whohoo! Nice work darsie!! Would you be so kind providing the construction plan for this writer? May be nice to build it by my own!

As you found out by yourself the !? is to start the main ROM-modules who do the rest... Smile

Sometimes you just have to try to be sure it is not working...
[Image: logo.png]
I am back in here as I promised! Big Grin So tell me your needs!
find
quote
#4
(05-20-2010, 04:54 PM)MrTangoWhisky Wrote: whohoo! Nice work darsie!! Would you be so kind providing the construction plan for this writer? May be nice to build it by my own!

I will, but it's not done yet. The hardware part is rather complete, though. Connections from LAD[3..0], LFRAME,LCLK go to the ATMega 168 PORTC. RST is on port D as there were no free pins left on port C. The lclk signal is the tricky part. It needs an edge slew rate of 1 V/ns minimum. Routing it through 2 inverters with Schmitt trigger of a 74HC14D works here, although a faster inverter (74LVX14) might be more reliable. The lead from the inverter to the BIOS chip should be as short as possible to get fast edges. I have 100 nF SMD capacitors as close as possible at each Vdd pin to ground (one directly at the pins of the PLCC socket), and a 10 uF (IIRC) electrolytic near one of the Vdd pins. There's also a 100 nF SMD cap at the inverters Vdd pin (http://darsie.dyndns.org/bernhard/img/bi..._4771.html) to ground so it quickly get's the energy to switch lclk. Couple more caps whereever they might help. Probably not all of them necessary but I put them there while it didn't work and hoped it would help.

The diodes are voltage regulators so I can connect a 5 V parallel port to the ATMega168 while it's running at 3.3 V. The BIOS chip requires 3-3.6 V. This way I can program the uC and use it without switching power supplies and removing/inserting the BIOS chip every time.

Communication with the uC is via a MAX232 chip and the PC's serial port. I use Linux and minicom.

I'll publish more details when it's finished.

Quote:As you found out by yourself the !? is to start the main ROM-modules who do the rest... Smile

Ahh, I wasn't sure. Ok, that makes sense then.

Bernhard
find
quote
#5
I also have some schematics for an eeprom programmer , which il be bribing my electronics teacher to put together as my soldering is less than ideal! Tongue
find
quote


Forum Jump:


Users browsing this thread: 1 Guest(s)