الجمعة، 10 يوليو 2015

Microcontroller Basics - How to Install a Programming Environment and Investigate WinAVR

In order to allow the microcontroller to perform some meaningful implementations, it’s imperative to write appropriate instructions into the MCU. 

For this we could probably use our very own “text editor” in our PC, although may of us would appreciate the use of a more professional “programming environment” instead of an ordinary text editor, simple because this approach would allow you to enjoy some in-built interesting features within this “programming environment” package.

It would support creating and editing programs through different languages and also compile them into an deliverable mode easily understood and accepted by a microcontroller chip.

Ultimately this would be supported by WinAVR and transferred into the concerned MCU chip.

WinAVR could be also equipped to do execute many other operations such as troubleshooting the programs and warning us about possible syntax and compiling mistakes and errors. We’ll discuss these I our later tutorials.

You would the installation course of WinAVR to be extremely rapid and snappy. Let’s dive into the details with the following points:

You’ll need to download the latest versions from the WinAVR source forge files folder. You would come across some useful info related to this download from its official website.

You would be prompted across a security query, so that you can answer if you wanted the download to take place, this is enquired the file to be downloaded is a executable file.

Download the file and begin the execution process by clicking on it. Let the installation begin.

The process will guide you with some answerable questions so that you may be able to streamline the installation as per your comfort. You would want to ignore many of these to their default forms, it would all upto you to select the ones which you feel are best suited for the actions.

Until now you would find everything quite normal and easy going and find a few options I the start menu being thrown at you. No worries, only some of these would be actually using just one of tem named “programmers notepad”.

Once clicked on this icon, would initiate the user interface so that you may be able to apply the writing of the programs (such as creating and editing). You would also witness the program consisting of menu commands for aiding you to compile the codes and embed them into the microcontroller.

The fundamental job of the above programmer notepad is to transform a human readable code that you would be writing into a series of instructions understandable only to the MCU.

He next tutorial will cover the testing of the above programmer so that we ca be sure regarding its compatibility with Windows and whether it perfectly “shakes hand” with your microcontroller IC.

Once this is confirmed we would proceed on to create a small “do nothing” code, just to ensure that the procedure of code transfer does not encounter errors.

ليست هناك تعليقات:

إرسال تعليق