background image

4.  Programming and Debug 

 
26

 

Ensure the “SessionM16C_E8a_SYSTEM” session in the right hand drop down list 
on the tool bar is selected. 

 
27

 

Click the <Connect> button on the debug toolbar 

 
 
28

 

The “Emulator mode” wizard will be shown. 

Select the correct MCU group (M16C/29) and device type  
(e.g. M30290FC for RSKM16C29 )  

 
Please note that the “Emulator mode” view shown here will only appear the FIRST time you 
connect to the target within a project. On subsequent connections the “Emulator setting” 
dialog will appear, please choose the same options to connect – refer to the RSKM16C29 
Tutorial manual for details. 
 
29

 

Select “Erase Flash and Connect”. If the E8a is to provide power to the CPU board, select 
“Power Target from Emulator” and choose the “5.0V” option. Otherwise connect a 5V centre 
positive supply.  

30

 

Click <Next> 

 
 
 
 
 
 
31

 

Enter FF000 for the firmware location. It is recommended that the E8a firmware location 
is towards the top of the memory map. 

 
32

 

Enter 3300 for the Work RAM location. It is recommended that the Work RAM is towards the 
top of the memory map. 

 
33

 

Ensure that the checkbox“Debugging of program that uses WDT” is not checked. 

 
34

 

Click <Next>. 

 
 
35

 

The “MCU Setting” view will be shown. Leave the default options as shown. 

 
36

 

Click <Finish>. 

 
 

Note: The first time the E8a is connected, you may be asked to choose a driver, select 
“Renesas Communications”, after a few seconds the “Interface” and “Channel” numbers will be automatically displayed, click <Close> 
on the dialog.
  

 
37

 

Accept any dialog warning that another version of E8a firmware is necessary to work with the application. Allow download of firmware to complete, 
this may take several seconds. 

 
 
 
38

 

Right click on the download module listed in the left hand pane and select ‘Download’. The code 
will be downloaded to the microcontroller. This may take several seconds. 

 
39

 

Click the <Reset – Go> button. 
  
The code will run and you will see the LEDs flash on the board. 

 
40

 

Click the <Stop> button.  
 

The code will stop and the source code will be opened at the current program counter. 

 

D006174_11_S01_V04 

Summary of Contents for M16C/29

Page 1: ...roper click Next 4 The License Agreement will be shown click Yes 5 The next screen asks you to pick the world region please select and click Next 6 Select the RSK you wish to install and click Next 7 The destination folders are specified on the next screens It is recommended to accept the default settings Click Next to continue 8 Click Next on all screens until the Installation process commences 9...

Page 2: ...orkshop Manual Navigator 17 Launch HEW from the Start Menu Start Menu All Programs Renesas Renesas High performance Embedded Workshop 18 In the Welcome dialog box Verify Create New Workspace is selected Click OK 19 In the New Project Workspace dialog box Set the CPU Family to M16C and verify the Tool chain is set to Renesas M16C Standard Select E8A_RSKM16C29 from the left hand pane 20 Enter a name...

Page 3: ...p of the memory map 32 Enter 3300 for the Work RAM location It is recommended that the Work RAM is towards the top of the memory map 33 Ensure that the checkbox Debugging of program that uses WDT is not checked 34 Click Next 35 The MCU Setting view will be shown Leave the default options as shown 36 Click Finish Note The first time the E8a is connected you may be asked to choose a driver select Re...

Page 4: ...t time limited You have 60 days to evaluate the full product before the compiler will limit the code linker to 64k bytes Full licensed M16C compiler versions are available from your Renesas supplier 7 Support Online technical support and information is available at www renesas com renesas_starter_kits Technical Contact Details America techsupport rta renesas com Europe tools support eu renesas com...

Reviews: