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

Collapse
X
 
  • Time
  • Show
Clear All
new posts

  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Do you have any information on this type of files .cad and .fab ?

    Do you think that it is possible to extract and try to read with another viewer.
    It would seem unisoft and fabmaster would be the only ones to do this work maybe?
    it might be easier to retrieve the right information

    https://www.unisoft-cim.com/pcbview.php
    https://smtnet.com/company/index.cfm...mpany_id=41319

    I think you have already done research on this side
    Attached Files

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by mmu
    Oh gee, all of this for a few strings… Nice teamwork!
    Agreed, that one was a bit disproportionate.

    I've been going back over your python dump_tvw code and migrated a lot of stuff in to my C decoder and things are starting to come together (sadly the whole pins/parts on the boardview won't really happen until right at the end ).

    ie, here's a dump so far of what I've got with the B562.tvw file ( managed to get the nets out on this one ).

    Still some issues with parsing on more complicated boards with different pad options / types and still haven't worked out the block of data after the nets but before the part:pin definitions (with all the probe data).
    Attached Files

    Leave a comment:


  • mmu
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Oh gee, all of this for a few strings… Nice teamwork!

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    NOW it's fixed....


    Header 1: 'O95w-28ps49m 02v9o.' => 'Tebo-ictview files.'
    Owner: 'G5u9k8s' => 'Landrex'
    Password: 'B!Z@6sob' => 'G!G@byt3'
    Date: 'Eksq dc, beeh' => 'July 21, 2016'

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    SUCCESS!!! Finally. That was fiddly.

    The key was that digit (plain) to encoded you have to use 3-rotate, but for alpha (plain) use 10-rotate.

    EDIT: okay, not *quite* success yet, the date is wrong... should be July 26, 2016 :sigh:



    Header 1: 'O95w-28ps49m 02v9o.' => 'Tebo-ictview files.'
    Owner: 'G5u9k8s' => 'Landrex'
    Password: 'B!Z@6sob' => 'G!G@byt3'
    Date: 'Eksq dc, beeh' => 'July 21, 2908'
    Last edited by inflex; 11-21-2021, 08:51 AM.

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    I have confirmed that it should read "Teboview-ict file" ( O95w-28ps49m 02v9 ). With that knowledge I will now try fix my algorithm

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by inflex
    Based on your technique, it appears that there's 10 columns total for the normal letters; I'll code this up and see how it goes then.
    exactly, we saw it at the same time

    @paul :look your mp sometimes

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by inflex
    Oh very smart!
    ssssssssssssss = nmlkzyxwvu_nmlk
    ______________12345678910_1234

    you notice that after 10th it starts again

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by Maxpower3
    I force the number of characters to have the rest of the decoding
    Based on your technique, it appears that there's 10 columns total for the normal letters; I'll code this up and see how it goes then.
    Attached Files

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by Maxpower3
    I force the number of characters to have the rest of the decoding
    Oh very smart!

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by inflex
    How did you do this conversion?

    The mapping I have now ends after 8th


    Code:
    	 { 'n', 'm', 'l', 'k', 'z', 'y', 'x', 'w' }, // 's'
    I force the number of characters to have the rest of the decoding
    Attached Files

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by Maxpower3
    ssssssssssssss = nmlkzyxwvunmlk

    look 9th
    How did you do this conversion?

    The mapping I have now ends after 8th


    Code:
    	 { 'n', 'm', 'l', 'k', 'z', 'y', 'x', 'w' }, // 's'

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    ssssssssssssss = nmlkzyxwvunmlk

    look 9th

    my decoder is bad
    s : n m l x z y x w
    Last edited by Maxpower3; 11-21-2021, 07:21 AM.

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    The decoding is fine until the 9th character; ie, we decode 'Y960v50n' to 'December' correctly but something changes in the algorithm after the 8th char and I'm not sure what yet.

    I'm not modifying the code in the file, I'm trying to make my decoder function correctly convert 'O95w-28ps49m' to 'Tebo-ictview' based on an assumption that that is what the header *should* be decoded as.

    Right now we get the first 8 characters right if I don't increase the rolling-index for the '-' ( ie, only increase for 0-9, a-z, A-Z ), but the algorithm still breaks after the 8th character and interestingly there's no mapping from a 's' encoded char to a 'v' output (closest is 'k' input for rolling-index zero (0).

    However after that char, the rest of the letters are then 1 index too far ahead.

    Maybe the header string isn't meant to be decoded to "Tebo-ictview" but it seems like it would be a natural thing given that we have "Tebo-ict" for the first 8 characters of decoded string.

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by inflex
    If I modify my decoder, and make it so it keeps rolling with the rolling index on a '-', we start to see => Header 1: 'O95w-28ps49m 02v9o.' => 'Tebo-ictnjfu ehodv.'
    if you change this, the program no longer recognizes the filename and therefore does not accept it, yes it designates the type of files

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    continuous rotation in relation to the number of characters

    zzzzzzz = u t s r q p o
    zzzzzzzzzz= u t s r q p o n m l

    I saw that I made mistakes in the decoding

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    If I modify my decoder, and make it so it keeps rolling with the rolling index on a '-', we start to see => Header 1: 'O95w-28ps49m 02v9o.' => 'Tebo-ictnjfu ehodv.'

    Which makes me think that the first part there should be Tebo-ictview, not Tebo-ictnjfu, because if you look iat it, "njfu" is actually close to "view" as the last 3 letters are one letter too advanced, jfu => iew; so that makes me think that it should be Tebo-ictview... best I go fix my decoding system


    Code:
    int TVW_decode_string( char *dest, char *s, ssize_t l ) {
    	ssize_t i = 0;
    	int r = 0; // roll position
    	while ( i < l && *s ) {
    		if (isalnum(*s)) {
    			dest[i] = TVW_dec[(ssize_t)*s][r % 8];
    			r++;
    		} else if (*s == '-') {
    			dest[i] = *s;
    			r++;
    		}
    		else {
    			dest[i] = *s; 
    			r=0;
    		}
    //		r++;
    		i++;
    		s++;
    	}
    	dest[l] = 0;
    	return 0;
    }

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    So far all the sequential, unbroken strings are decoding correctly that I can ascertain, though they don't contain numbers ( decoded ).

    Two things I need to clarify are;

    1) Does the rolling index halt, or reset (to zero) when a non-alpha/numerical character is encountered in the string? ( I'm strongly suspecting a reset to zero )

    2) Are the numbers being correctly decoded ( probably just have to go through many files and see statistically what the decoding results are. Lower value (0~6) seem okay but there might be an issue with 8~9 :shrug:

    Leave a comment:


  • Maxpower3
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    others chars not coded ,I would rather be sure

    i will look for the dates
    Attached Files

    Leave a comment:


  • inflex
    replied
    Re: WANTED: Teboview / TVW file format specification to write OpenBoardview decoder

    Originally posted by Maxpower3
    ha I was wrong , happy if that can help you
    Some of the dates are coming out strange; not sure if that's because they're using a different calendar (non-Georgian) or the data isn't being decoded right.

    ie, I'll get "October 89, 3899" or similar

    Leave a 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
  • to5it0
    Need Clean BIOS/EC Bin File for Lenovo ThinkPad Yoga 11e 2H1703-27220F Rev. A Marked as U2501 on the motherboard.
    by to5it0
    Need Clean BIOS/EC Bin File for Lenovo ThinkPad Yoga 11e - Stuck with 0275 Error CMS

    Hello everyone,

    I am attempting a repair on a Lenovo ThinkPad Yoga 11e that is currently stuck at boot with the error: "0275 error CMS" even after setup new bios battery and will not allow me to enter the BIOS/Setup.

    This is a critical issue that I believe requires flashing the BIOS chip directly using a programmer (e.g., CH341A/RT809H), as standard software updates or resets are not possible.

    I have opened the laptop and identified the main BIOS chip...
    10-24-2025, 01:35 AM
  • 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
  • Loading...
  • No more items.
Working...