ew quickstartguide subatomic
DESCRIPTION
MANUALTRANSCRIPT
Install the product according to the following procedure:
Insert the yellow IAR CD into your drive. This CD contains all the software you need to get
your development environment up and running.
When the start page is displayed, click Product installations and select IAR Embedded
Workbench for your product family to start the installer and follow the instructions. The
installer program installs all necessary files and adds the appropriate program group and icons
to the Windows Start menu.
Note: You need to register your product via email as part of the installation process. Your
license number and license key will be generated automatically and sent to you as an email.
Connect your hardware board to the PC.
The Found New Hardware Wizard
will appear. Perform the steps in this
wizard and browse manually to folder
\drivers on the CD, where the USB-
drivers are located.
Start the IAR Embedded Workbench
IDE. The IAR Embedded Workbench
Startup dialog box appears.
Click Example applications.
In the next dialog box that appears,
browse to the example workspace for
your hardware board and click Open.
This guide explains the three different
SubAtomic Particle boards,
YM16CSPB, YR8CSPB and
YH8SPB.
If the option Do not prompt for
working copy directory is checked, the
example workspace will automatically
be copied to My Documents, folder
IAR Embedded Workbench.
On the Project menu, select Options.
Make sure the project name is
highlighted in the Workspace window
and a dialog box will be opened.
The Options dialog box provides
options for the building tools and
debugger. For example, by selecting
device, the correct linker command file
and device description file are
automatically chosen.
YR8C
SPB
YH8SP
B
YM16CS
PB
Select the correct device also in the
emulator setup dialog.
Select Debugger in the category list to
verify that the correct debugger driver
and options are used.
- E8 for YM16CSPB and YR8CSPB
- E8/E10 for YH8SPB.
The option Run to is used to specify the
location to which C-SPY runs when the
debugger is started and after a reset.
Click OK if you like to save your
changes.
Make a complete build of the application by selecting Project>Rebuild All from the menu.
Start the debug session by clicking on
the C-SPY debugger icon in the toolbar.
Select Erase Flash and Connect.
If the emulator is the provider to the
CPU board, select Power Target from
Emulator and choose the correct
voltage for your board.
YH8S
PB
YR8
CSP
B
YM16C
SPB
Click OK.
The first time the emulator is used, a dialog box appears where you shall select Renesas E-
series USB driver.
For YH8SPB users an input ID Code is
required. This ID is 00E8
Click OK.
Accept any dialog box warning that an older version of E8 firmware is necessary to work
with the application. Allow download of firmware to complete.
The code will be downloaded to the microcontroller. When programming and initialization is
completed, the Program Counter (PC) will be located at main() and ready to run.
Execute the application in C-SPY by clicking Debug>Go or by clicking the Go icon in
the toolbar.
The IAR C-SPY debugger has windows and icons showing full information about your
application. It can be single-stepped and executed up to a breakpoint. Breakpoints can be
configured as active or inactive and can have certain logic conditions associated with them to
control how the program breaks under given circumstances. Various windows allow
YH8S
PB
You have now installed the software, programmed your hardware board and run an application
with the debugger. To learn more about the tools, please read the supporting user documentation
available from the Help menu.
Online technical support and information is available at http://www.iar.com/support.
Latest downloadable product updates is found at http://www.iar.com/mypages.
inspection of memory, global and local variables, structures and other information.
IAR, IAR Systems, IAR Embedded Workbench, IAR MakeApp, C-SPY, visualState, From Idea To Target, IAR
KickStart Kit and IAR PowerPac are trademarks or registered trademarks owned by IAR Systems.
All information subject to change without notice. IAR Systems assumes no responsibility for errors and shall not be
liable for any damage or expenses.
© Copyright 2008 IAR Systems. All rights reserved. Part number: QS1-Renesas-Subatomic-3. First edition: March
2007