TDS 500~700 base designs

TDS 500~700 series uses common base design depending on when is the time range the model is produced, so the model number itself doesn’t tell you much about commonalities. For example, TDS 520 is common with 540, 620, 640 because they are all the first generation produced by SONY. Their main PCBs assemblies are significantly different from later ones like TDS 540A (Note the ‘A’). They don’t even use NVRAM chips with the same pin-out.

Yet TDS 540B is very different from 540A as it has InstaVu and no SMD aluminum electrolytic capacitors. It’s another generation. Yet even more confusing is that ‘A’ and ‘B’ does not represent different generations across the board. It only ties to the generation associated with the base model number. For example, TDS 500B, 600B and 700A has the same basis (and therefore the same service manual).

So far, service manual is the sure-fire way to tell what models shares the same design. They only removed a few components and ID resistors to make a lower-end version for market differentiation. The prices are no longer consistent in the used market, so sometimes it might be possible just to takes parts from a higher end unit and downgrade it with resistor ID for repairs. TDS boards are field-adjusted before they ship, and has more mechanisms (like bandwidth-limiting resistors), so it’s much more involved if you want to get free bandwidth. I heard from forums that if you try to turn a monochrome processor board into color processor board, you’ll have to install extra chips and components.

 

Loading

All you need to know about logic (analyzer) grabbers

I recently bought a 1lb grab-bag of logic analyzer grabbers, predominantly Agilent grabbers. There are HP, Tektronix, EZ-Hook, ZeroPlus, Rigol and Hantek as well, plus a few random pieces like ground leads and micro-test (hook) clips.

The EZ-Hook grabbers looks very suspiciously identical to Agilent/HP grabbers, so I looked it up to see if there are rumors about EZ-Hook OEM-ing for them. In the process, I found this very useful website that tells you almost everything you can find about logic grabbers produced:

https://sigrok.org/wiki/Probe_comparison

Just in case if the website changes in the future, there’s always wayback-machine:

https://web.archive.org/web/20171011195425/https://sigrok.org/wiki/Probe_comparison

 

Loading

Simple dialog box built in windows

Back in the days, we use “net send” to display dialog boxes (I used it to chat with my friend after we dial up to the other’s computer).

Since Windows XP, there’s a more intuitive tool to do the same. It’s convenient if you want to add GUI interactions so that the user won’t ignore the text on the command prompt screen:

msg %SESSIONNAME% "your message goes here"

 

Loading

Visual C++ 2008 Redistributable (VC_RED) unpacks temp files to root folder

Over the last decade I was wondering if I did something wrong or my computer was infected by some rootkit that some random installation files shows up in the root folder.

Turns out it’s a stupid bug (didn’t expect something this low from Microsoft) that it unpacks temporary files of Visual C++ 2008 redistributables to whatever’s that’s largest storage space’s ROOT folder!

It’s fixed in SP1, but some old programs distributing the first revision will crap all over the root folder of seemingly random drives (actually, it’s the one with the most free space). Nasty!

https://support.microsoft.com/en-us/help/950683/vcredist-from-vc-2008-installs-temporary-files-in-root-directory

I made a batch file to clean it up. It’s not robust or up to any good programming standards (should have checked the hash signature before deleting if I was paid to write that, but I wasn’t). This batch file accepts an input like where the drive letter was littered (like E:\), or without input arguments, it will just pick the root folder of the current location.

@ECHO OFF
echo.Clean up Visual C++ 2008 temporary files (due to a bug)

set "old_dir=%cd%"

if "%~1" == "" goto Main
cd /d %1

:Main
REM must be a root folder of some drive
cd /

REM Display current drive
echo.%cd:~0,1% drive is going to be cleaned. Press Ctrl+C now to abort now or any other key to continue.
pause

del install.exe 
del install.res.1028.dll 
del install.res.1031.dll 
del install.res.1033.dll 
del install.res.1036.dll 
del install.res.1040.dll 
del install.res.1041.dll 
del install.res.1042.dll 
del install.res.2052.dll 
del install.res.3082.dll 
del vcredist.bmp 
del globdata.ini 
del install.ini 
del eula.1028.txt 
del eula.1031.txt 
del eula.1033.txt 
del eula.1036.txt 
del eula.1040.txt 
del eula.1041.txt 
del eula.1042.txt 
del eula.2052.txt 
del eula.3082.txt 
del VC_RED.MSI
del VC_RED.cab 

echo.Done
cd /d %old_dir%

No warranty or support of any sort if you use it. That’s why I wouldn’t even make it downloadable. Just copy and paste it to a batch file yourself, and keep in mind that you are on your own.

Loading