Download Print this page

Renesas Promotional board Quick Start Manual page 2

Promotional board for rx210

Advertisement

3. Demonstration program operation (Cont)
14. If a value between 1 and 7 was selected from
the main menu, then the user must next
select the CPU load option with the
potentiometer and SW1 in the same way.
Upon selection with SW1, LED1 will flash the
appropriate number of times to confirm the
selected value:
15. The MCU now enters a full power loop in the selected mode. Current measurements can be taken across J6
at this point. Note that changing the ammeter range may interrupt the power to the CPU, causing a reset or
strange behaviour.
16. Pressing SW1 will put the CPU into the selected low power mode and again current measurements can be
taken across J6.
17. To exit the low power mode and restart, press the RES1 switch.
4. Debugger operation and the HEW Workspace
Once you have tested the pre-programmed demonstration, it is time to connect to the board and write some code.
High-performance Embedded Workshop (HEW) integrates various tools such as compiler, assembler, debugger
and editor into a common graphical user interface.
The workspace supplied is set to automatically connect to the on-board Segger J-Link debugger circuit (located on
the underside of the RPB).
18. To program or debug, you must enable the debugger circuit by removing J15.
19. Connect the RPB's underside USB connector to a spare USB socket on the PC.
20. Note that the first time it is connected here, J-Link will install its driver automatically.
Note: Windows Vista users may need to enter an administrator password during this process.
21. Launch HEW from the Start Menu. (Start Menu > All Programs > Renesas > High-performance Embedded
Workshop).
22. In the "Welcome" dialog box select "Create a new project workspace". Click <OK>
CPU Load Menu Options
Value
Name
LED0
LED1
(lsb)
1
CPU_MIN
1
0
2
CPU_TYP
0
1
3
CPU_MAX
1
1
23. Select "RPBRX210" as the project type and enter a Workspace name, Project name and directory. Click OK.
LED2
(msb)
0
0
0
24. Select "Low Power Demonstration" to create the project used for the preprogrammed sample code. Click
Finish.

Advertisement

loading