Chapter 6. Downloading And Running The Tutorial - Renesas REG10J0083-0100 Tutorial Manual

Renesas single-chip microcomputer starter kit
Table of Contents

Advertisement

Chapter 6. Downloading and Running the Tutorial

Once the code has been built in HEW it needs to be downloaded to the RSK.
There will now be an additional category in the workspace view for 'Download Modules'
Right click on the download module listed and
select 'Download'.
On completion the debugger and code are ready to be executed.
To start debugging we need to reset the debugger and target.
Press 'Reset CPU' on the Debug Toolbar.
The File window should open the Tutorial code at the entry point. An arrow marks the current position of the program counter.
We will now skip over the initialisation code and proceed to the main tutorial.
Open the file called 'resetprg.c' by double clicking it in the project navigator.
Place a breakpoint at the call to main();
Breakpoints can be set by double clicking in the column containing the PC arrow next to the line to break at; or selecting the
line and pressing F9; or right click on the line and select 'Toggle breakpoint'. Alternatively set an eventpoint, by clicking in
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2472

Table of Contents