4. Programming and Debug
27. Ensure the “SessionH8_SLP_E8a_SYSTEM_300L”
session in the right hand drop down list on the toolbar is selected.
28. Click the <Connect> button on the debug toolbar.
29. Select the correct device type (e.g. H8/38347F for
RSKH838347).
30. Select “Erase Flash and Connect”.
31. Select “Power target from Emulator” and select “5V” if the
E8 is to provide the power to the RSK board. Otherwise
connect a 5V center positive supply.
32. Click <OK>.
33. The first time the E8a is used
the “E8AH8” dialog appears,
click <OK> and select
“Renesas Communications”
and click <Close>.
Otherwise skip to the next
step.
34. Accept any dialog warning that an older version of E8a firmware is necessary to work with the application. Allow
download of firmware to complete, this may take several seconds.
35. Fist, select the clock speed (“16.00MHz” for the
RSKH838347) then click <OK>.
36. Second, select the ID Code (“0E8A” for the
RSKH838347) then click <OK>. The flash memory write
program and E8a monitor are then downloaded to the microcontroller.
37. 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.
38. Click the <Reset Go> button.
The code will run and you will see the LEDs flash on the board.
39. Click the <Stop> button.
The code will stop and the source code will be opened at the current program counter.
D006364_11_S01_V04