Tag Archives: avr programmer

ELF Files Explained Part 4

ELF Files Explained - Part 4 Hero

ELF Files Explained – Part 4: Programming AVR Microcontrollers Using ELF Production Files


Part 4 of the "ELF Files Explained" Series

In Part 3, we explored the AVR ELF Production File in detail, showing that it is far more than simply the executable output of the linker. Rather than containing only the application's machine code, an AVR ELF Production File describes the firmware project in its entirety, bringing together executable code, debugging information and — where appropriate — EEPROM data, fuse settings, lock bits and other device-specific information within a single structured file.

This naturally leads to an important question. If the ELF Production File already contains everything required to describe the finished firmware, why do so many AVR developers still think in terms of programming Intel HEX files? When discussing a new firmware release, it is still common to hear someone ask for "the HEX file", even though the build process itself produces an ELF first.

The answer lies not in the capabilities of the AVR toolchain, but in the history of embedded development.


Continue reading “ELF Files Explained Part 4” »

Software Update Problems in Windows 7

Since the advent of Windows 7, some of our customers have had problems with software updates because the update does not install successfully. These problems do not seem to happen in Vista but maybe nobody uses it!

These problems take the form of firmware mismatch or sometimes settings are not saved properly, and can affect some of our products and any other older software you may have.

Why do these problems happen and how can you overcome them?
Continue reading “Software Update Problems in Windows 7” »

AVR Microcontroller Default Clock

One feature of AVR devices that can baffle new users is the default clock setting on new AVR microcontrollers. They are set to run from their internal RC oscillator, usually 1 MHz, which throws out the timing on code samples, such as UART.

If the code is configured for an 8MHz clock and there is a 8MHz clock on the target board, you expect it to work but instead you get nothing or garbled characters. This is due to the default Internal RC. How do you change it?

Continue reading “AVR Microcontroller Default Clock” »