To My Readers



If this is the first time you're visiting my blog, thank you. Whether you're interested or just curious to find out about PCB reverse engineering (PCB-RE), I hope you'll find something useful here.

This blog contains many snippets of the content in my books to provide a more detailed overall sampling for my would-be readers to be better informed before making the purchase. Of course, the book contains more photos and nice illustrations, as evidence from its cover page. Hopefully, this online trailer version will whet your appetite enough to want to get a copy for yourself.

Top Review

I started doing component level repair of electronics with (and without) schematics more than 40 years ago, which activity often involves reverse-engineering of printed circuit boards. Although over the years my technical interests have shifted into particle beam instrumentation, electron microscopy, and focused ion beam technology fields, till this day——and more often than not——PCB repairs have returned multiple multi-million-dollar accelerators, FIB, and SEM instruments back to operation, delivering great satisfaction and some profit.

Many of the methods described by Keng Tiong in great details are similar to the approaches I've developed, but some of the techniques are different, and as effective and useful as efficient and practical. Systematic approach and collection of useful information presented in his books are not only invaluable for a novice approaching PCB-level reverse engineering, but also very interesting reading and hands-on reference for professionals.

Focus on reverse engineering instead of original design provides unique perspective into workings of electronics, and in my opinion books by Keng Tiong (I've got all three of them) are must-read for anybody trying to develop good understanding of electronics——together with writings by Paul Horowitz and Winfield Hill, Phil Hobbs, Jim Williams, Bob Pease, Howard Johnson and Martin Graham, Sam Goldwasser, and other world's top electronics experts.

Valery Ray
Particle Beam Systems Technologist

Thursday, May 31, 2018

ScanCAD Facebook

Just received a Facebook notification this morning that ScanCAD mentioned my name in their page, so decided to check out what's up. Turns out:


In appreciation, I left the following comment:
Thanks to Bill and Jeff for contributing the longest chapter in the book, with useful insights and comparison of different methodologies in PCB-RE.
Hope to catch up with you guys again...

Thursday, May 17, 2018

Surprise from the Kingpin

This morning I received a surprise email from Joe Grand (aka Kingpin) giving me a brief update of his encounters at the recent Teardown 2018 event in Portland, Oregon his hometown. He ran into his friend John McMaster and decided to pose for a selfie with my book, PCB-RE: Tools & Techniques which, incidentally they're both contributors too:


Now that's totally awesome!

Joe also gave away copies of the book to Bunnie Huang who has a long history of hacking and reverse engineering products, as well as Sean Cross 'xobs' of Studio Ko-Usagi. And both of them 'happen' to reside in the same island-state as me too!

Things are really heating up in the PCB-RE community, just like the weather in Singapore...

Monday, May 14, 2018

Teardown: Portland 2018

The annual Teardown Convention was held in Portland, Oregon this year and had just ended. It is an event where hackers, hobbyists and designers converged and share their ideas, discoveries and inventions through talks conducted in various rooms equipped with the necessary AV equipment:


Portland, Oregon is the hometown of Joe Grand the kingpin so it's no surprise he graced the event with his presence and presentation. What aroused my interest, however, was a talk given by Jeremy Hong, a cool young dude from Wright State University who runs his own business. In his first talk at the convention, he actually recommended my book PCB-RE: Tools & Techniques to the audience:


How cool can that be? In appreciation, I tweeted him:
Thanks, Jeremy, for recommending my book at your Crowd Supply Teardown talk. I owe you a big one! ;)
to which he replied:
No problem! It’s an excellent book and it really needs to get out there.
Since he's also into PCB reverse engineering, I asked if he's interested to write a chapter for my third book, and I got more than what I bargained for:
Definitely! It is an honor. I think I may have a few people in mind (that may be able to contribute to the book as well...)
Well, looks like there is hope for the trilogy book after all...

Friday, May 4, 2018

Korean Extravaganza!

Well, not exactly spectacular but the thought of having my book being listed in a Korean blog as a textbook for the PCB-RE subject is reason enough to dance with joy. Here's the follow-up to my previous post:


Seems that my Korean reader has also bought the sequel book, PCB-RE: Tools & Techniques, and given his review on his blog (translated by Google and paraphrased for readability):
There is a lot of content related to the practical work that can be used as teaching material this time. I have not gone through the book, but it's similar to what I'm currently teaching. It is a fact that information related to this field is rare. I am really grateful to the authors for publishing this book on the PCB-RE subject. We will do our best to promote the practice of this niche skillset in Korea.

The reader is even kind enough to provide a link to my blog, and advised his readers to read the book if ever they buy it. As they'll say in Korea, "Kamsahamnida!" That's 'thank you' if you're wondering...

Thursday, May 3, 2018

100th Post!

This is my 100th post and what better way to celebrate it than a review from a Korean reader of my book, The Art of PCB Reverse Engineering? I stumbled upon his blog by accident and was delighted that someone of a nationality thought to be closely related to the Chinese actually bought the color edition of the book, even though he seems not to have a good grasp of the English language!


Of course, the blog is in Korean but thankfully there's Google translate to give a rough (and rather awkward) translation that is still bearably understandable. If you're curious, click on the picture to go to his website and take a look.

Have fun...

Tuesday, May 1, 2018

First Review from the UK

Am happy to find a new review from a reader in UK for my book, PCB-RE: Tools & Techniques:







Fantastic book, with loads of interesting information. From using the right light wavelengths to see through solder mask, to the theory and practical uses of X-Ray to see the inner layers of a PCB; the book has plenty of information at all levels of complexity. 
Highly recommended.

I really appreciate readers who take the time to give their reviews; it's not only a strong endorsement but a great encouragement to spur me to write further and better!

Saturday, April 28, 2018

Change of Plan

Readers who're following my blog are aware that I am in the process of writing my third book on the subject of PCB-RE, a sort of trilogy to the two books I've written.


In the process of drafting the chapters outline, I decided that a book that solely focuses on my own PCB-RE experience is not adequate to give an overall feel to the practical aspect of this niche skillset. Therefore, it is in the interest of the readers that I should again invite practicing engineers to share their personal journeys.

I have just sent out invites to five engineers which I feel have the right combination based on the works they had done. I have also notify Marc Hickling of ENA Electronics Inc. of my intention to include a case study from their side of the story as well, and received a positive reply. There is still room for 2-3 more so if there are readers out there interested to showcase their PCB-RE works, don't miss out on this opportunity: drop me a note in this post!

Looking to hear from you soon...

Wednesday, April 25, 2018

Goodreads @ Google

While Googling 'PCB reverse engineering', the following ad turned up right beside the search results:


Quite a nice surprise to see my book and name appearing. Hopefully, engineers who are looking for this subject will find something helpful and informative through what I shared, both in the printed pages as well as my online blog!

Friday, April 20, 2018

Trilogy - Foreword & Preface

Was overcome with the urge to write, so I sat down in front of my PC and gave some thought on the Preface for the trilogy. After about two hours...


...and that's only the first half.

As for the Foreword, well... in response to a request from a reader who left a comment on my post Trilogy to PCB-RE dated March 16, I have reserved it for Amir Pasalic, CEO of ENA Electronics Inc. When the third book is firmed, I will write to him. Hopefully, he will be kind enough to pen the words...

Sunday, April 15, 2018

Case Studies in Musing...

While organizing the materials for my third book on PCB-RE, I revisited the archives for the second book and found a rare gem. There was one chapter that I had initially intended to include but had to lay aside because two of the contributors were not available. I had done some preparation work on that chapter and it would be a pity if I leave it half-baked. Here's a glimpse of two sample pages:


If the trilogy works out, readers will get to see three other real world examples showcased in brief in one chapter. It is too early to set a date as to when the third book will see the light of day. If interests in the PCB-RE topic picks up (as indicated by the sales of the two books), I might consider setting aside more time to work on it.

For now, I will have to attend to other priorities, though...

Wednesday, April 11, 2018

Windows 10 BSOD on Cold Boot

Lately my desktop PC has been plagued with the dreaded BSOD (blue screen of death) problem on cold boot up with random reported issues. It would, however, go away upon restart and functions well for the rest of the time.


I suspected that it could be due to the new RAMs that I installed previously not too long ago. After researching online, I was more or less certain that some older motherboards could not reliably handle 8GB of memory or more. To confirm this fact, I removed two 2GB sticks and replaced with two 1GB modules, reducing the RAM to 6GB total. It was spot on! Now the PC boots up normally.

Looks like I'll have to be content with this configuration for now. On a positive note, the two extra 2GB sticks can serve as spares, just in case.

Tuesday, April 10, 2018

70 Countries and Counting...

As of today, my blog has hit 6,066 page views with readership spanning 70 countries:


Considering that I started posting just over a year ago, this is quite encouraging. I'm sure, however, that more can be achieved if existing readers and visitors do their part to help spread the word and share the link (visio-for-engineers.blogspot.com) to friends, forums and the engineering communities which they belong. It's a small favor to ask in return for the many hours of efforts put into writing the articles.

To those who have done so or will do so, I convey my heartfelt thanks.

Wednesday, April 4, 2018

Inside Cover Page (Trilogy)

Had some time off my busy schedules and commitments to take a breather, so decided to work on the inside cover page of the third book:


Reminds me of the 'for Dummies' series books with the same shaded page background for their inner cover pages. Haha, had wanted to do something like that for a long time...

Sunday, April 1, 2018

ENA Electronics Laboratories

Among the readers who bought my books, there are quite a number who work in the PCB-RE industry. One example is Amir Pasalic, the CEO of ENA Electronics Laboratories in Hamilton, Ontario, Canada. Though his company's main business is in industrial electronics and servo motors, it is interesting to note that PCB repair and reverse engineering are two important services listed.


Readers who want to find out more can go over to the ENA website to better understand the PCB-RE process and other capabilities this company offer. Just click on the graphics above to get teleported to the destination.

Thursday, March 29, 2018

New RAMs, New Life!

The SDRAMs I ordered arrived sooner than expected. They are half the height of my original Kingston and Hynix modules:


Removed the existing two 1GB RAMs and plugged in the new ones into the EP35-DS3 motherboard, then powered up, held my breath and watched the PC booted up... Success! Just to be sure, I double-checked the RAM available:


Yep, it's there: 8GB worth of memory. A 10-year old desktop has been given a new lease of life. Let's hope it will last another 3-5 years...

Wednesday, March 28, 2018

5-Star Review from a PCB-RE Engineer

This morning I received a FB message from an engineer in Canada, expressing his appreciation for my sequel book. He was so impressed after reading it, he left a review on Amazon.ca:


I'm a professional reverse engineer by trade and have worked on many reverse engineering projects at ENA Electronics in Hamilton, Canada (a sample work can be found at the ENA Electronics website). Many of the techniques that are mentioned in this book we are already using long before the author put it together based on our own research and findings. BUT Keng Tiong did a remarkable job of pooling people from all over the industry and bringing their publications and research together in one place and putting the valuable content into one book. He took the initiative that many of us wished we could have done and made it happened.
I opened the book yesterday at 6 pm and read it through until midnight, I couldn't get enough of it! Finishing the book left me brimming with even more ideas and concepts that can be possibly put in place in a professional environment to ensure our customers receive the best quality service and support, making sure those legacy products last longer into the future. 
Hats off for the great work! I look forward to your follow-up in the trilogy!

Tuesday, March 27, 2018

Embedding Components in PCB

In recent years there have been discussions and papers on embedding components into printed circuit boards among manufacturers and designers alike. From a PCB designer's point of view, there are advantages to this approach, such as improved signal integrity due to shorter trace runs and smaller lead inductance resulting in reduced EMI. On the flip side, there are also challenges since current EDA tools lack support for this kind of design requirement in terms of component library and routing strategies. Manufacturers likewise face new difficulties implementing this new technology in PCB fabrication, most notably the need for major overhaul in their manufacturing process and equipment.


Doubtless, it will be the end-users or customers who will determine whether this new approach takes off or remain a novel idea on the drawing board. Those looking to protect their designs from hackers and reverse engineers will probably give it some consideration. However, in the long run, it will be the cost of maintenance and repair of these PCBs that will determine the outcome. Still, those of us in the PCB-RE business will need to keep an eye on its development; it may become a reality in the not too distant future, perhaps 3-5 years from now.

Friday, March 23, 2018

GA-EP35-DS3

I'm a DIY person, so it's not surprising that I prefer to setup my own PC by buying the parts and assembling them myself to the configuration that I wanted. Since the 386 era, I had assembled a couple of PCs and when they outgrew my needs, I'd upgrade the CPU, RAM, video card or simply assemble a new PC and give away the old PC to some needy students. My current PC is just over 10 years old now:



The motherboard is a Gigabyte GA-EP35-DS3 with an E8400 Intel Core 2 Duo processor and four 1GB DDR2 SDRAMs. The video card is an NVidia GF8600GT with 512MB RAM. The original 250GB hard drive running Windows XP had died and was replaced with a 500GB running Windows 7, followed by a 1TB running Windows 10 since mid last year.

Recently, my old trusty desktop PC started showing signs of aging. Sometimes it let out a long beep followed by a few short beeps as it power up and simply hangs; other times, it run through a series of POST, turns off and repeats the same sequence again. This usually goes away after I adjusted the video card and supported it with an ice-cream stick to keep it level since the motherboard is affixed to the chassis vertically. Yeah, it's a crude fix but hey, it works...

Anyway, two days ago when it booted up, I noticed that the reported RAM was 3GB instead of 4GB and realized that one of the SDRAM module is dead. This was confirmed when I swapped them and the PC just hanged and refuse to boot. In the end, I took out two of the modules and reduce the memory to just 2GB. Now it boots up normally.


I'm not about to throw my old workhorse away just yet since it still functions well. In fact, I decided to give it more muscle and ordered a set of four 2GB DDR2 SDRAM modules from eBay @ $20. It should arrive in two weeks time and hopefully, that will stretch the PC's usefulness another 3-5 years. That's the maximum memory capacity the motherboard can handle anyway.

Ps: I had the foresight to buy a motherboard that uses solid tantalum capacitors instead of the leaky electrolytic type. That ensures better durability and is now proven to be the best value for money decision I've made.

Saturday, March 17, 2018

Trilogy to PCB-RE

As the dust settles over the release of PCB-RE: Tools & Techniques, I am thinking of writing the third and final installment to complete the trilogy on the PCB-RE subject. This third volume will discuss a real-world example of my successful attempt at reversing a whole electronic unit comprising three cards: an analog PCB, a digital PCB, and a mixed-signal PCB.

The book cover concept is shown below:


I'm not sure when I will start work on it, as I need to juggle my priorities and commitments. Probably will do some background work of organizing my materials when I find the time. Readers who have bought my two PCB-RE books, please read the back cover and leave your comments on what you'll like to see included in this upcoming book.

And oh, by the way, I'm also deliberating on who to write the Foreword (or whether there should be one anyway). If you know of anyone who is experienced in PCB-RE, kindly recommend. Thanks!

Wednesday, March 14, 2018

Hardware Virtualization

These days, virtual machines (VMs) are gaining popularity as legacy systems face obsolescence and the PC platform becomes more powerful. Hardware virtualization is an attempt to keep old software and OS running, albeit in a new and foreign system that emulates the hardware environment in which the binaries of the original systems operate. This is important, especially if the software is still required for a company or business to continue its day-to-day operation, when the legacy hardware no longer functions.

Some examples are VMware workstation, Microsoft Virtual PC, Parallels Desktop for Mac, etc. With the release of Windows 10, Microsoft no longer supports its Virtual PC emulator and replaces that with the more sophisticated (and cumbersome) Hyper-V. Those wanting to emulate the DOS system and run old 16-bit DOS legacy programs, however, have the option of using DOSBox, a stable and popular implementation that runs well in the latest Windows OS. For others who wish to run earlier versions of Windows like 3.11, 2000 or XP, the best bet is Oracle's VM VirtualBox Manager. Heck, it can even run Sun's Solaris 10 and all flavors of Linux, for that matter!


On a lighter side, there are also emulators that allow die-hard fans of old gaming consoles like Atari, Nintendo and Sega to continue playing their all-time favorite games. One such emulator is the Multiple Arcade Machine Emulator (MAME):


Whether for work or play, virtual machines are here to stay. So it's time to get acquainted with them and who knows, you might just find new ventures and opportunities in the process...

Thursday, March 8, 2018

Saelig's RevEng

Well, no... this post is not about an intriguing plot from a suspense novel. Saelig is a company specializing in electronic test, measurement, diagnostic and design solutions, and RevEng is a product from ABI Electronics which it represents in the US.


Dan Evans, the Sales Manager of Saelig, came to know about my book through a tweet I posted in Twitter and bought a copy. He was of course delighted to discover one full chapter on the RevEng system. He has since made contact with me for permission to reproduce that chapter for distribution to his clients, which I heartily approved.

Here's what he wrote in his LinkedIn post:

Although Singapore engineer and author Ng Keng Tiong devoted most of one chapter of his new book to ABI Electronics' RevEng system, people at ABI and Saelig Company were not aware of the author or his work until we saw a tweet about the new book.

Published just three months ago, PCB-RE Tools and Techniques is the sequel to an earlier book titled The Art of PCB Reverse Engineering, which is about reverse engineering the hard way – without assistance from hardware/software tools.  

Along with information from other reverse engineering experts, PCB-RE Tools and Techniques includes information about systems that help automate the process of reverse engineering. Titled Clip-N-Learn: As Easy As ABC, Chapter 8 is mostly devoted to ABI Electronics' RevEng system which, quote:
To demonstrate the clip-n-learn technique I have selected ABI Electronics RevEng system for its straightforward design and ease-of-use.
as the author wrote in his introduction to that chapter.


For more information of the RevEng system for your PCB-RE needs, contact Dan Evans @ Saelig. I'm sure he'll be more than happy to show you its functionalities and capabilities.

Saturday, March 3, 2018

Emulating VAX/VMS on a PC

Test program development on the Factron Series-700 ATEs were carried out off-the-testers since test debugging was top priority with limited time slots and access to the hardware. With a strength of about 30 programmers during our peak, we did our work in front of VT220 and VT320 terminals at our desks.

These dumb terminals were networked to a DEC MicroVAX 360 server system running a Program Management System (PMS) that emulates the Factron's environment, where we:

1. Input board description, assigned component models from the standard libraries or wrote custom models that were not found,
2. Processed these PCB-related files to generate the wirelist and test program for the target tester,
3. Created in-circuit test routines (ICTRs) for devices without test, and
4. Compiled these ICTRs and then the main test program.

After all the pre-testing work was completed, a data package was then generated using GETPART for downloading from the target tester's terminal, so the programmer could then work on debugging the test program on a real board that was interfaced via an in-circuit fixture to the tester itself.

Overtime, maintaining and servicing the MicroVAX server become expensive and we started looking for an alternative to do away with the aging hardware which none but a few senior engineers knew how to operate. The VAX machine was reliable but not the hard disk, and though we frequently back up to tapes, finding replacement for the disks proved challenging as the available stocks diminished, mostly refurbished parts that had limited life-span anyway.

Fortunately, there were companies out there specializing in virtualization software that can emulate legacy VAX systems. After some evaluation, we engaged a company that helped us migrated the MicroVAX server to a Windows-based PC using the Charon-VAX solution. Of course, we paid quite a bit for the software license and service, but within three years it was recouped.

Now, after leaving my company, I still looked back fondly how I worked on the VAX environment. Is it possible to create my own virtual machine for VAX/VMS without having to pay a high price for the software license? I wondered. I soon found out that it was plausible indeed. Here is a screenshot of my very own VAX machine running the familiar VMS operating system within Windows 10:


The best thing is, I can customize it to look like the VT220 of the Factron DEC terminal and bring back some good memories. Like they say, good legacy software never dies; it just lives on in another hardware host that permits it to thrive in. Simply awesome!

Thursday, February 22, 2018

WesTest-2000 DATS

Some time in the end of 2003, my department clinched a project to develop 18 test program sets (TPS) for the F-16 avionics. The test platform was a relatively unknown (to me) tester from WesTest Engineering Corporation, based in Utah, US.

A number of our senior engineers were selected to attend a training on the test system and by early 2004, we were already designing test fixtures and developing test programs using the WT-2000's TDE under Windows as well as running LASAR simulations with Sun's Ultra 5 workstation installed with Solaris 8. It was both challenging and exciting, and sometimes excruciating given the tight development schedule and little help available, since we were the only ones working on this new test system in Singapore!

Below is the book cover concept for the fourth and final volume:


If you've not taken a look on the previous volumes concept artwork, go to past posts and get a feel. Better yet, give me your support and comments as to whether I should proceed to write, or else these will just remain as still-born ideas.

Monday, February 19, 2018

Teradyne Spectrum 8852

Ten years into the company, the Factron testers began to show their age, and as more young engineers joined the team, we felt it's time to upgrade to new ATEs with graphical capabilities and development environment. Enter the Spectrum 8800 series testers from Teradyne.

Our center acquired two of these machines: an 8851 which is an in-circuit model, and an 8852, a combinational model which has an M910 digital test subsystem configured for functional testing, and uses the LASAR simulator to generate good test patterns and fault dictionary for diagnostics.

Below is the book cover concept for volume three of the new book series on automatic test equipment:


Any of my readers ever worked on this platform?

Sunday, February 18, 2018

David Protzman

If you bought PCB-RE:Tools & Techniques, you'd no doubt know who is David Protzman. For those who don't, he is a senior research engineer at a company called Department 13 which specializes in counter drone technology. He also volunteers his time as secretary at Unallocated Space Inc, a technology-based community center that does collaborative education and research works.



Since I made reference to his works for the JTAG-RE chapter, it was only right that I acknowledged and gave him credit with a complimentary copy of the book. Here's his email reply:

The book arrived at the end of the month as expected. I have read through about the first third and have been very impressed with the depth and attention to little details that you explained! I will be working with my office to procure a couple of them for reference and training since we do a fair bit of RE ourselves. I have a coworker who is well known in a smaller RE field that I will be recommending your book to as well. 
Excellent work on the book, and thank you very, very much for the complimentary copy! And a big thank you for including my name and my work in such a well thought out book!!

You heard it from the man himself. What more can I say? :)