Skip to the content
  • English
  • Deutsch
  • Home
  • What is it About?
  • Archive
  • Privacy Policy
  • Contact
Arduino Craft Corner
Arduino Craft Corner

Archive

  • Unfreeze Your Atmel-ICE (7/13/2021) - Make avrdude work again with Atmel-ICE under macOS.
  • I’m Sorry, Dave, I Can’t do That (7/13/2021) - Fix macOS version of avr-gdb so that it can read elf files again.
  • Debugging(1): What Kind of Bug is This? (7/15/2021) - Introduction to debugging: Classification of possible errors.
  • Debugging(2): It’s the Hardware, Stupid! (7/17/2021) - Introduction to debugging: What kind of hardware bugs do exist?
  • Debugging(3): Debugging is Like Being the Detective in a Crime Movie Where You are Also the Murderer (7/19/2021) - Introduction to embedded debugging: What kind of debbuging tools are there for embedded systems and how to use them.
  • Burnt Fuses and Bricked MCUs (7/21/2021) - Recipes for fuse burning and high-voltage programming on AVR chips.
  • Debugging(4): Stub it out! (7/22/2021) - Recipe for setting up a debug environment with a gdb-stub.
  • Quote (7/24/2021) - "Premature optimization is the root of all evil"
  • Another Piece of the Puzzle (7/28/2021) - How to build a small electronic puzzle box that will work for 20 years with one battery.
  • Quote (7/30/2021) - "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." (Brian W. Kernighan)
  • How Many Programmers Do You Need …? (8/2/2021) - A stroll through the gallery of the ISP programmers that I acquired over the years.
  • Quote (8/4/2021) - "Testing is not responsible for the bugs inserted into software any more than the sun is responsible for creating dust in the air." (Dorothy Graham)
  • Pimp Your Pro Mini (8/9/2021) - How to minimize power consumption of a Pro Mini and to burn a new bootloader that saves flash memory, allows debugging, and fixes an annoying WDT bug.
  • Running on Batteries (9/21/2021) - How to minimize energy consumption of an Arduino project
  • Saving Energy by Choosing the Right MCU (9/24/2021) - Are there significant differences of power consumption between different types of AVR MCUs?
  • Connecting the Dots (9/28/2021) - How to drive a 5x7 matrix display directly by an AVR MCU.
  • Doing it the Logical Way (10/7/2021) - Why you should buy and use a logic analyzer!
  • Real Programmers Write Assembly Code (10/11/2021) - How to write inline assembly code
  • Timing the Timekeeper (10/20/2021) - How much overhead is associated with the millis interrupt? And can we get rid of it?
  • Is any Input Available? (10/21/2021) - Why is SoftwareSerial.available() so slow? And how can we fix that?
  • Communicating Asynchronously (10/26/2021) - How does asynchronous serial communication work, what Arduino libraries are there to support it, and what can go wrong?
  • One Line Only (10/30/2021) - A new Arduino library has seen the light of day: SingleWireSerial. It supports single-wire, asynchronous serial, half-duplex communication.
  • Quote (11/18/2021) - "Lubarsky's Law of Cybernetic Entomology: There's always one more bug"
  • Link-Time Optimization and Debugging of Object-Oriented Programs on AVR MCUs (12/15/2021) - Link-time optimization and debugging OO programs do not work very well together, at least on AVR MCUs.
  • Debugging a Debugger With Itself (12/27/2021) - Can we debug a debugger with itself? Yes, if we understand the limitations!
  • Surprise, Surprise! (12/29/2021) - What discoveries can you make when you sail into the sea of undocumented AVR MCU features?
  • dw-link: A New Hardware Debugger for ATtinys and Small ATmegas (12/31/2021) - Here comes a new, cheap hardware debugger for debugWIRE.
  • Quote (12/31/2021) - "There has never been an unexpectedly short debugging period in the history of computers" (Steven Levy)
  • That’s One Small Step for a Man, One Giant Leap for a Debugger: On Single-Stepping and Interrupts (1/2/2022) - Interrupts can confuse one when single-stepping through a program; dw-link mitigates this problem.
  • dw-probe: The Hardware for the Hardware Debugger (1/4/2022) - dw-probe connects an Arduino Nano or Pro Mini that runs dw-link to any target.
  • A debugWIRE Hardware Debugger for Less Than €10 (1/13/2022) - How to build a really cheap debugWIRE hardware debugger
  • Fixing Problems … Using Super-Global Variables (2/3/2022) - Fixing problems is much easier with dw-link. And the debugger even covers more ground than expected.
  • Quote (2/25/2022) - "Make it Fail!" (David J. Agans)
  • Parasitic Power Supply (3/15/2022) - In parasitic power supply mode, a device sucks its juice from a data line instead of from the power rail. This can be intended or unintended. In the latter case, all sorts of funny things can happen.

  • EnglishEnglish
  • DeutschDeutsch

Categories

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

AltSoftSerial Arduino IDE Arduino Pro Mini Arduino Uno assembly code ATmega328P Atmel-ICE ATtiny85 ATtiny1634 avr-gdb avrdude BOD Bus Pirate compilation error crosstalk debugging debugWIRE dw-link FT232R gcc optimization level gdb gdb-stub half-duplex HID HIDAPI homebrew I2C interrupt Li-SOCI2 battery logic analyzer Low-Power library Low power macOS Microchip Studio 7 MPLAB X Optiboot picoUART PlatformIO Python runtime error SingleWireSerial SoftwareSerial UART watchdog timer WDT

Copyright © 2022 Arduino Craft Corner

Theme by Anders Noren — Up ↑