Categories

Posts Tagged ‘debugging’

Remote debugging with USB based JTAG/SWD debug probes

Friday, March 8th, 2019

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...

Tags: ,
Posted in ARM, tutorials | No Comments »

Regaining debug access of NXP i.MX RT1064-EVK executing WFI

Thursday, January 3rd, 2019

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...

Tags: , ,
Posted in ARM, tutorials | No Comments »

Modifying the Teensy 3.5 and 3.6 for ARM SWD debugging

Thursday, May 4th, 2017

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...

Tags: , , ,
Posted in ARM, techniques | No Comments »

Debugging ARM Cortex-M0+ HardFaults

Friday, January 20th, 2017

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...

Tags: ,
Posted in ARM | No Comments »

Proof of concept: Open source ARM SWD debug and general purpose board

Wednesday, April 22nd, 2015

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...

Tags: , , ,
Posted in ARM, open source | 1 Comment »

Serial terminal view in Eclipse Luna

Monday, April 20th, 2015

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...

Tags: , ,
Posted in how-to, software | No Comments »

ARM processor hardware debugging

Friday, February 27th, 2015

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."

Tags: ,
Posted in ARM | 1 Comment »

Serial Protocol debugging with Ubuntu & Bus Pirate v4

Tuesday, June 17th, 2014

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...

Tags: ,
Posted in BP v4 | 1 Comment »

LPC1769 debugging with the Bus Blaster

Wednesday, September 4th, 2013

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...

Tags: ,
Posted in Bus Blaster | 1 Comment »

Debugging the Crazyflie with the Bus Blaster

Wednesday, July 31st, 2013

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...

Tags: ,
Posted in Bus Blaster | 7 Comments »

LPC1769 debugging with Bus Blaster

Thursday, February 28th, 2013

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.

Tags: ,
Posted in Bus Blaster | 2 Comments »

GUINO Arduino GUI visualizer/debugger

Wednesday, October 17th, 2012

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...

Tags: , ,
Posted in Arduino, library | 10 Comments »

Long distance SPI: Lessons learned

Tuesday, April 24th, 2012

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...

Tags: ,
Posted in DIY | 13 Comments »

Printf style debugging over AVR-ISP pins

Friday, April 13th, 2012

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...

Tags: ,
Posted in Arduino, code, programmers | 3 Comments »

Serial port monitor with 2×20 LCD and 4K text buffer

Monday, February 13th, 2012

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...

Tags: , ,
Posted in DIY | 2 Comments »

555 based FPGA/CPLD debugging oscillator

Wednesday, March 16th, 2011

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...

Tags: , ,
Posted in Chips, CPLD, FPGA, hacks, techniques | No Comments »

MSP430 debugging with IAR

Tuesday, February 15th, 2011

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.

Tags: , ,
Posted in code, how-to, MSP430 | No Comments »

Handling exceptions in Processing

Friday, January 7th, 2011

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.

Tags: ,
Posted in code, documentation | No Comments »

Recent Comments

  • Max: Seems like an unexpectedly violent way to remove the chip indeed. A hot air station should of course do the job just fine, but in...
  • jose: Part removal described here is pure butchery, the cheapest hot air station will do a fast and clean job removing the QFP, heat air to...
  • Cody: Yes please
  • Marko: armature -> amateur
  • Crawford: Dibs,