Page 1
R A 4 M 1 C L I C K E R Q U I C K S T A R T G U I D E...
Page 2
Thank you for choosing Mikroe! We present you the ultimate solution for embedded development. Elegant on the surface, yet extremely powerful on the inside, we have designed it to inspire outstanding achievements. And now, it’s all yours. Enjoy premium. Time-saving embedded tools...
Table of contents Introduction Requirements list 1. Connecting and powering up the board 1.1 Connect the USB-Type C 1.2 Connect the USB port of the host PC 1.3 J-Link drivers 2. Downloading and Installing Software and Development Tools 3. Downloading and Importing the Quick Start Example Project 3.1 Download and extract the Quick Start example project 3.2 Launch e2 studio 3.3 Enter a name in the Workspace dialog box...
RA4M1 Clicker is equipped with J-Link OB, an on-board debug probe. It allows you to fully use, test and debug the target device right out of the box. RA4M1 Clicker is compatible with e² studio, Integrated Development Environment by Renesas, and can be used with Flexible Software Package (FSP), a suite for drivers and middleware for Renesas RA Microcontrollers.
Requirements list Hardware Requirements: ∫ RA4M1 Clicker board ∫ USB Type-C cable ∫ A PC with a USB port Software Requirements: ∫ Windows 10 operating system ® ∫ e² studio IDE (with compatible FSP version) ∫ SEGGER J-Link® USB drivers ∫...
2. Downloading and Installing Software and Development Tools Before the Quick Start example project can be modified, it is necessary to download and install software and development tools on the host PC. The FSP, J-Link USB drivers, and e studio are bundled in a downloadable platform installer available on the webpage.
Select Root Directory click on the Browse button then navigate to where you extracted the RA4M1 Clicker Example Projects and click on Select folder. You should see all the example projects in the list below. Click on Finish when you are done.
4. Modifying, Generating, and Building the Quick Start Example Project The Quick Start example project can be modified by editing the source 4.1 Once the Quick Start example project is imported, code and reconfiguring the properties of the MCU peripherals, pins, clocks, double click the configuration.xml file to open the configurator.
Click on the BSP tab in the bottom left corner of the FSP configuration Go to C/C++ Build > Settings > Tool Settings > GNU ARM Cross Create Flash window and make sure that RA4M1_clicker is selected as Board. Image > General and in the Output file format select Intel HEX (2).
5. Programming and running the modified example project If you have followed the steps explained in 3.2 section, you will have a generated hex file which you can use to program your MCU. For this we need a software called J-Flash Lite. Make sure you have an up to date version or you might not see the RA4M1 in the list.
Page 12
It is also possible to debug your project from within e² studio without using J-Flash Lite software for programming. In that case, you simply have to have Debug selected in your project and click on Build button (2), followed by Launch in ‘Debug’ mode button (3). Figure 8: e studio –...
7. Support We invite you to join thousands of users of Mikroe development Mikroe offers free Tech Support to the end of its life span, tools. You will find useful projects and tutorials and get help so if anything goes wrong, we are ready and willing to help.
Page 14
D I S C L A I M E R All the products owned by MikroElektronika are protected by copyright law and international copyright treaty. Therefore, this manual is to be treated as any other copyright material. No part of this manual, including product and software described herein, must be reproduced, stored in a retrieval system, translated or transmitted in any form or by any means, without the prior written permission of MikroElektronika.
Page 15
If you are experiencing some problems with any of our products or just need additional information, please place your ticket at www.mikroe.com/support Time-saving embedded tools If you have any questions, comments or business proposals, do not hesitate to contact us at office@mikroe.com...
Need help?
Do you have a question about the RA4M1 CLICKER and is the answer not in the manual?
Questions and answers