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
HP Pro 3330 (H-POPEYE-H61-uATX): Ivy Bri...
Last Post: Hooper
Today 05:44 PM
» Replies: 20
» Views: 8585
Ms-6309 v2.0 bios tualatin
Last Post: carlos24_
Today 05:03 PM
» Replies: 4
» Views: 358
Problem with intel DX79SR
Last Post: Tomyx85
Today 03:19 PM
» Replies: 9
» Views: 373
Lenovo Y570 Project Bios and Display
Last Post: dNAUREZ
Today 08:57 AM
» Replies: 1
» Views: 135
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: Tomwelling
Today 06:45 AM
» Replies: 109
» Views: 74937
[REQUEST] Lenovo Flex 2 Pro-15 (B9CNxxWW...
Last Post: savio78
Yesterday 09:12 PM
» Replies: 0
» Views: 92
[REQUEST] Lenovo G400S (7BCNxxWW) Whitel...
Last Post: blawstem
Yesterday 03:53 PM
» Replies: 220
» Views: 145585
Packard Bell Aloh@
Last Post: moltensoftware
Yesterday 10:31 AM
» Replies: 2
» Views: 3777
[REQUEST] Acer Aspire 7560(G) BIOS Unloc...
Last Post: Slavvvva
Yesterday 09:14 AM
» Replies: 33
» Views: 26581
Working Dell E5440 will not flash BIOS
Last Post: DannoXYZ
04-20-2026 08:19 PM
» Replies: 2
» Views: 2643
[REQUEST] Acer Aspire 5742(G,Z) BIOS Unl...
Last Post: charlyholland
04-20-2026 10:36 AM
» Replies: 169
» Views: 87319
[REQUEST] Lenovo Ideapad S410p (89CNxxWW...
Last Post: vothcito
04-20-2026 03:36 AM
» Replies: 43
» Views: 31814
[REQUEST] Lenovo Thinkpad X230 Tablet (G...
Last Post: spithink
04-18-2026 09:24 PM
» Replies: 355
» Views: 260550
Fujitsu D3061-A1 & Xeon E3-1245
Last Post: Nikandros
04-18-2026 02:31 PM
» Replies: 11
» Views: 1701
HP Pro 3300 & 3400 (H61): Upgrade to Ivy...
Last Post: miant
04-18-2026 12:20 PM
» Replies: 154
» Views: 159638
[REQUEST] Acer Predator Helios 300 PH315...
Last Post: Dudu2002
04-17-2026 11:55 AM
» Replies: 51
» Views: 28290
Acer Veriton M4620G Slic 2.1 Request
Last Post: rouger0831
04-17-2026 03:10 AM
» Replies: 5
» Views: 7176
[REQUEST] Lenovo B590 (H1ETxxWW) Whiteli...
Last Post: steberrr
04-16-2026 01:07 PM
» Replies: 800
» Views: 544954
GA-M68M-S2P (rev. 1.0) F5 BIOS unlock
Last Post: TheExplorer
04-16-2026 12:50 PM
» Replies: 17
» Views: 25410
[Request] Unlock Bios for Asus TUF FX505...
Last Post: antonio1985
04-16-2026 08:26 AM
» Replies: 12
» Views: 14745

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)