Skip to content

Execute Amazon FreeRTOS project and connect RX devices to AWS IoT

MinoriTomino edited this page Jul 19, 2024 · 2 revisions

Introduction

This section shows how to connect to AWS IoT Core and subscribe to topics in a FreeRTOS project for the RX family.
The precondition of this section:
The FreeRTOS project has been successfully built, including certification of things information registration with AWS.When you have not finished above preparation, please set up your environment referring the following link in advance.
For the latest information on using Free RTOS projects for RX, please refer to the Getting Start Guide.

  1. Register device to AWS IoT
  2. Creating and importing a FreeRTOS project
    Importing a FreeRTOS project(zip)
    Create a new FreeRTOS project
  3. Configure the FreeRTOS project to connect to AWS IoT Core
  4. Execute Amazon FreeRTOS project and connect RX devices to AWS IoT [This page]

Configure the IoT Core control panel to check the messages from devices

  • Subscribe to Topics in the IoT Core Control Panel

01_test_mqtt

The sample program for Renesas evaluation boards with AWS Partner Device certification outputs debug logs.
The output UART channel depends on the evaluation board, 7please refer the getting started guide.
See GettingStartGude on the evaluation board for details.

  • Connect the evaluation board to the PC with a USB cable (see GettingStartGude for each board for the USB port to be connected)
    The output UART channel depends on the evaluation board, 7please refer the getting started guide.
  • Launch terminal software like TeraTerm on the PC and set the serial port settings as follows
Setting Value
Speed 115200bps
Data length 8bit
Parity bit none
Stop bits 1bit
Flow control none

Download FreeRTOS project to RX MCU

  • Press the "bug" icon in the upper left corner of the e2 studio screen

debug_button

  • Select "Switch" in the "Confirm Perspective Switch" window.

switch

Execute program

  • Press "Resume" button

02_resume

  • Check the breakpoint is set in the main() routine.

03_main

  • Press "Resume" button

02_resume

Check messages from devices in the IoT Core control panel

  • Check that the messages defined by source code in the FreeRTOS project are displayed.
    Note: Output messages are deferent from by the project.
    e.g., "Hello World" "Task X publishing message XX"
    test_mqtt_subsc

Lists

日本語ページ一覧

コンテンツ

Home

FreeRTOSプロジェクトの使用方法

Getting Start Guide

チュートリアル

  1. デバイスをAWS-IoTに登録する
  2. FreeRTOSプロジェクトの新規作成・インポート
  3. FreeRTOSプロジェクトでAWS-IoT-Coreへの接続に必要な設定
  4. FreeRTOSプログラムを実行し、AWS-IoTに接続する

Amazon FreeRTOS 関連外部リンク集

  1. Amazon FreeRTOS
  2. Amazon FreeRTOS の使用開始
  3. Amazon FreeRTOS ドキュメント
    1. Amazon FreeRTOS ユーザーガイド
    2. Amazon FreeRTOS API リファレンスa
    3. FreeRTOS カーネルリファレンスマニュアル
    4. FreeRTOS カーネル開発者ガイド

リアルタイムOS解説動画

  1. RTOSチュートリアル(1/7):なぜRTOSは必要なのか
  2. RTOSチュートリアル(2/7):タスク
  3. RTOSチュートリアル(3/7):ハンドラ
  4. RTOSチュートリアル(4/7):システムコール その1
  5. RTOSチュートリアル(5/7):システムコール その2
  6. RTOSチュートリアル(6/7):構造と性能
  7. RTOSチュートリアル(7/7):マルチコアとRTOS
English Pages List

Contents

Home

How to use FreeRTOS projects

Getting Start Guide

Tutorial

  1. Register device to AWS IoT
  2. Creating and importing a FreeRTOS project
  3. Configure the FreeRTOS project to connect to AWS IoT Core
  4. Execute Amazon FreeRTOS project and connect RX devices to AWS IoT

FreeRTOS Related External Links(aws.com)

  1. Amazon FreeRTOS
  2. Amazon FreeRTOS Getting Started
  3. Amazon FreeRTOS Document
    1. Amazon FreeRTOS Users Guide
    2. Amazon FreeRTOS API Reference
    3. FreeRTOS Kernel Reference Manual
    4. FreeRTOS Kernel Developer Guide
Clone this wiki locally