Download Print this page

Renesas e1 Quick Start Manual page 3

Hide thumbs Also See for e1:

Advertisement

4. Programming and Debug
18. Left-click the 'Tutorial' project to select it, then click the arrow next to the build button (hammer icon),
and select 'HardwareDebug' from the drop down menu.
19. e
studio will now build the project. Once this is complete, debugging can be started by clicking the
2
arrow next to the debug button (bug icon), and selecting 'Debug Configurations...'.
20. Click the arrow next to the entry 'Renesas GDB Hardware Debugging' to
expand the list. Select the configuration entry 'Tutorial'.
21. Click the 'Debugger' tab, then the 'Connection Settings' secondary tab. Review the settings listed in the screenshot
below.
22. Click the 'Debug' button to download the code to
the target, and begin debugging.
23. A firewall warning may be displayed for 'e2-server-
gdb.exe'. Check the 'Private networks, such as my
home or work network' box and click 'Allow
access'.
24. e
studio will ask you to change to the 'Renesas
2
Debug Perspective', click 'Yes'.
25. Once the code has been downloaded, click the 'Resume' button to run the code up to the main
function. Click 'Resume' again to run the target through the rest of the code.
26. Press SW1 or SW2 or SW3. The text 'RL78' will appear near the bottom of the LCD panel, before being replaced
with 'L12' one character at a time. In addition, the heart symbol will begin to flash and a clock will be displayed on
the LCD.
27. Rotate the Analog Adjust control. The rate of flashing of the heart symbol will vary.
28. Click the 'Suspend' button. The program will stop and the source code will be opened at the current
program counter.

Advertisement

loading