I'm evaluating the Renesas RX65N MCU EV Kit. In this post: how to start a project in the Renesas IDE e2 Studio. I'll use the Renesas CCRX toolchain. |
Start a Project
File -> New C/C++ Project -> Renesas RX -> Renesas CC-RX C/C++ Executable Project -> Next
Name your project -> Next
Select the latest Toolchain and the right device. See the images below for the navigation to the correct IC.
The debugger on this board is E2 Lite (RX).
Also set Create Release Config if you plan if you're working on a design that will be released.
Next
Select Smart Configurator -> Finish.
Configure and Build Project
e2 Studio opens in configuration mode. Select the Board tab, then the evaluation kit.
If this is your first project, you need to add the board definition via the download link.
Your Renesas credentials are needed. Those are the same you entered to activate the CCRX toolchains.
Then click the Build button (check if your project is active in the 'Active Project Selection').
Debug your Project
The Create Project wizard has also created a Debug Configuration.
There are a few settings that you have to check, before your first debug session.
You can go to the settings by clicking the cogwheel next to the Active Project Selection.
Check that the frequency is set to 12 MHz, and that the Power Target option is set to No.
Close the settings.
Activate the debugger on the evaluation board by setting SW1 Pos 1 to ON (down). Then use the USB cable to connect the evaluation board to your dcomputer.
In the IDE, press the debug button.
The debugger starts and by default stops in the PowerON Reset handler.
If you click on the Resume arrow, the debugger stops in your main() function.
That's it. A successful empty project (the e2 Studio archive is attached). In the next post I'm explaining how to create a Blinky. With the GCC toolchain this time.
For my own reference, I've also attached the switch and LED definition header, as used by the out-of-box project standard\RX65N_EnvisionKit