T480 trouble reading thunderbolt eeprom - tips?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • surprisedHacker
    New Member
    • Jun 2024
    • 6
    • UK

    #1

    T480 trouble reading thunderbolt eeprom - tips?

    Hi,

    I have a T480 which suffered a failed bios update. I can reliably read and flash the WInbond 25Q128 (U49) but it's still dead (no post, just musical beeps). Turned to the Thunderbolt eeprom (25Q80 in U15) but I can't read the same data from it twice in a row - it's different every time. I'm using a CH341G (same as on https://www.onetransistor.eu/2017/08...schematic.html) in exactly the same way, just moving the SOIC clip from one to the other (noting location of pin 1). Both are 3.3V devices.

    The coin cell backup battery is out, the main battery is out. I don't understand why I can't reliably read this IC. Do I have to desolder it first or does this sound like a faulty / damaged eeprom?

    Thoughts / ideas appreciated.
  • mon2
    Badcaps Legend
    • Dec 2019
    • 13858
    • Canada

    #2
    Can you consistently read out the manufacturing ID / device ID codes?

    Comment

    • surprisedHacker
      New Member
      • Jun 2024
      • 6
      • UK

      #3
      Yes, however IMSProg (v1.4.1) detects a W25Q80BL which isn't the same as 25Q80DVSIG which is on the package.

      25Q80DV is 2.7-3.3V and the 25Q80BL is 2.3 to 3.3V. This shouldn't matter should it?

      Comment

      • mon2
        Badcaps Legend
        • Dec 2019
        • 13858
        • Canada

        #4
        No the Vcc does not matter since your hardware is fixed to support 3v3 only (which is ok for both flash types). However, do not like the mismatch of the detection which could be the root cause.

        Hunt around for a better program that is compatible with your hardware. Never heard of the software you are currently using. You need the program s/w to detect as marked on the IC for the best results.

        Comment

        • mon2
          Badcaps Legend
          • Dec 2019
          • 13858
          • Canada

          #5
          Ok - found your s/w on github via Adafruit chats.

          Try this tool and post your results.

          Releases · nofeletru/UsbAsp-flash (github.com)

          Click image for larger version

Name:	supported.png
Views:	224
Size:	31.9 KB
ID:	3299873
          Last edited by mon2; 06-30-2024, 03:29 PM.

          Comment

          • surprisedHacker
            New Member
            • Jun 2024
            • 6
            • UK

            #6
            AsProgrammer is for Windows, I'm on Lunix so tried flashrom. It identifies the IC so I did 4 reads and compared them. Different each time :-(

            $ rm *.bin; flashrom -p ch341a_spi -r tb1.bin; flashrom -p ch341a_spi -r tb2.bin; flashrom -p ch341a_spi -r tb3.bin; flashrom -p ch341a_spi -r tb4.bin
            flashrom v1.2 on Linux 5.15.0-113-generic (x86_64)
            flashrom is free software, get the source code at https://flashrom.org

            Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
            Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi.
            Reading flash... done
            ... snip ...

            $ md5sum *.bin
            51f0fd57d0ea968c9aec06414506473c tb1.bin
            460420c75596b0371e97294a8703f085 tb2.bin
            285f1c3d689dbc0e113e3e4b222e8fa4 tb3.bin
            a3fd730f0f90d54500e8f03a9d2e1674 tb4.bin

            The line "Found Winbond flash chip "W25Q80.V" (1024 kB, SPI) on ch341a_spi." makes me think it's ID'ing the eeprom correctly - assuming the '.' in W25Q8-.V is a wildcard.'

            I'm going to try and get hold of another programmer. Thanks for your help so far.

            Comment

            • mon2
              Badcaps Legend
              • Dec 2019
              • 13858
              • Canada

              #7
              Can you test with more delays for the SPI clock?

              Comment

              • surprisedHacker
                New Member
                • Jun 2024
                • 6
                • UK

                #8
                I don't think it is possible to control the spi clock on the CH341A programmer

                $ flashrom -p ch341a_spi:spispeed=100 -r outfile
                flashrom v1.2 on Linux 5.15.0-113-generic (x86_64)
                flashrom is free software, get the source code at https://flashrom.org

                Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
                Unhandled programmer parameters: spispeed=100
                Aborting.
                Error: Programmer initialization failed.​

                Might have to see if I can persuade a raspi to do it.

                Comment

                • surprisedHacker
                  New Member
                  • Jun 2024
                  • 6
                  • UK

                  #9
                  Just to update - I used a raspberry pi + flashrom with the CH341 clip. It detects the eeprom but I still can't get 2 reads the same even if I drop the clock speed.

                  I checked the supply voltage on the 25Q80 and it's 5V. This is a 3.3V part which according to the schematic at https://www.badcaps.net/filedata/fetch?id=2056435 is supplied by a SN1701012RJTR in U207. This goes via a mosfet U234 in FDG316P_SC70-6 which protects from PD burnout (schematic note).

                  I don't see that U234 would make 3V3 into 5V but I also suspect something is amiss between U207 and U15 (eeprom). Can somebody double-check my logic here and speculate what's going on?

                  Many thanks

                  Comment

                  Related Topics

                  Collapse

                  • Whale linguini
                    p14s Gen 2 thunderbolt eeprom
                    by Whale linguini
                    I have a p14s gen2 board says

                    HT4B0/HP4B0/HT5B1/HT4B2
                    NM-D352 Rev 1.0

                    I need to flash the thunderbolt eeprom, laptop now fails to charge or power on. Can anyone confirm the IC? I think it is u6701 but I cannot read the chip (read the text on the top I mean). I don't see anything else that really looks like it would be it.

                    Could anyone help me out if this is the correct one? I am new and still learning some so I wanted to be sure.

                    Thank you!
                    08-26-2024, 07:24 AM
                  • gsoft
                    Thinkpad T480 Thunderbolt problem not charging
                    by gsoft
                    Hi, I have a T480 not charging batteries, I try another charger but the problem is not charger but I think is the thunderbolt. I follow some tutorial to flash the correct firmware by a ch431a. First I erase the chip, than flash with a null.bin and finally flash with the TBT.bin padded, but the laptop continue to not charge the batteries. The problem is the two batteries are empty and I can't boot the laptop. My question is: is necessary, after flashing, to boot the laptop to complete the process? So can be this the reason why the thunderbolt not charge batteries also with the new unbugged fir...
                    07-14-2023, 12:35 AM
                  • Whale linguini
                    p14s Gen 2 thunderbolt eeprom dump
                    by Whale linguini
                    P14s Gen 2
                    HT4B0/HP4B0/HT5B1/HT4B2
                    NM-D352 Rev 1.0
                    sn PF-35P15W

                    Requesting thunderbolt dump

                    also attached is the tbt dump. I extracted the bin from the cap file and modified it, not sure if it's correct. also didnt work....
                    09-03-2024, 01:56 PM
                  • SidneyCanadas
                    93C46 and 93C56 EEPROM
                    by SidneyCanadas
                    I tore apart my instrument cluster for my 2008 Toyota Corolla made in 2007 in Cambridge, Ontario, Canada and pcb location: IC6=EEPROM is a surface mounted device with part # of 93C46W7, some claim the EEPROM out of a Camry part # 93C56 will allow odometer to roll over 299 999 KM or miles. The data sheet for both is below:

                    https://cdn.badcaps-static.com/pdfs/...c6e42b20d3.pdf 2

                    Anyone know if the Camry one will work on my Corolla?. And which EEPROM reader/writers do you all recommend I purchase that will allow me to read the old values of the old...
                    06-14-2023, 01:16 PM
                  • Document Archive
                    HP EliteBook x360 1040 G6 + Thunderbolt Dock 120W G2 Hybrid (2-in-1) Specification for Upgrade or Repair
                    by Document Archive
                    This specification for the HP EliteBook x360 1040 G6 + Thunderbolt Dock 120W G2 Hybrid (2-in-1) 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 1040 G6 + Thunderbolt Dock 120W G2 boardview and 1040 G6 + Thunderbolt Dock 120W G2 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-06-2024, 03:21 PM
                  • Loading...
                  • No more items.
                  Working...