You need to test, we're here to help.

You need to test, we're here to help.
Showing posts with label debugging. Show all posts
Showing posts with label debugging. Show all posts

30 August 2021

Debugging Complex Embedded Systems

Figure 1: A typical embedded system has many devices utilizing a wide range of signal types and bandwidths.
Figure 1: A typical embedded system has many devices
utilizing a wide range of signal types and bandwidths.
In the next few weeks, we’ll present a series of posts describing the debugging of various components of embedded systems, everything from working out the timing of power on sequences to extracting analog sensor data from serial data streams. All these examples of “real world” debugging can be performed using only standard tools available on most mid-range Teledyne LeCroy oscilloscopes.

Let's start by defining what we mean by embedded system and deeply embedded system. For our purposes, an embedded system is a fixed function, self-contained control system on one printed circuit board. Typically, printed circuit boards (PCBs)  will have multiple passive devices, a few active electronic devices, analog devices, digital devices and a few serial data devices. There tends to be a microcontroller device to process data and control other components. There will also be some type of system memory, often embedded inside the microcontroller. And, there will be some power conversion devices and power distribution elements that power all the other devices in your embedded system. 

10 May 2018

Debugging Ethernet, SATA, and PCIe for IoT Devices

A generic IoT block diagram shows serial-data links in blue
Figure 1: A generic IoT block diagram
shows serial-data links in blue
In our ongoing review of debugging serial-data standards for Internet of Things (IoT) devices, let's now turn to three more popular protocols: Ethernet, SATA, and PCIe. Ethernet is found in computer networking applications, while the Serial Advanced Technology Attachment (SATA) connects host bus adapters to mass-storage devices. The Peripheral Component Interconnect Express (PCI Express or PCIe) handles communication between root complexes (motherboards) and expansion-card interfaces.

01 February 2018

Getting The Most Out Of Your Oscilloscope: Sequence and History Modes

Sequence mode grabs rare triggered events from long captures and stores them in segments
Figure 1: Sequence mode grabs rare triggered events from
long captures and stores them in segments
When using an oscilloscope, there are bound to be instances in which you need to capture a large number of fast pulses in quick succession, or, conversely, a small number of events separated by long periods of time. Both are challenging for typical signal acquisition modes. But many Teledyne LeCroy oscilloscopes provide what's known as Sequence mode, which lets you capture these events while ignoring the long intervals between them.

22 July 2015

Debugging I2C Buses in Embedded Systems

Debugging of I2C on a Teledyne LeCroy WaveSurfer 3000 oscilloscope
Figure 1: Debugging of I2C on a Teledyne LeCroy
WaveSurfer 3000 oscilloscope
Embedded systems became ubiquitous decades ago and are now found in everything from mobile devices to vehicles to the traffic lights that control their movements. These days, they're typically based on microcontrollers and perform some specific task(s) within a larger system, such as controlling your car's ABS system. They may or may not have any sort of user interface, and can range widely in terms of complexity and functionality.