caramoan tour package

caramoan tour package

Author Topic: Recovering from a bad bios flash: The hard way  (Read 23479 times)

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6130
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Recovering from a bad bios flash: The hard way
« on: September 05, 2009, 08:09:39 PM »
Hello,

As of yesterday, I pulled out my Asus EEE from Asus service center due to very high repair cost. Almost 200USD around 10,000pesos... But.... I am so happy that I had revived my Asus EEE... As from my story, the bootblock was erased and I tried all the tricks for bootblock recovery techniques I found on the net and without luck.

It took me two complete days to recover this little machine in a hard way. I opened my Asus EEE PC with the steps here: http://forum.eeeuser.com/viewtopic.php?id=6036

Then I saw the BIOS IC and removed it from the board using a soldering iron




From there, I obtained a datasheet from Winbond W25X40 4M-Bit Flash and read and studied all the instructions. From there, I developed the circuit, firmware, and software for flashing.




Here is the software created in C# I had just created this morning to flash my BIOS:



Here is the circuit I created (on breadboard hehe). I used a PIC16f628A (through UART @115200bps) because my parallel port is already damaged. Used SDCC as the compiler.




After programming and verifying using the software I created, I tried to temporarily wire it to see if it works:


And it worked!

My Asus EEE is up and running again!


I am so happy!!! ^_^

kung sino man magkaroon ng similar problems, pwede ko kayong matulungan... sobrang taga sa Asus Service Center...
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Philippine Electronics Forum

Recovering from a bad bios flash: The hard way
« on: September 05, 2009, 08:09:39 PM »

Offline 'yus

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4251
  • Pogi/Ganda Points: 299
  • Gender: Male
  • hw -> fw -> sw
    • yus' projects
Re: Recovering from a bad bios flash: The hard way
« Reply #1 on: September 05, 2009, 08:25:19 PM »
^ wow galing. :o
malaki talaga ang matitipid 'pag 'kaw mismo ay marunong magrepair.. :)
'kaw na lang ang mag-repair sa ibang units
tapos singilin mo ng halfthe price (100USD).. hehe ;D
join  - Philippine Electronics and Robotics Enthusiasts Club - www.philrobotics.com

Philippine Electronics Forum

Re: Recovering from a bad bios flash: The hard way
« Reply #1 on: September 05, 2009, 08:25:19 PM »

Offline Google

  • Diesel Generator
  • *
  • Posts: 1378
  • Pogi/Ganda Points: 20
Re: Recovering from a bad bios flash: The hard way
« Reply #2 on: September 05, 2009, 08:28:24 PM »
grabe talaga abusado ng mga yan ;D

iba talaga pag technical ang linya mo ;D ;D

galng mo sis7 ;D ;D
“If you limit your choices only to what seems possible or reasonable, you disconnect yourself from what you truly want, and all that is left is compromise.”

Philippine Electronics Forum

Re: Recovering from a bad bios flash: The hard way
« Reply #2 on: September 05, 2009, 08:28:24 PM »

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6130
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: Recovering from a bad bios flash: The hard way
« Reply #3 on: September 05, 2009, 08:33:26 PM »
kamuntikan na nga ako magwala sa Asus Service Center kahapon nung paalis na ako siningil pa ako ng 500pesos, diagnostic fee daw... ;D ;D ;D

at yesterday, di ako masyado makapag daldalan dito sa elab dahil sa worry ko dito kung marerevive ko pa... buti na lang at...



makakapang hijack na muli! ;D ;D ;D
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Philippine Electronics Forum

Re: Recovering from a bad bios flash: The hard way
« Reply #3 on: September 05, 2009, 08:33:26 PM »

Offline Google

  • Diesel Generator
  • *
  • Posts: 1378
  • Pogi/Ganda Points: 20
Re: Recovering from a bad bios flash: The hard way
« Reply #4 on: September 05, 2009, 08:41:08 PM »
buti napigil ka ng bf mo sis ;D ;D

“If you limit your choices only to what seems possible or reasonable, you disconnect yourself from what you truly want, and all that is left is compromise.”

Philippine Electronics Forum

Re: Recovering from a bad bios flash: The hard way
« Reply #4 on: September 05, 2009, 08:41:08 PM »

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6130
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: Recovering from a bad bios flash: The hard way
« Reply #5 on: September 05, 2009, 08:41:58 PM »
buti napigil ka ng bf mo sis ;D ;D



impakta ka ;D ;D ;D
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Offline john_xd

  • Size C Battery
  • *****
  • Posts: 206
  • Pogi/Ganda Points: 37
Re: Recovering from a bad bios flash: The hard way
« Reply #6 on: September 05, 2009, 08:54:54 PM »
ang galing nman nyan!..palakpakan...congratulation!! poging pogi mo ;)

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6130
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: Recovering from a bad bios flash: The hard way
« Reply #7 on: September 05, 2009, 08:55:23 PM »
maraming salamat... malaking tinulong sa akin ng proteus sa simulation at timing ng software SPI ;D ;D ;D
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Offline rdpzycho

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 10766
  • Pogi/Ganda Points: 635
  • Gender: Male
  • Respect Begets Respect
    • rdpzycho
Re: Recovering from a bad bios flash: The hard way
« Reply #8 on: September 05, 2009, 09:10:32 PM »
^ galing. ;D

'di lang impakta at hijacker, mahusay pa sa hardware at software. ;D ;D ;D
‎"Divide each difficulty into as many parts as is feasible and necessary to resolve it."
- Rene Descartes

"For every difficult problem there is always a simple answer and most of them are wrong."
- Clayton Paul

Offline RiDdLeR???

  • Hydroelectric
  • ***
  • Posts: 3033
  • Pogi/Ganda Points: 208
Re: Recovering from a bad bios flash: The hard way
« Reply #9 on: September 05, 2009, 09:26:50 PM »
Dapat kasi at least may mga universal programmer na kayo that can specially program/reprogram flash memory chips as well as other rom and mcus.  Also learned it the hard way trying to modify my xbox360.  But I'm not as skilled and talented as 7 so I opted for the little bit more expensive way ...but hey the investment is worth it.

Offline tiktak

  • Gas Turbine
  • **
  • Posts: 2864
  • Pogi/Ganda Points: 204
  • Gender: Male
    • Tiktakx's Blog
Re: Recovering from a bad bios flash: The hard way
« Reply #10 on: September 05, 2009, 09:34:44 PM »
ako naman ngayon ay namomroblema sa WRT54G na router na corrupt ang firmware sa update at di na ma ping at ayaw mabasa sa JTAG :(
8051 stuff

Offline kraze

  • Size AA Battery
  • ****
  • Posts: 138
  • Pogi/Ganda Points: 1
  • Gender: Male
  • The electrons is not there till we put it there
Re: Recovering from a bad bios flash: The hard way
« Reply #11 on: September 05, 2009, 09:44:01 PM »
Nice CutenaCute_7.
You dug deeper

Offline ♪ ♫ ♫ ♪ ♪ ♪ ♫ ♫ ♫

  • Hydroelectric
  • ***
  • Posts: 3451
  • Pogi/Ganda Points: 124
  • Truth suffers, but never dies.
Re: Recovering from a bad bios flash: The hard way
« Reply #12 on: September 05, 2009, 10:19:39 PM »
ano bang nangyari manay7 bat na erase yong BIOS? jusy want to know to avoid it....
It's difficult to see the picture when you're inside the frame.

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6130
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: Recovering from a bad bios flash: The hard way
« Reply #13 on: September 06, 2009, 02:35:21 AM »
ano bang nangyari manay7 bat na erase yong BIOS? jusy want to know to avoid it....

nag flash ako ng bios... andami na nyan process na natapos verification ng ROM file kung angkop sa motherboard, BIOS flashing done, then nung nasa bootblock portion na  all of the sudden nag hang sa 96% while writing sa bootblock area... around 1hr to 2hrs of waiting, nasa 96% pa rin... there is no way to abort... at based from experience, di umaabot ng oras ang flashing ng bios so I know there is something wrong...

nag uusap kami ni sir motion doon sa tipidpc, and yun nga, mahirap pag bootblock portion ang nadale... kahit ang bootblock recovery di gumagana...  at kung di nadale ang bootblock, malamang marecover ko pa ito using BootBlock Recovery ng AMI...

siguro sinadya ito ng pagkakataon para mapwersa akong gawin yung BIOS programmer na matagal ko ng pinapangarap ;D ayan binigyan ako ng rason para matuloy ang project hehehe ;D ;D ;D

magandang learning experience na rin heheheh... ;D ;D ;D
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6130
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: Recovering from a bad bios flash: The hard way
« Reply #14 on: September 06, 2009, 03:01:38 AM »


eto yung programmer (close up look) hehehe :D
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Offline marcelino

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6028
  • Pogi/Ganda Points: 258
  • ...keep moving forward! - Robinson's
Re: Recovering from a bad bios flash: The hard way
« Reply #15 on: September 06, 2009, 10:11:58 AM »


eto yung programmer (close up look) hehehe :D

ayos!  nag-aaral ng geography si manay7!!! hehehe ;D

baka naman gusto mong ishare ang schematic nyan... :D
"Don't take life seriously. After all, no one has ever come out of it alive. -Bugs Bunny"

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6130
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: Recovering from a bad bios flash: The hard way
« Reply #16 on: September 06, 2009, 11:09:22 AM »
ayos!  nag-aaral ng geography si manay7!!! hehehe ;D

baka naman gusto mong ishare ang schematic nyan... :D

dapat ang patungan ko diyan sa bench ko dito sa bahay is yung poster ni Marian Rivera sa Ginebra at sayang din kasi malalagyan ng solder debris... hehehe.. at masisira pa ang concentration ko kaya World Map na lang nilagay ko para educational ;D ;D

simple lang schematic nito sis, Max232 + PIC16F628A, tapos yung output is may series resistor lang tapos deretcho na sa SPI Flash. (bit-banged yung SPI).
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Offline ♪ ♫ ♫ ♪ ♪ ♪ ♫ ♫ ♫

  • Hydroelectric
  • ***
  • Posts: 3451
  • Pogi/Ganda Points: 124
  • Truth suffers, but never dies.
Re: Recovering from a bad bios flash: The hard way
« Reply #17 on: September 06, 2009, 12:22:11 PM »
nag flash ako ng bios... andami na nyan process na natapos verification ng ROM file kung angkop sa motherboard, BIOS flashing done, then nung nasa bootblock portion na  all of the sudden nag hang sa 96% while writing sa bootblock area... around 1hr to 2hrs of waiting, nasa 96% pa rin... there is no way to abort... at based from experience, di umaabot ng oras ang flashing ng bios so I know there is something wrong...

nag uusap kami ni sir motion doon sa tipidpc, and yun nga, mahirap pag bootblock portion ang nadale... kahit ang bootblock recovery di gumagana...  at kung di nadale ang bootblock, malamang marecover ko pa ito using BootBlock Recovery ng AMI...

siguro sinadya ito ng pagkakataon para mapwersa akong gawin yung BIOS programmer na matagal ko ng pinapangarap ;D ayan binigyan ako ng rason para matuloy ang project hehehe ;D ;D ;D

magandang learning experience na rin heheheh... ;D ;D ;D

ah..nag bios update ba kayo?

 nadale rin hp ko nyang mga bios updates nila, nag-ooverheat namn ang lumabas na problema nong hp ko....ang lesson ko don never na e update ang bios  ;D ;D ;D
It's difficult to see the picture when you're inside the frame.

Offline 0b00000111

  • Technical People
  • Solar Power Satellite
  • *****
  • Posts: 6130
  • Pogi/Ganda Points: 398
  • There is no delight in owning anything unshared.
Re: Recovering from a bad bios flash: The hard way
« Reply #18 on: September 06, 2009, 12:28:40 PM »
ah..nag bios update ba kayo?

 nadale rin hp ko nyang mga bios updates nila, nag-ooverheat namn ang lumabas na problema nong hp ko....ang lesson ko don never na e update ang bios  ;D ;D ;D


yup.. lesson learned talaga .. pero from what happened, ngayon di na ako takot mag bios flash ngayon ;D

at mas reliable pala yung flashing sa boot-up ng AMI kasi failsafe daw yun accdg to some websites (alt-F2 sa boot up)... pag nagbad flash ibabalik ka lang daw nya ulit doon sa start-up hanggang sa ma load nya yung correct bios.. at etong method na ito ginamit ko kahapon sa ASus EEE ko para matest ko lang hehehe (bios flash method ng PC, not yung ginawa ko)... successful naman hehehe ;D
E-Gizmo Mechatronix Central: www.e-gizmo.com

Tel #: (63)(2) 536-3378
Globe +63915-973-7691
Smart +63921-779-0748

Location Map

YM: julie.egizmo  aka Born2BeWired  ;D

Offline paranz

  • Technical People
  • Nuclear Reactor
  • *****
  • Posts: 4525
  • Pogi/Ganda Points: 177
  • Gender: Male
  • 1/4W resistor specialist
    • RapidSignal Electronics
Re: Recovering from a bad bios flash: The hard way
« Reply #19 on: September 06, 2009, 12:33:24 PM »
ang supergaling mo MotherQueen. Kakainggit ang talent, hardware and software astig! :D
PIC16 Programming Tutorial using MPLAB and Hi-Tech C
www.rapidsignalph.com/tutorials/pic16-tutorials

Arduino & gizDuino Tutorials
www.rapidsignalph.com/tutorials/arduino-tutorials

Philippine Electronics Forum

Re: Recovering from a bad bios flash: The hard way
« Reply #19 on: September 06, 2009, 12:33:24 PM »

 

Privacy Policy

Contact Us: elabph@yahoo.com