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 itself.
There will now be an additional category in the workspace view for ‘Download Modules’
•
Right click on the download module listed and
select ‘Download’.
Note: The output display will show “Flash memory
write end” to confirm the completion of the
download.
On completion of the download the debugger is ready for the code to be executed.
To start debugging it is necessary 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’.
9