WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • inflex
    Badcaps Veteran
    • Aug 2012
    • 544
    • Australia

    #121
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Just bumping this - it's terrifyingly been 2years and I still haven't had time to finish this format, so much so that I don't even recognise my own posts / documents from the past.

    Anyone else out there had more success?

    ImHex in the last two years has become a brilliant product btw, if you do any sort of file reverse engineering then you really do want to try it ( and it's open source too ).
    YouTube Repair Videos - https://www.youtube.com/user/19PLD73
    FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

    Comment

    • ikari_01
      New Member
      • May 2023
      • 2
      • Germany

      #122
      I just remembered this lol. Wanting to get my fan controls working with LibreHardwareMonitor I ended up having to dive into the TVW format a bit. (Although in the end I used TeboView to figure out the stuff I needed, I noticed that OpenBoardview support was a thing you were trying to accomplish, so I took a shot).

      I did put in a bit of work a while ago, then had to take care of other things and did not get back to it. Nevertheless I think I got most of it sorted out as far as data relevant to OpenBoardview would be concerned. The obvious challenge is to know all the record sizes because it's a strictly sequential format, somewhat like a "binary Gerber" with lots of extra info of course. I wrote a little parser that can read pads, parts and nets but right now it needs some tweaking per TVW file because of a wrong assumption I made about layer indexes. (Layer references in the pad descriptions are based on the order of the layer descriptors at the beginning of the file but I had assumed they were just constants)
      I found there were two types of layer descriptors, some going 00-03-02-01, others just being 01-02-01 (records are shorter - maybe simpler?) and was going to implement proper parsing but didn't get around to doing it so far.
      So I got all the part-pad-net association figured out but lacking some parts on the layers. I'm going to put the code on Github as-is later, maybe it helps figure out some of the missing pieces.

      As of now the offsets for parts, nets, top and bottom layer pad lists need to be specified manually since the parsing of lots of secondary stuff is missing:

      - file header
      - layer headers (pads are fine)
      - probedb
      - aperture lists (structs are partially there but polys are missing).

      When run it will list all the parts with associated pins and net names.

      Comment

      • inflex
        Badcaps Veteran
        • Aug 2012
        • 544
        • Australia

        #123
        I knew I forgot to update something recently... needless to say, I've gotten through the bulk of the format now and it's running.

        Click image for larger version

Name:	Screenshot at 2023-11-26 15-41-20.png
Views:	692
Size:	621.1 KB
ID:	3155565
        YouTube Repair Videos - https://www.youtube.com/user/19PLD73
        FlexBV BoardView software - Linux/OSX/Windows - http://pldaniels.com/flexbv

        Comment

        • ikari_01
          New Member
          • May 2023
          • 2
          • Germany

          #124
          Ohhh, sweet! So it's definitely redundant now but here's my current state: https://github.com/mrehkopf/tvwread

          Comment

          • piernov
            Super Moderator
            • Jan 2016
            • 4435
            • France

            #125
            ikari_01 not redundant since you publish source code and it's MIT licensed, thanks for that.
            For OpenBoardView, parsing pad coordinates and associated part name and net name would already be a very good start.
            OpenBoardView — https://github.com/OpenBoardView/OpenBoardView

            Comment

            Related Topics

            Collapse

            • testaccgta
              Unable to verify IC or write/erase/flash BIOS file to XMC QH128AHIG SPI chip using NeoProgrammer/AsProgrammer
              by testaccgta
              Hi, everyone!

              I've recently acquired two brand new SPI chips to replace the one currently in my Acer A514-54G laptop MB (FH5AT LA-K092P). The reason why I'm replacing the current SPI chip is because I had some difficulties with a third-party IT assistant who pretty much lacked the soldering skills and ended up destroying the current SPI chip soldered to my MB from factory.

              I've decided to do this on my own because I spent the past month or so learning some soldering skills and BIOS modding through Badcaps and WinRaid forums, hence the attempt. I've also chosen to buy...
              09-01-2024, 08:24 PM
            • Forest79
              Lenovo ThinkStation P520 BIOS file needed
              by Forest79
              Hello,

              I got a Lenovo ThinkStation P520 (Type 30BF) from a friend, asking me for a repair. Windows 11 offered a firmware upgrade as an optional update, and it failed.
              The emergency flash procedure from the hardware manual has also failed. So, I asked an acquaintance with better skills to flash the BIOS directly.

              However, the chip (a Macronix MX25L25673GMI-08G) has a size of 32 MB, and the BIOS file from the Lenovo website (extracted with UEFITool) has a little more than 16 MB. Thus, the software my acquaintance used (SiberiaProg v1.45, with a CH341A Programmer)...
              07-23-2023, 07:39 AM
            • Zentech
              Unable to Write Bios File to SOCIC 25Q128FVPQ Chip
              by Zentech
              bios chip: 25Q128FVPQ
              MB SN: 6050A2822301-MB-A01
              when I first got this laptop the bios was locked, I unsoldered and unlocked the bios. the problem is that I lifted a couple of pads from the MB. So I couldn't use the WSON chip that comes with the board, so I got an equivalent bios chip SOCIC 8pin. The problem is that I'm trying to write the file (original) to the chip and it will not program it. I'm using NeoProgrammer.
              Here's the error
              Code:
              Current programmer: CH341
              15:29:00
              Programming memory(verifying)...
              Verification error on address: 00133000
              ...
              03-10-2022, 02:39 PM
            • hazem3636
              need Bios Bin file Dell server 220
              by hazem3636
              hi everyone

              i need dump file for dell server r220
              i have download Flash BIOS executable file but i dont know how to conver it to Bin file

              i have check on youtube there is some programs are doing this method of creating Bin file from ExE file .


              if anyone has this method please need his supporting .

              all the best

              EXE file is attched and Original Bin file from the Bios Chip is attached also

              and dell website "https://www.dell.com/support/home/en-us/drivers/driversdetails?driverid=mrxv...
              11-05-2022, 06:20 AM
            • traxformania
              TONGFANG "GM7TG7P" Bios Password Problem?
              by traxformania
              Hello,

              I'm using TONGFANG "GM7TG7P" model laptop for over 3 years and i'm entering the same bios administrator password everyday. My laptop has Aptio BIOS (American Megatrends, AMI).

              But today it's not accepting my password. I'm %100 sure i'm entering the correct password.

              I'm trying to reset my bios without success.

              I tried :

              -I removed the BIOS battery and main battery. Waited for a long time but it didn't work. They already stated in the user manual that the password will not be reset even if the batteries...
              11-15-2023, 07:32 AM
            • Loading...
            • No more items.
            Working...