Issue reading Macronix BIOS-chip in HP Elitebook

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ValleyDude2605
    New Member
    • Jun 2020
    • 7
    • The Netherlands

    #1

    Issue reading Macronix BIOS-chip in HP Elitebook

    Hi, I'm trying to revive an HP Elitebook 840 G2 with a bricked bios. Problem is that I'm stuck on getting a dump from the BIOS-chip, it doesn't seem to give me the correct output.

    I'm using a Raspberry Pi 2B+ with Flashrom and a Pomona SOIC8-clip. The chip in question is a Macronix MX25L12873F (datasheet here). Flashrom detects the chip fine - or so it seems, it's detected as a "Macronix MX25L12835F/MX25L12845E/MX25L12865E". Reading takes quite long, I'd say about ten minutes or so. When I open the output in a hex-editor every line is like this:

    Code:
    C2 20 18 C2 20 18 C2 20 18 C2 20 18 C2 20 18 C2
    Does anyone have an idea why this is, and what I could change to get a correct dump of the BIOS?
  • piernov
    Super Moderator
    • Jan 2016
    • 4435
    • France

    #2
    Re: Issue reading Macronix BIOS-chip in HP Elitebook

    Desolder the chip.
    OpenBoardView — https://github.com/OpenBoardView/OpenBoardView

    Comment

    • ValleyDude2605
      New Member
      • Jun 2020
      • 7
      • The Netherlands

      #3
      Re: Issue reading Macronix BIOS-chip in HP Elitebook

      Hi piernov, thanks for your reply. It's that simple? Desoldering will make it able to read the chip?

      Unfortunately that's not really an option for me right now, I have to do it in situ. And I've seen plenty of posts and videos online where it worked, so I'm just baffled why I keep getting stuck on getting a correct dump.

      Comment

      • jasko_jacker
        Badcaps Legend
        • Oct 2014
        • 1137
        • italy

        #4
        Re: Issue reading Macronix BIOS-chip in HP Elitebook

        Not all programmers are able to work with the soldered chip.
        With the chip soldered, it is possible that the power supply or some signals are attenuated by the connection with the motherboard.
        As he cannot read it correctly he will certainly not be able to program it. For the dump you can find it in the bios section or you can request it.

        Comment

        • KingBonecrusher
          Member
          • Jun 2020
          • 28
          • Netherlands

          #5
          Re: Issue reading Macronix BIOS-chip in HP Elitebook

          Try this:

          1) disconnect battery & ac
          2) connect programmer
          3) connect ac (ONLY AC!)
          4) read eeprom

          Comment

          • ValleyDude2605
            New Member
            • Jun 2020
            • 7
            • The Netherlands

            #6
            Re: Issue reading Macronix BIOS-chip in HP Elitebook

            Thanks for the feedback, but I'm afraid I'll have to give up on this project. I tried nearly everything:

            - different programmers (RPi, CH341A Black, CH341A Blue)
            - different voltages (no GND+VCC, 3V3, 5V)
            - Elitebook not powered on, Elitebook connected to AC but not powered on, Elitebook powered on

            Guess I'm out of options here.

            Comment

            • RethoricalCheese
              Badcaps Legend
              • Mar 2013
              • 1517
              • Estonia

              #7
              Re: Issue reading Macronix BIOS-chip in HP Elitebook

              Raspberry can always read soic8 HP bios without desoldering but it takes a certain action first. In your case, you are not able to do that because your machine does not post. Thus you need to desolder.

              Btw, use the command
              Code:
              flashrom -p linux_spi:dev=/dev/spidev0.0[B],spispeed=10000[/B]
              10000 is quite fast and reliable. 20000+ might have issues with some chips.
              Default is only 1000 if I am correct.

              Comment

              • ValleyDude2605
                New Member
                • Jun 2020
                • 7
                • The Netherlands

                #8
                Re: Issue reading Macronix BIOS-chip in HP Elitebook

                Thanks @RethorialCheese, I will give it another try then.

                Perhaps this is a dumb question, but you say that I can't read the chip because the machine does not post. But if I desolder, then there is no post either, right? Or is that the difference between reading/flashing in situ and doing it with a desoldered chip?

                Comment

                • Bonzas
                  Badcaps Veteran
                  • Jan 2018
                  • 468
                  • Indonesia

                  #9
                  Re: Issue reading Macronix BIOS-chip in HP Elitebook

                  AFAIK your chip is 1,8v, you need 1,8v converter.
                  you may be able to read and backup file from these chip but u'll got error when verifying file after flash. so far, i always failed when reprogram bios without desoldering chip from motherboard

                  Comment

                  • ValleyDude2605
                    New Member
                    • Jun 2020
                    • 7
                    • The Netherlands

                    #10
                    Re: Issue reading Macronix BIOS-chip in HP Elitebook

                    According to the datasheet this is a 3,3V chip.

                    Comment

                    • RethoricalCheese
                      Badcaps Legend
                      • Mar 2013
                      • 1517
                      • Estonia

                      #11
                      Re: Issue reading Macronix BIOS-chip in HP Elitebook

                      HP EliteBook, Probook and Zbook always use 3.3V chips.

                      If the machine posts and you turn it off but leave charger connected, it will be in a state where you have no problems reading with raspberry. If you desolder, there aren't any other parts disturbing. So either post and shut down to read on board or just desolder.

                      Comment

                      • Bonzas
                        Badcaps Veteran
                        • Jan 2018
                        • 468
                        • Indonesia

                        #12
                        Re: Issue reading Macronix BIOS-chip in HP Elitebook

                        Ah my fall, sorry i didn't see your attachment. There 25U have 1,8v not 25L

                        Comment

                        • ValleyDude2605
                          New Member
                          • Jun 2020
                          • 7
                          • The Netherlands

                          #13
                          Re: Issue reading Macronix BIOS-chip in HP Elitebook

                          Originally posted by RethoricalCheese
                          HP EliteBook, Probook and Zbook always use 3.3V chips.

                          If the machine posts and you turn it off but leave charger connected, it will be in a state where you have no problems reading with raspberry. If you desolder, there aren't any other parts disturbing. So either post and shut down to read on board or just desolder.
                          This actually seemed to do the trick! I booted, shut down and then tried to read the chip with success. I did four reads, just to be sure, and they all checked out to be exactly the same. Removed the BIOS-password and reflashed the BIOS, all good to go now.

                          Next project: fixing the "ME state in recovery mode" error.

                          Comment

                          Related Topics

                          Collapse

                          • Document Archive
                            HP EliteBook EliteBook 860 16 inch G9 Notebook PC Notebook 800 Specification for Upgrade or Repair
                            by Document Archive
                            This specification for the HP EliteBook EliteBook 860 16 inch G9 Notebook PC Notebook can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the EliteBook 860 16 inch G9 Notebook PC boardview and EliteBook 860 16 inch G9 Notebook PC schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that...
                            09-07-2024, 05:50 AM
                          • Document Archive
                            HP EliteBook EliteBook 860 16 inch G9 Notebook PC Notebook 800 Specification for Upgrade or Repair
                            by Document Archive
                            This specification for the HP EliteBook EliteBook 860 16 inch G9 Notebook PC Notebook can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the EliteBook 860 16 inch G9 Notebook PC boardview and EliteBook 860 16 inch G9 Notebook PC schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that...
                            09-07-2024, 05:50 AM
                          • Document Archive
                            HP EliteBook EliteBook 860 16 inch G9 Notebook PC Notebook 800 Specification for Upgrade or Repair
                            by Document Archive
                            This specification for the HP EliteBook EliteBook 860 16 inch G9 Notebook PC Notebook can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the EliteBook 860 16 inch G9 Notebook PC boardview and EliteBook 860 16 inch G9 Notebook PC schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that...
                            09-07-2024, 05:50 AM
                          • Document Archive
                            HP EliteBook EliteBook 650 15.6 inch G9 Notebook PC Notebook 600 Specification for Upgrade or Repair
                            by Document Archive
                            This specification for the HP EliteBook EliteBook 650 15.6 inch G9 Notebook PC Notebook can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the EliteBook 650 15.6 inch G9 Notebook PC boardview and EliteBook 650 15.6 inch G9 Notebook PC schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please...
                            09-07-2024, 05:20 AM
                          • Document Archive
                            HP EliteBook EliteBook 630 13 inch G9 Notebook PC Notebook 600 Specification for Upgrade or Repair
                            by Document Archive
                            This specification for the HP EliteBook EliteBook 630 13 inch G9 Notebook PC Notebook can be useful for upgrading or repairing a laptop that is not working. As a community we are working through our specifications to add valuable data like the EliteBook 630 13 inch G9 Notebook PC boardview and EliteBook 630 13 inch G9 Notebook PC schematic. Our users have donated over 1 million documents which are being added to the site. This page will be updated soon with additional information. Alternatively you can request additional help from our users directly on the relevant badcaps forum. Please note that...
                            09-07-2024, 05:20 AM
                          • Loading...
                          • No more items.
                          Working...