Renesas RSKM16C6NK Technical Information Page 14

  • Download
  • Add to my manuals
  • Print
  • Page
    / 24
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 13
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 downloading.
26. 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.
27. 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.
28. Open the file called ‘resetprg.c’.
29. 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 a eventpoint, by clicking in the
10
Page view 13
1 2 ... 9 10 11 12 13 14 15 16 17 18 19 ... 23 24

Comments to this Manuals

No comments