Multi Source Translation Content

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multi Source Translation Content

Discussions

Sort by:
NXPのインターフェース製品 ~まとめページ~ (日本語ブログ) マイコンやプロセッサを使ったシステム開発では、IC、部品、基板間の通信において「どの通信方式を使うか?、何をどう繋ぐか?」 を決める必要があります。機能だけでなく安定性やデバッグ性、将来の拡張性も重要なポイントです。 I²C / I3C / SPI といったIC間通信から、CANのような車載・産業用途で不可欠なフィールドバス、さらに電圧レベル変換や USB Type‑C まで、インターフェース技術は用途に応じて多様化・高度化しています。 本ページでは、NXPのインターフェース関連技術・製品について、 「基礎を理解する → 実際に動かす → 挙動を読み解く」 という流れで、日本語技術記事を体系的にまとめています。 初めて通信を学ぶ方はもちろん、「なぜ動かないのか」「この波形は正しいのか」といった設計・デバッグの課題に直面している技術者の方向けのお役立ちコンテンツもあります。目的に応じて、気になるカテゴリからご活用ください。 <目的別ガイド> 目的 カテゴリ ・シリアル通信の仕組みを理解したい シリアル通信:I²C / I3C / SPI(ボード間・IC間通信) ・CAN通信について知りたい CAN(車載・産業向け通信) ・バス拡張、スイッチ、電圧変換などのバスの交通整理を行いたい 電圧変換・信号制御(バスの交通整理) ・RTC、温度センサ、GPIOエキスパンダ、LED/LCDドライバ等の周辺ICを探している 周辺デバイス(I²C / I3C / SPI 接続IC) ・USBインターフェースを検討したい USB関連製品(USB Type-C等) シリアル通信:I²C / I3C / SPI(ボード間・IC間通信) ■基礎・解説編 I²Cバスの概要 (日本語ブログ) I3Cバスの概要 (日本語ブログ) 【今知っておくべき】次世代インターフェース「I3C」の基礎 (日本語セミナー動画) SPIバスの概要 (日本語ブログ) ■実践編 I3C動作サンプルコード:「i3c-temperature-sensor」の動かし方 (日本語ブログ) NXPのMCXマイコンとSDKを使ったSPI通信の基本:2台接続での実機テスト (日本語ブログ) NXPのMCXマイコンとSDKを使ったSPI通信の基本:SPIの4つのモードと実際の信号確認 (日本語ブログ) ■設計・デバッグ I²C ハードウェア・デバッグ (日本語ブログ) I²C, I3C, SPI製品セレクタ・ガイド CAN(車載・産業向け通信) CANトランシーバー ■基礎・解説編 CANバス/プロトコルの概要と特長 (日本語ブログ) NXPの車載CAN/LINトランシーバー製品の特徴を徹底解説 (株式会社ネクスティエレクトロニクス) NXPの信号改善機能(SIC)を搭載したCANトランシーバー製品の解説 (株式会社ネクスティエレクトロニクス) ■実践編 NXPのMCXマイコンとSDKを使ってCANのループバックを動かしてみた (日本語ブログ)  (マイコンボード1台でOK) NXPのMCXマイコンを使ったCAN通信の基本:2台接続での実機テスト (日本語ブログ)  (マイコンボード2台必要) 電圧変換・信号制御(バスの交通整理) 電圧レベル変換器 (レベルシフタ) [汎用、I²C、SPI、I3C対応] ■基礎・解説編 デジタル信号の電圧変換ってどうやればいいの? (日本語ブログ) ■実践編 YouTube動画:「電圧レベル・シフタ評価ボード:NTS0304EUK-ARDを動かしてみよう」を公開しました (日本語ブログ) I²C・I3Cバス・バッファ I²C・I3Cマルチプレクサ/スイッチ 周辺デバイス(I²C / I3C / SPI 接続IC) GPIOエキスパンダ [I²C, SPIバス対応] LEDドライバ [I²C, SPIバス対応] NXPの車載向けLEDドライバーの紹介 (株式会社ネクスティエレクトロニクス) LCDドライバ [I²C, SPIバス対応] リアルタイムクロック(RTC) [I²C, SPIバス対応] リアルタイム・クロック(RTC)チップって? (日本語ブログ) 温度センサ [I²C, I3Cバス対応] I3C動作サンプルコード:「i3c-temperature-sensor」の動かし方 (日本語ブログ)  シリアル・プロトコル・ブリッジ  [I²C→UART、SPI→UART、SPI→I²C、I²C→SPI、UART→I²C] プロトコル・ブリッジ紹介とI²C→SPI変換の動作例 (Youtube動画) USB関連製品(USB Type-C等) NXP Semiconductors:USB Type-C ソリューション (株式会社マクニカ) USB PD-PHY/Power Delivery-PHY CCロジック・コントローラ (USB Type-C) USBリドライバ・マルチプレクサ USB Type-C端子保護 (過電圧保護 ならびに腐食防止+濡れ検知) NXPのインターフェース製品を評価するための拡張基板(Arduinoピン互換) インターフェース製品には、各種マイコン基板で簡単に評価が可能なArduino®シールド・ソリューション基板が用意されています。これらの基板向けにすぐに使えるサンプルコードも公開されており、手間をかけずに各製品の特性を見れます。サンプルコードの準備状況はこちらの資料を参照ください。 スクリーンショット 2026-02-09 13.04.40.png   Interfaceに関連するコンテンツの要望や改善点などございましたら、以下よりお気軽にお問い合わせください。 NXPジャパン 技術ブログ(日本語) コンテンツ要望・改善アンケート – フォーム​に記入する =========================​ 本投稿の「Comment」欄にコメントをいただいても、現在返信に対応しておりません。​ お手数をおかけしますが、お問い合わせの際には「NXPへの技術質問 - 問い合わせ方法 (日本語ブログ)」をご参照ください。​ (既に弊社NXP代理店、もしくはNXPとお付き合いのある方は、直接担当者へご質問いただいてもかまいません。)​ NXPのインターフェース製品についてまとめたページです。 I²C / I3C / SPI といったIC間通信から、CANのような車載・産業用途で不可欠なフィールドバス、さらに電圧レベル変換や USB Type‑C まで、インターフェース技術は用途に応じて多様化・高度化しています。 本ページでは、NXPのインターフェース関連技術・製品について、 「基礎を理解する → 実際に動かす → 挙動を読み解く」 という流れで、日本語技術記事を体系的にまとめています。 初めて通信を学ぶ方はもちろん、「なぜ動かないのか」「この波形は正しいのか」といった設計・デバッグの課題に直面している技術者の方向けのお役立ちコンテンツもあります。目的に応じて、気になるカテゴリからご活用ください。 Interface Sensor Technology Focus 日本語ブログ
View full article
Introduction to MCX C15/C16 and FRDM-MCXC162 This video is currently being processed. Please try again in a few minutes. (view in My Videos) FRDM-Training Hands-On Training MCXC
View full article
eIQ Time Series Studio Command Line Interface eIQ Time Series Studio includes a command line interface (CLI) that allows you to generate time series models via the command line just like you would in the GUI. Full documentation of this feature can be found in the eIQ TSS documentation. A Quick Start with the basic key commands is also available.  Below is an example using the command line interface with eIQ Time Series Studio: #Assumes the following items: #1) tss_cli is in the executable path (C:\Program Files\NXP\eIQ_TimeSeriesStudio-1.5.5) #2) The dataset is in C:\tss\dataset #3) A workspace will be setup in C:\tss\workspace #4) The license key has already been retrieved from the TSS GUI #5) The TSS GUI is not also concurrently running #Install license Key tss_cli.exe license activate --key #Start TSS CLI tss_cli engine launch -e "C:\Program Files\NXP\eIQ_TimeSeriesStudio-2.0.5\tss_engine\tss_engine.exe" --port 18000 --workspace "C:\tss\workspace" #Install license key tss_cli license activate --key #Create a classification project for a FRDM-MCXN947 tss_cli project create --project_name cli_fan_project --algo_type cls --device FRDM-MCXN947 --channels 3 --label_target_num 4 #List all projects in the workspace and see details for the newly generated cli_fan_project tss_cli project list tss_cli project query --project_name cli_fan_project #Add training data tss_cli signal list --project_name cli_fan_project tss_cli signal import --project_name cli_fan_project --signal_name ON --file_path C:\tss\data\fan_state_monitoring_3channel\train\train_on.csv --label_id 1 --delimiter " " tss_cli signal import --project_name cli_fan_project --signal_name OFF --file_path C:\tss\data\fan_state_monitoring_3channel\train\train_off.csv --label_id 2 --delimiter " " tss_cli signal import --project_name cli_fan_project --signal_name FRICTION --file_path C:\tss\data\fan_state_monitoring_3channel\train\train_friction.csv --label_id 3 --delimiter " " tss_cli signal import --project_name cli_fan_project --signal_name CLOG --file_path C:\tss\data\fan_state_monitoring_3channel\train\train_clog.csv --label_id 4 --delimiter " " #Check training data tss_cli signal query --project_name cli_fan_project --signal_id 1 #Start training the model. It will print out an opt_ID number, which the first time you run it will be "1". tss_cli optimization start --project_name cli_fan_project -qs --opt_name cli_fan_opt --signals 1 2 3 4 #Get opt_id number while training is running tss_cli optimization list --project_name cli_fan_project #Check how far along the training is and get ranking of models to choose a result_ids tss_cli optimization progress --project_name cli_fan_project --opt_id 1   cli_list.jpg #Can stop the training if feel like have enough results tss_cli optimization stop --project_name cli_fan_project --opt_id 1 #Get the result_ids of the best result. It will also be the top ID when checking the progress above. In this case will use 48 tss_cli optimization results --project_name cli_fan_project --opt_id 1 result_list.png #Get Execution Time estimate for that model tss_cli library time_estimate --project_name cli_fan_project --opt_id 1 --result_id 48 #Get Label Names tss_cli signal list --project_name cli_fan_project label_names.png #Emulate the library on test data tss_cli emulation launch --project_name cli_fan_project --opt_id 1 --result_ids 48 --test_file_info "1" C:\tss\data\fan_state_monitoring_3channel\test\test_on.csv " " --test_file_info "2" C:\tss\data\fan_state_monitoring_3channel\test\test_off.csv " " --test_file_info "3" C:\tss\data\fan_state_monitoring_3channel\test\test_friction.csv " " --test_file_info "4" C:\tss\data\fan_state_monitoring_3channel\test\test_clog.csv " " #Create a TSS library tss_cli library compile --project_name cli_fan_project --opt_id 1 --result_id 48 --save_path "C:\tss\" --arch "cortex-m33" --toolchain "GCC" #Create a TSS example project tss_cli library sample_project --project_name cli_fan_project --opt_id 1 --result_id 48 --save_path "C:\tss" --arch "cortex-m33" --toolchain "GCC" Here's also some tips and common issues to be aware of:  Windows Workspace Permissions On Windows PCs, specify the workspace location when launching the TSS CLI server. The default workspace on Windows may not work properly due to a permissions issue, resulting in the following error: [PYI-12556:ERROR] Failed to execute script 'server' due to unhandled exception!   Workaround: Specify a workspace directory location where TSS has read/write access with the tss_cli engine launch --workspace  argument   Do Not Run CLI and GUI Simultaneously The TSS CLI and TSS GUI should not be run at the same time. Also only one user should interact with the TSS CLI at a time to avoid race conditions in the TSS database if it is on a shared server.    Engine Launch Syntax Correction The TSS CLI documentation uses tss_cli engine launch –engine , but the correct syntax is: tss_cli engine –exe_path   Windows Command Prompt Delimiters When using Windows Command Prompt and importing sensor data with the signal import command, use double quotes (" ") to specify the delimiters (ie a space in this case) instead of the single quotes ('  ')    Terminology Clarification "Optimization" in the documentation refers to the process of training the time series model.   Finding the Optimization ID during training The my-opt-id value can be found by viewing the optimization list with tss_cli optimization list --project_name cli_test_project   Finding the Label Name The label-name value used for emulation commands can be found by viewing the name of the signals with tss_cli signal list --project_name cli_test_project   Boolean Arguments Arguments such as quick search during training are Boolean values, which are automatically enabled when included as part of the command line argument. For example, use -qs rather than -qs true. NPU|ML
View full article
How to enable and use GPIOs with Zephyr in the TrustZone Non-Secure environment with FRDM-MCXN947 This document describes the complete process required to enable and use GPIOs from a Zephyr Non-Secure application running on the FRDM-MCXN947. It covers the configuration of the AHB security attribution settings, the Zephyr and TF-M project configuration, and the use of the GPIO alias mirror registers to grant Non-Secure access to the desired GPIO ports. After completing these steps, GPIO peripherals can be controlled directly from the Zephyr application while maintaining the security isolation provided by TrustZone. FRDM-Training MCXN Package and IO|GPIO Security(Edgelock | secure boot | OTP)
View full article
Urgent - Driver NXP Pegoda CL RD701 Hello, I need the driver for the NXP Pegoda CL RD701 (Windows 11) to use it in RFIDDiscover : https://www.nxp.com/products/rfid-nfc/mifare-hf/mifare-desfire/rfiddiscover:RFID-DISCOVER (RFIDDiscover compatible reader) I need this driver asap to encode NXP NTAG 424 DNA chips. I have already tried with the TagXplorer software and the Identiv uTrust 3700 F reader. The software is no longer up to date and so it didn't work. I really need to encode my chips asap so please provide me with the drivers for the NXP Pegoda CL RD701 reader which are not on the site. Best regards Re: Urgent - Driver NXP Pegoda CL RD701 Hi guys, can somebody please send me also driver for NXP Pegoda RD 701? Thanks you a lot 🙂 Re: Urgent - Driver NXP Pegoda CL RD701 hi @danielchen , Would you please send me win10x64 driver of rd 701? Thanks! Re: Urgent - Driver NXP Pegoda CL RD701 @binhdao ;  ok, will send to you later today.  please create a support account first using blow link ,    https://www.nxp.com/webapp-signup/register?referrerUrl=https://www.nxp.com/products/power-management/pmics-and-sbcs/system-basis-chips/high-speed-can-dual-lin-core-system-basis-chip:UJA1078ATW?tab=Documentation_Tab&linkline=Data%20Sheet I will send it to your account. Re: Urgent - Driver NXP Pegoda CL RD701 hi @danielchen , could you send me the dirver of rd 701? Thanks, Binh Re: Urgent - Driver NXP Pegoda CL RD701 please mail me zhe RD701 driver for windows 7  x64,thank you! Re: Urgent - Driver NXP Pegoda CL RD701 Hi Daniel, I'm in the same case as Loick, I want to use my old NXP Cl RD 701 Pegoda under Windows 10. Could you send me the Windows 7 driver. Thanks. Charles Re: Urgent - Driver NXP Pegoda CL RD701 Hi @Loick : Please check my attached driver, it is for win 7,  and should work on your win10. Regards Daniel Re: Urgent - Driver NXP Pegoda CL RD701 Hi Daniel, Thank you for your prompt response. I’m a bit puzzled as to why the CLRD 701 is listed as a compatible reader for RFIDDiscover if it is indeed very old and no longer maintained. The NTAG 424 DNA chips are relatively recent (2019) and use the advanced DNA technology, so it’s surprising that an outdated reader would be recommended for encoding these. Is there at least a driver available for Windows 10 if there isn't one for Windows 11? Given that Windows 2000 had its last update in 2005, I highly doubt that we would be able to install RFIDDiscover and successfully encode NTAG 424 DNA chips on such an old system. If possible, could you please send us (by email ok) any available drivers for the NXP Pegoda CL RD701 so we can test them as soon as possible? Also, the reader you suggested (CLRD730) is currently out of stock on the website. We urgently need a solution for encoding NTAG 424 DNA chips that includes both a compatible reader and software. Could you advise on the fastest way to set this up? Best regards, Loïck Re: Urgent - Driver NXP Pegoda CL RD701 Hi Loick: CLRD 701 is very old, and not maintained any more.  so you can not find it on the site I would suggest you use CLRD730, please refer to below link for more details. PEGODA Contactless Smart Card Reader | NXP Semiconductors There is no CLRD 701 driver for windows 11, only have a driver for windows 2000. If I can find it on my old pc, and you still need it, I will send it to you via email tomorrow morning . Regards Daniel Re: Urgent - Driver NXP Pegoda CL RD701 hi daniel. could you please send me the driver of CL RD701 for win10 as well. i have a device in production, which is not working. i need it to reinstall the driver.Thank you Re: Urgent - Driver NXP Pegoda CL RD701 Hi, Chuck, could you please share the driver with me as well? for CL RD701 used in window10. Thank you!
View full article
i.MX95 (ELE) 密钥导入 API 的替代方案——需要注入预共享的 AES 密钥 我们在 imx-secure-enclave 仓库的 Readme.md 文件中看到了以下声明:“不支持密钥导入 API。”(链接)到仓库: https://github.com/nxp-imx/imx-secure-enclave ) 在我们的应用场景中,我们希望能够将预共享的 AES 密钥注入到 ELE 中,以便用于加密操作。 有什么计划来支持这项功能? 您能否提出其他建议? Re: Alternative to Key Import API on i.MX95 (ELE) — need to inject a pre-shared AES key 你好, 请参阅以下应用笔记: https://www.nxp.com/webapp/Download?colCode=AN14898&isHTMLorPDF=HTML 此致敬礼/Saludos, 阿尔多。
View full article
i.MX95(ELE)上のキーインポートAPIの代替 — 事前共有されたAESキーを注入する必要がある imx-セキュア・エンクレーブ リポジトリの Readme.md ファイルには次の文がありました:「Key Import APIはサポートされていません。」(リンク)リポジトリ: https://github.com/nxp-imx/imx-secure-enclave ) 私たちのユースケースでは、事前共有されたAESキーをELEに注入し、暗号処理に使えるようにしたいと考えています この機能をサポートするための計画は何ですか? 他におすすめの代替案はありますか? Re: Alternative to Key Import API on i.MX95 (ELE) — need to inject a pre-shared AES key こんにちは、 以下のアプリケーションノートをご参照ください。 https://www.nxp.com/webapp/Download?colCode=AN14898&isHTMLorPDF=HTML 敬具/サルドス、 アルド。
View full article
紧急 - 驱动器 NXP Pegoda CL RD701 你好 我需要恩智浦 Pegoda CL RD701(Windows 11)的驱动程序,以便在 RFIDDiscover 中使用它: https://www.nxp.com/products/rfid-nfc/mifare-hf/mifare-desfire/rfiddiscover:RFID-DISCOVER (RFIDDiscover 兼容阅读器) 我需要这个驱动程序尽快对恩智浦 NTAG 424 DNA 芯片进行编码。我已经用 TagXplorer 软件和 Identiv uTrust 3700 F 阅读器试过了。该软件已不再是最新版本,因此无法使用。我真的需要尽快对芯片进行编码,因此请提供网站上没有的恩智浦 Pegoda CL RD701 读取器的驱动程序。 顺祝商祺! Re: Urgent - Driver NXP Pegoda CL RD701 你们好,谁能把恩智浦 Pegoda RD 701 的驱动程序也发给我?非常感谢 🙂 Re: Urgent - Driver NXP Pegoda CL RD701 hi @danielchen请将 rd 701 的 win10x64 驱动程序发给我好吗?谢谢! Re: Urgent - Driver NXP Pegoda CL RD701 @binhdao;好的,今天晚些时候发给你。 请先使用打击链接创建支持帐户 , https://www.nxp.com/webapp-signup/register?referrerUrl=https://www.nxp.com/products/power-management/pmics-and-sbcs/system-basis-chips/high-speed-can-dual-lin-core-system-basis-chip:UJA1078ATW?tab=Documentation_Tab&linkline=Data%20Sheet 我会发送到您的账户。 Re: Urgent - Driver NXP Pegoda CL RD701 你好,@danielchen,能把 701 号公路的路线发给我吗? 谢谢! Binh Re: Urgent - Driver NXP Pegoda CL RD701 请将 Windows 7 x64 的 RD701 驱动程序发给我,谢谢! Re: Urgent - Driver NXP Pegoda CL RD701 嗨,丹尼尔, ,我的情况和 Loick 一样,我想在 Windows 10 下使用我的老 NXP Cl RD 701 Pegoda。请将 Windows 7 驱动程序发给我。谢谢。 查尔斯 Re: Urgent - Driver NXP Pegoda CL RD701 你好@Loick: 请查看我附带的驱动程序,它适用于 Win7,在您的 Win10 上应该也能运行。 此致 丹尼尔 Re: Urgent - Driver NXP Pegoda CL RD701 嗨,丹尼尔 感谢您的及时回复。 我有点不明白,如果 CLRD 701 真的很老,而且不再维护,为什么会被列为 RFIDDiscover 的兼容读取器。NTAG 424 DNA 芯片相对较新(2019 年),使用的是先进的 DNA 技术,因此建议使用过时的阅读器对其进行编码是令人惊讶的。 如果没有 Windows 11 的驱动程序,是否至少有 Windows 10 的驱动程序?鉴于 Windows 2000 的最后一次更新是在 2005 年,我非常怀疑我们是否能在如此老旧的系统上安装 RFIDDiscover 并成功编码 NTAG 424 DNA 芯片。 如果可能的话,能否请您将恩智浦 Pegoda CL RD701 的可用驱动程序发送给我们(电子邮件即可),以便我们尽快进行测试?另外,您推荐的阅读器(CLRD730)目前在网站上已经缺货。我们急需一种既能兼容阅读器又能兼容软件的 NTAG 424 DNA 芯片编码解决方案。 您能给出最快的设置方法吗? 致以最崇高的敬意, Loïck Re: Urgent - Driver NXP Pegoda CL RD701 你好,罗伊克: CLRD 701 已经非常老旧,而且不再维护。 所以你无法在网站上找到它 我建议您使用 CLRD730,详情请参阅下面的链接。 PEGODA 免接触式智能卡读卡器 | 恩智浦半导体 没有适用于 Windows 11 的 CLRD 701 驱动程序,只有适用于 Windows 2000 的驱动程序。 如果我能在我的旧电脑上找到它,而你还需要它,我会在明天早上通过电子邮件发送给你。 此致 丹尼尔 Re: Urgent - Driver NXP Pegoda CL RD701 嗨,丹尼尔。请问您能否也给我发送一下适用于Win10的CL RD701驱动程序?我有一个正在生产环境中使用的设备,但它无法正常工作。我需要它来重新安装驱动程序。谢谢。 Re: Urgent - Driver NXP Pegoda CL RD701 嗨,查克,你能把驱动程序也分享给我吗?适用于 Windows 10 系统中使用的 CL RD701。谢谢你!
View full article
Alternative to Key Import API on i.MX95 (ELE) — need to inject a pre-shared AES key We see in the Readme.md file of the imx-secure-enclave repository the following statement: “Key Import API not supported."(link to repo: https://github.com/nxp-imx/imx-secure-enclave) For our use case, we want to be able to inject a pre shared AES key to ELE so it can be used for cryptographic operations What is the plan for supporting this feature? Is there any alternative you can suggest? Re: Alternative to Key Import API on i.MX95 (ELE) — need to inject a pre-shared AES key Hello, Please refer to the following Application Note: https://www.nxp.com/webapp/Download?colCode=AN14898&isHTMLorPDF=HTML Best regards/Saludos, Aldo.
View full article
緊急 - NXP Pegoda CL RD701 ドライバ こんにちは、 RFIDDiscover で使用するには、NXP Pegoda CL RD701 (Windows 11) 用のドライバが必要です。 https://www.nxp.com/products/rfid-nfc/mifare-hf/mifare-desfire/rfiddiscover:RFID-DISCOVER (RFIDDiscover対応リーダー) NXP NTAG 424 DNA チップをエンコードするには、このドライバがすぐに必要です。私はすでに TagXplorer ソフトウェアと Identiv uTrust 3700 F リーダーで試しました。ソフトウェアが最新ではなくなったため、動作しませんでした。チップを至急エンコードする必要があるので、サイトに掲載されていない NXP Pegoda CL RD701 リーダーのドライバを提供してください。 よろしくお願いいたします。 Re: Urgent - Driver NXP Pegoda CL RD701 皆さん、NXP Pegoda RD 701のドライバも送っていただけませんか?よろしくお願いします。 🙂 Re: Urgent - Driver NXP Pegoda CL RD701 こんにちは@danielchen さん、rd 701 の win10x64 ドライバを送っていただけますか? ありがとうございます! Re: Urgent - Driver NXP Pegoda CL RD701 @binhdao ; わかりました。今日中に送ります。以下のリンクを使用して、まずサポート アカウントを作成してください。https: //www.nxp.com/webapp-signup/register ?referrerUrl=https://www.nxp.com/products/power-management/pmics-and-sbcs/system-basis-chips/high-speed-can-dual-lin-core-system-basis-chip:UJA1078ATW?tab=Documentation_Tab&linkline=Data%20Sheet あなたの口座に送ります。 Re: Urgent - Driver NXP Pegoda CL RD701 こんにちは@danielchen 、 rd 701 のドライバーを送っていただけますか? ありがとうございます ビン Re: Urgent - Driver NXP Pegoda CL RD701 Windows 7 x64 用の RD701 ドライバをメールで送ってください。ありがとうございます。 Re: Urgent - Driver NXP Pegoda CL RD701 こんにちは、ダニエル。 私も Loick と同じCASEで、古い NXP Cl RD 701 Pegoda を Windows 10 で使用したいと考えています。Windows 7 のドライバを送っていただけますか。ありがとう。 チャールズ Re: Urgent - Driver NXP Pegoda CL RD701 こんにちは@Loick : 添付のドライバを確認してください。これは Windows 7 用ですが、Windows 10 でも動作するはずです。 よろしくお願いします。 ダニエル Re: Urgent - Driver NXP Pegoda CL RD701 こんにちは、ダニエル。 早急なご対応ありがとうございます。 CLRD 701 は確かに非常に古く、メンテナンスも行われていないのに、なぜ RFIDDiscover の互換リーダーとしてリストされているのか、少し不思議に思います。NTAG 424 DNA チップは比較的新しいもの(2019 年)であり、高度な DNA テクノロジを使用しているSO、これらをエンコードするために古いリーダーが推奨されるのは驚きです。 Windows 11 用のドライバがない場合、少なくとも Windows 10 用のドライバはありますか?Windows 2000 の最後の更新が 2005 年であったことを考えると、そのような古いシステムに RFIDDiscover をインストールして NTAG 424 DNA チップを正常にエンコードできるかどうかは非常に疑問です。 可能であれば、NXP Pegoda CL RD701 の利用可能なドライバを (電子メールで) 送信していただき、できるだけ早くテストできるようにしていただけますか?また、ご提案いただいたリーダー(CLRD730)は現在ウェブサイト上で在庫切れとなっております。互換性のあるリーダーとソフトウェアの両方を含む、NTAG 424 DNA チップをエンコードするためのソリューションが早急に必要です。 これを設定する最も速い方法をアドバイスしていただけますか? よろしくお願いします、 ロイック Re: Urgent - Driver NXP Pegoda CL RD701 こんにちは、ロイックさん: CLRD 701 は非常に古く、もうメンテナンスされていません。サイト上で見つけることはできません CLRD730 を使用することをお勧めします。詳細については、以下のリンクを参照してください。 PEGODA非接触型スマートカードリーダー | NXP Semiconductors Windows 11 用の CLRD 701 ドライバはなく、Windows 2000 用のドライバのみがあります。 もし古いパソコンで見つかって、まだ必要なら、明日の朝にメールでお送りします。 よろしくお願いします。 ダニエル Re: Urgent - Driver NXP Pegoda CL RD701 こんにちは、ダニエル。Windows 10用のCL RD701のドライバーも教えていただけますか?稼働中のデバイスがあるのですが、動作しません。ドライバーを再インストールするために必要です。ありがとうございます Re: Urgent - Driver NXP Pegoda CL RD701 こんにちは、チャック、ドライバも教えてもらえますか?Windows 10で使用されるCL RD701用。ありがとう!
View full article
HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 おはよう ! FRDM i.MX 93 の入門ガイドを使って準備を進めています。 FRDM-IMX93のデモイメージをダウンロードしましたが(REV.1.0とREV4.0を試しました)、同じエラーメッセージが表示され続けます。 ガイドに記載されているコマンドを試しました: .\uuu.exe -b sd_all imx-image-full-imx93frdm.rootfs.wic.zst NXP IMXチップ用uuu(Universal Update Utility)-- libuuu_1.5.243-0-g230f1b1 設定ファイルに含める: PctlチップビデオPID Bcdバージョンシリアル番号 ================================================== SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff] SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff] SDPS: MX8DXL 0x1fc9 0x0147 SDPS: MX28 0x15a2 0x004f SDPS: MX815 0x1fc9 0x013e SDPS: MX865 0x1fc9 0x0146 SDPS: MX8ULP 0x1fc9 0x014a SDPS: MX8ULP 0x1fc9 0x014b SDPS: MX93 0x1fc9 0x014e SDPS: MX91 0x1fc9 0x0159 SDPS: MX95 0x1fc9 0x015d SDPS: MX95 0x1fc9 0x015c SDPS: MX943 0x1fc9 0x0027 SDPS: MX952 0x1fc9 0x0028 SDP: MX7D 0x15a2 0x0076 SDP: MX6Q 0x15a2 0x0054 SDP: MX6D 0x15a2 0x0061 SDP: MX6SL 0x15a2 0x0063 SDP: MX6SX 0x15a2 0x0071 SDP: MX6UL 0x15a2 0x007d SDP: MX6ULL 0x15a2 0x0080 SDP: MX6SLL 0x1fc9 0x0128 SDP: MX7ULP 0x1fc9 0x0126 SDP: MXRT106X 0x1fc9 0x0135 SDP: MX8MM 0x1fc9 0x0134 SDP: MX8MQ 0x1fc9 0x012b SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff] SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998] SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998] SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999] SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff] SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998] FBK: 0x066f 0x9afe FBK: 0x066f 0x9bff FBK: 0x1fc9 0x0153 FB: 0x0525 0xa4a5 FB: 0x18d1 0x0d02 FB: 0x3016 0x0001 FB: 0x1fc9 0x0152 FB: 0x0483 0x0afb 組み込みスクリプトを実行します: uuu_version 1.4.149 # @_flash.bin | wicイメージから抽出できるブートローダー # @_image [_flash.bin] | wic イメージを emmc に書き込みます。 # このコマンドは、i.MX6/7、i.MX8MM、i.MX8MQ の場合に実行されます SDP: boot -f imx-image-full-imx93frdm.rootfs.wic.zst/* -scanlimited 0x800000 # このコマンドは、ROMがストリームモードをサポートしている場合に実行されます # i.MX8QXP、i.MX8QM SDPS: boot -scanterm -f imx-image-full-imx93frdm.rootfs.wic.zst/* -scanlimited 0x800000 # これらのコマンドはSPLを使用する場合に実行され、SPLを使用しない場合はスキップされます # SDPU は非推奨になります。SDPU の代わりに SDPV を使用してください。 # ヤミン・アメックス SDPU: 遅延 1000 SDPU: write -f imx-image-full-imx93frdm.rootfs.wic.zst/* -offset 0x57c00 -scanlimited 0x800000 SDPU: ジャンプ -scanlimited 0x800000 # } # これらのコマンドはSPLを使用する場合に実行され、SPLを使用しない場合はスキップされます # if (SPLがSDPVをサポートしている場合) # ヤミン・アメックス SDPV: 遅延 1000 SDPV: write -f imx-image-full-imx93frdm.rootfs.wic.zst/* -skipspl -scanterm -scanlimited 0x800000 SDPV: ジャンプ -scanlimited 0x800000 # } FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${sd_dev} FB: ucmd mmc dev ${sd_dev} FB: flash -raw2sparse all imx-image-full-imx93frdm.rootfs.wic.zst/* FB: flash -scanterm -scanlimited 0x800000 bootloader imx-image-full-imx93frdm.rootfs.wic.zst/* FB: 完了 既知のUSBデバイスが表示されるまでお待ちください... 新しいUSBデバイスが4:2-23F11C6A09B54230に接続されました 4:2-23F11C6A09B54230>開始コマンド:SDPS: boot -scanterm -f imx-image-full-imx93frdm.rootfs.wic.zst/* -scanlimited 0x800000 ファイルの解凍:>imx-image-full-imx93frdm.rootfs.wic.zst 14%4:2-23F11C6A09B54230>HID(W)エラー: LIBUSB_ERROR_TIMEOUT (-7)(20.15秒) 次に、.\uuu.exe -v -b emmc_all .\imx-boot-imx93frdm-sd.bin-flash_singleboot .\imx-image-full-imx93frdm.rootfs.wic.zst を試しました。しかし、同じエラーメッセージも表示されました。 NXP IMXチップ用uuu(Universal Update Utility)-- libuuu_1.5.243-0-g230f1b1 設定ファイルに含める: PctlチップビデオPID Bcdバージョンシリアル番号 ================================================== SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff] SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff] SDPS: MX8DXL 0x1fc9 0x0147 SDPS: MX28 0x15a2 0x004f SDPS: MX815 0x1fc9 0x013e SDPS: MX865 0x1fc9 0x0146 SDPS: MX8ULP 0x1fc9 0x014a SDPS: MX8ULP 0x1fc9 0x014b SDPS: MX93 0x1fc9 0x014e SDPS: MX91 0x1fc9 0x0159 SDPS: MX95 0x1fc9 0x015d SDPS: MX95 0x1fc9 0x015c SDPS: MX943 0x1fc9 0x0027 SDPS: MX952 0x1fc9 0x0028 SDP: MX7D 0x15a2 0x0076 SDP: MX6Q 0x15a2 0x0054 SDP: MX6D 0x15a2 0x0061 SDP: MX6SL 0x15a2 0x0063 SDP: MX6SX 0x15a2 0x0071 SDP: MX6UL 0x15a2 0x007d SDP: MX6ULL 0x15a2 0x0080 SDP: MX6SLL 0x1fc9 0x0128 SDP: MX7ULP 0x1fc9 0x0126 SDP: MXRT106X 0x1fc9 0x0135 SDP: MX8MM 0x1fc9 0x0134 SDP: MX8MQ 0x1fc9 0x012b SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff] SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998] SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998] SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999] SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff] SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998] FBK: 0x066f 0x9afe FBK: 0x066f 0x9bff FBK: 0x1fc9 0x0153 FB: 0x0525 0xa4a5 FB: 0x18d1 0x0d02 FB: 0x3016 0x0001 FB: 0x1fc9 0x0152 FB: 0x0483 0x0afb 組み込みスクリプトを実行します: uuu_version 1.4.149 # @_flash.bin | wicイメージから抽出できるブートローダー # @_image [_flash.bin] | wic イメージを emmc に書き込みます。 # このコマンドは、i.MX6/7、i.MX8MM、i.MX8MQ の場合に実行されます SDP: boot -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -scanlimited 0x800000 # このコマンドは、ROMがストリームモードをサポートしている場合に実行されます # i.MX8QXP、i.MX8QM SDPS: boot -scanterm -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -scanlimited 0x800000 # これらのコマンドはSPLを使用する場合に実行され、SPLを使用しない場合はスキップされます # SDPU は非推奨になります。SDPU の代わりに SDPV を使用してください。 # ヤミン・アメックス SDPU: 遅延 1000 SDPU: write -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -offset 0x57c00 SDPU: ジャンプ -scanlimited 0x800000 # } # これらのコマンドはSPLを使用する場合に実行され、SPLを使用しない場合はスキップされます # if (SPLがSDPVをサポートしている場合) # ヤミン・アメックス SDPV: 遅延 1000 SDPV: write -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -skipspl -scanterm -scanlimited 0x800000 SDPV: ジャンプ -scanlimited 0x800000 # } FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${emmc_dev} FB: ucmd mmc dev ${emmc_dev} FB: flash -raw2sparse all .\imx-image-full-imx93frdm.rootfs.wic.zst/* FB: flash -scanterm -scanlimited 0x800000 bootloader .\imx-boot-imx93frdm-sd.bin-flash_singleboot FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi; FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0 FB: 完了 既知のUSBデバイスが表示されるまでお待ちください... 新しいUSBデバイスが4:2に接続されました。 4:2->開始コマンド:SDPS: boot -scanterm -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -scanlimited 0x800000 4:2->HID(W)エラー: LIBUSB_ERROR_TIMEOUT (-7)(20.02秒) 最新バージョンのuuu.exeを使用しています。また、Windowsには新しいドライバもインストールされています。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 こっちも一緒。Ubuntu 20.04で試してみましたが、同じエラーが発生しました。 sudo ~/uuu-ubuntu20.04 -lsusb NXP IMXチップ用uuu(Universal Update Utility)-- libuuu_1.5.243-0-g230f1b1 コネクテッド Known USB Devices パス チップ プロ ビデオ Pid BcdVersion シリアル番号 ==================================================================== 1:3 MX93 SDPS: 0x1FC9 0x014E 0x0001 8214D79A2FFA4708 sudo ~/uuu-ubuntu20.04 -b emmc_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singlebootimx-image-core-imx93-11x11-lpddr4x-frdm.rootfs-20260608162024.wic.zst NXP IMXチップ用uuu(Universal Update Utility)-- libuuu_1.5.243-0-g230f1b1 成功 0 失敗 1 1:3-8214D79A 1/1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash... MACHINE=imx93frdmとMACHINE=imx93-11x11-lpddr4x-frdmの両方を試しましたが、結果は同じでした。UART DEBUGに以下のログが表示されました。 U-Boot SPL 2024.04+gde16f4f1722+p0(2024年9月2日 10:44:35 +0000) SOC: 0xa1009300 LC: 0x2040010 PMIC: PCA9451A PMIC: オーバードライブ電圧モード DDR: 3733MTS DDR: 3733MTS M33準備OK どこにも解決策はなく、誰も助けてくれない。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 こんにちは、 こちらの標準BSPリリースをお試しください。 https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX また、圧縮されたルートファイルシステムは使用せず、解凍(un-zst)してから再度試すことをお勧めします。 よろしくお願いいたします。 アルド。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 こんにちは、 私も同じ問題に直面しています。 ボードはeMMCから正常に起動するのですが、SDカードに何らかの方法で書き込もうとしても動作しません。 imx93 FRDMのメインページにある、あらかじめビルドされたイメージ(圧縮版と非圧縮版)のいずれかをフラッシュしてみました。 samadarweesh_0-1781090643755.png uuuを使用しています samadarweesh_1-1781090727124.png 私もddを使いました: zstd -d imx-image-full-imx93frdm.rootfs.wic.zst -c | sudo dd of=/dev/mmcblk0 bs=4M status=progress conv=fsync SDカードからボードを起動しても、完全に起動せず、そこで停止します。 U-Boot SPL 2024.04+gde16f4f1722+p0 (Sep 02 2024 - 10:44:35 +0000) SOC: 0xa1009300 LC: 0x2040010 PMIC: PCA9451A PMIC: Over Drive Voltage Mode DDR: 3733MTS DDR: 3733MTS M33 prepare ok そして、flex-installerを使ってDebianベースのイメージをSDカードに書き込もうとしたところ、起動後に同じ出力が表示されました。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 こんにちは、 動作するようになってよかったです。スクリプトをもう一度確認してみます。もしかしたら別のブートローダーを使っているかもしれません。FRDMボードのドキュメントの改善に取り組んでいますので、ご意見ありがとうございます。 よろしくお願いいたします。 アルド。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 ええと、あなたがリンクした最新のソフトウェアとコマンド「.\uuu.exe -v uuu.auto-imx93-11x11-lpddr4x-frdm」でうまくいったと思います。 しかし、これが最善の解決策かどうかはわかりません。なぜなら、私のボードは現在、imx93frdmではなく「imx93evk」として認識されるからです。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 こんにちは!! 最初の問題については、rootfsだけでなくブートローダーも必要となるため、次のようなコマンドを実行する必要があることにご注意ください。 ./uuu-b emmc_all flash.bin imx-image-full-imx93frdm.rootfs.wic ddを使用するという問題については、圧縮されたrootfs(un-zst)を使用しないでください。 よろしくお願いいたします。 アルド。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 また、他の人の役に立つよう、最初の投稿でリンクしたガイドを更新してください。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 先ほど申し上げた通り、うまくいっていません。上記の私のコメントをご確認ください。 これを機能させる唯一の方法は、次のコマンドを実行することです。.\uuu.exe -v uuu.auto-imx93-11x11-lpddr4x-frdm Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 こんにちは、 私も同じ問題に直面しました。i.MX 93年の開発ボードを試しているときに。見つけたトレーニングガイドは誤っていて誤解を招くものでしたし、デモのファームウェアパッケージには何が何であるかの情報がほとんどないファイルが山のように入っていて、「uuu」というユーティリティの使い方は(少なくとも私には)ほとんど理解できません。マニュアルを読んでもそうです。 私が分かったことは以下のとおりです。もし私の理解が間違っていたら、どなたか訂正してください。 デモ版のファームウェアパッケージ「LF_v6.18.20-2.0.0_images_IMX93EVK.zip」をダウンロードしました。uSDカードや内蔵eMMCにファームウェアイメージを書き込むプロセスをテストしたいと思いました。 効果があったのは以下のとおりです。 * 「 imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot 」のような名前のファイルは、特定のボードや異なる構成用のブートローダーイメージだと思います。このモデルはボードのuSDカードに書き込みするために選びました。 * 「imx-image-full-imx93evk.wic」はLinuxのイメージ(rootfsなど)だと思います。一つしかないので、サポートされている開発ボードは全て同じだと思います。 * 上記のコメントにあるように、圧縮版の「imx-image-full-imx93evk.tar.zst」を使用しないでください。 uSDカードに書き込むには: * ボードの電源がオフになっています * uSDカードを挿入してください * ボードの「USB1_C」ポートをUSB-CケーブルでノートPCに接続 * シリアルダウンロードモード用にブートスイッチを [3:0] 0001 に設定 * ファームウェアフォルダから以下のuuuコマンドを使用してください。 # ブートローダーのみをSDカードにコピーします。 uuu -b sd imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot # または:ブートローダーとLinuxイメージをコピーしてください: uuu -b sd_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singlebootimx-image-full-imx93evk.wic * ボード上の電源。UUUは自動的にボードを検出し、ダウンロードを開始するはずです。 eMMCにファイルを書き込むには、以下のコマンドを使用します。 # ブートローダーのみ: uuu -b emcc imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot # または: ブートローダーとイメージ: uuu -b emmc_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singlebootimx-image-full-imx93evk.wic 様々なブートローダーファイルの違いが分かりません。 @Kapixxx  あなたの方法はおそらく効果があったでしょう。すべてのボードは同じLinuxのrootfsを使っているので、ホスト名はすべて「imx93evk」になっていると思います。しかし、uuuスクリプトの使い方がわかりません(例:"uuu.auto-imx93-11x11-lpddr4x-frdm")eMMCではなくuSDカードに書き込みをする。指定されたコマンドラインパラメータ、組み込みスクリプト、および指定されたスクリプトファイル間の関係は不明瞭である。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 私も同じ状況です。試したことをすべてここに挙げます(書式を整えるためにclaudeを使用しました)。このThreadの他の提案も効果がありませんでした。参考になるか分かりませんが、私はUbuntu 22.04 LTSを使用しています。 LFDM-IMX93をlkss.py boot / uuu経由で起動中にLIBUSB_ERROR_TIMEOUTが発生しました。 理事会/環境 ボード: FRDM-IMX93 チップ/プロトコル: MX93 SDPS (Vid 0x1FC9、Pid 0x014E、BcdVersion 0x0001) ホスト:ベアメタルUbuntu 22.04(デュアルブート、仮想マシンではない) uuu バージョン: libuuu_1.5.243-0-g230f1b1 起動スイッチの状態: 1000(シリアルダウンロード/USB起動モード、コースドキュメントより) USB接続: BOOT USB-Cポートは搭載→直接ホスト用USBポートに繋がり、ハブは使いません ケーブル:開発ボードに同梱されていた公式ケーブル(購入後約2週間) 兆候 ./scripts/lkss.py boot(および手動で uuu -b scripts/boot/uuu_script ...)は、常に同じ箇所(flash.bin の SDPS ブート転送の約 14~20% のところ)で失敗します。と: 1:9- 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f /path/to/flash.bin -scanlimited 0x800000 Failed to boot the board ボードはUSB経由で正しく列挙され(lsusbとdmesgで確認済み)、uuu -lsusbでも認識されます。 Connected Known USB Devices Path Chip Pro Vid Pid BcdVersion Serial_no ==================================================================== 1:9 MX93 SDPS: 0x1FC9 0x014E 0x0001 DMESGは接続時に単一のクリーン列挙イベントを示し、転送失敗時には切断・再列挙/xHCIエラー はありません 。 [ 1070.013188] usb 1-9: new high-speed USB device number 7 using xhci_hcd [ 1070.224213] usb 1-9: New USB device found, idVendor=1fc9, idProduct=014e, bcdDevice= 0.01 [ 1070.224223] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1070.224227] usb 1-9: Product: OO Blank 93 [ 1070.224230] usb 1-9: Manufacturer: NXP SemiConductor Inc [ 1070.246463] hid-generic 0003:1FC9:014E.0010: hiddev4,hidraw10: USB HID v1.10 Device [NXP SemiConductor Inc OO Blank 93] on usb-0000:02:00.0-9/input0 scripts/boot/uuu_scriptの内容 # This script can be used to boot the FRDM-IMX93 board using eMMC. # What this does is it writes the rootfs to eMMC and then places # the kernel image and DTB in RAM. # # Parameter list: # # @_flash.bin => boot container # @_rootfs => Rootfs (EXT2) # @_Image => Linux Kernel Image # @_dtb => Linux Kernel DTB # boot into u-boot proper SDPS: boot -scanterm -f _flash.bin -scanlimited 0x800000 # write rootfs to eMMC FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${emmc_dev} FB: ucmd mmc dev ${emmc_dev} FB: flash all _rootfs # write kernel image to RAM FB: ucmd setenv fastboot_buffer ${loadaddr} FB: download -f _Image # write DTB to RAM FB: ucmd setenv fastboot_buffer ${fdt_addr} FB: download -f _dtb # overwrite bootargs FB: ucmd setenv bootargs ${bootargs} root=/dev/mmcblk0 rootwait FB: acmd booti ${loadaddr} - ${fdt_addr} FB: done, 移送中の遺物 flash.bin(ブートコンテナ、lkss-buildrootからのimx9-boot-sd.bin) - 非圧縮 rootfs (lkss-buildroot の rootfs.ext2) - 非圧縮 画像 (8.9M) - カーネル画像 imx93-11x11-frdm.dtb (37K) 転送された成果物はどれも圧縮されていません(.zst/.gz)。搬送中の減圧が原因である可能性を排除する。 試したこと(すべて同じLIBUSB_ERROR_TIMEOUTエラーで失敗しました) デフォルトのlkss.py起動呼び出し(変更されていないuuu_script) ブートスイッチが正しい1000(シリアルダウンロード)位置にあることが確認されています ブート用USBポートが使用されていることを確認しました(POWERポートやDEBUGポートではありません)。 電源を入れる前と電源供給後にケーブルを接続して電源を入れる(両方の命令を試しました) 経路上にUSBハブがないことを確認しました - ホストへの直接接続 既にroot権限で実行されていることを確認済み(lkss.pyは内部的にsudo uuu ...を呼び出します) 転送中にdmesg -wをライブで確認しました。単一列挙はクリーンで、切断・切断イベント情報はありません。 SDPS: boot lineに-scanterm -scanlimited 0x800000フラグを追加しました(同じボード/エラーでNXPコミュニティスレッドで報告された回避策と一致)が変わりませんでした ボードの電源を入れ直しながら、複数回連続で再試行する -v詳細表示フラグを使用してuuuバイナリを直接手動で呼び出した場合(lkss.pyラッパーをバイパス)、同じ失敗箇所/エラーが発生します。 uuu -lsusb でシリコンのリビジョンを確認したところ、BcdVersion 0x0001 となり、他の場所で報告されている既知の動作リビジョンと一致しました。
View full article
HID(W):LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 早安 ! 我正在试用 FRDM i.MX 93 入门指南:指南 我下载了FRDM-IMX93 演示镜像(尝试了 REV.1.0 和 REV4.0),但一直收到相同的错误信息。 尝试了指南中的命令:.\uuu.exe -b sd_all imx-image-full-imx93frdm.rootfs.wic.zst 用于 nxp imx 芯片的 uuu(通用更新实用程序) -- libuuu_1.5.243-0-g230f1b1 版本 in config: Pctl Chip Vid Pid BcdVersion Serial_No ================================================== SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff] SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff] SDPS: MX8DXL 0x1fc9 0x0147 SDPS: MX28 0x15a2 0x004f SDPS: MX815 0x1fc9 0x013e SDPS: MX865 0x1fc9 0x0146 SDPS: MX8ULP 0x1fc9 0x014a SDPS: MX8ULP 0x1fc9 0x014b SDPS: MX93 0x1fc9 0x014e SDPS: MX91 0x1fc9 0x0159 SDPS: MX95 0x1fc9 0x015d SDPS: MX95 0x1fc9 0x015c SDPS: MX943 0x1fc9 0x0027 SDPS: MX952 0x1fc9 0x0028 SDP: MX7D 0x15a2 0x0076 SDP: MX6Q 0x15a2 0x0054 SDP: MX6D 0x15a2 0x0061 SDP: MX6SL 0x15a2 0x0063 SDP: MX6SX 0x15a2 0x0071 SDP: MX6UL 0x15a2 0x007d SDP: MX6ULL 0x15a2 0x0080 SDP: MX6SLL 0x1fc9 0x0128 SDP: MX7ULP 0x1fc9 0x0126 SDP: MXRT106X 0x1fc9 0x0135 SDP: MX8MM 0x1fc9 0x0134 SDP: MX8MQ 0x1fc9 0x012b SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff] SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998] SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998] SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999] SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff] SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998] FBK: 0x066f 0x9afe FBK: 0x066f 0x9bff FBK: 0x1fc9 0x0153 FB: 0x0525 0xa4a5 FB: 0x18d1 0x0d02 FB: 0x3016 0x0001 FB: 0x1fc9 0x0152 FB: 0x0483 0x0afb 运行内置脚本: uuu_version 1.4.149 # @_flash.bin | 引导加载程序,可从 wic 映像中提取 # @_image [_flash.bin] | wic 映像刻录到 emmc。 # 此命令将在 i.mx6/7 i.mx8MM、i.mx8MQ SDP: 启动-f imx-image-full-imx-image-full-imx93frdm.rootfs.wic.zst/*-scanlimited 0x 800000 时运行 # 此命令将在 ROM 支持直播模式时运行 # i.MX8QXP, i.MX8QM SDPS: 启动 -scanterm -f imx-image-full-imx93frdm.rootfs.wic.zst/* -scanlimited 0x800000 # 这些命令将在使用 SPL 时运行,如果不使用 SPL,则跳过这些命令。 # SDPU 将被弃用,请使用 SDPV 代替 SDPU # { SDPU: delay 1000 SDPU: write -f imx-image-full-imx93frdm.rootfs.wic.zst/* -offset 0x57c00 -scanlimited 0x800000 SDPU: jump -scanlimited 0x800000 # } # 使用 SPL 时将运行这些命令,如果不支持,则跳过这些命令。 # 如果(SPL 支持 SDPV) # { SDPV:延迟 1000 SDPV: write -f imx-image-full-imx93frdm.rootfs.wic.zst/* -skipspl -scanterm -scanlimited 0x800000 SDPV: 跳转 -scanlimited 0x800000 # } FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev${sd_dev} FB: ucmd mmc dev${sd_dev} FB: flash -raw2sparse all imx-image-full-imx93frdm.rootfs.wic.zst/* FB: flash -scanterm -scanlimited 0x800000 引导加载程序 imx-image-full-imx93frdm.rootfs.wic.zst/* FB: 已完成 等待已知的 USB 设备出现... 4:2-23 连接新的 USB 设备 F11C6A09B54230 4 :2-23 F11C6A09B54230 > 启动 cmd: SDPS:boot-scanterm-f imx-image-full-imx93frdm.rootfs.wic.zst/*-scanlimited 0x800000 解压缩文件:> imx-image-full-imx9 3frdm.rootfs.wic.zst 14%4:2-23F11C6A09B54230>Fail HID(W):LIBUSB_ERROR_TIMEOUT (-7)(20.15s) 然后我试了一下。\ uuu.exe-v-b emmc_all。\ imx-boot-imx93frdm-sd.bin-flash_singleboot。\ imx-image-full-imx93frdm.rootfs.wic.zst,但也得到了同样的错误信息: 用于 nxp imx 芯片的 uuu(通用更新实用程序) -- libuuu_1.5.243-0-g230f1b1 版本 in config: Pctl Chip Vid Pid BcdVersion Serial_No ================================================== SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff] SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff] SDPS: MX8DXL 0x1fc9 0x0147 SDPS: MX28 0x15a2 0x004f SDPS: MX815 0x1fc9 0x013e SDPS: MX865 0x1fc9 0x0146 SDPS: MX8ULP 0x1fc9 0x014a SDPS: MX8ULP 0x1fc9 0x014b SDPS: MX93 0x1fc9 0x014e SDPS: MX91 0x1fc9 0x0159 SDPS: MX95 0x1fc9 0x015d SDPS: MX95 0x1fc9 0x015c SDPS: MX943 0x1fc9 0x0027 SDPS: MX952 0x1fc9 0x0028 SDP: MX7D 0x15a2 0x0076 SDP: MX6Q 0x15a2 0x0054 SDP: MX6D 0x15a2 0x0061 SDP: MX6SL 0x15a2 0x0063 SDP: MX6SX 0x15a2 0x0071 SDP: MX6UL 0x15a2 0x007d SDP: MX6ULL 0x15a2 0x0080 SDP: MX6SLL 0x1fc9 0x0128 SDP: MX7ULP 0x1fc9 0x0126 SDP: MXRT106X 0x1fc9 0x0135 SDP: MX8MM 0x1fc9 0x0134 SDP: MX8MQ 0x1fc9 0x012b SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff] SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998] SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998] SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999] SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff] SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998] FBK: 0x066f 0x9afe FBK: 0x066f 0x9bff FBK: 0x1fc9 0x0153 FB: 0x0525 0xa4a5 FB: 0x18d1 0x0d02 FB: 0x3016 0x0001 FB: 0x1fc9 0x0152 FB: 0x0483 0x0afb 运行内置脚本: uuu_version 1.4.149 # @_flash.bin | 引导加载程序,可从 wic 映像中提取 # @_image [_flash.bin] | wic 映像刻录到 emmc。 # 此命令将在 i.mx6/7 i.mx8MM、i.mx8MQ SDP: 启动-f 时运行 。 \ imx-boot-imx93frdm-sd.bin-flash_singleboot-Scanlimited 0x800000 # 此命令将在 ROM 支持直播模式时运行 # i.mx8QXP,i.mx8QM SDPS:启动-scanterm- f。\ imx-boot-imx93frdm-sd.bin-flash_singleboot-Scanlimited 0x800000 # 这些命令将在使用 SPL 时运行,如果不弃用 spl # SDPU,则将跳过 这些命令。请使用 SDPV 代替 SDPU # { SDPU: delay 1000 SDPU: write-f。 \ imx-boot-imx93frdm-sd.bin-flash_singleboot-offset 0x57c00 SDPU:jump-scanlimited 0x800000 #} # 这些命令将在使用 SPL 时运行,如果没有 spl 则会跳过 # if(SPL 支持 SDPV) # { SDPV: delay 1000 SDP V: write-f。 \ imx-boot-imx93frdm-sd.bin-flash_singleboot-skipspl-scanterm-scanlimited 0x800000 SDPV:跳跃-scanlimited 0x800000 #} FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev${emmc_dev} FB: ucmd mmc dev${emmc_dev} FB: flash -raw2sparse all .\imx-image-full-imx93frdm.rootfs.wic.zst/* FB:flash-scanterm-scanlimited 0x800000 引导加载程序。 \ imx-boot-imx93frdm-sd.bin-flash_singleboot FB: 如果环境存在 ucmd emmc_ack;那么;否则 setenv emmc_ack 0;fi; FB:ucmd mmc partc onf${emmc_dev}${emmc_ack} 1 0 FB:完成 等待已知的 USB 设备出现... 在 4:2-4:2 连接新的 USB 设备- > 启动 Cmd:SDPS: 启动-scanterm-f。 \ imx-boot-imx93frdm-sd.bin-flash_singleboot-scanlimited 0x800000 4:2-> 失败 HID (W):LIBUSB_ERROR_TIMEOUT (-7) (20.02s) 我使用的是最新的 uuu.exe 版本。 Windows上还有新的驱动程序。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 我也一样。我尝试使用 Ubuntu 20.04,也出现了同样的错误。 sudo ~/uuu-ubuntu20.04 -lsusb uuu(通用更新实用程序),用于 nxp imx 芯片 -- libuu_1.5.243-0-g230f1b1 已连接的已知 USB 设备 路径芯片 Pro Vid Pid BCD 版本序列号_否 ===================================================================================== 8214D79A2FFA4708 sudo ~/uuuu-ubuntu20.04-b emmc_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singlebootimx-image-core-imx93-11x11-lpddr4x-frdm.rootfs-20260608162024.wic.zst 用于 nxp imx 芯片的 uuu(通用更新实用程序) -- libuuu_1.5.243-0-g230f1b1 成功 0 失败 1 1:3-8214 D79A 1/ 1 [HID (W):LIBUSB_ERROR_TIMEOUT (-7)] SDPS:启动-scanterm-f imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash... 我尝试了 MACHINE=imx93frdm 和 MACHINE=imx93-11x11-lpddr4x-frdm,结果相同。我刚刚在 UART 上看到了这个日志 DEBUG: U-Boot SPL 2024.04+gde16f4f1722+p0(Sep 02 2024 - 10:44:35 +0000) SOC: 0xa1009300 LC: 0x2040010 PMIC: PCA9451A PMIC: Over Drive Voltage Mode DDR: 3733MTS DDR: 3733MTS M33 prepare ok 没有任何解决方案,也没有人提供帮助。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 你好, 请从这里尝试使用标准电路板支持包版本: https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX 另外,我建议不要使用压缩的 rootfs,请解压缩(un-zst)后再试一次。 致以最崇高的敬意/问候, Aldo。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 嗨, ,我也遇到了同样的问题。 板从 emmc 启动正常,但是当我尝试以任何方式刷新 SD 卡时它都不起作用。 我试过刷新 imx93 FRDM 主页上的一张预建图像(压缩和未压缩) samadarweesh_0-1781090643755.png 使用uuu samadarweesh_1-1781090727124.png 我也用过dd: zstd -d imx-image-full-imx93frdm.rootfs.wic.zst -c | sudo dd of=/dev/mmcblk0 bs=4M status=progress conv=fsync 然后当我从 SD 卡启动主板时它无法完全启动并停在那里 U-Boot SPL 2024.04+gde16f4f1722+p0 (Sep 02 2024 - 10:44:35 +0000) SOC: 0xa1009300 LC: 0x2040010 PMIC: PCA9451A PMIC: Over Drive Voltage Mode DDR: 3733MTS DDR: 3733MTS M33 prepare ok 当我尝试使用 flex-installer 用基于 Debian 的镜像刷新 SD 卡时,启动后我遇到了同样的输出。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 另外,请更新我在第一篇帖子中链接的指南,以便帮助其他人 :)。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 你好!! 关于第一个问题,请注意,您不仅需要 rootfs,还需要引导加载程序,因此您需要运行类似以下的命令: ./uuu-b emmc_all flash.bin imx-image-full-imx93frdm.rootfs.wic 关于它使用 dd 这一问题,情况相同,请不要使用压缩的 rootfs(un-zst) 此致, 阿尔多。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 嗯,我觉得用你提供的最新软件和以下命令应该能行:.\uuu.exe -v uuu.auto-imx93-11x11-lpddr4x-frdm 但我不知道这是否是最好的解决方案,因为现在我的主板自称是 " imx93evk " 不是 imx93frdm。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 你好, 很高兴它现在可以运行了,我会仔细检查脚本,也许它使用了不同的引导加载程序,是的,我们正在改进 FRDM 板的文档,感谢你的评论。 致以最崇高的敬意/问候, Aldo。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 正如我之前所说,这行不通,请查看我上面的评论。 要让它正常运行的唯一方法是:.\uuu.exe -v uuu.auto-imx93-11x11-lpddr4x-frdm Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 你好, 我在试用 i.MX 93 FRDM 开发板时也遇到了这个问题。我找到的培训指南是错误的,具有误导性;演示固件包包含大量文件,但没有任何信息说明每个文件是什么;即使阅读了手册,‘uuu’实用程序的用法也几乎无法理解(至少对我来说是这样!)。 以下是我弄明白的情况。如果我理解有误,请指正。 我下载了演示固件包“ LF_v6.18.20-2.0.0_images_IMX93EVK.zip ”。我想测试将固件映像写入 uSD 卡和/或内置 eMMC 的过程。 以下方法奏效了: 我认为名称类似“ imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot ”的文件是特定板卡和不同配置的引导加载程序镜像。我选择这个是为了向我板上的uSD卡写入数据。 我认为“ imx-image-full-imx93evk.wic ”是Linux镜像(rootfs等)。只有一个,所以我猜所有支持的开发板都一样? * 根据以上评论,请勿尝试使用压缩版本“imx-image-full-imx93evk.tar.zst”? 写入uSD卡: * 关闭板电源 * 插入uSD卡 * 通过 USB-C 线缆将板的“USB1_C”端口连接到笔记本电脑。 * 将启动开关设置为[3:0] 0001以进入串行下载模式 * 使用固件文件夹中的uuu命令: # 仅将引导加载程序复制到 SD 卡: uuu -b sd imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot 或者:复制引导加载程序和 Linux 镜像: uuu -b sd_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singlebootimx-image-full-imx93evk.wic * 板上电源。UUU 应该会自动检测主板并开始下载。 要将文件写入 eMMC,您可以使用以下命令: # 仅限引导加载程序: uuu -b emcc imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot # 或者:引导加载程序和镜像: uuu -b emmc_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singlebootimx-image-full-imx93evk.wic 我不知道各种启动加载程序文件之间有什么区别。 @Kapixxx你的方法可能确实奏效了。我认为所有板都使用相同的 Linux 根文件系统,所以它们的主机名都是“imx93evk”。然而,我还没有弄明白如何使用 uuu 脚本(例如)。" uuu.auto-imx93-11x11-lpddr4x-frdm ")写入到uSD卡而不是eMMC。提供的命令行参数、内置脚本和提供的脚本文件之间的关系尚不明确。 Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 我的情况也一样,以下是我尝试过的所有方法(我用 Claude 让格式更整齐了)。就连这个帖子里的其他建议也行不通。我使用的是 Ubuntu 22.04 LTS,不知道这有没有影响。 LIBUSB_ERROR_TIMEOUT 启动 FRDM-IMX93 时出错,使用 lkss.py boot / uuu 董事会/环境 板: FRDM-IMX93 芯片/协议: MX93 SDPS(视频 ID 0x1FC9,进程 ID 0x014E,Bcd 版本 0x0001) 主机:裸机 Ubuntu 22.04(双系统启动,非虚拟机) uuu版本: libuuu_1.5.243-0-g230f1b1 启动开关状态: 1000(串口下载/USB启动模式,根据课程文档) USB 连接: 启动 板载 USB-C 端口 → 直接连接主机 USB 端口,无需集线器 线缆:开发板原装线缆(约两周前购买) 症状 ./scripts/lkss.py boot(以及手动 uuu -b scripts/boot/uuu_script ...)始终在同一位置失败(在 SDPS 启动传输 flash.bin 的 14-20% 左右)。和: 1:9- 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f /path/to/flash.bin -scanlimited 0x800000 Failed to boot the board 板通过 USB 正确枚举(已通过 lsusb 和 dmesg 确认),并且已被 uuu -lsusb 识别: Connected Known USB Devices Path Chip Pro Vid Pid BcdVersion Serial_no ==================================================================== 1:9 MX93 SDPS: 0x1FC9 0x014E 0x0001 dmesg 显示连接时只有一个干净的枚举事件,传输失败期间没有断开连接/重新枚举/xHCI 错误: [ 1070.013188] usb 1-9: new high-speed USB device number 7 using xhci_hcd [ 1070.224213] usb 1-9: New USB device found, idVendor=1fc9, idProduct=014e, bcdDevice= 0.01 [ 1070.224223] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1070.224227] usb 1-9: Product: OO Blank 93 [ 1070.224230] usb 1-9: Manufacturer: NXP SemiConductor Inc [ 1070.246463] hid-generic 0003:1FC9:014E.0010: hiddev4,hidraw10: USB HID v1.10 Device [NXP SemiConductor Inc OO Blank 93] on usb-0000:02:00.0-9/input0 scripts/启动/uuu_script 内容 # This script can be used to boot the FRDM-IMX93 board using eMMC. # What this does is it writes the rootfs to eMMC and then places # the kernel image and DTB in RAM. # # Parameter list: # # @_flash.bin => boot container # @_rootfs => Rootfs (EXT2) # @_Image => Linux Kernel Image # @_dtb => Linux Kernel DTB # boot into u-boot proper SDPS: boot -scanterm -f _flash.bin -scanlimited 0x800000 # write rootfs to eMMC FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${emmc_dev} FB: ucmd mmc dev ${emmc_dev} FB: flash all _rootfs # write kernel image to RAM FB: ucmd setenv fastboot_buffer ${loadaddr} FB: download -f _Image # write DTB to RAM FB: ucmd setenv fastboot_buffer ${fdt_addr} FB: download -f _dtb # overwrite bootargs FB: ucmd setenv bootargs ${bootargs} root=/dev/mmcblk0 rootwait FB: acmd booti ${loadaddr} - ${fdt_addr} FB: done, 文物转移 flash.bin(启动容器,来自 lkss-buildroot 的 imx9-boot-sd.bin)- 未压缩 根文件系统(来自 lkss-buildroot 的 rootfs.ext2)- 未压缩 图像(8.9M)- 内核图像 imx93-11x11-frdm.dtb (37K) 所有传输的文件均未压缩(.zst/.gz格式)。排除转运过程中减压的可能性。 已尝试过的所有方法(均失败,错误代码均为 LIBUSB_ERROR_TIMEOUT) 默认的 lkss.py 启动调用(未修改的 uuu_script) 已确认启动开关处于正确的 1000(串行下载)位置 已确认使用的是启动 USB 端口(而非电源或调试端口)。 尝试在通电前和通电后连接电缆进行电源循环(两种顺序都试过了) 已确认路径中没有 USB 集线器 - 直接主机连接 已确认以 root 用户身份运行(lkss.py 内部调用 sudo uuu ...) 传输过程中检查了 dmesg -w live 命令,结果显示只有一个枚举值,没有丢包/断开连接事件。 在 SDPS: 启动行中添加了 -scanterm -scanlimited 0x800000 标志(与 NXP 社区论坛中针对同一板卡/错误报告的解决方法一致) - 无变化 多次连续重试,每次重试之间均对主板进行断电重启。 直接手动调用 uuu 二进制文件(绕过 lkss.py 包装器),并使用 -v verbose 标志,仍然出现相同的故障点/错误。 通过 uuu -lsusb -BcdVersion 0x0001 检查了芯片版本,与其他地方报告的已知可用版本相符。
View full article
HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Good Morning ! I am trying to get ready with FRDM i.MX 93 with getting started guide: Guide I downloaded FRDM-IMX93 Demo Images (tried REV.1.0 and REV4.0), but keep getting same error message.  Tried command from guide: .\uuu.exe -b sd_all imx-image-full-imx93frdm.rootfs.wic.zst uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 Build in config: Pctl Chip Vid Pid BcdVersion Serial_No ================================================== SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff] SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff] SDPS: MX8DXL 0x1fc9 0x0147 SDPS: MX28 0x15a2 0x004f SDPS: MX815 0x1fc9 0x013e SDPS: MX865 0x1fc9 0x0146 SDPS: MX8ULP 0x1fc9 0x014a SDPS: MX8ULP 0x1fc9 0x014b SDPS: MX93 0x1fc9 0x014e SDPS: MX91 0x1fc9 0x0159 SDPS: MX95 0x1fc9 0x015d SDPS: MX95 0x1fc9 0x015c SDPS: MX943 0x1fc9 0x0027 SDPS: MX952 0x1fc9 0x0028 SDP: MX7D 0x15a2 0x0076 SDP: MX6Q 0x15a2 0x0054 SDP: MX6D 0x15a2 0x0061 SDP: MX6SL 0x15a2 0x0063 SDP: MX6SX 0x15a2 0x0071 SDP: MX6UL 0x15a2 0x007d SDP: MX6ULL 0x15a2 0x0080 SDP: MX6SLL 0x1fc9 0x0128 SDP: MX7ULP 0x1fc9 0x0126 SDP: MXRT106X 0x1fc9 0x0135 SDP: MX8MM 0x1fc9 0x0134 SDP: MX8MQ 0x1fc9 0x012b SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff] SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998] SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998] SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999] SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff] SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998] FBK: 0x066f 0x9afe FBK: 0x066f 0x9bff FBK: 0x1fc9 0x0153 FB: 0x0525 0xa4a5 FB: 0x18d1 0x0d02 FB: 0x3016 0x0001 FB: 0x1fc9 0x0152 FB: 0x0483 0x0afb Run built-in script: uuu_version 1.4.149 # @_flash.bin | bootloader, which can extract from wic image # @_image [_flash.bin] | wic image burn to emmc. # This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ SDP: boot -f imx-image-full-imx93frdm.rootfs.wic.zst/* -scanlimited 0x800000 # This command will be run when ROM support stream mode # i.MX8QXP, i.MX8QM SDPS: boot -scanterm -f imx-image-full-imx93frdm.rootfs.wic.zst/* -scanlimited 0x800000 # These commands will be run when use SPL and will be skipped if no spl # SDPU will be deprecated. please use SDPV instead of SDPU # { SDPU: delay 1000 SDPU: write -f imx-image-full-imx93frdm.rootfs.wic.zst/* -offset 0x57c00 -scanlimited 0x800000 SDPU: jump -scanlimited 0x800000 # } # These commands will be run when use SPL and will be skipped if no spl # if (SPL support SDPV) # { SDPV: delay 1000 SDPV: write -f imx-image-full-imx93frdm.rootfs.wic.zst/* -skipspl -scanterm -scanlimited 0x800000 SDPV: jump -scanlimited 0x800000 # } FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${sd_dev} FB: ucmd mmc dev ${sd_dev} FB: flash -raw2sparse all imx-image-full-imx93frdm.rootfs.wic.zst/* FB: flash -scanterm -scanlimited 0x800000 bootloader imx-image-full-imx93frdm.rootfs.wic.zst/* FB: done Wait for Known USB Device Appear... New USB Device Attached at 4:2-23F11C6A09B54230 4:2-23F11C6A09B54230>Start Cmd:SDPS: boot -scanterm -f imx-image-full-imx93frdm.rootfs.wic.zst/* -scanlimited 0x800000 Decompress file:>imx-image-full-imx93frdm.rootfs.wic.zst 14%4:2-23F11C6A09B54230>Fail HID(W): LIBUSB_ERROR_TIMEOUT (-7)(20.15s) Then I tried .\uuu.exe -v -b emmc_all .\imx-boot-imx93frdm-sd.bin-flash_singleboot .\imx-image-full-imx93frdm.rootfs.wic.zst, but also got same error meassage: uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 Build in config: Pctl Chip Vid Pid BcdVersion Serial_No ================================================== SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff] SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff] SDPS: MX8DXL 0x1fc9 0x0147 SDPS: MX28 0x15a2 0x004f SDPS: MX815 0x1fc9 0x013e SDPS: MX865 0x1fc9 0x0146 SDPS: MX8ULP 0x1fc9 0x014a SDPS: MX8ULP 0x1fc9 0x014b SDPS: MX93 0x1fc9 0x014e SDPS: MX91 0x1fc9 0x0159 SDPS: MX95 0x1fc9 0x015d SDPS: MX95 0x1fc9 0x015c SDPS: MX943 0x1fc9 0x0027 SDPS: MX952 0x1fc9 0x0028 SDP: MX7D 0x15a2 0x0076 SDP: MX6Q 0x15a2 0x0054 SDP: MX6D 0x15a2 0x0061 SDP: MX6SL 0x15a2 0x0063 SDP: MX6SX 0x15a2 0x0071 SDP: MX6UL 0x15a2 0x007d SDP: MX6ULL 0x15a2 0x0080 SDP: MX6SLL 0x1fc9 0x0128 SDP: MX7ULP 0x1fc9 0x0126 SDP: MXRT106X 0x1fc9 0x0135 SDP: MX8MM 0x1fc9 0x0134 SDP: MX8MQ 0x1fc9 0x012b SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff] SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998] SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998] SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999] SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff] SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998] FBK: 0x066f 0x9afe FBK: 0x066f 0x9bff FBK: 0x1fc9 0x0153 FB: 0x0525 0xa4a5 FB: 0x18d1 0x0d02 FB: 0x3016 0x0001 FB: 0x1fc9 0x0152 FB: 0x0483 0x0afb Run built-in script: uuu_version 1.4.149 # @_flash.bin | bootloader, which can extract from wic image # @_image [_flash.bin] | wic image burn to emmc. # This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ SDP: boot -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -scanlimited 0x800000 # This command will be run when ROM support stream mode # i.MX8QXP, i.MX8QM SDPS: boot -scanterm -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -scanlimited 0x800000 # These commands will be run when use SPL and will be skipped if no spl # SDPU will be deprecated. please use SDPV instead of SDPU # { SDPU: delay 1000 SDPU: write -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -offset 0x57c00 SDPU: jump -scanlimited 0x800000 # } # These commands will be run when use SPL and will be skipped if no spl # if (SPL support SDPV) # { SDPV: delay 1000 SDPV: write -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -skipspl -scanterm -scanlimited 0x800000 SDPV: jump -scanlimited 0x800000 # } FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${emmc_dev} FB: ucmd mmc dev ${emmc_dev} FB: flash -raw2sparse all .\imx-image-full-imx93frdm.rootfs.wic.zst/* FB: flash -scanterm -scanlimited 0x800000 bootloader .\imx-boot-imx93frdm-sd.bin-flash_singleboot FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi; FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0 FB: done Wait for Known USB Device Appear... New USB Device Attached at 4:2- 4:2->Start Cmd:SDPS: boot -scanterm -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -scanlimited 0x800000 4:2->Fail HID(W): LIBUSB_ERROR_TIMEOUT (-7)(20.02s) I am using latest uuu.exe version. Also with new drivers on windows. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Same here. I'm trying with Ubuntu 20.04 and same error occured. sudo ~/uuu-ubuntu20.04 -lsusb uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 Connected Known USB Devices Path Chip Pro Vid Pid BcdVersion Serial_no ==================================================================== 1:3 MX93 SDPS: 0x1FC9 0x014E 0x0001 8214D79A2FFA4708 sudo ~/uuu-ubuntu20.04 -b emmc_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot imx-image-core-imx93-11x11-lpddr4x-frdm.rootfs-20260608162024.wic.zst uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 Success 0 Failure 1 1:3-8214D79A 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash... I tried both with MACHINE=imx93frdm and MACHINE=imx93-11x11-lpddr4x-frdm and same result. I just see this log on UART DEBUG: U-Boot SPL 2024.04+gde16f4f1722+p0 (Sep 02 2024 - 10:44:35 +0000) SOC: 0xa1009300 LC: 0x2040010 PMIC: PCA9451A PMIC: Over Drive Voltage Mode DDR: 3733MTS DDR: 3733MTS M33 prepare ok There's no solution anywhere and no one is helping. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Hello, Please try with the standard BSP release from here: https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX Also, I would rather recommend to not use the compressed rootfs, please uncompress (un-zst) and try again. Best regards/Saludos, Aldo. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Hi,  I am facing the same problem.  The board is booting fine from the emmc but when I try to flash the SD card in any way it does not work. I tried flashing one of the pre-built images on the imx93 FRDM main page (compressed and un-compressed) samadarweesh_0-1781090643755.png using uuu samadarweesh_1-1781090727124.png I also used dd:  zstd -d imx-image-full-imx93frdm.rootfs.wic.zst -c | sudo dd of=/dev/mmcblk0 bs=4M status=progress conv=fsync then when I boot the board from the SD card it does not fully boot and stops there U-Boot SPL 2024.04+gde16f4f1722+p0 (Sep 02 2024 - 10:44:35 +0000) SOC: 0xa1009300 LC: 0x2040010 PMIC: PCA9451A PMIC: Over Drive Voltage Mode DDR: 3733MTS DDR: 3733MTS M33 prepare ok And I faced this same output after booting up when I tried flashing the SD card with the Debian-based image using flex-installer. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Hello!! For the first issue, please note that you'll need the bootloader not only the rootfs, so you'll need to run a command like the following: ./uuu -b emmc_all flash.bin imx-image-full-imx93frdm.rootfs.wic For the issue that it uses dd, is the same please do not use compressed rootfs (un-zst) Best regards/Saludos, Aldo. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Also please update the guide I linked in first post to help others :). Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Hello, Glad that it is now working, I will double check the script maybe it uses a different bootloader, and yes we are working on improvingthe documentation for the FRDM boards we apreciate your comments. Best regards/Saludos, Aldo. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Well I think it worked with the latest software You linked and command: .\uuu.exe -v uuu.auto-imx93-11x11-lpddr4x-frdm But I don't know is it the best solution, because now my board introduces itself as "imx93evk" not imx93frdm. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 As I told it is not working, check my comment above. The only way to make it work is: .\uuu.exe -v uuu.auto-imx93-11x11-lpddr4x-frdm Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Hi, I have run into this problem as well, trying out a i.MX 93 FRDM development board. The training guide I found was wrong and misleading, the demo firmware package contains a pile of files with no info as to what each one is, and the usage of the "uuu" utility is almost incomprehensible (at least to me!), even after reading the manual for it.  Here's what I have figured out.  Someone please correct me if I got this wrong. I downloaded the demo firmware package "LF_v6.18.20-2.0.0_images_IMX93EVK.zip". I wanted to test the process of writing a firmware image to the uSD card and/or the built-in eMMC. Here is what worked: * I think files with names like "imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot" are bootloader images for specific boards and different configurations. I chose this one for writing to uSD card on my board. * I think "imx-image-full-imx93evk.wic" is the Linux image (rootfs, etc). There is only one, so I guess it's the same for all supported dev boards? * As per comments above, don't try to use the zipped version "imx-image-full-imx93evk.tar.zst"? To write to uSD card: * Power off board * Insert uSD card * Connect board "USB1_C" port to laptop via USB-C cable * Set boot switches to [3:0] 0001 for serial download mode * Use this uuu command from the firmware folder: # Copy BOOTLOADER ONLY to the SD card: uuu -b sd imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot # OR: Copy bootloader and linux image: uuu -b sd_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot imx-image-full-imx93evk.wic * Power on the board. UUU should automatically detect the board and start the download. For writing the files to eMMC, you use these commands: # Bootloader Only: uuu -b emcc imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot # OR: Bootloader and Image: uuu -b emmc_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot imx-image-full-imx93evk.wic I don't know what the difference is between the various boot loader files. @Kapixxx   Your method probably did work. I think all the boards use the same Linux rootfs so they all have the host name "imx93evk". However, I have not figured out how to use a uuu script (e.g. "uuu.auto-imx93-11x11-lpddr4x-frdm") to write to uSD card rather than eMMC. The relationship between the supplied command line parameters, built-in scripts, and supplied script files is unclear. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Same thing with me here's everything I've tried (I used claude to make all this formatting neater.) Even the other suggestion in this thread did not work. I am using Ubuntu 22.04 LTS if that makes any difference. LIBUSB_ERROR_TIMEOUT booting FRDM-IMX93 via lkss.py boot / uuu Board / Environment Board: FRDM-IMX93 Chip / Protocol: MX93 SDPS (Vid 0x1FC9, Pid 0x014E, BcdVersion 0x0001) Host: Bare-metal Ubuntu 22.04 (dual boot, not a VM) uuu version: libuuu_1.5.243-0-g230f1b1 Boot switch state: 1000 (serial download / USB boot mode, per course docs) USB connection: BOOT USB-C port on board → direct to host USB port, no hub Cable: Official cable shipped with the dev board (~2 weeks old) Symptom ./scripts/lkss.py boot (and manual uuu -b scripts/boot/uuu_script ...) consistently fails at the same point (~14-20% into the SDPS boot transfer of flash.bin) with: 1:9- 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f /path/to/flash.bin -scanlimited 0x800000 Failed to boot the board Board correctly enumerates over USB (confirmed via lsusb and dmesg) and is recognized by uuu -lsusb: Connected Known USB Devices Path Chip Pro Vid Pid BcdVersion Serial_no ==================================================================== 1:9 MX93 SDPS: 0x1FC9 0x014E 0x0001 dmesg shows a single clean enumeration event at connect time, with no disconnect/re-enumeration/xHCI errors during the failed transfer: [ 1070.013188] usb 1-9: new high-speed USB device number 7 using xhci_hcd [ 1070.224213] usb 1-9: New USB device found, idVendor=1fc9, idProduct=014e, bcdDevice= 0.01 [ 1070.224223] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1070.224227] usb 1-9: Product: OO Blank 93 [ 1070.224230] usb 1-9: Manufacturer: NXP SemiConductor Inc [ 1070.246463] hid-generic 0003:1FC9:014E.0010: hiddev4,hidraw10: USB HID v1.10 Device [NXP SemiConductor Inc OO Blank 93] on usb-0000:02:00.0-9/input0 scripts/boot/uuu_script contents # This script can be used to boot the FRDM-IMX93 board using eMMC. # What this does is it writes the rootfs to eMMC and then places # the kernel image and DTB in RAM. # # Parameter list: # # @_flash.bin => boot container # @_rootfs => Rootfs (EXT2) # @_Image => Linux Kernel Image # @_dtb => Linux Kernel DTB # boot into u-boot proper SDPS: boot -scanterm -f _flash.bin -scanlimited 0x800000 # write rootfs to eMMC FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${emmc_dev} FB: ucmd mmc dev ${emmc_dev} FB: flash all _rootfs # write kernel image to RAM FB: ucmd setenv fastboot_buffer ${loadaddr} FB: download -f _Image # write DTB to RAM FB: ucmd setenv fastboot_buffer ${fdt_addr} FB: download -f _dtb # overwrite bootargs FB: ucmd setenv bootargs ${bootargs} root=/dev/mmcblk0 rootwait FB: acmd booti ${loadaddr} - ${fdt_addr} FB: done, Artifacts being transferred flash.bin (boot container, imx9-boot-sd.bin from lkss-buildroot) - uncompressed rootfs (rootfs.ext2 from lkss-buildroot) - uncompressed Image (8.9M) - kernel image imx93-11x11-frdm.dtb (37K) None of the transferred artifacts are compressed (.zst/.gz), ruling out decompression-during-transfer as a cause. What's been tried (all failed with the same LIBUSB_ERROR_TIMEOUT) Default lkss.py boot invocation (unmodified uuu_script) Verified boot switch is in correct 1000 (serial download) position Verified BOOT USB port is used (not POWER or DEBUG) Power-cycling with cable connected before power, and after power (both orders tried) Confirmed no USB hub in the path - direct host connection Confirmed already running as root (lkss.py invokes sudo uuu ... internally) Checked dmesg -w live during transfer - clean single enumeration, no drop/disconnect events Added -scanterm -scanlimited 0x800000 flags to the SDPS: boot line (matches a workaround reported in an NXP community thread for the same board/error) - no change Multiple consecutive retries with board power-cycled between attempts Manual invocation of uuu binary directly (bypassing lkss.py wrapper) with -v verbose flag - same failure point/error Checked silicon revision via uuu -lsusb - BcdVersion 0x0001, matches known-working revisions reported elsewhere
View full article
WS2812とのインターフェースLPC5514JBD64E こんにちは、NXPコミュニティの皆さん、 私はLPC5514JBD64Eベースのコントローラーを使っていて、WS2812/WS2812B LEDリングをMCUとインターフェースする必要があります。 LPC5514JBD64Eのデータシートとコントローラ回路図を勉強していますが、LPC55xxファミリは初心者で、アドバイスが必要です。 知りたいのは以下の点です。 1. LPC5514JBD64EのどのGPIOピンをWS2812のデータ(DIN)信号に使用すればよいですか? 2. LPC5514JBD64Eは3.3Vロジックを使用し、WS2812は5Vで電源供給されるため、MCUとWS2812の間に推奨されるハードウェア接続は何でしょうか? 3. MCU GPIOとWS2812 DINの間で74AHCT125が推奨されるか? 4. WS2812プロトコルで求められる正確なタイミングを生成するためには、どのペリフェラルまたは方法を使うべきか? 5. WS2812やNeoPixel LEDをこのLPC5514JBD64Eで制御するための公式のNXP SDK例、ドライバー、またはサンプルコードはありますか? 6.もしWS2812特有の例がなければ、WS2812のLEDやLEDリングが点滅したり色を変えたりする基本的な動作例コードを教えてもらえますか? 7. このMCUに推奨される開発環境およびプログラミング・デバッグ手順は何ですか? 私の当面の目標は、LPC5514JBD64Eを使用してWS2812 LEDリングを点滅させ、異なる色を表示させることです。 正しいGPIO、ハードウェア接続、ペリフェラル、そして例コードについてのアドバイスをいただけるとありがたいです。 ご回答をお待ちしています。 LPC55xx Re: WS2812 interface With LPC5514JBD64E このプロジェクトのコードを教えていただけますか? Re: WS2812 interface With LPC5514JBD64E こんにちは、 @Kishore02さん 1. WS2812プロトコルでは、正確なタイミングで出力される単線デジタル信号が必要です。したがって、DIN信号はソフトウェアのビットバンギングではなく、タイマーやPWMペリフェラルによって生成されるべきです。 LPC551xデバイスの場合、実用的な解決策の一つはSCTimer出力を使用することです。 正確なピンはハードウェア設計やピンマルチマックス構成によって異なります。SCTimer出力として設定可能なピンなら、どんなものでも使用可能です。 例えば、LPC55S16 SDKはsctimer_pwm_with_dutycycle_change例を提供しており、以下を使用します: SCT0_OUT2 (J12-12 on LPCXpresso55S16 board) 2. LPC5514は3.3Vロジックで動作し、WS2812は通常5Vで駆動されるため、信号の完全性を向上させ、信頼性の高い動作を確保するためにレベルシフトが推奨されます。 3. はい。 74AHCT125は、3.3V MCUと5V WS2812デバイスを接続する際に一般的に推奨されるソリューションです。 4. LPC551xデバイスの場合、推奨されるアプローチは次のとおりです。 SCTimer(推奨) 800kHzの波形を生成する。 送信ビットごとにPWMデューティサイクルを動的に更新します。 SDKの例に似ています: sctimer_pwm_with_dutycycle_change 現時点では、LPC5514向けにWS2812やNeoPixel LEDを特化した公式のMCUXpresso SDK例は知りません。5.At しかし、SDKには出発点として使えるいくつかのSCTimer PWM例も提供されています。 特に: sctimer_pwm sctimer_pwm_with_dutycycle_change LPC5514 SDK専用のWS2812例はまだ見つかっていませんが、以前はSCTimer + eDMAソリューションを使ってFRDM-MCXN947ボード上で信頼性の高いWS2812制御を実現しました。 6.まずは以下から始めることをお勧めします。 lpcxpresso55s16_sctimer_pwm_with_dutycycle_change 7. 推奨される開発環境は以下のとおりです。 MCUXpresso IDE MCUXpresso SDK LPC-Link2またはMCU-Linkデバッガ オンボードCMSIS-DAPデバッガ(評価ボードに搭載されている場合) これがあなたのお役に立てば幸いです。 BR ハリー
View full article
rt1189 Boot Flow 1. As shown in the figure, does the "Authenticate Image" process verify the hash value during the SHA-512 hashing stage?  yanyanwang_0-1786097643048.png 2. If I set the hash value, will the BootROM verify the image integrity? And if the BootROM verification fails, will it enter recovery mode? Re: rt1189 Boot Flow 1. Is hash verification enabled only when the signature authentication feature is enabled? How can hash verification be enabled independently? How can the device be transitioned into the OEM_CLOSED lifecycle state? 2. I will enable the Recovery Boot fuse. 3. My goal is to use an unencrypted image. The Boot ROM should calculate and verify the image hash. If the hash verification fails, the Boot ROM should enter the recovery boot flow and boot the recovery image from the LPSPI NOR Flash. Re: rt1189 Boot Flow Hi @yanyanwang , A1: Yes. RT1180 uses AHAB with two authentication layers: Signature layer: ECDSA (SHA-256 / SHA-384) verifies the Container header and image array entry (which stores each image's Hash). Hash layer: The ROM re-computes the digest of the loaded image body and compares it against the Hash stored in the image array entry. The SHA hashing stage in your figure is exactly this mandatory integrity check, which does verify the hash value. A2:The ROM always computes and compares the hash, but whether a failure is enforced depends on the device life cycle: the out-of-fab default is the Open configuration, where authentication runs but all authentication errors are ignored and the image still executes. Only after the device is moved to OEM_CLOSED will a hash mismatch actually block boot. Whether it enters recovery depends on the Recovery Boot fuse. if enabled, a primary-boot authentication failure triggers a re-load and re-authentication from the recovery device; if not enabled, the flow falls through to Serial Downloader / Fatal Mode / reset loop. Best regards, Gavin Re: rt1189 Boot Flow yanyanwang_0-1786444750281.png yanyanwang_1-1786444764361.png As shown in the figure above, if I only sign the image and do not encrypt it, will it be able to go through the bootrom verification flow? Additionally, with oem_close enabled, will it still be able to enter the bootrom verification flow?     Re: rt1189 Boot Flow Please find answers to your two questions below: 1. Can a signed-only (non-encrypted) image go through the BootROM verification flow? Yes. In the RT1180 AHAB, signing (authentication) is the mandatory part of secure boot, ensuring image authenticity and integrity, while encryption (OTFAD/IEE) is an independent, optional anti-cloning feature and is NOT a prerequisite for verification. Therefore, a signed-only image will go through the full AHAB signature verification flow normally, this is also the standard approach in NXP's official SPSDK rt118x_secure_boot example. 2. With oem_close (OEM_CLOSED) enabled, will it still enter the verification flow? Yes, and verification becomes mandatory. Recommendation: Before performing oem_close, please program the signed image in the OEM_OPEN state first and confirm it boots successfully with no ELE events, then close the device (SRKH is irreversible once fused) to avoid bricking the part. (Please refer to: i.MX RT1180 Security Reference Manual. After signing the NDA through your company account, submit a request to the online technic sales representative.) Re: rt1189 Boot Flow Using the two demos, multicore_trigger and cm7_helloworld, I did not enable ECC for the CM7 ITCM. I used the SPT tool to merge the CM33 image and the CM7 image, which is intended to run from memory, into a single image, and then programmed the merged image into NOR Flash through UART. However, the boot process failed. According to the manual, a container can contain up to 8 OEM image entries. In my test, I only included two images: one CM33 image and one CM7 image. CM7 ITCM ECC was not enabled. Neither the CM33 nor the CM7 image started. However, when I checked the container header, I found that only the CM33 image was present. The CM33 image itself can boot normally without any issues when used alone. I would like to understand why the CM7 image was not included or processed as expected, and whether the lack of CM7 ITCM ECC configuration affects how Boot ROM processes the CM7 image. Question 2: If I merge 8 CM7 images and 1 CM33 image into a single container, what will the Boot ROM do during the startup process? Since there is only one CM7 core, how does Boot ROM determine which CM7 image should be booted? If all 8 image entries are CM7 images, will Boot ROM load all 8 images, select only one image, or leave the selection to the CM33 application? How does Boot ROM identify and process multiple CM7 image entries in the same container? Is there a priority, image index, Core ID, load address, entry point, or another mechanism used to determine which CM7 image is executed? I would also like to understand the exact Boot ROM behavior when CM7 ITCM ECC is enabled and when it is not enabled. When CM7 ITCM ECC is enabled, does Boot ROM initialize the CM7 ITCM ECC memory, copy the CM7 image from NOR Flash into CM7 ITCM, and then release CM7 from reset? Or does Boot ROM only load the CM7 image, while the CM33 application is responsible for releasing CM7 from reset and starting it? When CM7 ITCM ECC is not enabled, what does Boot ROM do when it encounters a CM7 image whose load address is in CM7 ITCM? Does Boot ROM skip the CM7 image, fail to load it, leave CM7 in reset, or cause the entire container boot process to fail? In particular, I would like to clarify whether the following container is supported: Image 0: CM33 Image 1: CM7 Image 2: CM7 Image 3: CM7 Image 4: CM7 Image 5: CM7 Image 6: CM7 Image 7: CM7 Image 8: CM7 If it is supported, what exactly happens to these 8 CM7 images during Boot ROM startup, and which component is responsible for selecting the CM7 image that will actually execute? Finally, I would like to clarify whether the maximum of 8 OEM image entries means that the container can simply store 8 different images, or whether Boot ROM also provides a mechanism to select and boot a specific image for a given core.
View full article
S32DS 3.6.2 我有个问题S32DS 3.6.2 IDE的配置问题, 我用RTD6.0.0 生成的demo程序,配置CT时又如下图中的问题,是什么原因造成IVT 等工具的禁用哪? 有点迷惑。 屏幕截图 2026-08-14 155022.png Re: S32DS 3.6.2 你好@sunshine88 , 配置工具中的 IVT/DCD 支持取决于所选设备和已安装工具包中实现的范围。IVT 编辑器被禁用并不意味着 RTD 示例项目无效。   对于选定的 S32K358 配置,配置工具中不提供图形化的 IVT/DCD 编辑器。这些工具与 BootROM/启动映像配置相关,标准项目不需要这些工具。   因此,如果更新代码和项目版本成功完成,则该项目仍可正常用于引脚、时钟和外设等受支持的配置区域。 顺祝商祺! 帕维尔
View full article
S32DS 3.6.2 S32DS 3.6.2について質問があります。IDEの設定に問題が発生しています。RTD 6.0.0で生成されたデモプログラムを使用しているのですが、CTの設定時に下の画像のような問題が発生します。IVTやその他のツールが無効になっている原因は何でしょうか?少し困惑しています。 屏幕截图 2026-08-14 155022.png Re: S32DS 3.6.2 こんにちは、@sunshine88 さん。 設定ツールでのIVT/DCDサポートは、選択したデバイスおよびインストール済みツールパッケージに実装されたスコープによって異なります。IVTエディタが無効になっているからといって、RTDサンプルプロジェクトが無効であるとは限りません。   選択されたS32K358構成では、構成ツールにグラフィカルなIVT/DCDエディタは含まれていません。これらのツールはBootROM/ブートイメージの設定に関連するものであり、標準プロジェクトでは必要ありません。   したがって、Update Codeとプロジェクトのビルドが成功裏に完了した場合、ピン、クロック、ペリフェラルなどのサポートされた構成領域でプロジェクトは通常通り使用できます。 よろしくお願いいたします。 パベル
View full article
An error occurred when importing the Zephyr SDK into VS Code. Hi NXP, As shown in the image, importing the Zephyr SDK keeps failing. What could be the reason, and how can I troubleshoot it? I also tested opening the magic, and the result was the same. hayden178_1-1786677974386.png hayden178_0-1786677660968.png MCXA Re: VS Code 导入Zephyr SDK出现error Hi @hayden178 I just tested it on my MCUXpresso for VS Code. I was able to import it successfully, which means there's nothing wrong with the GitHub repository. Based on your log remote: Enumerating objects: 3105, done. remote: Counting objects: 100% (1405/1405) remote: Compressing objects: 100% (433/433) error: RPC failed; curl 56 Recv failure: Connection was reset I think it's most likely a network connection problem. You can try running `west update` in your `nxp\frdm_mcxa156` folder to manually update the repository. Harry_Zhang_0-1786693966782.png BR Harry
View full article
如何在 FRDM-RW612 EVK 上启用外部 U.FL 天线 您好,NXP团队: 我正在使用 FRDM-RW612 EVK 和 SDK 中的 wifi_cli 示例。加载的 Wi-Fi 固件是 rw61x_sb_wifi_a2.bin。 我已将 Molex 1461539050 外置天线连接到 EVK 上的 UFL 连接器 (J11)。但是,与板载PCB天线相比,我没有观察到RSSI有任何改善。在某些情况下,RSSI 甚至会略低一些。 Prathyush_27_0-1783428299975.png 根据 FRDM-RW612 原理图和用户指南,我了解到射频开关 (U16 - RTC7608U) 用于在板载 PCB 天线和外部 UFL 连接器之间进行选择,而 RF_CNTL_3 是该开关的控制信号: RF_CNTL_3 = 0 -> PCB 天线(默认) RF_CNTL_3 = 1 -> 外部 UFL 天线 如何控制 RF_CNTL_3? RF_CNTL_3 是否由 Wi-Fi 固件自动驱动?如果是,它的默认值是多少?如何修改该值? 启用 EVK 的外置天线是否需要任何硬件或固件配置? 任何指导或示例代码都将不胜感激。 谢谢! Re: How to enable the external U.FL antenna on FRDM-RW612 EVK 您好, 让我查一下。 问候, 丹尼尔。 Re: How to enable the external U.FL antenna on FRDM-RW612 EVK 您好, 我已给你发送私信。 问候, 丹尼尔。 Re: How to enable the external U.FL antenna on FRDM-RW612 EVK @DanielRuvalcaba你好,请问你是否已经核实过此事?如果有任何更新,请告知。 谢谢,此致敬礼! 普拉蒂尤什 Re: How to enable the external U.FL antenna on FRDM-RW612 EVK 嗨@DanielRuvalcaba 我还想将天线切换到 FRDM-RW612 上的 UFL 连接器 (J11)。 请问您能分享一下具体操作方法吗? 我们是通过前端模块(FEM)设置来切换天线吗? 问候 马尔钦 Re: How to enable the external U.FL antenna on FRDM-RW612 EVK 您好, 我通过私信联系到了你。 问候, 丹尼尔。 Re: How to enable the external U.FL antenna on FRDM-RW612 EVK 嗨@Tusisima ,要启用 u.FL 天线,需要一个特殊的校准文件,因为天线选择是通过此校准数据控制的。您应该联系NXP的支持人员以获取校准文件。 Re: How to enable the external U.FL antenna on FRDM-RW612 EVK 你是怎么解决这个问题的?
View full article
WS2812 interface With LPC5514JBD64E Hi NXP Community, I am working with an LPC5514JBD64E-based controller and I need to interface a WS2812/WS2812B LED ring with the MCU. I am studying the LPC5514JBD64E datasheet and my controller schematic, but I am new to the LPC55xx family and need some guidance. I would like to know: 1. Which GPIO pin of the LPC5514JBD64E should be used for the WS2812 data (DIN) signal? 2. Since the LPC5514JBD64E uses 3.3 V logic and the WS2812 will be powered from 5 V, what is the recommended hardware connection between the MCU and WS2812? 3. Is a 74AHCT125 recommended between the MCU GPIO and WS2812 DIN? 4. Which peripheral or method should be used to generate the precise timing required by the WS2812 protocol? 5. Is there an official NXP SDK example, driver, or sample code for controlling WS2812 or NeoPixel LEDs using the LPC5514JBD64E? 6. If there is no WS2812-specific example, could you provide or point me to a basic working example code that makes a WS2812 LED or LED ring blink or change color? 7. What is the recommended development environment and programming/debugging procedure for this MCU? My immediate goal is to make the WS2812 LED ring blink and display different colors using the LPC5514JBD64E. I would appreciate guidance on the correct GPIO, hardware connection, peripheral, and example code. Thank you! LPC55xx Re: WS2812 interface With LPC5514JBD64E HI @Kishore02  1.  The WS2812 protocol requires a precisely timed single-wire digital output signal. Therefore, the DIN signal should preferably be generated by a timer/PWM peripheral rather than by software bit-banging. For LPC551x devices, one practical solution is to use an SCTimer output. The exact pin depends on your hardware design and pin mux configuration. Any pin that can be configured as an SCTimer output can potentially be used. For example, the LPC55S16 SDK provides the sctimer_pwm_with_dutycycle_change example, which uses: SCT0_OUT2 (J12-12 on LPCXpresso55S16 board) 2. Since the LPC5514 operates at 3.3 V logic and the WS2812 is typically powered from 5 V, level shifting is recommended to improve signal integrity and ensure reliable operation. 3. Yes. A 74AHCT125 is a commonly used and recommended solution for interfacing a 3.3 V MCU with a 5 V WS2812 device. 4. For LPC551x devices, the preferred approaches would be: SCTimer (recommended) Generate an 800 kHz waveform. Dynamically update the PWM duty cycle for each transmitted bit. Similar to the SDK example: sctimer_pwm_with_dutycycle_change 5.At the moment, I am not aware of an official MCUXpresso SDK example specifically targeting WS2812 or NeoPixel LEDs for the LPC5514. However, the SDK does provide several SCTimer PWM examples that can be used as a starting point. In particular: sctimer_pwm sctimer_pwm_with_dutycycle_change Although I have not found a dedicated WS2812 example for the LPC5514 SDK, I previously achieved reliable WS2812 control on the FRDM-MCXN947 board using an SCTimer + eDMA solution.  6. I would recommend starting from: lpcxpresso55s16_sctimer_pwm_with_dutycycle_change 7.  The recommended development environment is: MCUXpresso IDE MCUXpresso SDK LPC-Link2 or MCU-Link debugger On-board CMSIS-DAP debugger (if available on the evaluation board) Hope this will help you. BR Harry Re: WS2812 interface With LPC5514JBD64E Can you please provide the code for this project?
View full article