Tag: optiboot

Pimp Your Pro Mini

The Arduino Pro Mini is a very minimalistic Arduino board with a small footprint. For this reason it is an ideal candidate for being used as the target board in a battery operated system. In this blogpost I’ll show you how to minimize power consumption and how to burn a new bootloader that saves flash memory, allows debugging, and fixes an annoying WDT bug.

Continue reading

Debugging(4): Stub it out!

The featured image is by Hebi B. on Pixabay

How can you use a stub in order to squash your software bugs? This blog post shows how to arrive in 7 easy steps at a working debugging solution using a gdb-stub for some 8-bit AVR MCUs. The only additional hardware you need is an ISP programmer in order to burn a new bootloader (well, if you are satisfied with a very slow running program, you do not even need this).

Continue reading

Debugging(3): Debugging is Like Being the Detective in a Crime Movie Where You are Also the Murderer

Featured picture: OpenClipart-Vectors on Pixabay.

One has to add to the title (quoted from a tweet by Filipe Fortes) that the detective suffers from a memory loss. Otherwise, the case could be solved easily. Similarly with debugging: If I only knew what nasty things I have hidden in the source code, I could just remove them – but I simply do not know. In this blog post, we will have a look on what kind of tools one could use to find the skeletons hidden in the closet.

Continue reading

Copyright © 2022 Arduino Craft Corner

Theme by Anders NorenUp ↑