[HowTo] QNAP BIOS recovery of completely dead mainboard [SPI flash method] [x51, x53]

Don't miss a thing. Post your questions and discussion about other uncategorized NAS features here.
buffmanjeff
Starting out
Posts: 12
Joined: Mon May 18, 2015 12:56 am

Re: [HowTo] QNAP BIOS recovery of completely dead mainboard [SPI flash method] [x51, x53]

Post by buffmanjeff » Thu Mar 28, 2019 9:03 am

jelinek.01 wrote:
Tue Feb 26, 2019 1:53 am
habee wrote:
Tue Jul 04, 2017 4:53 am
by the way, i just found a new bios (QW37AR33) on the italian Qnap-Forum: http://www.qnapclub.it/viewtopic.php?t=14065

You can flash it directly from ssh-console:

cd /share/Public/
wget http://download.qnap.com/Storage/tsd/bios/QW37AR33.zip
unzip QW37AR33.zip
chmod +x flashrom
./flashrom -p internal -w QW37AR33.BIN
reboot

It has many more options, and they might have fixed something. Unfortunately there is no changelog. But it is dated from 2016-05-10.
The previous file (QW37AR32) http://eu1.qnap.com/Storage/tsd/bios/QW37AR32.zip had a changelog where many options have been changed in comparison to QW37AR22 which was on my machine
Finally :-)
It has ended by just modifying the link:
http://download.qnap.com/Storage/tsd/bios/QW37AR36.zip

Now let's try to revive the machine.
Is this the latest version still? How did it work out for you?

jelinek.01
New here
Posts: 4
Joined: Fri Mar 22, 2013 2:49 pm

Re: [HowTo] QNAP BIOS recovery of completely dead mainboard [SPI flash method] [x51, x53]

Post by jelinek.01 » Thu Mar 28, 2019 11:32 am

It seems to be, there is no mention about newer version.
Unfortunately it didn't help, my NAS Is still dead.
QNAP support responded to the inquiry about new motherboard, much more expensive than a new NAS.
I'm going to build a new one with Turris Omnia.

RockenRod
New here
Posts: 3
Joined: Wed May 29, 2019 10:28 pm

Re: [HowTo] QNAP BIOS recovery of completely dead mainboard [SPI flash method] [x51, x53]

Post by RockenRod » Sat Jun 01, 2019 2:00 am

@Buggy82 - Thanks so much for your work it has helped me.

I can confirm the JSPI1 header pin assignment on the QNAP mainboard for my TS-EC1679U-RP is the same also.
I used a FLASH programmer to recover mine.

JSPI1
1 Voltage (VCC)
2 Ground (GND)
3 Chip Select (CS)
4 Clock (CLK)
5 Data Output (DO / MISO)
6 Data Input (DI / MOSI)
7 NC
8 NC

Please note I made a custom cable to patch from my programmer to the FLASH chip header JSPI1.
I had a lot of problems initially with it but soon realised the cable needed to be kept under 30cm (ish) to reduce errors in programming/reading over SPI.

I used a MiniPro TL866A EEPROM Programmer. My board had a 16 pin SOIC PCT25VF064C FLASH chip 8bit (Byte) x 8Mbit = 64Mbit. I selected an SST25VF064C device in the software which is the same specs (actually just a rebrand it appears).
I wired my cable to the 8 pin SOIC but you could do either 8 or 16 pins as they are compatible, just different pinouts.

m.raczka
New here
Posts: 9
Joined: Fri May 13, 2016 6:15 am

Re: [HowTo] QNAP BIOS recovery of completely dead mainboard [SPI flash method] [x51, x53]

Post by m.raczka » Sun Aug 04, 2019 4:17 am

Hi.
I am trying to resurect my dead TS-453 Pro that gives no beeps, hdmi outpu ets.
I managed to connect via raspi to bios chip but was unable to erase it or flas with a new one.
Has anyone experienced anything similar?

Here is flashrom ouput:

Code: Select all

Found Winbond flash chip "W25Q64.W" (8192 kB, SPI).
This chip may contain one-time programmable memory. flashrom cannot read
and may never be able to write it, hence it may not be able to completely
clone the contents of this chip (see man page for details).
Erasing and writing flash chip... Trying erase function 0... 0x000000-0x000fff:EFAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x00000fff: 0x1000
ERASE FAILED!
Looking for another erase function.
Trying erase function 1... 0x000000-0x007fff:EFAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x00007fff: 0x8000
ERASE FAILED!
Looking for another erase function.
Trying erase function 2... 0x000000-0x00ffff:EFAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x0000ffff: 0x10000
ERASE FAILED!
Looking for another erase function.
Trying erase function 3... 0x000000-0x7fffff:EFAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x007fffff: 0x800000
ERASE FAILED!
Looking for another erase function.
Trying erase function 4... 0x000000-0x7fffff:EFAILED at 0x00000000! Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x007fffff: 0x800000
ERASE FAILED!
Looking for another erase function.
Trying erase function 5... not defined. No usable erase functions left.
FAILED!
Your flash chip is in an unknown state.
Please report this on IRC at chat.freenode.net (channel #flashrom) or
mail flashrom@flashrom.org, thanks!

angry_pete
First post
Posts: 1
Joined: Mon Aug 12, 2019 6:05 pm

Re: [HowTo] QNAP BIOS recovery of completely dead mainboard [SPI flash method] [x51, x53]

Post by angry_pete » Mon Aug 12, 2019 6:13 pm

Thanks for your detailed thread. I would love to give it a try but Qnap refuses to provide us with a bios file. :evil:
Just like the quality of the cases the support is getting worse every year.

Andy750turbo
New here
Posts: 4
Joined: Mon Jan 23, 2017 11:15 pm
Location: Warrington

Re: [HowTo] QNAP BIOS recovery of completely dead mainboard [SPI flash method] [x51, x53]

Post by Andy750turbo » Fri Sep 13, 2019 8:14 pm

For anyone who may be interested i also have successfully flashed the Bios chip on my TS-453 Pro (QW37 Rev 1.7 motherboard) with a Minipro TL866A and 1.8v adapter. That said, it did not solve my problem... The NAS still gets stuck with the LED screen saying 'System Booting>>>>>' with no beeps at all, my connected monitor is blank with no POST message or any message at all for that matter. So i've run out of options really, i'll likely just buy a new NAS (obviously not a QNAP again due to extortionate prices they want to have the mobo replaced) I'll likely forgo all the bells and whistles and go for a Drobo instead.

Now i thought you might like to know that the JSPI1 pins on my mobo connected to different pins on the bios chip to the guide at the beginning of this thread. When i tried to read the chip with the pin connections recommended in the guide with my Minipro TL866 i got an error message saying that no chip was detected. I checked which pins connected to which pins and this is what i got:
20190913_114707.jpg
When i came to use the minipro software i found that there was no option to program the chip via the ICSP port as below: The option was greyed out
20190913_102521.jpg
So i had to connect it through the 40 pin interface instead. Opting for safety i decided to buy an adapter to drop the voltage down to the chip voltage 1.8v as the programmer could only supply 3.3v. FYi i bought the adapter from Ebay, just search for '1.8v ADAPTER | BIOS MOTHERBOARD MX25U1635 MX25U6435 TL866'

I mounted the adapter into the programmer as can be seen above, i then used short jumper cables with a male fitting on one end and a female on the other and fitted them onto the JSPI1 pins on the motherboard:
20190913_102241.jpg
I wired the slots in the 1.8v adapter to the JSPI1 pins like this:
JSPI1 mobo Pins to MiniproTL866A Programmer.jpg
20190913_100047.jpg
20190913_100155.jpg
20190913_100256.jpg
I connected the programmer by USB to the PC, opened the software. i chose the correct chip in the 'Select IC' dropdown menu (in my case the bios chip is a Winbond W25Q64FSIG, so i chose the option for 'W25Q64F 1.8v @SOIC8'
20190913_100941.jpg
I then opened the 'Device' dropdown menu and and asked it to 'Read' It successfully picked up the chip. From the same dropdown menu i chose to 'Erase'
I checked the chip was blank from the 'Device' dropdown menu by choosing 'Blank check', again this was successful.

Now i needed to program it, i went and chose the 'Program' option from the 'Device' dropdown, it opened up a file search box, i pointed it to where i'd saved the BIOS software to and chose the .bin file
20190913_101034.jpg
You can still download the BIOS file from the Polish Qnap site mentioned earlier in this thread.
20190913_101118.jpg
i left the options as default, pressed ok and the programmer set itself running. this can take a few minutes to finish, so be patient. Eventually it finished with a message that it was successful.

Hopefully this will be useful to someone, even though my issue does not seem to down to the BIOS :-/
You do not have the required permissions to view the files attached to this post.

pechnase
New here
Posts: 4
Joined: Sat Mar 12, 2011 10:24 pm

Re: [HowTo] QNAP BIOS recovery of completely dead mainboard [SPI flash method] [x51, x53]

Post by pechnase » Thu Nov 14, 2019 1:02 am

I have a question regarding powering the BIOS-flash chip during reflash procedure:
- is the NAS in power ON state or is the BIOS-chip powered from the programmer?
- or does the 1.8V from the NAS power only the level shifter of the programmer?

Thanks for your reply
pechnase

-------------------------------------------
TS-219P+, 2 x Samsung HD204UI with FW update
RAID1, ext4
-------------------------------------------

tonybailey9
First post
Posts: 1
Joined: Tue Nov 19, 2019 12:08 am

Re: [HowTo] QNAP BIOS recovery of completely dead mainboard [SPI flash method] [x51, x53]

Post by tonybailey9 » Tue Nov 19, 2019 12:55 am

Hi all I have a tas268 and upon starting I get the screen below via hdmi.
Nas will restart for 1 hour plus
Qnap have told me the mainboard has gone
Can anyone help me please
You do not have the required permissions to view the files attached to this post.

dolbyman
Guru
Posts: 19760
Joined: Sat Feb 12, 2011 2:11 am
Location: Vancouver BC , Canada

Re: [HowTo] QNAP BIOS recovery of completely dead mainboard [SPI flash method] [x51, x53]

Post by dolbyman » Tue Nov 19, 2019 1:16 am

dont think this thread helps with your android based unit

no idea how to flash it...and qnap already gave up

Id see some android phone forums ..if there is some dead phone flash methods...although there is sadly no system image available from qnap to flash

derbnogod
First post
Posts: 1
Joined: Wed Feb 11, 2015 10:04 am

Re: [HowTo] QNAP BIOS recovery of completely dead mainboard [SPI flash method] [x51, x53]

Post by derbnogod » Thu Apr 23, 2020 6:03 am

Had to perform this procedure yesterday on my TS-851 and had multiple failures with the resistive network used to bring the voltage from the rpi into the 1.65-1.9 range. Switched to native 3.3V and had success after adding a couple decoupling capacitors to the power rail. Thanks for the hard work, you resurrected my unit.

vfiler
New here
Posts: 3
Joined: Tue Dec 05, 2017 3:21 am

Re: [HowTo] QNAP BIOS recovery of completely dead mainboard [SPI flash method] [x51, x53]

Post by vfiler » Sun Aug 09, 2020 6:21 pm

Recently I got a dead TS 253 Pro from a friend. He told me it has been gone due to a failed firmware update.
After connecting to power, LED1 did not turn to green
Pressing power button: no beep, no HDMI signal, LED5 and 7 are red (no disks were connected), LED3 lits blue.

I removed all parts - DOM Flash, RAM, Battery, FAN. After reconnecting to power, LED1 turned to green.
But after powering on - no success. LED1 turns off, still no beep, no signal, all other LEDs get the same status like before.

Should i give it a try and follow the steps to flash it with my Raspberry, or is it just wasting time?
Board is QW59 Rev. 1.2

Thanks for any advice

coolquasar
New here
Posts: 2
Joined: Thu Aug 13, 2020 12:04 pm

Re: [HowTo] QNAP BIOS recovery of completely dead mainboard [SPI flash method] [x51, x53]

Post by coolquasar » Thu Aug 13, 2020 1:29 pm

buggy82 - Hey buddy, Any insights to this problem I have, will be really helpful

Long story short: When turned on, it is a hit and miss that POST will be success and system boots up

viewtopic.php?f=50&t=156389

Post Reply

Return to “Miscellaneous”