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] Lenovo G500 (78CNxxWW) Whiteli...
Last Post: Hiva2023
Yesterday 01:15 PM
» Replies: 1185
» Views: 291597
[REQUEST] Lenovo IdeaPad L340 (BGCNxxWW)...
Last Post: CyberBonk
Yesterday 12:45 PM
» Replies: 58
» Views: 17653
HP EliteDesk 705 G5 SFF: CPU Upgrade
Last Post: clogscancer
Yesterday 03:10 AM
» Replies: 3
» Views: 523
[REQUEST] Acer Aspire 5738(G,Z): CPU Upg...
Last Post: lollo90
06-13-2024 05:26 PM
» Replies: 45
» Views: 29497
[REQUEST] Sony VAIO SVE-151 & SVE-171 (R...
Last Post: noodlexd
06-13-2024 08:33 AM
» Replies: 0
» Views: 141
[REQUEST] Lenovo ThinkPad T450(s) (JBETx...
Last Post: portapane
06-13-2024 08:28 AM
» Replies: 135
» Views: 74317
[REQUEST] Acer Aspire 4738(G,Z) BIOS Unl...
Last Post: arisprast1
06-13-2024 01:28 AM
» Replies: 62
» Views: 17269
Acer Aspire 7750G: Ivy Bridge support
Last Post: DeathBringer
06-13-2024 12:23 AM
» Replies: 3
» Views: 336
[REQUEST] Sony VAIO SVE-151 & SVE-171 (R...
Last Post: noodlexd
06-12-2024 06:51 PM
» Replies: 42
» Views: 36206
[REQUEST] IGEL M320C Thin Client
Last Post: Trixxtar
06-12-2024 10:33 AM
» Replies: 1
» Views: 1060
[REQUEST] Acer Nitro 5 AN517-52 BIOS Unl...
Last Post: MATI1XD
06-11-2024 06:36 AM
» Replies: 17
» Views: 3811
MB (A55M-E33 FM2+)
Last Post: TamoNeki
06-10-2024 03:28 PM
» Replies: 15
» Views: 776
Lenovo Ideapad flex 4 14IAU7 missing UUI...
Last Post: balli4u
06-10-2024 01:10 PM
» Replies: 0
» Views: 216
[REQUEST] Lenovo S310 & S410 (8BCNxxWW) ...
Last Post: Dudu2002
06-10-2024 08:34 AM
» Replies: 15
» Views: 7277
[REQUEST] Lenovo G780 (5ECNxxWW) Whiteli...
Last Post: Dudu2002
06-10-2024 06:47 AM
» Replies: 875
» Views: 310238
HELP Unbrick ASUS N550JV
Last Post: halfchemistry
06-10-2024 05:37 AM
» Replies: 9
» Views: 11873
Asus Strix G512LV Bios Unlock
Last Post: loic2907
06-10-2024 04:12 AM
» Replies: 58
» Views: 16961
[Request] HP X99 CPU Support
Last Post: DeathBringer
06-09-2024 01:01 PM
» Replies: 3
» Views: 375
[REQUEST] Lenovo G710 BIOS Whitelist Rem...
Last Post: Dudu2002
06-09-2024 03:50 AM
» Replies: 469
» Views: 144896
[REQUEST] Lenovo ThinkCentre M715q 2nd G...
Last Post: Arcaderix
06-09-2024 02:11 AM
» Replies: 18
» Views: 2214

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)