Many years ago when debugging real time systems (such as the ones used in telephone switches) we had to use logic analyzers (which read execution straight from the CPU) or emulators (which physically replaced the CPU itself).

Is there any situation where this type of instrumenting is still relevant?

  • Quibble: The term is "logic analyzer", not "logical analyzer". – John R. Strohm Jun 3 '14 at 19:49
  • @JohnR.Strohm - I appreciate the correction, edited now. – Otávio Décio Jun 3 '14 at 20:00

I don't see general-purpose logic analyzers in labs as often as I did ten or twenty years ago.

On the other hand, I see special-purpose logic analyzers far more often. They're called USB analyzers and VMEbus analyzers, and your managers are INSANE if they put you on such a project without having such an analyzer (and, in the case of VMEbus projects, a chassis slot dedicated to a blank space, to hold the analyzer when (not if, but WHEN) you need it.

I also see far more powerful oscilloscopes a lot more often. A modern 4-channel digital storage scope is a thing of beauty, and it is absolutely critical if you are doing i2C or SPI or serial or any of a number of other things.

True in-circuit emulators have all but vanished. JTAG debuggers have become ubiquitous, and they can do ALMOST everything an in-circuit emulator could do.

What I still don't see is adequate attention paid up-front to writing correct source code before ever going into the lab. Unfortunately, as long as C and C++ are dominant, and Ada is a dirty word, I expect the "code in haste and debug at leisure" mindset to prevail.

|improve this answer|||||
  • Thank you for the update on USB and bus analyzers. And I have to agree that there is not the same attention to detail and forethought before committing code as it used to be when we had to actually burn EPROMS to run tests. – Otávio Décio Jun 3 '14 at 20:04
  • 1
    I'll add this. I'm starting to see mixed-signal digital storage oscilloscopes, that combine an 8- or 16-channel logic analyzer with a 2- or 4-channel digital storage scope. This sort of thing can be really useful for certain kinds of digital audio application. – John R. Strohm Sep 16 '15 at 19:45

I still use a four-channel oscilloscope when debugging hardware, but that's just my personal projects. I imagine that people working with microcontrollers in embedded environments still use emulators and logic analyzers, though -- as long as the bus speeds don't get too high, anyway.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.