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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • inflex
    Badcaps Veteran
    • Aug 2012
    • 545
    • 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
        • 545
        • 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:	738
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
            • 4437
            • 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

            • ahmedtou
              HOW CAN I UPDATE HL-DT-ST BD-RE GGW-H20N XA02
              by ahmedtou
              Hi everyone,
              help me please


              I have an HL-DT-ST BD-RE GGW-H20N with ROM version: XA02.




              When I tried to burn a 25GB Blu-ray disc using ImgBurn, I got an error.
              I will share all the details with you, including the disc information.




              Code:
              HL-DT-ST BD-RE  GGW-H20N XA02 (ATA)
              Current Profile: BD-R
              
              Disc Information:
              Status: Empty
              State of Last Session: Empty
              Erasable: No
              Free Sectors: 12,219,392
              Free Space: 25,025,314,816 bytes
              Free Time: 2715:27:17 (MM:SS:FF)
              Next
              ...
              08-27-2025, 08:49 AM
            • m1ch43lzm
              Notice to users of XGecu TL866II Plus / T48 / T56 / T76 programmers regarding BIOS backup file size
              by m1ch43lzm
              Hi everyone
              I noticed on the Xgpro software the BIOS backup files have extra bytes at the end when reading some chips, this is because the Xgpro software also reads the OTP region of those flash chips, and by default will append that region to the saved file
              Programmer models: XGecu TL866II Plus / T48 / T56 / T76

              Example: GD25LQ128D (1.8V), IC size is listed as 0x1000000 Bytes (16777216 bytes) + 0xC00 bytes, those extra 0xC00 bytes will be appended to the end of the saved file by default, resulting in a file size of 16780288 bytes
              There's also an extra OTP Secu.R...
              09-06-2025, 05:47 PM
            • 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
            • Citymin
              NT955XED (Samsung Galaxy Book2 Pro - 15.6) BIOS dump file Request
              by Citymin
              Hi all,

              My Samsung Galaxy Book 2 Pro 15.6-inch laptop has no display and won't boot.
              The charging red LED lights up, but the charging screen doesn't show any indication.
              When I press the power button, the blue LED cycles on and off three times, then the screen doesn't turn on, and the device won't boot.
              (I've tried removing the battery and resetting the device, but the issue persists.)

              NoteBook Model name : Samsung NT955XED-KK51G(Galaxy book2 pro, i5-1240p, 15.6inch AMOLED)
              PCB model name : Venus2-15-5G(REV1.2), Venus2-15 ADL NPC
              S/N : 5RNK9FFT70...
              08-05-2025, 05:12 AM
            • Loading...
            • No more items.
            Working...