メインコンテンツに移動
ルネサス エレクトロニクス株式会社 (Renesas Electronics Corporation)

概要

説明

ルネサスのFlexible Software Package(FSP)は、ルネサスのArmマイコンRAファミリを用いた組込みシステム設計向けに、ユーザフレンドリでスケーラブル、かつ高品質なソフトウェアを提供するために設計されたソフトウェアパッケージです。エントリーレベルのマイコンから高性能マイコンまでRAファミリ全体のソフトウェア互換性を保証しています。使いやすく、拡張性をもち、高い品質を備えています。 FSPは、RAファミリの新製品が対応するArm®TrustZone® およびその他の革新的なセキュリティ機能をサポートしており、そのまま製品適用可能な品質のドライバ、Azure® RTOS、FreeRTOS™、およびその他の多様なミドルウェアスタックを用いて、セキュアな IoT デバイスを迅速かつ多彩な方法で開発できます。

download 最新FSP(v6.5.0)をダウンロード:

FSPプラットフォームインストーラ (e² studio IDE、ツールチェーン、FSPパックを含む):

RAスマート・コンフィグレータ(RASC)インストーラ (IAR Embedded Workbench, Arm Keil MDKを搭載したサードパーティIDEで使用するFSPパッケージ):

FSP Standalone Installer (FSP のみを更新し、e² studio を更新しないユーザー向けの FSP パック):

  • GitHub の Assets セクションからダウンロード

インストール手順については、こちら。すべてのFSPリリースとパッチは GitHubにあります。

FSP にはクラス最高水準の、高性能かつ省メモリフットプリントを実現している HAL ドライバが含まれています。 また、Azure® RTOSとFreeRTOSにインテグレーションされた各種ミドルウェアスタックにより、通信やセキュリティなどの複雑な実装が容易になります。統合開発環境e² studio は、プログラミングとデバッグを簡単かつ迅速に行うための直感的なコンフィグレータおよびインテリジェントなコード生成をサポートします。

リファレンスで提供されるAzure® RTOS、FreeRTOSを使用せず、ベアメタルでの使用、お好みの リアルタイムOSの使用、既存のソフトウェア資産、サードパーティのエコシステムソリューションの使用など、FSPはユーザの開発に柔軟性をもたらします。 FSPとe² studioは無償でご利用可能です。

特長

  • Arm® Cortex®-MベースのRAマイコンにおけるマルチコアおよびシングルコアのサポート
  • メモリ使用量の小さい HALドライバ
  • 直感的に操作できるコンフィグレータとコードジェネレータ
  • 業界標準ツールを用いた静的解析と動的解析
  • RTOSを使用するアプリケーション、ベアメタルアプリケーションの双方をサポート
  • Azure RTOSとそのミドルウェアスタック
    • Azure RTOS ThreadX、NetX Duo & Add-ons、USBX、GUIX & GUIX Studio、FileX、TraceX、exFAT、LevelX、NetX Duo Secure & NetX Crypto(ハードウェアアクセラレーションに対応)
  • FreeRTOSに対応するカーネルとソフトウェアライブラリ
    • FreeRTOSカーネル, FreeRTOS-Plus-TCP, Core MQTT, Core HTTP/HTTPS, タスクプール, セキュアソケット, セルラーインタフェース
  • ツールでコンフィギュレーション可能なRTOSリソース (threads, mutexesなど)
  • ルネサスやサードパーティのミドルウェアスタック
    • AI/MLの効率的な統合を実現する、CM85ベースのマイコン向けEthos-U55のサポート
    • TCP/IP、および MQTT をはじめとする各種コネクティビティプロトコルスタック
    • CDC、HID、マスストレージに対応した USB ミドルウェア
    • セルラー(Cat-M1)、Wi-Fi、Bluetooth LE 5.0(BLE Mesh)によるワイヤレス接続
    • FreeRTOS+FATおよびLittleFS のファイルシステム
    • SDMMC、SPI、USB のストレージ (ブロックメディア) に対応
    • データフラッシュを利用したの仮想 EEPROMエミュレーション
    • ボタン、スライダ、ホイールなどに対応する静電容量式タッチミドルウェア
    • モータ制御アルゴリズム
    • MCUbootを用いたセキュアブートローダ
    • センサモジュールAPI
  • Arm® TrustZone® 対応
    • TrustZoneに対応したドライバとミドルウェア
    • TrustZone コンフィギュレーション
  • PSA Level2認定
  • AWSパートナーデバイス認定(FreeRTOS)
  • 主要クラウドプロバイダへの容易な接続
  • NetX Duo SecureとMbed TLSを用いたセキュアな接続
  • 暗号化APIとMCUに搭載するハードウェアアクセラレータへの対応
    • 低価格RA2E1デバイス向けのOberon Ocryptoの対応
    • Arm PSA暗号化API
    • Azure RTOS NetX 暗号化API
    • FSP Crypto API(SCE9保護モード)で究極のセキュリティ
    • 制約のあるデバイスにも使用可能なTinyCrypt
  • グラフィックインターフェース対応とツール
    • RAデバイス向けのLVGL統合サポート
    • Segger emWin(RAユーザはSegger emWinグラフィックツールとライブラリを無料で以下からダウンロードしてご利用いただけます)
    • Azure RTOS GUIXおよびGUIX Studio(Microsoftアプリストアで無料でご利用いただけます)
  • セキュアデバッグ
  • ルネサスと業界をリードするパートナによる開発ツールソリューション
  • インストーラにより必要なコンポーネントすべてを簡単にセットアップ可能 (e2 studio、CMSIS パック、ツールチェーンと Segger J-Link ドライバ)
  • ソースコードは全てGitHubから入手可能

リリース情報

For additional information and links, go to GitHub.

v6.5.0

Release Notes

Flexible Software Package (FSP) for Renesas RA MCU Family, version 6.5.0.

Minimum e2 studio version for FSP 6.5.0 is e2 studio 2026-04.2

Download the FSP with e2 studio Windows installer for this release, setup_fsp_v6_5_0_e2s_v2026-04.2.exe, from here.

Download the FSP with e2 studio Linux installer for this release, setup_fsp_v6_5_0_e2s_v2026-04.2.xz.run, from here. Refer to installation steps for information on installing e2 studio and related software components in a Linux PC.

Download the FSP with e2 studio macOS (Apple Silicon) installer for this release, setup_fsp_v6_5_0_e2s_v2026-04.2.pkg, from here. Refer to installation steps for information on installing e2 studio and related software components in a macOS PC.

If you are using IAR or Keil MDK, download the Renesas Advanced Smart Configurator for your operating system.

Post - FSP v6.5.0 changes to toolchain support

Future releases of FSP will no longer ship with the GCC toolchain integrated within the combined e2 studio/FSP platform installer. The use of the GCC toolchain with FSP will still be supported, and an option in the platform installer will allow GCC to be downloaded from the internet and installed as part of the overall install process. Alternatively, it is possible to link e2 studio to an installation of the GCC toolchain already on the user's computer.

Note: The LLVM toolchain/Arm Toolchain for Embedded (ATfE) will continue to be integrated within the e2 studio/FSP platform installer.

With FSP 6.3.0 and later, when using the LLVM toolchain the compiler optimization level is set to -Os by default for RA4/RA6/RA8 MCUs, whereas previous FSP's would use -O2. This has been done as with LLVM, -Os causes a balance of optimizations similar to GCC's -O2 option.

Note that for RA0/RA2 MCUs, where keeping memory size to a minimum is typically of primary importance, the -Oz optimization level is selected by default.

All installers are available in the Assets section of this release.

Refer to the https://github.com/renesas/fsp/blob/master/README.md "README.md" in the FSP root folder for setup instructions, hardware details, and related links.

New Features

  • MCUboot Solution Template Enhancements:
    • Single‑Image MCUboot Templates:
      • Added MCUboot single image solution template for RA6 CM4 devices (RA6M1, RA6T1, RA6M2, RA6M3) using mbedtls
      • Added MCUboot single image solution template for cm33 devices (RA6M4, RA6M5, RA4M2, RA4M3) using mbedtls with crypto accelerator
      • Added MCUboot single image solution template for cm33 devices (RA6M4, RA6M5, RA6E1, RA4M2, RA4M3, RA4E1) using mbedtls with crypto accelerator
      • Added MCUboot single image solution template for CM85 devices using mbedtls with crypto accelerator
    • MCUboot with MMF (Mirrored Memory Flash) Support:
      • Added MCUboot single image solution template in MMF mode for RA6 CM4 devices (RA6M1, RA6T1, RA6M2, RA6M3) using mbedtls
      • Added MCUboot single image solution template in MMF mode for RA2A2 using mbedtls
    • Multi‑Image MCUboot Templates:
      • Added MCUboot multi-image image solution template in Overwrite mode for CM85 devices (RA8P1, RA8D2, RA8M2, RA8T2) using mbedtls
  • Middleware and Feature Additions:
    • Added support for Host USB Video Class (HUVC) driver
    • Updated LVGL graphic library to version v9.5.0
    • Added support for LwIP SNMP application
    • Added link detection support for all RMAC port from r_layer3_switch
  • New Board and Package Support:
    • Added support for EK-RA8P1, EK-RA8M2, EK-RA8D2 V2 board
    • Updated FSP pin configuration support for:
      • RA8M1, RA8M2 and RA8T1 (169‑BGA package)
      • RA4L1 (72-WLCSP package)
      • RA0E1 (20-TSSOP package):
        • Removed the sub-clock and its pins from FSP clock configuration and pin configuration
        • Initialized the sub-clock related registers per TU
  • Cryptography and Security Updates:
    • Added HMAC-SHA3 224/256/384/512 feature for RSIP-E50D
    • Added xDLMS InitiateRequest message decryption feature for RSIP-E11A
  • Updated to MbedTLS version 3.6.6

Fixes and Improvements

  • Added support to disable the TAU_PWM master-channel interrupt
  • OFS register ZHUK is placed after PBPS
  • Fixed the issue where the IPV settings are not applied to the VLAN and Layer 3 entries
  • Support MAC table searches by source MAC address, destination MAC address, or both
  • Added support of lwIP PPP configuration
  • Updated the CCD setting description in r_ioport to notify users to enable CCD support when using CCD pins
  • Improved CTSU2 diagnosis feature in r_ctsu
  • Fixed issues in CTSU2 CCO correction for devices with certain characteristics (announced in R20TS1229EJ0100), and CTSU1 CCO correction for RA4M2 and RA4M3
  • Fixed MPU region size check to avoid configuring zero size regions when D-Cache is enabled for RA8 devices
  • RSIP Protected Mode driver improvements:
    • Reduced code size for RSIP-E51A and RSIP-E50D PM drivers
    • Updated control procedures for RSIP-E11A PM driver to code size reduction version
    • Updated CAVP certified module for RSIP-E31A PM driver due to re-acquisition of CAVP certification
    • Bugs fixed:
      • Buffer size of cert info and wrapped secret was not defined correctly when using brainpool curve
      • Buffer size of input message was not defined correctly when using KDF-SHA 512
  • Updated PQC-Lib V2.00 with stack overflow bug fix
  • Fixed incorrect bit length for SCE9 PSA Crypto wrapped keys
  • Updated description for RAMP in MDF
  • Fixed link bug r_ether with ICS1894 PHY
  • Updated IAR toolchain to v9.70.4
  • Fixed build error when user custom PHY function is used on ESWM
  • Fixed rm_motor_control callback issue when 2 motors are enabled
  • rm_motor_pm_foc module:
    • Fixed a unit typo where degree values were assigned to variables intended to be in radians
    • Optimized the sine and cosine calculations in the transform function within the current control loop of rm_motor_pm_foc_inner
    • Fixed typos in rm_motor_pm_foc.h:
      • Renamed p_to_outer_active to p_to_inner_active in the outer module
      • Renamed p_to_outer_copy to p_to_inner_copy in the outer module
  • rm_motor_sensor module:
    • Fixed a unit typo where degree values were stored in variables intended for radians
    • Fixed an issue where the sign of e_q inverted during deceleration, causing a loss of value continuity and resulting in incorrect angle integration
  • Added D-Cache enabled support for RA8 devices for below modules:
    • DTC: Review DTC documentation for details
    • SPI_B: Review SPI_B documentation for details
    • SCI_B_SPI: Review SCI_B_SPI documentation for details
    • SCI_B_UART: Review SCI_B_UART documentation for details
  • Corrected the copyright notice errors in the CAVP module source files for RSIP-E31A
  • Improved rm_psa_crypto SHA-256 code to handle message lengths that are multiples of 128 bytes
  • Updated workaround document for e2 studio 2026-04 pin configuration tooling
  • Updated the BSP usage notes and Cortex-M85 cache document with information relevant to DTC driver D-Cache support
  • Fixed an error in the macro definitions that specify the sizes of the key buffer for SCE9 Key Injection
  • Fixed pin output support enable when using the compare match feature
  • LVGL updates:
    • Enabled runtime control of the GPU (enable/disable)
    • Fixed the screen lock issue when using Dave2D
    • Set LV_USE_OBJ_NAME to enabled by default
  • Fixed D-Cache enable and warmstart post-initialization call sequence in SystemInit()
  • Corrected maximum configurable bitrate for R_SPI_B
  • Updated procedures for RSIP-E51A
  • ThreadX projects no longer globally disable GCC sign conversion warnings
  • Fixed WDT security attribution not set in secure project in RA8x2

Known Issues

  • Solution Projects (TrustZone, Multicore):
    • There are issues related to pin configuration in e2 studio 2026-04.2. Refer to this document for workarounds
  • RA0x devices:
    • HS400x and ZMOD4xxx sensors cannot be used on RA0E1
    • FS3000 sensor does not support SAU-I2C driver
  • Selecting 'Safely Remove Hardware and Eject Media' on Windows and eject the mass storage (PMSC), when using USBX composite device (PCDC+PMSC), the Windows Explorer for PMSC does not disappear.
  • PMSC may not work properly when USBX Composite Device (PCDC+PMSC) is connected to a specific Linux OS (USB Host).
  • EWARM version 9.70.4 does not contain support for RA0E3. To develop with IAR for these devices, it is necessary to install a support patch file, for which can be downloaded by EWARM v9.70.4 users from the IAR MyPages system
    • RA0E3 (arm_Renesas_RA0E3_20260106_1.zip)
  • When importing projects in e2 studio that were created using a previous toolchain version be sure that the version specified in the project is integrated (Window->Preferences->Renesas->Renesas Toolchain Integration) or select the appropriate toolchain version if upgrading the project to a later FSP version.
  • When upgrading RA6T2 projects to FSP 6.4.0, the GTETRGx pin assignments might be lost, please re-assign the pins manually.
  • When upgrading RA0E1/E2/L1 projects to FSP 6.4.0, the SAU_SPI00 pin group might be changed, please restore the pin group manually.
  • For known issues in the tools, please refer to the respective tool's release notes e2 studio RN.
  • Updated rm_psa_cryto header to allow using the functions in a CPP project

Visit GitHub Issues for this project.

ターゲットデバイス

ダウンロード

ドキュメント

設計・開発

サンプルコード

関連ボード&キット

ビデオ&トレーニング

追加詳細

構成

  • e2 studio統合開発環境用の CMSIS 準拠のパックファイル
  • RA MCU/ボード用BSP(Board Support Package)
  • 周辺機器にアクセスするためのHALドライバ
  • リアルタイムオペレーティングシステム(RTOS)
  • ミドルウェア プロトコルスタック
  • 通信モジュールコンフィグレータおよびコードジェネレータ
  • あらゆる開発環境やパートナ製ツールと統合するためのソースファイル

サポートされているツールチェーン

FSP のソフトウェアコンポーネントは以下のツールチェーンをサポートしています。

  • e2 studio統合開発環境、GCC Arm EmbeddedおよびLLVM Embedded Toolchain for Armをサポート
  • IAR Embedded Workbench
  • Arm Keil MDK

ソフトウェア インストール マニュアル

インストールおよび使用マニュアルについては FSP GitHub ページを参照してください:FSP GitHub マニュアル

e2 studio:統合開発環境

FSPはRAファミリを用いたプロジェクトにおいて、開発効率を大幅に向上させます。e2 studio統合開発環境では、モジュール選択、コンフィギュレーション、コード開発、コード生成、デバッグなどを行います。FSPではグラフィカルなユーザーインタフェース(GUI)が用意され、これらの主要ステップをGUI上で簡単に行えるようになり、開発プロセスを劇的に短縮することができます。

e2 studioには以下のような機能があり、アプリケーション開発のあらゆる場面をサポートします。

BSPコンフィギュレーション

プロジェクト選択、 MCUやボード固有パラメータの構成や変更を行います。

クロック・コンフィギュレーション

MCUのクロック設定を行います。クロックツリーを表示し、各クロックのソースや分周の設定を行います。

ピン・コンフィギュレーション

MCUの各端子の電気的特性や機能の設定を行います。このピン・コンフィギュレータを使用することにより、多くの複数機能を持つ端子の設定が容易になります。特にピン数の多い製品や複雑に機能がマルチプレクスされた製品を使用したプロジェクトにおいては、エラー表示やガイド機能が非常に役立ちます。

モジュール・コンフィギュレーション

FSPモジュール(HALドライバ、ミドルウェアスタック、RTOSなど)をRTOSアプリケーションやベアメタルアプリケーションに追加し、これらモジュールの各種パラメータ設定を行います。モジュールを選択すると、[プロパティ] 画面が開き、パラメータ設定、割り込み優先度、ピン選択などを行えます。

割り込みコンフィギュレーション

新しいユーザ割り込みやイベントを追加し、割り込みの優先順位を設定することができます。 周辺割り込みのバイパスや、周辺割り込みに対する割込みサービスルーチンを設定することもできます。

コンポーネント・コンフィギュレーション

アプリケーションに必要な個々のモジュールの選択を行います。 選択されたモジュールに紐付く必須のサブモジュールは、すべて自動的に選択されます。モジュール選択はチェックボックスへのチェックで簡単に行えます。

QE ツール

QE for Capacitive Touchは、e2 studio統合開発環境でのアプリケーション開発を支援するツールです。 静電容量式タッチセンサを使用した組み込みシステム開発において、タッチUIの初期設定や感度のチューニングが簡単に行えるため、開発期間を短縮することができます。

QE for BLEは、Bluetooth® Low Energyプロトコルスタックに対応するシステムの組み込みソフトウェアを開発するためのツールです。このソリューションツールキットは、e2 studio統合開発環境で動作します。e2 studioとQE for BLEの組み合わせにより、Bluetooth® Low Energyの通信機能を容易に評価できます。

その他ツールの機能

  • プログラミングを容易にするインテリジェントなオートコンプリート機能
  • アプリケーションコード内で直接 API 関数を選択し、ドラッグ&ドロップで配置する開発者支援ツール
  • ドライバやデバイスのマニュアル記載情報をツールチップ(補足吹出し)でコード内に表示するスマートマニュアル
  • 編集中にコード要素の詳細を表示する編集ホバー機能
  • サンプルプロジェクト、アプリケーションノート、各種セルフサポートリソースへのリンクが置かれた初期画面
  • グラフィック構成ビューアでは、モジュールごとに、特定の設計支援情報へリンクする情報アイコンが用意されています。

開発パートナ製ツールサポート

ルネサス純正統合開発環境「e2 studio」に加え、パートナ製ツール/IDEもRAファミリとFSPをサポートしています。 RAスマートコンフィグレータ (RASC) はRAファミリMCUのソフトウェア(BSP、ドライバ、RTOS およびミドルウェア) を構成できる、デスクトップアプリケーションです。このRASCを使用することで、パートナ製IDE を使うことが可能になります。RASCは2020年3月現在、IAR Embedded Workbench、Keil MDK および Arm コンパイラ 6 ツールチェーンで使用できます。

サポート

サポートコミュニティ

  1. RAマイコン・FSPを使い,WiFIモジュールでFTP転送できますか?

    GITGUBにあるサンプルのFTP Client Example ProjectはEtherベースですが, これをUART接続のSilex WiFiモジュール(RTK00WFMX0B00000BE)で 実現してみたいのです。(srcフォ ...

    2023年7月19日
  2. SPI software Slave Select Line

    RA FSP DocumentにSPIのSlave SelectをGPIOにて制御する例がありました。この場合、FSP Configuratorの設定で、Slave Selectピンに何も選択しない「None」を設定す ...

    2025年11月10日
  3. FSPのR_FLASH_HP_Write()で時折書き込みに失敗する問題について

    環境  MCU : RA6M3  FSP 2.4 お世話になっております。KT_です。 現在、内蔵のコードフラッシュにファームウェアを書き込む際に、高 ...

    2022年4月26日
サポートコミュニティからの全ての結果を参照 (130件)

ナレッジベース

  1. LVGL: GLCDCを用いた32ビットカラーフォーマットの使用

    ... クスライブラリです。RenesasがメンテナンスするLVGLの移植版が、RA Flexible Software PackageFSP)に含まれるようになり、FSP Configurator*を通じてRA MCUプロ ...

  2. RAファミリ: FSP Example Projectのビルドに失敗する

    ... まれている場合があります。FSP Example ProjectのKnown Issueについては、GitHub のFSP Example Project Release Page (https://github.com/renesas/ra-fsp-examples/releases) に記載されてい ...

    2022年12月21日
  3. RAファミリ: FSPでStartup Area Select Flag (BTGLG)を変更する方法

    ... セットによりキャンセルされ、スタートアップ領域はBTFLGの値を参照する設定に切り替わります。 適用製品RA FSP  English 中文

    2025年10月27日
ナレッジベースからの全ての結果を参照 (68件)
サポートコミュニティ

サポートコミュニティ

ルネサスエンジニアリングコミュニティの技術スタッフから迅速なオンライン技術サポートを受けることができます。
記事を参照する

ナレッジベース

ナレッジベースを参照して、役立つ記事、FAQ、その他の役立つリソースを入手してください。
サポートチケット

サポートチケット

技術的に深い内容や公開したくない内容のご質問はこちらです。