IAR Embedded Workbench for PICmicro (EWPic) ver. 2.2 Software User Guide

 

It is an integrated development environment that consists of a project handler, editor,  compiler, assembler, linker and debugger for PIC microcontrollers.  Find out more at www.iar.com .

 

1.                  To Download

 

 

 

2.                  To Install

 

 

 

 

¨      Cut and paste from IAR License.txt  for the License # and License Key; &

¨      For simplicity, use the default settings for the Destination folder, Installation type and Program folder.

 

 

 

3.         To Setup Licensing

 

 

     Start à All Programs à IAR Systems à IAR Systems License Manager

 

 

 

 

 

 

Permanent license key was found on server.

Feature: EWPIC

Product: IAR Embedded Workbench for PICmicro

Server: xx-xxx.priv20.nus.edu.sg   OR  Server: nus-ee2001

 

 

4.         To Get Started

 

4.1 Creating a new project.

 

 

 

¨      Choose File à New… and select Project from the menu and enter project file name in the New Project dialog box;

¨      When done, the Project window will appear. Two types of targets are possible --  Debug (for testing) and Release (final);

¨      To add file, first select the target type then from the menu bar, choose Project à Files… to display the Project Files dialog box;

¨      To edit a file, simply double-click the filename in the Project window.

 

 

4.2 Compiling the project.

 

 

¨      Select Debug folder icon in the Project window and right-click Options… , to launch the Options For Target “Debug” dialog box;

¨      Under Category General, Taget tab, browse for 16f877.i39 or 16f877a.i39  (depending on the PIC you use) and select it as the Processor setup file, then click OK;

¨      Repeat the above two steps for target “Release”;

 

 

 

 

4.3 Debugging the project.

 

 

 

 

 

¨      First place the cursor at that statement;

¨      Then choose Toggle Breakpoint in the Control menu (or press F5);

¨      The statement will be highlighted in red to show the breakpoint.

 

 

 

4.4 Making the project.

 

 

 

 

 

*** ***