Electrical engineering news, articles, occasional discounts, and more from Circuit Cellar
Editor's Pick
Debugging Embedded Systems with Minimal Resources
By Stuart Ball

Debugging an embedded system can be difficult when you're dealing with either a simple system with few pins or a complex system with nearly every pin in use. Stuart Ball provides some tips to make debugging such systems a little easier. He writes:

Debugging a microcontroller system can be difficult. Things don't work right and it often isn't even clear why. Was something initialized wrong? Is it a timing issue? Is there conflicting use of shared resources?

Debugging is more complicated when there are limited resources. If all the processor pins are used, what do you connect to? How do you get debug information out of the firmware so you can see what is going on?

This article isn't about debugging when you have Ethernet, USB, and Bluetooth interfaces available, or when you have a full-speed emulator. This is about debugging when there aren't many resources available-simple systems with few pins, or more complex systems with nearly every pin already used for something. Read the Complete Article
Click to review the code and enter
Challenge: Find the Code Error (Sponsored by Programming Research)

How are your code skills? This is your chance to find the error in a snippet of code for a shot to win prizes, such as an Amazon Gift Card or a Circuit Cellar magazine digital subscription.

Take the Challenge
News & Recent Posts

SiFive recently introduced the Freedom family of system on a chip (SoC) platforms that are built around the open-source RISC-V instruction set architecture, which was developed by the company's founders at the University of California, Berkeley. Features and specs: Freedom U500 Series: ... Continue reading →...»


CUI's Components Group recently expanded its micro buzzer product line. Housed in surface-mount packages as small as 4 mm × 4 mm, the three new models-CMT 4023S SMT, CMT 5023S SMT, and CPT 9019S SMT-are well suited for a wide variety of ... Continue reading →...»


SEGGER recently introduced its emSSH software library for the purpose of creating secure connections between a client and a server, typically over a TCP/IP connection. The library is well suited for applications such as secure remote controls. emSSH includes all modules required for ... Continue reading →...»


RF Solutions's RF-LORA module is a high-performance radio module delivered in a compact 23 mm × 20 mm format. Intended for Internet of Things (IoT) applications, the RF-LORA module delivers Semtech's LoRa technology for IoT applications. The RF-LORA's specs and features: Up ... Continue reading →...»

Click to review the schematic and enter
Challenge: Find the Schematic Error (Sponsored by Technologic Systems)

Ready to put your hardware skills to test? Find the error in this month's schematic for a shot to win prizes, such as a TS-7250-V2High-Performance Embedded Computer or a Circuit Cellar Digital Subscription.

 Take the Challenge
Current Issue - See Inside

Circuit Cellar #312 July 2016

Q&A: Hardware Security Solutions | Debugging Embedded Systems | MCU ModulesDevelopment | Stepper Motor Emulator | Working with MATLAB | Resistance Temperature Detectors | DIY Streaming Audio Player | Moving On Up to HTML5 | The Future of Software-Programmable FPGAs | And More

Circuit Cellar Inc | Segment LLC (audioXpress, Voice Coil) 
111 Founders Plaza | Suite 904 | East Hartford CT | 06108

Circuit Cellar is a media company that serves the international embedded design community with its products and services. As a reliable content provider for professional engineers and programmers, Circuit Cellar publishes Circuit Cellar magazine, engineering/programming-related books, a website, and a newsletter. Circuit Cellar also manages international design challenges relating to embedded design and programming. 

© 2016 Circuit Cellar Inc. All Rights Reserved.
Circuit Cellar Inc | Segment LLC (audioXpress, Voice Coil), 111 Founders Plaza, Suite 904, East Hartford, CT 06108
Sent by circuitcellar@circuitcellar.com in collaboration with
Constant Contact