[HELP] Bricked bios ... SPI flash?

Hi,
I don’t know how, but it seems that i have bricked my bios.

I was configuring it, to disable C-States, and maybe i have changed a paremeter (can’t figure out wich one), but now when i boot my laptop ( INote N70Z ) there’s a boot loop ( the computer starts up with backlight lightning and it shuts off and then try again and again to boot ).

So i will need to flash my BIOS by SPI, if it’s possible !?
A bit of help would be apreciable :wink:

I have only a *.bin BIOS file that @Lost_N_BIOS kindly unlocked.

EDIT by Fernando: Both posts merged (to save space)

Since your PC isn’t booting any longer you’d need a (CH341A) hardware programmer. Tried to remove cmos battery/ reset cmos?

Yes i have already tried to remove the battery but nothing changed!

Is an arduino could be used as programmer, as it has SPI pins?

It can as long as u know the pin connections between the Arduino and the SPI chip
As lfb6 stated, the motherboard needs CMOS battery ON/OFF, AC ON/OFF
Also correct identification of SPI chip voltage

EDIT: Visually identify chip ID, Google is ur friend

@MeatWar

I have already tried to remove the CMOS battery, and the laptop battery and push on the power button while the two batteries where disconected, but nothing happens …

Here is a picture of the SPI chip, maybe you Can help me to find a datasheet to know the chip voltage? I have been searching a bit, but as m’y wife is seriously hill and u nées tontaje carenof my baby, it’s a pain hahaha…

I know how to find a chip on the web, i studied electronics!

But unfortunately i can’t find anything about that chip!!!

Is this the bios region of the same machine in this post?
OverPowered TONGFANG CyberPower Machrevo MACHENIKE - Unlocked BIOS Guide W/ Files (44)

You didn’t write a chip ID or post any picture in this thread, so it’s mostly empathy we could help with so far?

@lfb6

Sorry i was away for some time!

Yes this is the same machine that the link you posted.

Well for the chip i hope will find the datasheet, but the printing is ugly on the chip so a bit unreadable, i will loo at it with a magnifier!

And i was wondering how i could SPI flash the bios as i only have th *.bin file.

Yes i have already tried to remove the battery but nothing changed!

Is an arduino could be used as programmer, as it has SPI pins?

Hi everybody,

@lfb6

I have finally managed to read the characters on the SPI chip so it’a a 25B127DSIG.
So according to the datasheet it’s a 3,3V voltage.

I will find a tutorial about how to run the arduino as an SPI programmer, but i wonder how to convert BIN file of my bios in a flashable format, or if the BIN format is good for SPI flash?

Thanks a lot for your replies.

Beerkeeper

EDIT: Her is a link to the datasheet of the SPI chip 25B127DSIG Datasheet

EDIT: Ok after reading this tutorial SPI Flash tut the bin file seems to be good, so i will not need any help, i hope so hahahaha

Best regards

I am getting closer froom my solution but i have an issue.

Maybe someone could help me.

It’s been about 18 years i haven’t used Linux so i am more than rusty about it.

So i need to flash my arduino which is a Mega 2560 with Flashrom but i can’t figure out to tell AVRDUDE that it’s a Mega2560 and not a m328p as you can read below.

kubee@kubee-ZBook:/usr/local/src/frser-duino$ sudo make flash-u2
BLBAUD=115200 SERIAL_DEV=/dev/ttyACM0 make program
make[1] : on entre dans le répertoire « /usr/local/src/frser-duino »
avr-objcopy -j .text -j .data -O ihex frser-duino.out frser-duino.hex
avrdude -c arduino -p m328p -P /dev/ttyACM0 -b 115200 -U flash:w:frser-duino.hex
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

avrdude done. Thank you.

make[1]: *** [Makefile:70 : program] Erreur 1
make[1] : on quitte le répertoire « /usr/local/src/frser-duino »
make: *** [Makefile:90 : flash-u2] Erreur 2


I will search on the web for the solution but maybe a kindly forum user would be faster than me, and if not i wil edit my post for helping future users :wink:

EDIT: I’m getting closer and closer :wink: Using man avrdude is the answer to help me configuring AVRDUDE.

Sorry i’m really rusty about using Linux hahahaha, but i will get it ^^