You are on page 1of 20

Getting Started with Microchip

Technical Training Live Online


Classes

Table of Contents
What’s Included ...................................................................................... 1-1
Step by Step Checklist ...........................................................................2-1
Install MPLAB X IDE ............................................................................... 3-1
Install the XC compiler ...........................................................................4-1
Install Lab Center Proteus VSM ............................................................ 5-1
Install the Proteus Plug-In for MPLAB X ............................................... 5-2
Install your Class files............................................................................6-1
Run and Debug to Obtain the Verification Message ........................... 7-1
Get Help ..................................................................................................8-1

Mark Reynolds V5.0 July 2013


Microchip Technology Inc.
GETTING STARTED GUIDE

What’s Included

Download folder

The download folder includes the development


tools and the minimal versions of those tools
that are compatible with the class. If you have
already installed a newer version of the tool,
you may use that.
Start by downloading all the files, then read
the ‘_READ ME FIRST.PDF’ instructions

Example

1-1
GETTING STARTED GUIDE

Step by Step Checklist

Checklist

 Download the files in the download folder


 Read the flyer ‘_READ ME FIRST.PDF’
 Install MPLAB X IDE
 Install the XC Compiler for your class
 Install the Proteus VSM simulator
 Install the Proteus Plug-In into MPLAB X IDE
 Unzip ‘<classname> Student Install.zip’
 Run and debug the project ‘_Getting Started.X’
to get the verification message

2-1
GETTING STARTED GUIDE

< This page intentionally blank >

2-2
GETTING STARTED GUIDE

Install

Requirements
Development Environment: MPLAB® IDE X
Operating System: PC Windows XP or Vista or Windows 7

Installing
4
Once you have downloaded the MPLAB X installer, installation is easy.

Browse to where the installer was downloaded. You are looking for the file called:

mplabx-ide-vX.XX-windows-installer.exe

Double click the installer

You may be asked to verify that


you want to run this program. If
so, click yes.

3-1
GETTING STARTED GUIDE

Click Next
You will need to agree to the License and

Click Next

Click Next
Click Next

Done !
Just click Finish

3-2
GETTING STARTED GUIDE

Install XC Compiler

Procedure

Double-click the installer provided in the download


folder for your class. Depending upon which class
you are taking, it will be named:

MPLAB-XC8-vX.XX-windows.exe
MPLAB-XC16-vX.XX-windows.exe
MPLAB-XC32-vX.XX-windows.exe

Then click Next

You will need to agree to the License Agreement

Click Next

Choose the type of license. We recommend you


use the ‘Install Compiler’ option.

Then click Next

4-1
GETTING STARTED GUIDE

Accept default se- Leave activation key


lection to install C field empty.
compiler directly
onto this computer. Click Next

Click Next

Accept default se-


Click Yes lection to run com-
piler in free mode

Click Next

Accept default com- Accept default se-


piler path lection to modify
PATH variable
Click Next
Click Next

Click Finish

And you’re done!

4-2
GETTING STARTED GUIDE

Install Proteus VSM


Procedure
Click Next
Double click on the installer you
downloaded named:

Proteus VSM vX.XX.XXexe

Click Next

Click Next

Click Finish

5-1
GETTING STARTED GUIDE

Install
the MPLAB X Proteus Plug In
Procedure

Open MPLAB X Then Plug ins

Go to the Tools menu

Click on the Available Plugins tab

Click the radio button to


select Proteus VSM Viewer

5-2
GETTING STARTED GUIDE

Click Next

Click Next

The installer will now ask you to let it restart MPLAB X.


Once MPLAB X restarted the plug in is ready for use.

Click Finish

5-3
GETTING STARTED GUIDE

< This page intentionally blank >

5-4
GETTING STARTED GUIDE

Install Student Files

Procedure
The ‘<classname> Student Install.zip’ file is a Winzip file that includes all the training material for a class. Once
you have registered you will have received the link to the tools and class materials. This file will be named in the
format of:
PRExxx Student Install.zip

(Example: TLS0000 Student Install.zip )


Class Prefix Class number
COM — Communications
MCT — Motor Control This separates the different
MCU — MCU Product Families classes. Higher numbers are
PWR — Power Management generally more advanced.
TLS — Tools
XLP — Extreme Low Power

Use an Unzip tool to open the Student Install.zip file and unpack all the files to the folder:
C:\MTT\
Then click Unzip
If you change the default path dur-
ing the unzip the lab manuals used
in class will have the wrong path
names.

Browse to the folder:


C:\MTT\

Then Unzip

6-1
GETTING STARTED GUIDE

Here is an example of a typical unzipped Student Install

The ‘Getting Started’ lab folder

Lab exercises and their solutions

Useful documents and Litera-


ture pertaining to the class

Copies of the Lab Manual and all


the presentation material that
will be used in class

Any additional tools that may


be required for class

A copy of the READ ME FIRST


Schematic file for flyer
Proteus A copy of this guide

6-2
GETTING STARTED GUIDE

Run the Getting Started Lab

Getting the verification message

Open MPLAB X by double clicking the icon on your desktop.

When the desktop opens, go to the File menu in the upper left corner.

7-1
GETTING STARTED GUIDE

Now click
Open Project

Browse to the folder: C:\MTT\<classname>\_GettingStarted.X

Once you have selected the folder, click ‘Open Project’

7-2
GETTING STARTED GUIDE

Everything will load for you. All you need to do is click on Debug -> Debug Project
or click on the shortcut icon shown below.

You may need to click the CONTINUE icon to start the simulation.

Depending upon the MPLAB X configuration, the simulation may start automatically, or it
may need to be manually started by clicking CONTINUE

7-3
GETTING STARTED GUIDE

For MPSIMX:
The verification message is displayed in the UART 1 Output window

For Proteus VSM:


The verification message is displayed in the LCD and in the Virtual Terminal window

Congratulations!

You are ready for your MTT Live Online class

7-4
GETTING STARTED GUIDE

Get Help
If you have tried everything and the Getting Started Lab
still will not run, we have several options to get help.

Join us for a free class titled


TLS0000.
This class, “Getting
Started with Microchip
Live Online” was created
to help get you unstuck. A live
instructor will guide you
through the entire process of
getting ready for your class.

Contact us through :
www.microchip.com/
support
Here you can ask specific
questions if you are stuck
on a single topic.

8-1
GETTING STARTED GUIDE

Get Help

www.microchip.com/forums
Sign into the forums on www.microchip.com. You can review previous
posts or post your own questions. Microchip Technical Training engi-
neers monitor these forums closely.

Each class has its own forum so you can post class specific questions.
Just search on the topic TRAINING.

8-2

You might also like