概要
説明
ルネサスのFlexible Software Package(FSP)は、ルネサスのArmマイコンRAファミリを用いた組込みシステム設計向けに、ユーザフレンドリでスケーラブル、かつ高品質なソフトウェアを提供するために設計されたソフトウェアパッケージです。エントリーレベルのマイコンから高性能マイコンまでRAファミリ全体のソフトウェア互換性を保証しています。使いやすく、拡張性をもち、高い品質を備えています。 FSPは、RAファミリの新製品が対応するArm®TrustZone® およびその他の革新的なセキュリティ機能をサポートしており、そのまま製品適用可能な品質のドライバ、Azure® RTOS、FreeRTOS™、およびその他の多様なミドルウェアスタックを用いて、セキュアな IoT デバイスを迅速かつ多彩な方法で開発できます。
download 最新FSP(v6.3.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.3.0
Release Notes
Flexible Software Package (FSP) for Renesas RA MCU Family, version 6.3.0
Minimum e2 studio version for FSP 6.3.0 is e2 studio 2025-12
- Download the FSP with e2 studio Windows installer for this release: FSP Windows Platform Installer
- Download the FSP with e2 studio Linux installer for this release: FSP Linux Platform Installer
- Refer to Installing e² studio in a Linux PC | Renesas Customer Hub for information on installing e2 studio and related software components on a Linux PC.
- Download the FSP with e2 studio MacOS (Apple Silicon) installer for this release: FSP MacOS Platform Installer
- Refer to the Quick Start Guide for the e² studio for macOS for information on installing e2 studio and related software components on a macOS PC.
If using IAR or Keil MDK, download the Renesas Advanced Smart Configurator (RASC) for this release.
- For Windows download: FSP RASC Windows Installer
- For Linux download: FSP RASC Linux Installer
- For macOS (Apple Silicon) download: FSP RASC macOS Installer
All installers are available in the Assets section of this release.
Refer to the README.md in the FSP root folder for setup instructions, hardware details, and related links.
New Features
- Added support for PTX Native-Tag add-on API on PTX105R NFC Reader
- Added CEU image capture mode support with optional scale down and YCbCr422 to YCbCr420 format conversion
- Added support for all compare match events on GPT module
- Added support for SPI burst transfer without delay, which allows sending multiple data frames consecutively without any delay between frames
- Added support for USB0 and USB1 simultaneous operation
- MCUBoot supports updating multi-images, especially for multi-core boards
- Updated PQC-Lib to v2.00, which adds support for MLKEM-1024 and MLDSA-87 algorithms
- An SBOM (.spdx) is now generated and uploaded as part of FSP releases
- Added FSP solutions templates for TrustZone projects
- Added Modbus Serial slave module support
- lwIP
- Added lwIP NetBIOS name server application support
- Added lwIP SMTP Client application support
- Added lwIP Iperf application support
- Added HAUD (audio 2.0) driver support
- Added KDF-HMAC feature for RSIP-E11A PM driver
- Added brainpool curve support for ECDH feature for RSIP-E51A and RSIP-E50D PM driver
- Added prehash support for ML-DSA
- Added Per Stream Filtering and Policing (PSFP) feature support
- Added frame preemption feature support on RA8M2, RA8D2, RA8T2, RA8P1 Ethernet drivers
- Allow override of d1_cacheflush() and d1_cacheblockflush() r_drw D1 layer functions
Fixes and Improvements
- Fixed default support of battery charging in USB stack for some devices
- Support for the mbedtls_aes_cmac_prf_128 hardware accelerator function
- Fixed the incorrect address space in MCUboot multi-image by updating the linker configuration
- Added workaround document for e2 studio 2025-12 Solution project pin config issues
- Fixed TrustZone guard function generation for R_GPT_CompareMatchSet()
- Updated r_agt usage notes regarding restrictions with event counting and low power modes per TU TN-RA*-A0133B/E
- Added asymmetric plaintext key generation support for SCE9 and RSIP-E51A in PSA Crypto
- Updated SCE9 Protected Mode APIs to check parameters when parameter checking macro SCE_CFG_PARAM_CHECKING_ENABLE is enabled
- The parameter checking that was already present in previous version is also reflected only if SCE_CFG_PARAM_CHECKING_ENABLE is enabled.
- R_VIN:
- Fixed UDS Passband calculation when image scaling is used
- Fixed generation of Image Stride setting and runtime buffer size
- UDS Enabled state now automatically determined based on configured image input and output sizes
- Updated KDF-SHA feature for RSIP-E11A PM driver to remove the restriction on input message length (up to 64 bytes)
- Updated LLVM version to 21.1.1
- Updated IAR toolchain to v9.70.2
- IAR v9.70.2 includes new device support for RA0L1, RA2T1, RA4C1, RA8D2, RA8M2, RA8P1, and RA8T2
- Reduced code size of AES algorithm for RSIP-E11A PM driver
- Reduced total code size for RSIP Protected Mode driver for RSIP-E31A
- Updated AES-XTS control procedures for RSIP-E51A and RSIP-E50D PM driver in order to satisfy CMVP key requirement
- Corrected RA8M2 SiP (LFBGA-303) and HLQFP-176 part numbers
- Added missing RA8T2 SiP (LFBGA-303) part numbers
- r_ospi_b:
- Fixed code generation to use the erase table for the initial command set in the spi_flash_cfg_t config structure for backwards compatibility
- rm_block_media_spi, rm_levelx_nor_spi, rm_littlefs_spi_flash:
- Updated OSPI_B start address macro usage to support devices with multiple OSPI_B peripherals
- Added support to use decimal input type for TAU PWM duty cycle percent
- Fixed RMAC read overflow issue
- Ocrypto version updated to v3.9.4
- Enabled Ocrypto for RA0E1, RA0E2, RA0L1, RA2E2, and RA2L1 devices
- Fixed build error when USBX Host Hub is enabled
- Reordered HCDC type assignment to fix CDC data transfer issue for Host Composite and HCDC_ECM when parameter checking mode is enabled
- Reduced total code size for RSIP Protected Mode driver for RSIP-E11A
- Platform installer updated to include e2 studio 2025-12
- Removed a vulnerability in the RSA signature verification APIs in SCE Protected Mode
- Segger JLink version updated to 8.92
- Added a note about the counter value to the R_TML_StatusGet API description
- Fixed issue where CANFD CH0 RNC setting was incorrectly applied to CH1(instance 1)
- Updated UARTA permissible baud rate error formula per TU
- E2 Emulator support updated to v2.7.1
Known Issues
- Solution Projects (TrustZone, Multicore):
- There are issues related to pin configuration synchronization between projects in e2 studio 2025-12. Refer to this document for workarounds.
- RA0E1:
- e2 studio projects automatically reset compiler optimization to a Size setting on every generate or build operation
- Add optimization flags (e.g. -O0) manually to 'Other optimization flags' to override the -Oz setting
- 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). - For known issues in the tools, please refer to the respective tool's release notes, e2 studio RN
Deprecations
- AES-XTS key injection feature for RSIP-E31A is deprecated and will be removed in the next major release
- NPU secure and privilege attributes in rm_ethosu are deprecated; configure via OFS2 instead
ターゲットデバイス
設計・開発
サポート
ビデオ&トレーニング
このビデオでは、Flexible Software Package略してFSPの概要を紹介します。FSPは、ルネサスのArm®マイコンRAファミリおよびRZファミリを用いた組込みシステム設計向けに、ユーザフレンドリでスケーラブル、かつ高品質なソフトウェアを提供するために設計されたソフトウェアパッケージです。
ニュース&ブログ
追加詳細
構成
- 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 ツールチェーンで使用できます。
