[Discussion] Firmware for Asmedia Sata 6G Controllers

@BobbyG :
Welcome at Win-RAID Forum!

You had posted your request into the thread about Option ROM modules, which are part of the mainboard BIOS and a special sort of Firmware. The Option ROM modules are only able to support on-board Controllers and not Controllers, which are located on an add-on PCI(e) cards.
Since it was not the appropriate thread for your questions, I have moved your post into this freshly updated thread, where you can find useful informations.

From ASMedia or from the manufacturer of your Add-On Card.

Yes, you can do it by using the related Firmware Update package, but - to be honest - I do not really recommend that. All currently available ASM-106 Firmware versions of the v0.9xx series are rather old and v0.951 seems to be the most stable one.
Good luck!
Dieter (alias Fernando)

If it’s a card like mine then it’s a SATA3 PCIe x4 form factor card but in reality it only uses 2 lanes so it’s a “PCIe x2”. It will give you 30% improvement over your onboard SATA2 if you have PCIe2 slots. It will give you great results if you already have PCIe3(in fact, an x1 card would give you great results, but you would probably already have SATA3 onboard so you wouldn’t need the card), and it will give you NO performance improvement over SATA2 if your computer has the PCIe1 slots. It comes down to simple math. Check out this post: http://www.overclock.net/t/1489684/ssd-i…express-vs-sata

I m having this CRITICAL PROCESS DIED problem on my pc

here’s the thing now
i does as this website said
http://www.deskdecode.com/critical-process-died/
and now my system wont able to start
what to do now does anybody knows something

where to get the latest official firmware for this chip? thanks.

Maybe you can find it >here<.

Hello !

I have found new rom 3.80 for asm1061 with spi 25x4005l !

1B21-0612 ASMedia AHCI 3.80.rar (20.4 KB)

I tried it in my pci e asmedia card.
from 3.70 to 3.80
It works it is the ahci mode for the 1061 chipset.

I have found the same firmware/bios on this page
AHCI & RAID ROM Modules (60)
Link
file.php?url=http%3A%2F%2Ffiles.homepagemodules.de%2Fb602300%2Ff13t7p27655n3_qmaKbQFA.rar&r=1&content=RE%3A_AHCI_%26amp%3B_RAID_ROM_Modules

Attached in this post too for convenient BUT they look different as their md5sum is not the same
this one’s
33f8a6f0c1e13105648c6c811045014f 1B21-0612 ASMedia AHCI 3.80.bin
the one posted by braza is
1652fbacfa02aac390648ecd489aabfb 1B21-0612 ASMedia AHCI 3.80.bin
What gives? O.o

1B21-0612 ASMedia AHCI 3.80.bin.zip (20.9 KB)

hello.

One is for motherboard bios with included rom.

and my rom is for pci express card with some header more, for BOOT !

Hi,

I have a motherboard type Asus P5Q Deluxe and a SATA III 2-Lane PCI-e 2.0 x4 card made by SYBA (http://bit.ly/2g7LItJ). This card is installed into a PCI-e 2.0 x16 slot. BIOS version of the card is 0.951 . My SSD is a Samsung 850 Pro. I installed the most recent driver for Windows 10 Pro (x64). The benchmark is atatched.

as-ssd-bench Samsung SSD 850  2016. 11. 20. 23-22-14.jpg



It seems not good, is it not? What can I do for the higher performance??

Thanks,
Robert

Ok, I did reading all this topic about ASM106X. And I have some questions to Fernando, as I understand there are two ASmedia firmwares one for the chip based on PCIe cards and another for internal mobo chips, the OROM module firmware is for mobos, and the complete package firmware (with included header) for PCIe cards, right. Does this mean that we can mod these firmwares (removing the header) to adapt them to mobo’s OROM modules?. Also, I know that the chips on PCIe cards have a SPI flash, does the mobo version chip has SPI too?. If so, can we update this SPI firmware even the OROM module is already installed in the mobo’s bios?. I tell you this, because I plan to test it using SPIUPD.exe with the latest 1.5.0.xx.xx firmware from Station-Drivers.com even I have installed the ver. 3.80 OROM in my Bios.

Thank you!!



PD: Ok, I have tested and confirm that mobo’s chips don’t have flash SPI, the ASmedia flash update tool didn’t find it. So, another questions remain, is it posible to mod the latest firmware for pcie cards (128kb) reducing its size (64kb) to accommodate as OROM into the Bios?, Could this method works?, Is the header the only thing you have to remove to fit it as OROM?..

This is for Lordkag & Braza: Can you explain how to remove the header from a pcie card firmware to convert it to a reduced size OROM file?. I’d like to try this experiment, as I saw some firmwares and OROM files with the same version (0.951, 3.80), the only difference is its size and the header right. I plan to convert the lastest firmware 150910_00_00_00 to OROM and insert it into my Bios, and see how it goes. If this goes well, this could be the lastest firmware for mobo’s chips based on ASmedia 106x.


Thank you!!


PS: I compared both versions of ASMedia 106x 3.80 OROM & Firmware (for pcie cards), and learned where the header is located and how to remove it. Then I tried to truncate the file to 37KB (actual size 128KB), but I can’t because I remove part of the code inside this module. The maximum size I reached is reduced to 98KB due this module also supports RAID. Anyway using the ASUS flashback is a secure method to test this module with modded bios, I think I have enough space to insert this module in my bios (even 98KB). Probably, after this mod I can select between AHCI, IDE, and RAID mode using the ASmedia sata ports (it would be great!!), but if it has a RAID utility I don’t know it’s activated after selecting RAID mode in bios. Anyway I’ll let you know the results of my experiment soon…

I need to backup the firmware of my PCIe ASM-1061 add-on card, but I haven’t found informations about it; the firmware flash tool (106spi.exe) allows only to update the ROM but not to save it on a backup file.
There’s a way to do it?

Since i have already flashed your modded bios for the CHVF-Z with the ASMedia OROM v3.80…i have to ask : did you have any positive results with your testing ?

I have the pcie to sata asmedia1061.
It is possible to someone to edit the 0.951 orom to not be bootable?
If anyone want to try i will flash it.

Most SATA PCI-E extension cards only utilize the OROM for OS booting or switching between AHCI and RAID modes, if supported. Once a supported OS is fully started, the controller is overtaken by the driver. The driver may pay some attention to some of the bits in the registers previously set by OROM execution, but in most cases it doesn’t.

At least with Sil3231 chips, wiping the firmware results in a fully functional AHCI controller with the only exception that it’s unbootable and is entirely ignored at boot time.

In a similar manner, removing the onboard 106X OROM from an UEFI firmware image yields the same results – you get no pop-up at boot time and you can’t boot from the onboard ASM 106X, but the chip itself works perfectly well once your OS is loaded.

So, maybe you should try flashing an empty firmware image filled with FFs.

I don’t know if it’s a really good idea – the driver MAY consider the bits set by OROM execution – but you could always flash back to a working firmware.

* * *

As it was mentioned before, there are two kinds of 106X chips: ones that ship with smaller (~32 Kb) firmware images and those with the larger firmware (>64 Kb)

The smaller images are branded 0.X (like 0.95, 0.951, 0.97) and the larger ones are 3.X (3.70, 3.80, etc)

Smaller images have no RAID functionality and only support 1 PCI-E lane, larger images tend to support RAID and utilize 2 lanes.

If your onboard 106X controller or the PCI-E slot that you use for a 106X extension card is only linked to 1 lane, flashing anything 3.X will get you into trouble ranging from terrible transfer speeds to BSODs.

If it can handle 2 lanes, you may safely upgrade to 3.X from 0.X in the case of onboard 106X – provided that the UEFI image has enough free space. But in most cases, shipping with a 0.X firmware quite logically suggests that the onboard controller is only linked up to 1 lane.

As for the extension cards, it’s a bit trickier: if a PCI-E card comes with only 64 Kb of onboard SPI flash, you are limited to 0.X firmware only – even if it’s enough for a 3.X firmware. These cards won’t do RAID or handle 2 lanes. If it ships with 128 Kb of SPI flash, it either already uses a 3.X firmware or you may try to flash one. The ASM 106X extension cards produced by Orient tend to use 64 Kb SPI flash, others may ship with 128 Kb. That is the general rule for picking a suitable firmware for your PCI-E extension card. Some mobos like P8Z77-V utilize a different number of lanes for the x1 PCI-E slots depending on the current BIOS settings. This detail may account for some reports of BSODs / weird behaviour of 106X extension cards that come with the larger 3.X firmware – the said P8Z77-V, for example, has its third x1 PCI-E slot using only 1 lane in one of the modes, compared to the 4 and 16 lanes provided for the first two slots. Using only 1 lane for a PCI-E slot is quite uncommon, so maybe the 3.X firmware isn’t even meant to be compatible (I might be mistaken about this theory)

Downgrading from factory 3.X to 0.X should be possible, it may prove useful for Hackintosh users or just about anyone who needs RAID disabled for good for some of the reasons mentioned above. But you shouldn’t do this if you don’t absolutely need it, since your speed cap will get halved (250 Mb/s @ 1 lane vs 500 Mb/s @ 2 lanes) even in the regular AHCI mode.

Bug-free-wise, the 0.97 1-lane, non-RAID firmware roughly corresponds to the 3.80 2-lane, RAID-enabled firmware. Choose the one that doesn’t give you any trouble and fits into your UEFI image / SPI flash.

Newer firmware can’t give you better speeds, it’s just the chip itself and its OS-level drivers that affect performance. But newer firmware may and often does resolve issues that stem from controller misconfiguration during OROM execution. Wiping the firmware altogether may be an alternative to upgrading, since no OROM execution means that no configuration happens and the driver is likely to assume default / fail-safe values when it sees empty registers. Such values may give you the best possible stability / performance (or may not) Of course you can’t boot an OS from a SATA controller with no firmware, but that’s exactly what some people are after (no one likes waiting through some extra seconds of pop-up screen during boot)

Personally I think that the 106X is only good for non-RAID use, and since I don’t use SSDs with 106X, I prefer to go for the 0.97 firmware to make sure it behaves just like a regular AHCI controller. Most hard drives have peak speeds of about 120-150 Mb/s (at best, like huge chunk sequential reads/writes across the outer, faster areas of the disk) so 250 Mb/s @ 1 lane is just enough to pump data between 2 disks connected to a 106X at almost top speed (120 Mb/s read + 120 Mb/s write)

The only difference between onboard and PCI-E OROMs is the header, as it was mentioned multiple times before. The latest official PCI-E non-RAID/1-lane firmware version is 0.951 and if we compare it to the 0.951 found in UEFI images, the difference is:



Adding this header to a 0.97 onboard OROM is likely to produce a working 0.97 PCI-E OROM (there exists no official 0.97 for PCI-E cards shipping with 0.X firmware)

If some of you guys attempt to upgrade your onboard 106X OROM to 3.80 please mind removing the header – the 3.X firmware images are almost exclusively found in RAID-enabled versions of 106X PCI-E extension cards and are often distributed with the header intact. If some of you tried the trick without removing the header, too bad for you. Flashing 3.X to no ill effect doesn’t imply it is even executed at boot time – the controller will still work in the OS with a broken or missing firmware – seeing the pop-up screen and being able to boot an OS from an attached drive is what implies a working OROM.

P.S. Just to make it clear, in a nutshell: 106X PCI-E extension cards come in two flavors: the 0.X version and the 3.X version. You can’t upgrade from 0.X to 3.X even if the SPI flash has enough space. 0.X uses 1 PCI-E lane and offers no RAID functionality, 3.X uses 2 lanes and offers RAID functionality. Downgrading from 3.X to 0.X should be possible. If you want a decent SSD experience, you must go for a 3.X card and only connect a single SSD drive. Still, you will be limited by 500 Mb/s and many SSDs can reach speeds of up to 600 Mb/s. The onboard version of 106X is either linked to 1 lane or 2 (I have never seen a 2-lane onboard 106X in my life) Upgrading the firmware from 0.X to 3.X should only do good if your onboard 106X is somehow linked to 2 lanes but ships with 0.X firmware for whatever reason. Flashing a 3.X image instead of 0.X in the case of 1-lane 106X may have but a placebo effect in this “onboard” scenario – by essentially breaking OROM execution and forcing the drivers to fall back to default configuration values. A PCI-E OROM must have a header, otherwise it’s broken. An onboard OROM must have no header, otherwise it’s broken.

EDIT by Fernando: Quoted post personified and inserted image resized (was too big, can be enlarged by clicking onto it)

Hello Braza!

Where did you obtain the new firmware 3.80 for the ASMedia 106x ESATA Card?
I am currently using that firmware and my SATA Controller works like a treat.
However if I have the power turned off from the device attached the ESATA port then when I boot it takes about 5 minutes to release control back to the bios to boot windows.
If I leave the my external hard-drive turned on then it detects within a few seconds, released and boots into windows.
I have tried the Station-Drivers web site but their latest driver version is 3.70. I thought ASMedia would have a driver support section like most web sites have so I could download the latest version, but that is not the case.
Any help would be appreciated.

Thanks.

I added the header from the 0.951 o rom to 0.97 bin and i rename it to 0.97 o rom. This means that i can flash it? Maybe some expert take a look?
modded 0.97 o rom: -http://www.uploadmb.com/dw.php?id=1507466171



EDIT by Fernando: Inserted image resized (can be enlarged by clicking onto it)

Any guide to update AsMedia Sata controller in UEFI bios, please?