Renesas M16C/26A Computer Hardware User Manual


 
Chapter 6. Downloading and Running the Tutorial
Once the code has been built in High-performance Embedded Workshop it needs to be downloaded to the Renesas Starter Kit.
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 Tool Bar.
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’.
9