• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Tachytelic.net

  • Get in Touch
  • About Me

Install and boot from an NVMe SSD on a HP Compaq Elite 8300 SFF

January 11, 2022 by Paulie 9 Comments

In this post I will show you how you can install an NVMe SSD into a HP Compaq Elite 8300 Small Form Factor and modify the BIOS so that the machine can boot natively from it. The 8300 SFF does have a UEFI BIOS, but there is no NVMe driver present.

I recently wrote a post on how add NVMe support to a Dell OptiPlex 7010 which has the same Q77 chipset at the HP 8300. I was asked if the the same procedure could be used to upgrade the HP.

It is possible to modify the BIOS on the HP 8300 Elite, but it is much more difficult to do. The completed modification does produce impressive results. Here is my CrystalDiskMark Result from the 8300 using a Samsung 970 EVO Plus:

Why is the HP Compaq 8300 Difficult to modify

On the Dell OptiPlex 7010 I was able to put the machine into service mode and gain full read and write access to the BIOS. The HP 8300 motherboard has a similar function called FDO (Flash Descriptor Override):

Putting a jumper on to these pins allows the Intel Management Tools to fully read the BIOS, but the Intel Flash Programming Tool (fpt.exe) is not able to write back to it, and displays the message:

C:\Intel ME System Tools v8 r3\Flash Programming Tool\Windows64>fptw64.exe -bios -f nvme.bin

Intel (R) Flash Programming Tool. Version:  8.1.60.1561
Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.

Platform: Intel(R) Q77 Express Chipset
Reading HSFSTS register... Flash Descriptor: Valid

    --- Flash Devices Found ---
    W25Q128BV    ID:0xEF4018    Size: 16384KB (131072Kb)

PDR Region does not exist.

Error 28: Protected Range Registers are currently set by BIOS, preventing flash access.
Please contact the target system BIOS vendor for an option to disable Protected Range Registers.

I tried various methods to enable write access to the BIOS with software solutions, but I was unable to. So I tried using an SPI programmer directly on the BIOS chip, which works, but is not easy to do for the following reasons:

  • My CH431a programmer only came with an 8 pin chip connector, but the BIOS chip on the 8300 is 16 pin.
  • The BIOS chip is located so close to the RAM slots that it is difficult to access.

If anyone reading this blog finds a way of writing to the BIOS with software tools, please let me know! It must be possible as the HP Firmware updates are able to write to the flash chip.

Here is a top down view of the HP 8300 Elite Motherboard, with an arrow pointing at the BIOS Chip:

Image of motherboard from a HP Compaq 8300 Elite

and here is a close-up of the BIOS chip, which is a 16Mb Winbond W25Q128BVFG:

Image of the Winbond 16-Pin BIOS Chip on a HP 8300 Small Form Factor motherboard.
Note: PIN 1 on the BIOS chip is identified by a small circle above the PIN

The retaining arm for the RAM makes it impossible to attach the SPI Programmer, so to solve that problem, I simply snapped it off. It was not very strong and snapped in half easily. I would love to hear if someone has a more elegant method. The retaining clip still works fine.

Warning

This blog post contains instructions on how to modify your BIOS using a hardware programmer.

You could very easily break your machine. Proceed at your own risk!

Modifying the HP 8300 Elite BIOS

So in order to modify the BIOS, I required the following hardware:

  • KeeYees SOP8 SOIC8 Test Clip and CH341A USB Programmer.
  • 16 Pin DollaTek SOIC16 SOP16 Test Clip.
  • Samsung 970 EVO Plus NVMe SSD.
  • Cheap M.2 NVME to PCIe 3.0 x4 Adapter.
  • A spare machine with a USB 3 port to read and write from the BIOS chip.

Attaching the chip clip to the BIOS

I attached the 16-Pin chip quite easily once the RAM clip was snapped off:

Image of 16-Pin Chip Clip attached to the BIOS Chip of a HP 8300

Note: I did all of this with the machine fully assembled. But it was very difficult to get a good photo, so I took the motherboard out. Notice the red cable on the ribbon of the clip indicates the location of Pin 1, which corresponds to the location of Pin 1 on the BIOS chip.

At the USB Programmer end it looks like this:

Image of CH431a USB Programmer with  8-16 Pin Header Installed

For the purposes of clarity, this picture shows:

The 16 pin clip and ribbon, connected to a 8 to 16 Pin Header, which is connected to the CH431a USB Programming tool. The 16 pin clip I ordered came with both a 16 to 16 pin header, and a 16 to 8 pin header.

The ribbon is quite short, so the machine you connect the USB Programmer to has to be quite close by.

Disconnect the HP 8300 from the mains before connecting the USB Programmer to the host computer. You will know when you have got a good connection because a small light between the RAM slots will light up:

Image showing power light between RAM slots on a HP 8300 Motherboard

Create a BIOS Backup

With the clip successfully connected you can now proceed to backing up and modifying the BIOS. Download and install the following software.

  • CH341SER.EXE – USB to serial driver.
  • CH341PAR.EXE – Multiprotocol interface driver.
  • AsProgrammer.

With all the drivers installed and the hardware connected you can run AsProgrammer. The first thing to do is change the hardware settings to CH341a:

Image of AsProgrammer Tool

Next, you can ensure the chip is properly connected by clicking on the Read-ID Button:

Selecting a Flash Rom Chip in AsProgrammer

You should get output like the image above. Choose W25Q128BV. If your output is different, do not continue further.

  • Select Read IC from the toolbar. This will take a few minutes to execute.
  • Select Save File from the toolbar. I saved mine as HP8300.bin

Make sure you keep your backup file safe! If things go horribly wrong, you can use it to restore your machine back to it’s original state.

Leave AS Programmer open as we will be coming back to it, to write the modified BIOS.

Modify the BIOS in UEFITool

Next we will modify the BIOS using UEFI Tool:

  • Download, extract and open UEFITool 0.82.
  • Open the BIOS backup that you created with ASProgrammer.
  • Expand the BIOS Image like this:


  • Scroll to the bottom of this section until the final DXE driver, which should be HpDigitalSignatureVerification.
  • Download this NVME Driver and save it to your machine.
  • Right click on the final DXE driver and choose Insert After.


  • Choose the NvmExpressDxe_Small.ffs that you just download and then save the file as NVME.bin.

Write the modified BIOS back to the HP 8300

Now that you have the modified BIOS image complete, go back to ASProgrammer:

  • Click the Open File button and open NVME.bin.
  • Click the Programm IC button and wait for the flashing process to complete.
  • Disconnect the programmer.

Add the NVMe Adapter and Drive

The system will now be able to from an NVMe drive! You can either complete a fresh install of your Operating system or clone your existing installation to the new NVMe SSD

Here is my Samsung 970 EVO Plus NVMe SSD from Amazon installed on to a PCI Adapter in the machine:

Image of Samsung NVMe SSD installed into a HP Compaq 8300 Elite after boot support has been added.

Conclusion

Adding NVMe support the HP Compaq 8300 Elite does provide a massive boost in performance. The machine I upgraded had a mechanical hard drive so the difference was astonishing. Here is the difference in speed results:

Image showing speed difference between Seagate 7,200 RRPM Hard Drive and a Samsung NVMe SSD in a HP Compaq Elite 8300

You will have to judge if this is the right upgrade for you. A SATA SSD would be much easier to fit and does not require the use of additional hardware to modify the BIOS. This NVMe modification provides greater performance, but at the cost of added complications and the risk of damaging your machine.

If anyone is able to find a method to update the BIOS without using the USB Programmer I would love to hear from you.

Filed Under: How To Tagged With: NVMe

Reader Interactions

Comments

  1. Jake Klumpp says

    January 30, 2022 at 1:00 am

    How do you get those speeds its only pcie 2.0, more like 1650mps ?

  2. Paulie says

    January 30, 2022 at 1:09 am

    Those are the speeds I got. According to the service guide:
    HP Compaq 8300 Elite Maintenance and Service Guide

    The computer has one PCI expansion slot, one PCI Express x1 expansion slot, one PCI Express x16
    expansion slot, and one PCI Express x16 expansion slot that is downshifted to a x4 slot.

  3. Tony says

    January 30, 2022 at 4:51 am

    Hi Paulie, I have HP Compaq Elite 8100 SFF. Do you think I can do the same upgrade just like here ?

  4. Paulie says

    January 30, 2022 at 2:26 pm

    Tony – I wrote a blog post on the HP 8300:
    Install and boot from an NVMe SSD on a HP Compaq Elite 8300 SFF
    Not as easy as the Dells

  5. alex says

    March 9, 2022 at 7:51 pm

    Bonjour partager vous le bios que vous avez modifier ?

  6. Navecitas says

    May 19, 2022 at 3:41 pm

    I have tried to modify the latest bios that my 8300 sff carries, which is the K01_0308 obtained from the official HP utility (K01_0308.bin, which is found in the DOS Flash folder once the official HP flashing utility is unzipped)
    I have used the DXE word lookup in the Uefitool NE alpha59 utility to find HpDigitalSignatureVerification.
    the problem is that it won’t let me insert the driver for the nmve, I right click on HpDigitalSignatureVerification but the “Insert After” option is disabled… I don’t know why
    I thought that after modifying that original bios, then it could be flashed with the HP utility from windows 10.
    Do you think I would need to read the bios from the chip like you do in order to modify it later?
    Could you share the bios that you have modified to try to flash it with the HP utility?
    Thank you

  7. Paulie says

    May 19, 2022 at 3:45 pm

    Navecitas – I tried for a long time to flash it via a software method. I did not find a way, if you manage to find a way, I would love to hear it.

  8. Navecitas says

    May 19, 2022 at 4:48 pm

    ok, I have a programmer (minipro) that can flash that type of chip, but in my case I don’t have 16-pin tweezers so I’m going to desolder the chip with the heat station and then I’ll try to read the bios and modify it… I will tell how it went
    Thank you

  9. Tim says

    June 17, 2022 at 4:14 pm

    Paulie, Do you think you will be trying the HP 8200 in the future? I have 3 or four.

Leave a Reply Cancel reply

Primary Sidebar

Link to my LinkedIn Profile
Buy me a coffee

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 270 other subscribers.

Go to mobile version