Download Print this page
Renesas Starter Kit+ Getting Started
Renesas Starter Kit+ Getting Started

Renesas Starter Kit+ Getting Started

For rx65n-2mb
Hide thumbs Also See for Starter Kit+:

Advertisement

Quick Links

Getting started with the Renesas Starter Kit+ for RX65N-2MB
This tutorial provides instructions for getting started with the Renesas Starter Kit+ for RX65N-2MB. If
you do not have the Renesas Starter Kit+ for RX65N-2MB, visit the
purchase one from our partners.
This document explains how to configure AWS IoT Core and FreeRTOS to connect your device to the
AWS Cloud.
Overview
This tutorial contains instructions for the following getting started steps:
A
Hardware Requirement.
B
Installing tool and software on the host machine for developing.
C
Creating Policy for Device
D
Device on AWS IoT Core
E
Set up the Renesas Starter Kit+ for RX65N-2MB.
F
Cross compiling a FreeRTOS demo application to a binary image.
G Loading the application binary image to your board, and then running the application.
H
Monitoring MQTT messages on the cloud.
A. Hardware Requirement
1. Renesas Starter Kit+ for RX65N-2MB with Trusted Secure IP (R5F565NEHDFC) or
Renesas Starter Kit+ for RX65N-2MB without Trusted Secure IP (R5F565NEDDFC)
https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rx-32-bit-performance-
efficiency-mcus/rx65n-2mb-starter-kit-plus-renesas-starter-kit-rx65n-2mb
2. Mini-B USB cables x1
These cables can be used to connect the PC to the Renesas Starter Kit+ for RX65N-2MB
3. E2 Lite Emulator (required)
https://www.renesas.com/us/en/software-tool/e2-emulator-lite-rte0t0002lkce00000r.
4. +5V power adapter
Recommend to use Renesas Starter Kit+ for RX65N-2MB with Trusted Secure IP
(R5F565NEHDFC). Go to Troubleshooting section to solve any issues.
B. Installing software and tool on the host machine for developing
Note: Host machine running Windows 8.1 or 10.
To download and install e
1. Go to the
Renesas e
2. You are directed to a Renesas Login page.
2
studio
2
studio installer
download page and download the offline installer.
AWS Partner Device
1
R01QS0053EJ0100
Catalog, and

Advertisement

loading

Summary of Contents for Renesas Starter Kit+

  • Page 1 Renesas Starter Kit+ for RX65N-2MB without Trusted Secure IP (R5F565NEDDFC) https://www.renesas.com/us/en/products/microcontrollers-microprocessors/rx-32-bit-performance- efficiency-mcus/rx65n-2mb-starter-kit-plus-renesas-starter-kit-rx65n-2mb 2. Mini-B USB cables x1 These cables can be used to connect the PC to the Renesas Starter Kit+ for RX65N-2MB 3. E2 Lite Emulator (required) https://www.renesas.com/us/en/software-tool/e2-emulator-lite-rte0t0002lkce00000r. 4. +5V power adapter Recommend to use Renesas Starter Kit+ for RX65N-2MB with Trusted Secure IP (R5F565NEHDFC).
  • Page 2 If you do not have an account, choose Register now, and follow the first registration steps. You should receive an email with a link to activate your Renesas account. Follow this link to complete your registration with Renesas, and then login to Renesas.
  • Page 3 R01QS0053EJ0100 Create a policy In the Name field, enter a name for the policy. Then, change to Advanced mode Give a policy name Add following text to Advanced mode "Version": "2012-10-17", "Statement": "Effect": "Allow", "Action": "iot:Connect", "Resource": "*" "Effect": "Allow", "Action": "iot:Publish", "Resource": "*"...
  • Page 4 R01QS0053EJ0100 Create a policy Note: The examples in this document are intended only for dev environments. All devices in your fleet must have credentials with privileges that authorize only intended actions on specific resources. The specific permission policies can vary for your use case.
  • Page 5 R01QS0053EJ0100 Create a single thing Add name to thing and Next Add name to a single thing Add a certificate for thing...
  • Page 6 R01QS0053EJ0100 Create a certificate for thing Attach a policy to thing  Click the Download button next to each of the certificates, keys and save in local PC or host machine.  Click the Activate button to activate the certificate. ...
  • Page 7 R01QS0053EJ0100 Register policy to thing E. Set up the Renesas Starter Kit+ for RX65N-2MB To confirm functionality on Renesas Starter Kit+ for RX65N-2MB  Connect the positive +5V power adapter to the PWR connector on the RSK+ for RX65N-2MB. ...
  • Page 8 2. On the Select a directory as a workspace window, browse to the folder that you want to work in, and choose Launch. 3. The first time you open e2studio, the Toolchain Registry window opens. Choose Renesas Toolchains and confirm that is selected.
  • Page 9 To run the project in e studio 1. Confirm that you have connected your computer to the USB-to-serial port on Renesas Starter Kit+ for RX65N-2MB. 2. From the top menu, choose Run, Debug Configurations…. 3. Expand Renesas GDB Hardware Debugging and choose aws_demos HardwareDebug.
  • Page 10: Troubleshooting

    2. In the navigation pane, choose Test to open the MQTT test client. 3. In Subscription topic, enter #, and then choose Subscribe to topic. 4. Successful demo run looks like following the picture For the latest projects released by Renesas, see the renesas fork of the amazon-freertos repository on GitHub. Troubleshooting...
  • Page 11 R01QS0053EJ0100 Tera term Open tera term to check port, baud rate, Data, Parity, Stop and Flow control. The Build errors...
  • Page 12 R01QS0053EJ0100  Make sure that v202012.00-rx-1.0.0 is located to C: or D: drive or etc. Windows has a path length limitation of 260 characters. The path structure of FreeRTOS is many levels deep, so if you are using Windows, keep your file paths under the 260-character limit. The build will be passed if file paths under the 260-character.
  • Page 13 R01QS0053EJ0100 The endpoint in AWS IoT Check RX65N-RSK board if your board is Renesas Starter Kit+ for RX65N-2MB without Trusted Secure IP (R5F565NEDDFC), please change BSP_CFG_MCU_PART_ENCRYPTION_INCLUDED to false in vendors/renesas/boards/rx65n-rsk- gcc/aws_demossmc_gen/r_config/r_bsp_config.h...