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

Tuesday, January 31, 2023

Top Three Posts

Since February 2017 when I started blogging about using Microsoft Visio to do PCB-RE, I have posted 287 write-ups to date. Not all are related to the PCB-RE topics, though I would think the figure comes to over two-thirds. I don't particularly bother about the statistics, i.e. the number of times each post is read, but out of curiosity I did a scan to see which of the posts come in the top three.

Here are the findings:

1. Joe Grand's CV (read 914 times, link)
2. Artosyn Drones (read 812 times, link)
3. Old But Not Obsolete (read 664 times, link)

You can click on the 'link' to read the post, if you've not already done so. It's not surprising that Joe Grand (aka Kingpin) has the highest hit, being the renown hacker that he is. The Artosyn drones seem to be of great interest among my readers, for obvious reasons too. What surprises me, though, is the number of people who are still looking for the old DOS OrCAD EDA suite, which went out of circulation after its competitor Cadence bought over the company in 1999 and migrated the software to Windows.

But as they say, good legacy software never dies; it just lives on in another hardware host that permits it to thrive in. 


Friday, January 27, 2023

When Machines Take Over...

Humans always have an innate fear that one day the machines they created to make their lives easier will take over their jobs and make them redundant. This is true of any industry and it is more felt in the PCB manufacturing and repair sectors. The word 'automated' is associated with machines and an antithesis to the word 'manual', referring to man the operator.

In this age of rapid technological advancement, the rise of artificial intelligence (AI) and learning (AL) is a foreboding trend that many engineers embrace as an evil necessity, yet choose not to think too much or too far ahead. Nonetheless, without such industrial revolution, we would not have enjoyed the proficiency and power these technological marvels afford us at work and leisure.

Take automated optical inspection (AOI) for instance. Without this innovation, it would not be possible to detect manufacturing defect fast and accurate enough to ensure production yield of PCB products. And while it will still be some time before the machine can take on a mind of its own to learn how to initiate an inspection without human aid, it has greatly reduce the workload and errors contributed by human factors.

Perhaps when that day finally arrives, it may not be as fearsome as we thought it to be. After all, there's something about human ingenuity that machines will probably never be able to duplicate, however 'smart' they may become.

Who knows, we may not even be around when that happens. So go get a beer or something and chill out...


Monday, January 23, 2023

Glossary vs Grocery

English can be quite confusing to those foreign to its nuances, or even near similar spellings. Take the word 'glossary' for example. It means an alphabetical list of words or terms relating to a specific subject, usually accompanied by a brief explanation each. It can, however, be confused with the word 'grocery' which means a list of items to be bought from a supermarket.

Well, I don't normally include one in my books but somehow for this last engineering book I'm currently writing, I thought it would be a good idea to:

And while I was busy working on the list of terms to put in, my wife was also busy coming up with a list of items for her groceries as well. In some way, we are both writers I suppose, except that my content caters to the intellectual (food for thought) while hers satisfies the physical (food for the body). Either way they are just as important to our well-being.

By the way, the Chinese lunar New Year is a time of great feasting with families and friends too, and this year it's right after Christmas. I'd probably gain a few pounds by the end of the 15-day festival. Then it's time for some sweaty workout... 

Thursday, January 19, 2023

Archeological Findings

Writing engineering stuff can sometime feel like doing archeological work. While researching a bit on the history of JTAG, I found out that soon after the IEEE 1149.1-1990 standard was formulated, Intel released its first processor, the 80486DX2, with JTAG implementation and the chip industry quickly adopted the standard and follow suit.

This prompted me to recall an in-circuit project for which I developed a test routine for the i486DX2 CPU back in 1996. It was also my first encounter with JTAG which gave me an alternative way of testing a processor chip without going through the arduous traditional coding process. And I'm happy I managed to dig it out from a pile of past archives and showcase it as an example in Chapter 9:

I'm sure my readers will benefit greatly how boundary scan works by studying the easy to follow test codes in high-level language syntax. It did, however, took me quite a while to understand and figure out the process laid out in the CPU's handbook (I've included the 12-page section on boundary scan test as an appendix).

Of course, newer processors and programmable array chips are much more complex. Thankfully, you don't have to do it the manual way like I did, because JTAG hardware and software tools are available with a comprehensive library of chip manufacturers supplied BSDL files now make it a breeze to test any JTAG-enabled chip on the market, better still, PCBs designed with daisy-chained JTAG devices. This too, will be covered.

That's all for now.

 

Tuesday, January 17, 2023

Beyond the Boundary

The Chinese Lunar New Year (CNY) is just five days away and spring cleaning is currently underway in my house. Amidst the bustling activities in preparing for this festival, I decided to start writing Chapter 9 on Other Techniques of PCB diagnostics. My engineer friend is tied up after coming back from a long holiday and can only give me the materials I need after the CNY. Oh well...

What are the other techniques that I will be exploring? For sure, JTAG is one of them. Another two more will be AOI and AXI, and I will include a comparison of these two. There is something about virtual instruments but I've yet to decide whether to include it in this chapter.

Here's a two-page sample for Chapter 9:

Incidentally, my friend's company ABI Electronics also carries a JTAG diagnostic tool for which I've also requested for a case study. If he can provide that, it would be a good illustration to my collection of examples in this upcoming book.

I will try to squeeze some time to write during this busy festive season, so stay tune for more updates.


Thursday, January 12, 2023

Looking Good, Feeling Good

This week I'm 'on duty' at the National Library @ Chinatown for a mini-Roadshow by the National Silver Academy (NSA), a government initiative to promote lifelong learning among the seniors in Singapore. Here's the booth setup with yours truly:

It's a good break from my writing and allows me to interact with people, especially the elderly. There's always wonderful people you can meet at such events, more so as the Lunar Chinese New Year is just around the corner and people are in jovial festive moods.

Outside the mall there is a display of the twelve Chinese zodiac signs where shoppers can take photos. This is the year of the Rabbit so it's not surprising that its figurine is much larger than the rest:

Lately I'm feeling good that there is progress with my book, PCB Diagnostics. I have just finished Chapter 8 on Thermal Imaging and gotten permission from a Malaysian engineer to feature two of his repairs using thermal camera. I sent him a copy of the draft and here's what he has to say:

Wow, really didn’t expect the writing is that good. It’s straight to point and good English.

Like all my other books, you can expect clear, concise English that presents engineering knowledge that is not boring but engaging, with lots of useful footnotes and interesting anecdotes. This is more so with my upcoming book which uses parallel analogies with TCM. So you'll not just learn how to perform PCB diagnostics with various techniques, you'll pick up some valuable knowledge on Chinese medicine at the same time!

Stay tune for more updates, my friends.


Wednesday, January 4, 2023

The Passing of a Local Legend

It is with much sadness that Singapore say goodbye to her true-blue visionary and entrepreneur Sim Wong Hoo, the founder, chairman and CEO of Creative Technologies. The tech pioneer, who became Singapore’s youngest billionaire at the age of 45, was best known for the Sound Blaster sound cards, which dominated the personal computer audio market till the early 2000s.

In May 2006, Creative sued Apple, saying that the iPod and iPod Nano infringed on a patent that the company had for the interface in its Zen media player. Apple countersued. The legal dispute was eventually settled with US$100 million paid by Apple, granting them license to a patent for the hierarchical user interface used in Creative’s products.

In an interview with CNBC, Sim spoke about his belief that Apple had taken their ideas.

It was something we had to do because Apple did not just… infringe our patent. Actually, Steve [Jobs] came to our booth, saw our products and liked the product. He saw the future of Apple there.

But when Apple founder Steve Jobs died of complications due to pancreatic cancer in 2011, Sim, in a show of grace, took out a full page newspaper ad to pay tribute to him.


Mr Sim, like Steve Jobs, had left his mark in the PC industry and will be remembered by many with fond memories of the Creative products that shaped and changed the PC sound quality forever. Rest in peace.


Monday, January 2, 2023

I See You

In the 2009 blockbuster movie Avatar, the phrase "I see you." was used by the inhabitants of Pandora as a form of greeting. In the world of infrared vision, the power to see the invisible (heat radiation) can be a quick and useful way of finding failed components. This is what Chapter 8 on Thermal Imaging is all about in my upcoming book, PCB Diagnostics.

Here's a two-page sample:

I've included an ancient anecdote in the introduction to this interesting topic, but I'll not reveal it here to keep the mystery wrapped up, much like the nature of infrared. The good news is, I'm making progress on the chapter and that friend of mine had come back to me that sometime this week after the Christmas holiday, he'll have the material I need for Chapter 6. Talk about timing.

For now, readers will have to wait a bit longer. Not to worry, though, "I'll see you, soon."

 

Sunday, January 1, 2023

Entering a New Year

2022 had been a rather tumultuous year, to say the least. Just when the world was easing out of the CoVid situation, the Russia-Ukraine war exploded in February. As a result, the price of oil skyrocketed to its highest in over a decade and with it, rising cost of energy and food became a global concern.

As we leave the old year and enter into the new, forecasts were made that 2023 will be a tough and challenging year with the possibility of a global slowdown, perhaps even a recession. Despite the stark outlook, many people are still hoping to put the worst behind them and embrace new opportunities and possibilities.

With that in mind, here's wishing all my readers:

Stay safe and well, my friends!