Category Archives: AVR Microcontrollers

How to use AVRISP-MKII with AVRDUDE and Great cow basic

Atmel have stopped making AVRISP-MKII but Kanda sell a Waveshare version that is identical to the original. Atmel Studio fully supports AVRISP-MKII and it is simple to install and use with Studio but it can also be used with AVRDude and Great Cow Basic compiler.

Continue reading “How to use AVRISP-MKII with AVRDUDE and Great cow basic” »

AVR Programming – ISP, JTAG, TPI, PDI and UPDI

When AVR microcontrollers were first introduced in 1995, In System Programming was simple, with one programming method (Serial Programming Interface or SPI) and a recommended 5 x 2 10-pin target interface. For 10-15 years, this stayed the same except for the addition of JTAG programming on some devices and a move towards a 3 x 2 6-pin target header. In the last few years, new interfaces have sprouted like weeds, including TPI, PDI and UPDI. What do this all mean and how does it affect you?

Continue reading “AVR Programming – ISP, JTAG, TPI, PDI and UPDI” »

Atmel Studio ELF production Files for AVR

Atmel have added a new feature to Atmel Studio from 6.2 on-wards including 7. You can now create a single file that contains all the data needed to program an AVR or ATxmega microcontroller. This includes flash, EEPROM, fuses, lock bits and ATxmega User Row. This is called an ELF production file and Kanda AVR Handheld Programmers now support this format.

Continue reading “Atmel Studio ELF production Files for AVR” »

How to Program Arduino with AVR ISP Programmer

If you have been using Arduino to develop your code but want to move on to develop your own AVR based circuit or want to program your Arduino board with an external programmer to give more code space, you will need to understand how to use an AVR ISP or In System Programmer. This post covers the information you need

Continue reading “How to Program Arduino with AVR ISP Programmer” »