C

Getting Started on Renesas

Overview

This topic provides an overview of the Renesas platforms supported by Qt Quick Ultralite

Configure the Qt Creator IDE

Assuming that you have all the prerequisites installed, follow these instructions to configure the Qt Creator IDE for Renesas boards:

To develop for MCUs using the Qt Creator IDE, the MCU plugin is required. The Qt online installer enables it by default when you install the Qt for MCUs SDK.

To enable or disable the plugin, follow these instructions:

  1. Select Help > About Plugins and choose the MCU Support plugin from the list.
  2. Restart Qt Creator to apply changes

To build and run your application on MCUs, you must create a kit:

  1. Select Tools > Options > Devices > MCU
  2. If not already set, provide the path to the Qt for MCUs installation directory.
  3. Select a Target supported by the Qt for MCUs SDK. For example, Qt for MCUs 1.9 - Desktop 32bpp.
  4. In the Requirements section, ensure that the platform-specific requirements are met.
  5. Select Automatically create kits for all available targets on start to create kits automatically.

    Note: You could also manually create/remove kits using Create Kit and Remove Kit.

  6. Click Apply and restart Qt Creator if you choose to create kits automatically.

Note: The Automatically create kits for all available targets on start option is available from Qt Creator v4.14 onwards. On older versions of Qt Creator, you have to explictly create or remove kits using Create kit or Remove kit.

You could also set up the development environment from the command prompt. See Command-line Setup for Renesas Boards for more information.

Building applications with prebuilt Qt Quick Ultralite libraries

Open the CMake project file for the example you want to build and configure it with the kit you created earlier. Once the project is configured, select Run or press Ctrl+r on your keyboard to build and flash the binary to the target.

Flashing instructions

You can use Renesas Flash Programmer in order to flash the application binary to the Renesas board. For example, the following instructions guide you to flash the Automotive demo onto RH850-D1M1A:

  1. Launch Renesas Flash Programmer
  2. Create a new project by using menu File > New Project...

  3. Enter desired project name and location. Click Connect button

  4. When Set Clock window appears, enter 8 MHz as Main Clock Frequency and click OK button

  5. When the setup completes, you should see Operation Completed message in the output window
  6. In the main window, ensure that the Operation tab is selected. Click the Browse... button, and navigate to the directory that contains the compiled binary and select it.
  7. Click the Start button and wait for the operation to complete
  8. Disconnect Renesas flash programmer from the board

Debugging using Renesas e2 Studio

You can use Renesas e2 studio to debug applications built with Qt Quick Ultralite.

The following instructions guide you to start debugging on RH850 for example:

  1. Open Renesas e2 studio
  2. Create new C/C++ Project
  3. Select Renesas Debug Only Project
  4. Enter Project name and click Next >
  5. Select Debug hardware depending on the debug probe you have. For example, E1 (RH850) or E2 (RH850).
  6. Select RH850 > RH850/D1M1A-V2 > R7F701462 for example as a Target Device
  7. Provide executable path to binary you want debug. For example, %Qul_DIR%\build_rh850\examples\chess\chess.run.
  8. Select Finish
  9. Select Launch in 'Debug' mode
  10. GDB server will upload your binary to the target and start debugging

Supported Renesas Boards

Hardware boardMCUCompilerOperating system(s)
EK-RA6M3GR7FA6M3AH3CFCGNU Arm 9, IAR Build Tools for Arm V8.50Bare Metal
RH850 D1M1ARH850/D1MGreen Hills MULTI 7.1.6, Compiler 2018.1.5Bare Metal

Note: The Qt for MCUs support for Renesas RH850 D1M1A is experimental only.

Available under certain Qt licenses.
Find out more.