ATMega32 Tutorial Series 1- (Setting up the environment)
This tutorial series will be based onthis amazing guide created byShehan Munasinghe . If you’re a beginner there are several terminologies you should be familiar about, otherwise these terms will make no sense.
- ASP : A VR S erial P rogrammer.
- ISP : I n S ystem P rogrammer.
- MCU : M icro c ontroller U nit
To continue interacting with this tutorial series you’ll need the following basic modules/components
- ATMega32 MCU
- ProgrammerAVR Minimum System Board (ATMega 16/32) ( even without having this component you can program the MCU on a breadboard. to see how to make the necessary connections with the USBasp on breadboard,https://circuitdigest.com/microcontroller-projects/led-blinking-with-atmega32[read thi] s)
- USBASP (USB programmer for Atmel AVR controllers)
- A Windows Laptop ;) (in case you need to continue in unix environment checkthis guide to see which toolchains need to be installed)
Setting up the Environment
- The IDE we’ll be using here is Atmel Studio 7, which you can downloadhere and install. It supports a vast number of Atmel microcontrollers so we can use it to build the code.
- Download and InstallWinAVR
- The next step is to download the USBasp drivers which you can findhere . You will find a zip file, and extract it to some temporary directory.
- Then Connect the USBasp to your computer and follow the steps shown in the video
- It’s highly likely that windows will tell you that
third party inf doesn’t contain digital signature information. to resolve that issue, we need to disablesigned driver enforcement.
Figure 1: (selecting drivers for USBasp for the first time)