TweakTown
Tech content trusted by users in North America and around the world
5,677 Reviews & Articles | 36,085 News Posts
Weekly Giveaway: Fractal Design Arc Cases Contest (Global Entry!)

Protostack ATmega32A Development Kit Review - Programming

Protostack ATmega32A Development Kit Review

Protostack's latest development kit breaks the ATmega328 trend and introduces us to the ATmega32A. Let's take a full look at it in this review.

| Development Boards in Maker & DIY | Posted: Dec 10, 2013 10:31 pm
TweakTown Rating: 98%      Manufacturer: Protostack

Programming

 

Programming the ATmega32A Development Board is quite easy if you know a few things about AVR programming. As I mentioned earlier, the board can be programmed via the included 10-pin ISP connector and an USBASP AVR Programmer, or you could use something like an Arduino to program the board via the unpopulated six-pin ISP port located directly behind the 10-pin port. I like both methods, and prefer using the 10-pin port as it helps reduce clutter on the board.

 

TweakTown image content/5/9/5931_9_protostack_atmega32a_development_kit_review.jpg

 

I won't go very deep into how to program the board as that could represent an entire article on its own. Instead, I will cover the basics and lightly detail what I consider to be the easiest way. While it is completely possible to install the Arduino boot loader onto the ATmega32 U, sticking with IDEs like AVR Studio or Eclipse and using AVRDude to upload the code to the microcontroller is the easiest.

 

TweakTown image content/5/9/5931_10_protostack_atmega32a_development_kit_review.jpg

 

Once you have code written, the USBASP drivers and AVRDude installed, you must connect the board to the USBASP Programmer. This is accomplished by connecting the 10-position ribbon cable to the board's ISP port and to the programmer's ISP Port. Then all you need to do is plug the programmer into a free USB port on your PC. Actually uploading the code to the device takes a little command prompt magic and is done by following these directions:

 

To download the firmware to your microcontroller, enter the following command:

 

avrdude -p -P usb -c usbasp -U flash:w:

Where

  1. is the filename of the precompiled binary file , and
  2. is the micro controller type you are programming (eg ATmega32U2).

The full list of device codes is listed here.

 

TweakTown image content/5/9/5931_11_protostack_atmega32a_development_kit_review.jpg

Related Tags

Further Reading: Read and find more Maker & DIY content at our Maker & DIY reviews, guides and articles index page.

Do you get our RSS feed? Get It!

Post a Comment about this content

Latest Tech News Posts

View More News Posts

Latest Downloads

View More Latest Downloads

TweakTown Web Poll

Question: Did EA kill the Battlefield franchise with the terrible BF4 issues?

Yes, Battlefield is doomed

No, Battlefield will live on strong

I'm not sure, but I know EA needs to improve its game

or View the Results

View More Polls

Forum Activity

View More Forum Posts

Press Releases

View More Press Releases
Get TweakTown updates via Facebook!
Just click the "Like" button below