Erich Styger wrote an article on how to turn a USB debug probe into a IP-based debug solution: For some projects it is not possible to have the device under debug available on my desk: the board might be in another room, on another site or in a place where physical access is not possible […]
Erich Styger writes: Working with low power modes can be challenging. It can severely affect debugging capabilities of a microprocessor or microcontroller. I ported a FreeRTOS application using the Tickless Idle Mode to the NXP i.MX RT1064 board, and all of a sudden, the board was unresponsive to any debugger connection. Luckily the board was […]
Erich Styger @ mcuoneclipse.com writes: Looking for a small, inexpensive ($25-30) ARM development board (say 120-180 MHz ARM Cortex-M4 with FPU, 512kB-1MB of FLASH and 256 KByte of RAM? Then have a look at the Teensy 3.5 and Teensy 3.6 by PJRC/Paul Stoffregen The only problem? it is not possible to debug it :-(. At […]
Erich Styger has written an article on debugging a hard fault on an ARM Cortex-M0+ device: To me, one of the most frustrating things working with ARM Cortex-M cores are the hard fault exceptions. I have lost several hours this week debugging and tracking an instance of a hard fault on an ARM Cortex-M0+ device. More […]
Erich of MCUonEclipse writes: The Freescale FRDM boards are using a Kinetis K20 based circuit (see “OpenSDA on the Freedom KL25Z Board“): However, that firmware is not open: the K20 is secured and protected, so the firmware cannot be changed. Newer Freescale FRDM boards like FRDM-K22F2 and FRDM-K64F do have an open source bootloader and debug […]
Erich writes: I’m using mostly an external terminal program like Termite. But it is a very useful thing to have a terminal view in Eclipse so I do not need to switch to another application. All what is needed is the installation of a plugin plus the RXTX (at least on Windows). And best of […]
Abyssal over at Brmlab writes, “This project was originally aimed at debugging Stellaris Launchpad board (ARM Cortex M4F), but can be applied to ARM-related and OpenOCD-supported devices as well. There is also some information on using external hardware JTAG debuggers.”
Marcus Jenkins has written an article on Serial Protocol debugging with Ubuntu & Bus Pirate v4: You can see how the Bus Pirate can get you up and running with a new serially-connected peripheral pretty quickly. You can get started with configuring the peripheral in no time to suss out your initialisation and wiring. The next […]
Alvaro wrote a post on his blog detailing how to debug LPC1769 with the Bus Blaster: After getting the gcc-arm compiler working with the mbed, I decided to take a look at my LPCXpresso LPC1769 development board. The mbed is really easy to program. It mounts as a flash drive and you just drag and […]
Chris Fusting tweeted: “Interfacing my Crazyflie with a proximity sensor. Debugging with the Bus Blaster“: A few months ago I came across my new favorite toy, the Crazyflie nano quadcopter. Developed by Bitcraze, the Crazyflie is an open source firmware and hardware flying development board. With a relatively beefy STM32 ARM Cortext-M3 MCU and an expansion […]
Alvaro tweeted: Woot! Debugging LPC1769 with @dangerousproto Bus Blaster works! The Bus Blaster is a high-speed JTAG debugger for ARM processors, FPGAs, CPLDs, flash, and more. You can get a Bus Blaster v2 for $34.95 at Seeed.
madshobye devised this graphical debugging console for Arduino while serving as an artist in residence at Instructables. He wanted a graphical means of visualizing what was occurring in an Arduino program. “It can be a tricky task to debug and visualize realtime data on the Arduino board. You are usually stuck with the standard serial […]
Protocols like SPI, I2C, and UART are intended for chips sharing a PCB, lots of problems crop up when you try to send them over long distances. Michu designed individually controllable LED modules controlled by SPI signals sent over long lengths of cable. Initially he had lots of noise and buggy control. After some debugging […]
ihsan kehribar from the Little Wire project informs us of his recent work entitled “Printf style debugging over AVR-ISP pins.” He writes, “if you are breadboarding an AVR chip, you are already using the SPI pins for programming the device; therefore it would be nice to use that cable for low-level debugging also. I wrote […]
Kerry uses a DIY serial display to show debugging data sent from an Arduino’s UART. Sometimes the data comes too fast to read, so he added a 4K buffer and controls to scroll thorough the history. …if your application generates a lot of messages, it would still be hard to spot the relevant information as […]
Randomgarfield from fromorbit posted the above video, depicting his use of a 555 timer as a small oscillator tο clock CPLDs whіƖе debugging a small state machine. I needed a variable slow speed clock to help me debug a design I’m creating with a bunch of CPLDs. Given the current focus on the venerable 555 […]
kphlight was working on a simple Pomodoro timer project using the MSP430 Launchpad, and wrote this Instructable on debugging using the IAR Embedded Workshop Kickstart, including the ability to make on the fly memory changes.
Here’s some interesting information from the MAKE Codebox about how to handle errors and exceptions which appear in the Processing IDE. A good look at what causes exceptions along with suggestions on how to deal with them.