How do you communicate with your 3D printer? Carrying an SD card between your computer and the printer? This can end now using the SD-WIFI module! If you try to get it running on a Mac, some extra effort may be necessary.Continue reading
Category: Mac Software
Arduino/AVR software on the Mac
Burnt Fuses and Bricked MCUs
Featured image: Clker-Free-Vector-Images on Pixabay
One of the most confusing things, in particular for newcomers, are the AVR fuses. Worse, by setting the wrong fuse bits, you can “brick” your MCU, i.e., a normal ISP-programmer cannot talk to the MCU anymore. In this blog post, we will present tools that help you to set the fuse bits right. And if push comes to shove, that is the wrong fuses have been burnt, I tell you how to recover …
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 at what kind of tools one could use to find the skeletons hidden in the closet.
I’m Sorry, Dave, I Can’t do That
The featured image of this blog post has been created by Cryteria, CC BY 3.0, Link
Gdb, the GNU debugger, is probably the most used open source debugger for embedded systems. The AVR version of GDB on the Mac is unfortunately not very cooperative. If you try to read an elf file, you get the following funny message (reminding us of HAL9000):
I’m sorry, Dave, I can’t do that. Symbol format `elf32-avr’ unknown.
But with the right homebrew formula, one can teach GDB some new tricks …
EDIT: The problem has been solved by the homebrew maintainers.
Unfreeze Your Atmel-ICE
Avrdude is the workhorse for programming AVR chips from Atmel (now Microchip). It works flawlessly on all platforms with a huge number of different programmers. There are a few exceptions, though. The Atmel-ICE, a very decent programmer and debugger, could not be used under macOS (>10.13). But finally there seems to be light …