Renesas Single-Chip Microcomputer SH7203 Technical Information Page 9

  • Download
  • Add to my manuals
  • Print
  • Page
    / 22
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 8
The next dialog presents the example projects available. Choose the Tutorial code which will be explained later in this manual. There is
also an option for Sample code which provides examples for using various peripherals. This will open a new dialog allowing the selection of
many code examples for the peripheral modules of the device. The final option is for an application build where the debugger is configured
but there is no program code. This project is suitable for the user to add code without having to configure the debugger.
Select ‘Tutorial’ as the type of project to generate and then click <Next>.
Click <Finish> to create the project
The project generator wizard will display a confirmation dialog. Press <OK> to create the project and insert the necessary files.
A tree showing all the files in this project will appear in the HEW Workspace window.
To view the file main.c double click on the file in the Workspace window. A new window will open showing the code.
4.3. Build Configurations and Debug Sessions
The workspace that has been created contains two Build Configurations and two Debug Sessions. The Build Configuration allows the
same project to be built but with different compiler options. The options available to the user are described fully in the HEW Users Manual.
4.3.1. Build Configuration
The build configurations are selected from the left hand drop down list on the tool bar. The options available are Debug and Release. The
debug build is configured for use with the debugger. The Release build is configured for final ROM-able code for the RSK.
A common difference between the two builds may be the optimisation settings. With Optimisation turned on the Debugger may seem to
execute code in an unexpected order. To assist in debugging it is often helpful to turn off optimisation on the code being debugged.
Select the Debug Build Configuration.
4.3.2. Debug Session
The debug sessions are selected from the right hand drop down list on the tool bar. The options vary between RSK however one will
always start Debug and include the type of debug interface. The alternate selection will be ‘DefaultSession’. This purpose of the debug
session is to allow the use of different debugger targets or different debugger settings on the same project.
Select the session ‘SessionSH2A_FPU_E10A_USB’
7
Page view 8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 ... 21 22

Comments to this Manuals

No comments