Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
BTファームウェアはUART経由で承認されていますが、コントローラーは動作しません。そしてEdgeFastのダウンロードが3Mで破損します   私はu-bloxに関連または伴随サポートチケットを提出しました。CASE **CA-276115** (同じハードウェア、モジュールベンダーの質問です)。 以下の質問はNXPの、IW416 ROMのファームウェア認証の挙動についてです。 そして、 NXP独自の参照ボード上のEdgeFastダウンロードバグ。すべての図は 測定値と詳細なログを添付します。 ## 1. 要約 — 2つの異なる失敗です。分けて扱ってください。 **MIMXRT1170-EVKB Rev C3**内の**u-blox M2-MAYA-W161** (NXP **IW416** )上で、 LPUART2経由のBT HCI: **失敗A — 核心的な問題。** 115200ボーのUARTダウンロードが正常に行われた場合、 BTファームウェア**ダウンロードが完了し、承認されました** (ROMは要求を停止します データと再アナウンスはしません)、そしてコントローラーは **送信しません** — どのボーレートでもHCIからの応答がありません。 **失敗B — EdgeFast/ボードのバグ。** NXPの標準EdgeFastダウンロードフロー ダウンロード中に**3,000,000ボー*に切り替わり**リンクが破損します。 このボードのスイッチ**;ダウンロードは決して完了しません。これは別物です 失敗Aで、NXPソフトウェアのみで再現可能。 これらは異なる根本原因を持っています。B (3 Mbaud の破損)を修正しても アドレスA(ダウンロード後の沈黙)について。私たちは両方について、それぞれ個別に質問しています。 同じカード上の Wi-Fi (SDIO) は完全に動作します - 列挙、ステーション、マイクロ AP、 スループット — つまりカード、その電力、レベルシフターは健全です。 --- ## 2. 設定 | アイテム | 値 | |---|---| | チップセット/モジュール | u-blox M2-MAYA-W161-00C-00 のNXP **IW416** | | ホストボード | MIMXRT1170-EVKB Rev C3、M.2 J54、LPUART2 | |SDK |MCUXpresso **v26.06.00-LTS** | | BTファームウェア | `uartIW416_bt.bin`**16.92.21.p155.2** 、FP92、 `w8978` 、131,840 B | | またテスト済み | **16.92.21.p142.5** (FP91、 `github.com/NXP/wifi_nb_fw@a91d9d6`から、2025 年 1 月) — 同じ結果 | |モジュール選択 | 『WIFI_IW416_BOARD_MURATA_1XK_M2』 (SDKにはMAYAプロファイルがありません) | |ボードの再ワーク |「R404」(PDn)+「R1901」(モジュール→MCU RXD)装着・検証済み;流量制御ペア「R1816」/「R1902」**未完成** — §5参照 | --- ## 3.失敗A — 画像が受理された後、コントローラは沈黙します ### ダウンロードが完了し、承認されました 当社独自のクリーンルームV3ローダー(プロトコルのみ、115200bps)、計測機器搭載: 「`」 bt_fw_download=ok chip_id=0x7201 loader_ver=0 start_inds=2 chunks=142 送信=131856/131840 max_off=131840 retx=1 crc_err=0 「`」 全131,840バイト。カードはすべてのチャンク(16バイトのヘッダー、2048バイト)を要求しました。 ペイロード(末尾での順不同の再要求を含む))**CRCエラーが1件発生しました カードによって報告され、再送信によって復元された** — つまりROM自身の 整合性チェックが稼働中です。 ### その後何も起こらず、ROMはイメージが拒否されたのではなく、受け入れられたかのように動作する。 「`」 bt_post_dnld[0..3]: n=0 (ダウンロード後の500ミリ秒の生データキャプチャウィンドウが4つ) bt_raw_reset[0..2]: n=0 (raw HCI_Reset 01 03 0C 00 at 115200, x3) HCI_Reset at 3000000 / 921600 / 460800 / 115200 : 応答なし、フレーム化=0 「`」 **キー識別子** : UARTダウンロード後、ROMは**要求を停止します** そして再発表はしない**。対照的に、コンボイメージがダウンロードされると **SDIO**を介して、BT コアはUART ( `AB 01 72 00 47`で再アナウンスします。 (再び表示されます)—つまり、「まだブートローダー内 / 受け入れられていません」とはこういうことです この部分について。つまり、UARTのダウンロードは **受け入れられ、ローダーは終了**、そして 失敗は*CRC有効なイメージを受け入れるかコントローラを実行するかの間に*起こる*です。 ### ファームウェアバージョンは変数ではありません 2 つの公式ビルド — **FP92 p155.2** (2026-03) および**FP91 p142.5** (2025-01、 内部構造が異なり、ロード値`0x00080000`と`0x000A2010` 、178 と 142 が異なる。 チャンク)— 両方とも完全にダウンロードし、どちらも受け入れられ、どちらもコントローラを離れます 沈黙。ですから、これは古臭い/間違った*バージョン*ではありません。 ### NXPへの質問(失敗例A) 1. **IW416 ROMはUARTでダウンロードしたBTファームウェアを認証しますか? OTP融合キー**、もしそうなら、 **拒否はホストにどのように通知されるのか?** 観察結果: ブロックが受け入れられるたびに、ROM の要求が停止し、エラー フレームがなく、 再発表の後、沈黙が訪れた。そのバイトパターンは文書化されているものですか? セキュアブート/署名拒否の動作、または正規イメージの動作 別の理由でこうしているのですか? 2. **ストックの`uartIW416_bt.bin` (16.92.21.p155.2) は汎用 / 用にビルドされていますか? 非融合IW416**、または対応するOTP/セキュアブートプロビジョニングが必要ですか? その側で?(部品が特定のOEMキー用に溶着されている場合、ストックイメージは 却下されると予想される(そうなると、u-blox社のCA-276115に戻ることになる)。 3. ** 最初の数秒間におけるコントローラーの期待される挙動とは何か UARTダウンロードが115200で成功しました。`HCI_Reset`に応答するはずです。 即座に実行されるのか、それともベンダーからのコマンドや遅延処理が最初に必要なのか? --- ## 4.失敗B — 3 MBAUDスイッチ(MIMXRT1170-EVKB)でEdgeFastのダウンロードが破損 **NXPソフトウェアのみ**で**NXP独自のリファレンスボード**上で再現可能。 1170 用に`examples/edgefast_bluetooth_examples/shell`をビルドしました。 「DEBUG_PRINT」が有効になるため、NXPの「fw_loader_uart.c」がナレーションを担当します。その痕跡から: 1. 115200 ヘッダー要求はクリーンで CRC 検証済みです ( `REQ=0xA7 Len=10 Off=0 Err=0` )。 2. タイプ5のUART設定ブロックを送信し、 **ACK処理** (したがってタイプ5コマンドは このボード/ファームウェアでは、文脈上受け入れられています。 3. 「ボーレート要求を30000000に変更」、「変化ボーレート() ret 0」— スイッチ **成功を報告** ; 4.直後: `Invalid Header 0x00` / `0x71` 、 `REQ = 0xA7、Len = 10a7、Off = 5400、Err = 400、CRC = 0` 、 `CRC 不一致`、 ` file download: 0: 131840` — オフセット 0 で停止しています。オフセットは バイト連結( `5400` = 2バイトを連結): **フレーム損失** 、いいえ オーバーフロー。 そのためカードは3 Mbaudに切り替わり送信を開始しました。RT1176 LPUART2 このボードでは3,000,000ボーの通信が可能で、DMA方式、 **ハードウェアによるフロー制御は利用できません** 。 フレームを復元できません。ストックフロー制御設定で最初の スイッチ後のヘッダーがタイムアウトすると、ローダーは115200に戻り、リトライし、 **無限ループ** (20分以上経過したことを確認しました)。 ボード上の根本原因: **LPUART2 の RTS/CTS パッドはギガビット PHY です リセット/割り込みライン**( `R1866` → `ETHPHY_RST_B` 、 `R1816` → `RGMII1_PHY_INTB` )、 そのため、NXPが文書化した後でも、ホスト-RXのクリーンなバックプレッシャーパスはありません 5項目のリワーク — `R1866`はそのリワークに含まれていません。フローなしで3 Mbaud。 ホストはコントロールできない。 ### NXPへの質問(Bの失敗) 4. **MIMXRT1170-EVKB**では、3 Mbaud EdgeFast BT ファームウェアのダウンロードは **フロー制御の完全な再作業なしでは既知の制限** ( `R1816`を削除、 `R1902`に適合する)— そして、 `R1866` がホスト RTS を PHY 上に保持していることを考慮すると、 リセット、このボードでは実際に3 Mbaudがサポートされていますか、それとも `fw_download_secondary_speed`は115200のままにしておくべきでしょうか? 5. 失敗したセカンダリボースイッチの**無限リトライループ**は ( `fw_loader_uart.c` ) 意図的でしょうか? N 回再試行してもハード クラッシュするのは、 延々と続く進捗状況を示す点の羅列よりも、診断しやすい。 ### 軽微な問題、優先度低(同じツリー) 6. `edgefast_bluetooth`のシェルでは、 `SHELL_CMD_REGISTER(bt, ...)`が登録します。 パラメータ範囲が**0の'bt'コマンドなので、「fsl_shell.c'はすべてのを拒否します サブコマンド( `bt init` → "コマンドパラメータが正しくありません"); 動作確認済み 呼び出しはドット付きの`bt.init`です。おそらく`SHELL_ADVANCE` / range-initです。 一見の価値のあるミスマッチ。 --- ## 5.すでに排除したもの(だからこれらは提案する必要はない) すべてシリコンチップ上に実装されたMIMXRT1170-EVKB: 仮説 | 結論 | |---|---| | type-5 UART-configブロックが欠落 | 単独の注入が却下されます('CRC_ERR 0x0001');しかしNXPのin-flow型-5は受け入れられています(§4)—つまりこれはFailure Aのブロッカーではありません | | ファームウェアのバージョンが間違っています |反論済み — FP91 と FP92 は両方とも受け入れられ、両方ともサイレント (§3) | | コンボオーバーSDIOが必要 |このモジュールではBTは起動しません- SDIOコンボのダウンロードが完了すると、BTコアがROMから再アナウンスします | | ホストのダウンロードを切り捨てています | 反論済み — 15 秒間のアイドル ポーリングにより`sent`は変更されません | | HCI ボーレート | 反証済み — 4 つのレート、 `framing=0` 、0 バイト | | `wakeUpControllerFromBootSleep()` GPIO パルス | 実装済み。カードは**反応** する(追加の挨拶) が、結果は変わらない | サイレント中のCPU状態(SWD、コンソール切断時): `DHCSR 0x01010001` (走る; 「S_HALT」/「S_LOCKUP' クリア)、 「CFSR」/「HFSR」 =0 — ホストMCUは生きている クラッシュしたのではなく、 `controller_init`でブロックされました。 失敗Aについては、 **署名/セキュアブート拒否**のみが残っています。 まさにQ1/Q2です――そしてこのチケットとユーブロックスCA-276115の継ぎ目です。 --- ## 6.再現(故障B、NXPソフトウェアのみ) 「`」 west build -b evkbmimxrt1170 examples/edgefast_bluetooth_examples/shell \ --toolchain armgcc --config flexspi_nor_debug -- -Dcore_id=cm7 \ -DCONFIG_MCUX_COMPONENT_component.wifi_bt_module.IW416=y \ -DCONFIG_MCUX_COMPONENT_component.wifi_bt_module.board_murata_1xk_m2=y 「`」 フラッシュしてリセットし、 `@bt>`プロンプトで`bt.init`と入力します。ダウンロードの進行状況が表示されます。 ドットが表示され、完了しません。`fw_loader_uart.c` で `DEBUG_PRINT` を有効にすると、 3 Mbaudスイッチでの汚染。(1170用の新しいシェルedgefast_open スペース区切りの`bt init`も受け付けますが、同じようにハングアップします。) 障害Aの場合:完全な計測済みダウンロードと115200のHCI証拠が添付されています Re: BT firmware accepted over UART but controller never runs; and EdgeFast download corrupts at the こんにちは、 @nicnewdigate さん、 この件を深く掘り下げる前に、いくつか確認していただけますか? - MIMXRT1170EVKB_hwrework.md ガイドには、必要な変更が 5 つ記載されています。R183 の削除、R1816 の削除、R404 の実装、R1901 の実装、および R1902 の実装です。 あなたのメモから判断すると、R404とR1901は既に完了しているようですね。R183、R1816、R1902の状況も確認できますか? - アプリの変更なしに動作する標準的なNXPのシリアルログを提供できますか? Bluetoothのシェルが原因かもしれません。 Murata 1XK M2 用のプロジェクトを作成します 完全なログを送信してください。 基板への給電はUSB経由のみですか、それとも外部の5V電源を使用していますか?外部電源をご使用ください。 よろしくお願いいたします。 ダニエル。 Re: BT firmware accepted over UART but controller never runs; and EdgeFast download corrupts at the こんにちは、 @DanielRuvalcabaさん。迅速なご返信とご提案、ありがとうございます! ご依頼いただいた3つの項目すべてを完了しました。まず概要、次にログです。 **1.改修作業完了。EdgeFast BT PAL のリワークの 5 つのアイテムすべて MIMXRT1170-EVKBの作業完了:R404とR1901(以前に取り付け済み)、さらに**R1902を取り付け済み** そして、**R1816 + R183 が削除されました**。2つの除去が 読み取り可能なBTリンク - 当社独自の115200bpsローダーは依然として完全なイメージをダウンロードします きれいに(131,840バイト、フレーミングエラー=0、削除前とバイト単位で同一)。 **2.外部電源供給完了。J38 → 1–2、J43バレルジャックに5Vを入力、SW5をオンにする。 3.変更されていないシェルログ - 取得済み。私たちは築きました MCUXpresso SDK v26.06.00-LTSからの「examples/edgefast_bluetooth_examples/shell」 '--config flexspi_nor_debug -Dcore_id=cm7', armgcc.ストックからの唯一の変更点は ボードの`prj.conf`ファイルにおける、カードのモジュール選択: 「`」 CONFIG_MCUX_COMPONENT_component.wifi_bt_module.IW61X=y → IW416=y CONFIG_MCUX_COMPONENT_component.wifi_bt_module.board_murata_2el_m2=y→ board_murata_1xk_m2=y 「`」 (これらはモジュールを選択する 2 つの Kconfig `choice` メンバーです。)私たちのカードは u-blox MAYA-W161 — IW416 — なので、あなたが挙げた1XK/IW416プロファイルを選びました。 `CONFIG_BT_SIGNING=y`以外は標準設定です。) シェルプロンプトでの結果: 「`」 @bt> bt.init [FWダウンロード] 0x301198fcからファームウェアのダウンロードを開始します: 6812 ダウンロード開始(131840) ...................................................................... (141ドット) ダウンロード成功! [ファームウェアダウンロード]BLEファームウェアがダウンロードされました: 8265 ←その後、残りの90秒以上は何も起こらない。bt.init は決して戻り値を返さない。 「`」 **前回の報告から2つのことが変わりましたが、どちらも重要です:** **A — 3 Mbaudのダウンロードが完了しました。**流量制御の再設計以前は ストックローダーは115200→3,000,000ボーのスイッチで破損しループ化しました 無期限に。R1902を装着し、R1816を取り外した(実際のCTS背圧)と、 これで 131,840 バイトすべてを約 1.45 秒で移動します (タイムスタンプ 6812 → 8265 ms — 高速レート)でダウンロードに成功し、「ダウンロード成功!」と表示されます。つまり、リワークで ダウンロード側の問題、予想通りです — 強く勧めてくれてありがとうございます。 **B — ダウンロード成功後もコントローラが静かなままです。**これは 核心的な問題。「ダウンロード成功!」/「BLE FWがダウンロードされました」の後、スタック コントローラーからは何も受信できません — 『Bluetooth initializeded』もエラーもなし — そして 「bt.init」が掛かっています。ホストMCUは生きていてブロックされており、クラッシュしていません。コンソールと共に 私たちは距離を置いてSWDについて読みました: 「`」 DHCSR = 0x01010001 (実行中: S_HALT=0、S_LOCKUP=0、S_RETIRE_ST=1) CFSR = 0x00000000 (設定可能な障害なし) HFSR = 0x00000000 (ハードフォルトは発生していません) 「`」 つまりCM7はHCIの返信を待つためにスタックで待っているのですが、結局返ってこないのです。 これは非常に明確なデータポイントです:NXPの**未修正のEdgeFastスタック**上で、 完全な再作業と外部電源により、カードは**完全な CRCでファームウェアイメージをチェックしたのに、HCIコントローラー**を実行させませんでした。早い「 「3 Mbaud ダウンロードが破損しています」という説明はもはや適用されません — ダウンロード 明らかに成功する。 **質問事項(変更なし、ダウンロード整合性変数から切り離して):** 1. IW416 ROM は UART でダウンロードされた BT ファームウェア (例:反対 OTPフューズキー)を使った場合、拒否はホストにどのように伝えられるのでしょうか?私たちは見る すべてのブロックが受け入れられ、「ダウンロード成功!」、その後沈黙 - エラーフレームなし、 再発表はありません。 2. ストックの`uartIW416_bt.bin`ですか?(16.92.21.p155.2) 汎用向けに構築 / ヒューズなしのIW416、または特定のOEMキー用にヒューズが取り付けられた部品には、一致するものが必要ですか? 署名入りの画像?もしそうなら、それはあなた-ブロックス(伴奏ケースCA-276115)に繋がります。 3. UARTダウンロードに成功した直後の数秒間に、コントローラーは ダウンロード直後の速度で「HCI_Reset」と答えてください、またはベンダーです まず指揮か遅延が必要ですか? シリアルキャプチャの全文とSWDレジスタブロック全体を喜んで共有します。 そして「fw_loader_uart.c」で「DEBUG_PRINT」を有効にすることができます。ナレーション付きダウンロード トレースすれば役に立つかもしれません。 お時間と労力をいただき、本当にありがとうございます。本当に感謝しています!! よろしくお願いします - ニック
View full article
Profinet VS Code のサンプルは FRDM-IMXRT1186 では動作しません RT11186をベースにしたPROFINETデバイスを開発し、UG10320 V1.0、UG10455 V1.0、AN15104 V1.0に準拠したPROFINETデモをテストしたいと考えています。私は以下の行動をとりました。 1. Profinet-Stack-LibraryとAN15104.zipを解凍します。 2. frdm_pn.patch を Profinet スタックのフォルダにコピーし、readme に従ってパッチを適用します。 3. prj.conf.rej/mcux_include.json.rej/mcuxpresso-tool.json.rejに従って、プロジェクト構成を手動で変更します。これはAN15104の第4.3章と同じです。 以下の定義はcakelist.txtに含まれています。それらは変更されていません。 -DCPU_MIMXRT1186CVJ8C_cm33 -DMIMXRT1186_cm33_シリーズ -DXIP_BOOT_HEADER_ENABLE=1 4. FPUを有効にするには、「#if (defined(CPU_MIMXRT1186CVJ8C_cm7)... #ifndef configENABLE_FPU...」を追加します。この手順はガイドには含まれていません。FreeRTOSConfig.hではデフォルトのCPUがRT1189に設定されているため、変更しないとコンパイルは失敗します。 5. ProfinetプロジェクトをSDK 2.6.3に基づくVSコードにインポートする 6. UG10455の第5章の手順8と9に従って、sysbuild.cmakeにプロジェクト「31_led_button」を追加します。 7. FRDM-IMXRT1186のJ12およびJ18を1-2に接続に変更し、NETC PHYを有効にする。 8. プロジェクトをビルドし、イメージを FRDM-IMXRT1186 にダウンロードします。 9. JDK、Npcapをインストールし、ICEを開きます。ICEのバージョンはV1.7で、port-ICE-202509180853-win32.win32.x86_64.zipから抽出されたものです。 10.ProfinetデバイスはUG10320の第6章に基づき成功裏にスキャンされています。 11. DAPとモジュール、還元比を第7.1章のステップ1~7に従って設定UG10320。第7.1章のステップ8に従って接続ボタンを押すと失敗します。 なぜサイクルコミュニケーションを確立できなかったのか、分析を手伝ってもらえますか? FRDM-IMXRT1186の詳細なイメージを教えてもらえますか?VS codeプロジェクトの問題かIEC/ハードウェアの問題か確認したいです。 よろしくお願いいたします! Re: Profinet VS code example does not work on FRDM-IMXRT1186 @wlfworld様、 RT1180 EVKでテストしましたが、同じ挙動が確認されました。スキャン中にデバイスは検出されるのに、接続が失敗しました。したがって、これはあなたの移植作業とは関係がないようです。 現在、社内でこの問題について調査中です。根本原因が特定され次第、または何らかの進展があり次第、できるだけ早くご連絡いたします。 よろしくお願いいたします。 シェリー Re: Profinet VS code example does not work on FRDM-IMXRT1186 @wlfworld様、 どのGSDMLファイルを使用しましたか?以前、間違ったファイルを使ってしまったため、動作させることができませんでした。GSDML-V2.45-portExample-test-20260120.xml(Profinet-Stack-Library\RT1180_PROFINET_MCTC_LIB_GOAL_V_3_1_0-2\appl\goal_pnio\31_led_button にあります)に切り替えた後、ICE ツールを使用して周期的な通信を確立することができました。 ShellyZhang_0-1787654308913.pngShellyZhang_0-1787654308913.pngShellyZhang_0-1787654308913.pngShellyZhang_0-1787654308913.png どの段階で問題が発生しているのか教えてもらえますか?可能であれば、スクリーンショットを共有してもらえますか?一般的に、スキャン中にPNIOデバイスが検出できれば、セットアップに大きな問題はほとんどありません。Wiresharkをインストールして、PROFINET通信パケットがやり取りされているかどうかを確認することもお勧めします。 可能であれば、画像ファイルもアップロードしてください。自分の側でテストして結果を比較できます。 よろしくお願いいたします。 シェリー Re: Profinet VS code example does not work on FRDM-IMXRT1186 @ShellyZhangどうもありがとうございます! GSDML-V2.45-portExample-test-20260120.xmlを適用すると、循環通信が確立されます。前の操作でバイナリzipファイル内のxmlを選択しました。 よろしくお願いいたします! Re: Profinet VS code example does not work on FRDM-IMXRT1186 こんにちは、wlfworldさん。 問題が解決できて本当に良かったです。もし他に質問があれば、どうぞ新しいスレッドを作成してください。 よろしくお願いします、 シェリー
View full article
IW610 (USB) firmware crashes ~4s after "WLAN FW is active" Hello,  I struggle starting an IW610G module on openwrt 25 (6.12 kernel). Enumeration goes well now, firmware download seems too but I face a crash. USB enumeration and firmware download succeed every time. The module boots its main firmware, prints `WLAN FW is active`, loads a VDLL block (48000 bytes) — and then, **consistently ~3.9–4.1 seconds later**, the firmware crashes and triggers its own dump (`FW trigger fw dump`). This timing is remarkably deterministic across dozens of boots (cold boot and warm EHCI-rebind cycles alike), which makes us suspect a fixed internal timer/watchdog rather than random signal noise. Full firmware dump (`file_fwdump`, 1,230,600 bytes) and driver info dump (`file_drv_info`, 259,772 bytes) from this exact boot are attached. Full relevant dmesg excerpt from the latest clean boot: [ 34.484411] usb 1-1: New USB device found, idVendor=0471, idProduct=0214, bcdDevice=40.00 [ 34.500356] usb 1-1: Product: NXP Wireless Device [ 34.525526] VID/PID = 471/214, Boot2 version = 4000 [ 34.573668] Request firmware: nxp/usbusb_iw610.bin.se [ 37.189918] fw_dnld: 808824 bytes downloaded [ 37.381917] usb 1-1: USB disconnect, device number 2 [ 37.883662] usb 1-1: new high-speed USB device number 3 using ehci-platform [ 38.115044] usb 1-1: New USB device found, idVendor=0471, idProduct=0215, bcdDevice=32.01 [ 38.131013] usb 1-1: Product: Bluetooth and Wireless LAN Composite Device [ 38.288804] USB probe: idVendor=471 idProduct=215 bInterfaceNumber=0 [ 38.295470] VID/PID = 471/215, Boot2 version = 3201 [ 38.300509] woal_usb_probe: invalid endpoint assignment [ 38.306315] USB probe: idVendor=471 idProduct=215 bInterfaceNumber=0 [ 38.312906] VID/PID = 471/215, Boot2 version = 3201 [ 38.318003] woal_usb_probe: invalid endpoint assignment [ 38.473628] USB probe: idVendor=471 idProduct=215 bInterfaceNumber=0 [ 38.480227] VID/PID = 471/215, Boot2 version = 3201 [ 38.485411] Attach moal handle ops, card interface type: 0x40d [ 38.628304] WLAN FW is active [ 38.631408] on_time is 38628138922 [ 38.655388] VDLL: Request firmware: nxp/usbusb_iw610.bin.se [ 38.671234] VDLL image: len=48000 [ 38.675868] fw_cap_info=0x487cbf03, dev_cap_mask=0xffffffff [ 38.681912] uuid: 30548cc5aad797baaa0885c430d55486 [ 38.686932] max_p2p_conn = 8, max_sta_conn = 8 [ 42.576334] FW trigger fw dump <-- ~3.95s after "WLAN FW is active" [ 42.579535] =====FW trigger dump==== [ 42.589155] Create directory /var/dump_42 successfully [ 42.601497] Firmware Dump directory name is /var/dump_42 [ 42.607105] DRV dump data in /var/dump_42/file_drv_info [ 43.786094] IOCTL failed: d64defa8 id=0xd0000, sub_id=0xd0004 action=1, status_code=0x80000007 [CMD_CANCEL] (MLAN_OID_11D_DOMAIN_INFO_EXT) [ 43.796200] IOCTL failed: 12d298a2 id=0x30000, sub_id=0x30003 action=2, status_code=0x80000007 [CMD_CANCEL] (MLAN_OID_ANT_CFG) [ 43.807348] 11D: Error setting domain info in FW [ 43.844117] get fw info failed! status=-1, error_code=0x0 [ 43.954897] Firmware Init Failed [ 43.963379] Card is removed: -2 [ 44.027311] woal_usb_probe: woal_add_card failed Given the ~4s-after-"WLAN FW is active" determinism and the two cancelled commands (`ANT_CFG`, `11D_DOMAIN_INFO_EXT`), does this crash signature match any known issue in the `MM6X18540` line, or is there something specific we should check in our firmware dump? Happy to share `file_fwdump`/`file_drv_info` directly if that's useful — how would you like us to send them? Thanks in advance for any pointers. - **Host SoC**: Qualcomm Atheros QCA9533 (AR9531/QCA9533 family), custom board, OpenWrt, Linux kernel 6.12.71 (ath79 target). - **Module**: NXP IW610 (Wi-Fi 6 + BLE 5.4 + 802.15.4 combo), connected over USB2.0 (Wi-Fi + BT) for this test; SPI (802.15.4) link is present on the board but **currently disabled** (see below). - **Driver**: `nxp-imx/mwifiex`, commit `09f41e1423e4806a127507d5fa284cd02c46772f` — "Driver commit for hotfix release MM6X18540.p41" (2025-12-23), branch `hotfix/lf-6.12.49_2.2.0_hotfix`. Compiled `MLAN_RELEASE_VERSION "540.p41"`. - **Firmware**: `usbusb_iw610.bin.se` (Wi-Fi+BT only, no SPI block), pulled from `nxp-imx/imx-firmware` commit `216a015fea` — "Firmware commit for hotfix release MM6X18540.p41 2025-12-23", internal tag `IW610-18.99.5.p86`. This is the firmware NXP's own release notes pair with the p41 driver. - Module params (`wifi_mod_para.conf`): `USBIW610 = { dual_nb=0 fw_name=nxp/usbusb_iw610.bin.se }` — explicitly disables the second narrowband (802.15.4/SPI) firmware block so we're testing pure USB Wi-Fi+BT in isolation. Re: IW610 (USB) firmware crashes ~4s after "WLAN FW is active" In debug mode it seems the DOMIAN INFO is the last command not answered from FW :  [ 1221.243476] QUEUE_CMD: 802_11_SNMP_MIB [0x16] is queued [ 1221.251155] 11D:Country=US band=0 sub-band=1 dfs_region=1 [ 1221.256730] 11D: first chan=1 no_of_chan=11, max_tx_pwr=23 [ 1221.262395] mlan%d: [ 1221.262402] QUEUE_CMD: 802_11D_DOMAIN_INFO [0x5b] is queued [ 1221.270406] wlan_set_regiontable: 2.4G 0x10 [ 1221.274723] wlan_set_regiontable: 5G 0x10 [ 1221.283423] mlan%d: [ 1221.283454] DNLD_CMD (1221.280171): 802_11_SNMP_MIB [0x16], act 0x1, len 16, seqno 0x18 timeout 5000 [ 1221.295486] mlan_write_data_async_complete: CMD [ 1221.300210] mlan_recv: CMD (1221.296961) [ 1221.313352] mlan%d: [ 1221.313384] CMD_RESP (1221.310098): 802_11_SNMP_MIB [0x8016], result 0, len 16, seqno 0x18 [ 1221.324316] mlan%d: [ 1221.324327] DNLD_CMD (1221.321067): 802_11D_DOMAIN_INFO [0x5b], act 0x1, len 32, seqno 0x19 timeout 5000 [ 1221.336726] mlan_write_data_async_complete: CMD [ 1221.498408] mlan%d: [ 1221.498441] QUEUE_CMD: 802_11_RF_ANTENNA [0x20] is queued [ 1221.540732] mlan_recv: EVENT 0x73 (1221.537479) [ 1221.545540] FW trigger fw dump [ 1221.548946] =====FW trigger dump==== Re: IW610 (USB) firmware crashes ~4s after "WLAN FW is active" It seems the Big Endian version missed some conversion I can't the the Nxp case anymore so I post patches here Re: IW610 (USB) firmware crashes ~4s after "WLAN FW is active" Hi, @Nicolas07  Currently I can only recommend you to have a try with our latest release to see whether still have this issue. FW: imx-firmware/FwImage_IW610_USB at lf-6.18.20_2.0.0 · nxp-imx/imx-firmware · GitHub Driver: GitHub - nxp-imx/mwifiex: WiFi extensions · GitHub And at the same time, I will check internally whether this is a known issue and also have a try with our I.MX 8MMini board with our IW610-EVK(configure to USB-USB mode) to see whether have issue on  our board. Best regards, Christine.
View full article
FRDM-MCXE31B 我正在尝试调试/烧录 FRDM-MCXE31B 板,但在连接序列期间,在任何应用程序代码加载之前,总是遇到 RAM 初始化失败的情况。我已经排除了线路、电缆、USB 端口、跳线和探针固件的问题——详情如下。 设置: 电路板:FRDM-MCXE31B M C U:MCXE31B 测试环境:M C U X Presso IDE v25.6(Windows)和独立组网 (SA) Link-server v26.6.137(Ubuntu Linux)——两种系统都出现同样的故障 MCU-Link 板载探针固件:已更新至 v3.172(已确认匹配,未报告版本不匹配) 连接脚本:MCXE31x_connect.scp 有效的方法: SWD物理连接成功。 调试身份验证/解锁成功(“应用程序调试已启用”) 芯片识别成功——读取到正确的零件编号:   SIUL2:MIDR1 @ 0x40290004 = 0x6BA02477 MCU Part Number is 0x000003A0 失败之处——每次尝试,两个操作系统都失败:   ... RAM init via eDMA: address=0x20400000 size=0x00028000 Error: Wire Ack Fault - target connected? [repeats ~46 times] Error: RAM initialization failed (timeout)! 这导致:连接失败:Ep(01)。目标被标记为不可调试。 我发现以下情况可能与此相关:我从 S32K3 参考手册(同一架构系列)了解到,这些部件上的 ECC 保护 RAM 必须先通过 64 位主写入进行初始化,然后才能在上电复位后进行任何 32 位访问——因此我假设连接脚本中的 eDMA 步骤会自动执行此强制初始化。似乎是这个自动化步骤本身超时了,而不是线路/连接问题,因为芯片识别(之前的步骤)每次都能顺利完成。 问:还有其他人遇到过 FRDM-MCXE31B 的这种特定故障吗?是否有已知的解决方法、更新的连接脚本,或者可以跳过/调整自动 RAM 初始化步骤的方法?如果需要,我很乐意提供完整的详细日志(Link-server -l 5)。 通信与控制(I3C | I2C | SPI | FlexCAN | 以太网 | FlexIO) Re: FRDM-MCXE31B 你好@Lokeshgowdas 感谢您的帖子! 这种情况只发生在一个项目中吗? 我看到您的项目使用了 Zephyr,请问您使用的是哪个版本? 请提供日志文件以便我们进行查看。
View full article
MBDT_S32E2_問題 皆さんこんにちは。現在S32Z/EのModel Based Design Toolboxをインストールできないため、助けを求めています。私のシステムにはMATLAB 2024b(MATLAB 2026aでも試しました)がインストールされており、NXPのアカウントも有効です。NXP_Support_Package_S32ZE_1.4.0_D2512.mltbx ファイルをダウンロードしましたが、インストールを進めようとすると、処理が完了または進行することなく、いつまでも停止したままになります。この問題の原因を特定する手助けや、インストールを円滑に完了させるためのアドバイスをいただけると本当にありがたいです。トラブルシューティングに役立つログや追加情報があればお知らせください。サポートにあらかじめ感謝いたします。 添付画像は参考用です。 Re: MBDT_S32E2_Issue Joey_zさん、ご回答ありがとうございます。 MBD Toolbox S32Z/E シリーズのクイックスタートガイドに記載されている指示に従いました。しかし、依然として同じ問題に直面している。 さらに、このツールボックスはMATLAB 2026aをサポートしていますか? よろしくお願いいたします。 ラヴィ Re: MBDT_S32E2_Issue こんにちは、 RaviThade1 お問い合わせいただきありがとうございます。 申請時にはこちらのリンクをご参照ください。 MBDツールボックス モデルベースデザインツールボックス |NXPセミコンダクターズ BR ジョーイ Re: MBDT_S32E2_Issue スクリーンショットを添えて追加情報を掲載します。 Re: MBDT_S32E2_Issue こんにちは、Joey_zさん。 私が送った詳細情報をご覧いただけましたでしょうか?詳細はすべて提供しました。 あなたの返信には「ユーザーはツールボックスのM-スクリプトを実行する必要があります」と書かれていますが、2024b/2026aのツールボックスMスクリプトは生成されていません。その理由は何でしょうか? 他に何か見落としていることはありますか? 前もって感謝します、 よろしくお願いします、 ラヴィ Re: MBDT_S32E2_Issue こんにちは、RaviThade1 ご返信よろしくお願いします。 このチャネルは主にS32Z/Eに関する技術的な問題を扱っています。 現在、MBDT関連の詳細な問い合わせは、以下のMBDTコミュニティでより手厚くサポートされます。 https://community.nxp.com/community/mbdt 上記のコミュニティに新しい投稿を作成してもよろしいでしょうか?このトピックを担当するエンジニアがそのフォーラムを積極的に監視しており、さらにサポートしてくれます。 BR ジョーイ Re: MBDT_S32E2_Issue こんにちは、RaviThade1 スタートガイドの情報を参照してください。 モデルベースデザインツールボックスは、 MATLAB/Simulinkは、組み込みコーダーツールボックスによる自動コード生成を可能にします。による デフォルトでは、ツールチェーンはMATLAB 2022aリリース用に構成されています。他のMATLABについて リリース時には、ユーザーはインストール環境に適した設定を生成するためにツールボックスのM-スクリプトを実行する必要があります。 BR ジョーイ
View full article
How to integrate Plug and Trust MW into OP-TEE Hello NXP Community, I am currently working on integrating the Plug and Trust Middleware with OP-TEE (Binding for MCUs with TrustZone) for our project. I have reviewed AN12662 (Binding a host device to EdgeLock SE05x) Rev. 1.1, but I could not find detailed, step-by-step instructions or the specific sections covering the exact integration process. Could you please point me to the specific sections or pages in AN12662 that cover this integration, or provide additional documentation/sample code showing how to build and integrate Plug and Trust MW with OP-TEE? Here are my environment details: Board: MCIMX8M-WEVK and OM-SE051ARD Plug and Trust MW Version: v04.07.01 OP-TEE OS Version: 3.19.0 Linux Kernel: 6.1.151 Any guidance, application notes, or pointers to relevant code repositories would be greatly appreciated. SE050 Re: How to integrate Plug and Trust MW into OP-TEE Hi @Uc_S , Thank you for the detailed question. You are right that AN12662 Rev. 1.1 does not contain step-by-step build instructions for OP-TEE — it covers the conceptual binding architecture. The section most relevant to your use case is Section 3.2 (pages 12–13): "Binding for MCUs with TrustZone", which describes loading the Plug & Trust MW into the TEE so that SCP03 channel establishment is handled from within the Trusted Execution Environment. The actual build integration is handled through a different path — here is a summary of the correct approach for your environment. How it works Rather than running the full Plug & Trust MW as a standalone TA inside OP-TEE, the supported approach is to use OP-TEE's built-in SE05x crypto driver ( CFG_NXP_SE05X=y ). This driver links the Plug & Trust MW as a static library at OP-TEE build time, allowing OP-TEE core to offload RSA, ECC, RNG, and other operations to the SE051. Step 1 — Disable Linux I2C for the SE051 bus The I2C controller connected to the SE051 must be owned exclusively by OP-TEE. You need a Linux DTB that disables that I2C interface so Linux does not probe it at boot. Build your board's DTB from a branch that includes this change, or manually disable the relevant I2C node in your DTS. Step 2 — Build OP-TEE OS with SE05x driver Point the build to your extracted Plug & Trust MW v04.07.01 directory via CFG_NXP_SE05X_PLUG_AND_TRUST . Example build command (adjust PLATFORM= for your board): make -j8 PLATFORM=imx-mx8mevk O=./build-imx8m-se050 CFG_TEE_CORE_LOG_LEVEL=4 CFG_NXP_CAAM=n CFG_NXP_SE05X=y CFG_IMX_I2C=y CFG_STACK_{THREAD,TMP}_EXTRA=8192 CFG_NXP_SE05X_RSA_DRV=y CFG_NXP_SE05X_ECC_DRV=y CFG_NXP_SE05X_CTR_DRV=n CFG_NXP_SE05X_RNG_DRV=y CFG_WITH_SOFTWARE_PRNG=n CFG_NXP_SE05X_PLUG_AND_TRUST=/path/to/plug-and-trust If you want to keep CAAM enabled alongside the SE051 (e.g., CAAM handles AES/RNG, SE051 handles RSA/ECC), replace the CAAM flags accordingly: CFG_NXP_CAAM=y CFG_NXP_CAAM_AE_{GCM,CCM}_DRV=y CFG_NXP_CAAM_RNG_DRV=y CFG_NXP_SE05X_RNG_DRV=n CFG_WITH_SOFTWARE_PRNG=n CFG_NXP_SE05X_{DIEID,RSA,ECC,CTR}_DRV=y CFG_NXP_SE05X_RSA_DRV_FALLBACK=y CFG_NXP_SE05X_ECC_DRV_FALLBACK=y CFG_CRYPTO_DRV_{CIPHER,ACIPHER,AUTHENC}=y Step 3 — Verify SE051 is detected at OP-TEE boot On successful boot, you should see output like the following in the OP-TEE console: I/TC: se050: Info: Applet Major = 7 I/TC: se050: Info: OEF ID a8.fa OEF ID A8FA confirms you have an SE051C2 variant, which matches the OM-SE051ARD board. Known caveats The MCIMX8M-WEVK (i.MX8MQ EVK) platform flag may differ slightly from imx-mx8mmevk . Adjust the PLATFORM= value to match your board. Running heavy OP-TEE crypto regression tests (e.g., xtest regression_4007_rsa ) while RSA is offloaded to the SE051 can exhaust the SE051's persistent NVM. This is a known limitation — you can clear the SE051 NVM with ssscli se05x reset if needed. Your Linux Kernel 6.1.151 should work, but ensure the I2C controller node for the SE051 is fully disabled in the kernel DTS. Useful external references The Foundries.io team has published detailed public documentation on this exact integration, which is a good complement to the NXP application notes: Reference manual: https://docs.foundries.io/86/reference-manual/security/secure-elements/secure-element.050.html Blog Part I (I2C, early boot): https://foundries.io/insights/blog/se050-000.processor-to-se-comms/ Blog Part II (SCP03 with OP-TEE): https://foundries.io/insights/blog/se050-001.scp03/ Please let me know if you run into any build issues and I will be happy to help further.   Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
View full article
RT1176 external flash boot failure I’m new to RT1176 development. Under the J-Link SWD mode, the gyroscope, Wi-Fi and other peripherals have been fully debugged and work properly. However, I’m having trouble booting from Flash and it fails consistently. Could you tell me which aspects I should check? HW-Open-Source Re: RT1176 external flash boot failure Hi @Amily, Adding to what Marek mentioned, the following knowledge base article is a good starting point for understanding how the i.MX RT boots from FlexSPI. i.MX RT FLEXSPI booting guide Additionally, could you help me with the following questions? When you performed the test, did you use the EVK, or are you using a custom board? If you are using a custom board, which flash device are you using? Is it the same device used on the EVK? Which IDE are you using? Which SDK version did you use? When debugging the peripherals, did you use any SDK examples? Best Regards, Pablo Re: RT1176 external flash boot failure Hi @Amily  I'd recommend to verify whether FCB (Flash Configuration Block) is correct. Consider to use Secure Provisioning Tool (https://nxp.com/sec) to install the bootable application into the flash. It can help you to find common mistakes.
View full article
LPC5514JBD64E 用于 WS2812。 您好, LPC5514JBD64E 适合初学者使用 WS2812 吗?如果适合,我可以在哪里找到代码和其他详细信息? 谢谢! LPC55xx Re: LPC5514JBD64E Use for WS2812. 嗨@Kishore02 感谢您的帖子! 目前尚无关于 LPC551x 上 WS2812 实现的信息,您可以使用可编程逻辑单元 (PLC) 来实现。在其他设备中,有使用 FlexIO 模块的示例,例如 MCXA366 的应用代码中心: https://mcuxpresso.nxp.com/appcodehub ?search=an-emulating-ws2812-bus-with-flexio-on-mcx366 此外,一位同事还发布了一篇关于如何在 Kinetis 开发板上实现该协议的文章: NXP FlexIO Generator for the WS2812B LED Stripe Protocol 希望这些信息对您有所帮助。 Re: LPC5514JBD64E Use for WS2812. LPC5514JBD64E(采用运行频率高达150MHz的ARM Cortex-M33内核)是一款功能强大的微控制器,但对于使用WS2812(NeoPixel)可寻址LED的初学者来说,它并非理想之选。
View full article
S32 DSのS32プラットフォームv.3.5更新 S32 Design Studio for S32 プラットフォーム v.3.5 ライセンス要到期了、請問如何续呢? xzhao_0-1787825210468.pngxzhao_0-1787825210468.png
View full article
MBDT_S32E2_问题 各位同事,我目前无法安装 S32Z/E 的基于模型的设计工具箱,因此我联系你们寻求帮助。我的系统上安装了 MATLAB 2024b(甚至尝试过 MATLAB 2026a),并且我还有一个有效的 NXP 帐户。我下载了 NXP_Support_Package_S32ZE_1.4.0_D2512.mltbx 文件,但是当我尝试继续安装时,该过程无限期地卡住,既没有完成也没有进一步进展。我非常感谢您能帮忙找出导致此问题的原因,并指导我如何才能成功完成安装。如果有什么日志或其他细节需要我提供以协助排查问题,请告诉我。感谢您提前给予的支持。 附图供您参考。 Re: MBDT_S32E2_Issue 感谢Joey_z的回复。 我已按照 MBD Toolbox S32Z/E 系列快速入门指南中的说明进行操作。但问题依旧存在。 另外,这个工具箱支持 MATLAB 2026a 吗? 谢谢并致以诚挚的问候 拉维 Re: MBDT_S32E2_Issue 你好, RaviThade1 感谢您与我们联系。 请参考以下链接进行申请: MBD 工具箱 基于模型的设计工具箱 | 恩智浦半导体 BR 乔伊 Re: MBDT_S32E2_Issue 添加更多信息(附截图)。 Re: MBDT_S32E2_Issue 嗨 Joey_z, 您有时间看一下我发给您的详细资料吗?我已经提供了所有细节。 您的回复说“用户需要执行工具箱 m 脚本”,但是 2024b/2026a 并没有生成工具箱 m 脚本。原因可能是什么? 我还有什么遗漏的吗? 提前致谢, 此致, 拉维 Re: MBDT_S32E2_Issue 你好,RaviThade1 请参阅入门指南信息。 基于模型的设计工具箱使用了由以下方式公开的工具链机制: 使用 MATLAB/Simulink 和 Embedded Coder 工具箱实现自动代码生成。经过 默认情况下,工具链配置为 MATLAB 2022a 版本。对于任何其他 MATLAB 版本,用户需要执行工具箱 m 脚本来生成安装环境的适当设置。 BR 乔伊 Re: MBDT_S32E2_Issue 你好,RaviThade1 感谢您的回复。 本频道主要讨论与 S32Z/E 相关的技术问题。 目前,MBDT 相关的详细信息查询将在以下 MBDT 社区获得更多支持: https://community.nxp.com/community/mbdt 您能否在上述社区中创建一个新帖子?负责此主题的工程师会积极监测该论坛,并能为您提供进一步的帮助。 BR 乔伊
View full article
如何将 Plug and Trust MW 集成到 OP-TEE 中 NXP社区的各位朋友,大家好! 我目前正在努力将 Plug and Trust 中间件与 OP-TEE(用于带有 TrustZone 的 MCU 的绑定)集成到我们的项目中。 我已查阅了 AN12662(将主机设备绑定到 EdgeLock SE05x)修订版 1.1,但我找不到详细的分步说明或涵盖确切集成过程的具体章节。 请问您能否指出 AN12662 中介绍此集成的具体章节或页面,或者提供其他文档/示例代码,说明如何构建 Plug and Trust MW 并将其与 OP-TEE 集成? 以下是我的环境详情: 电路板:MCIMX8M-WEVK 和 OM-SE051ARD Plug and Trust MW 版本:v04.07.01 OP-TEE 操作系统版本:3.19.0 Linux 内核:6.1.151 任何指导、应用笔记或相关代码库的链接都将不胜感激。 SE050 Re: How to integrate Plug and Trust MW into OP-TEE 嗨@Uc_S , 感谢您提出的详细问题。您说得对, AN12662 Rev. 1.1 不包含 OP-TEE 的逐步构建说明——它涵盖了概念绑定架构。与您的用例最相关的章节是第 3.2 节(第 12-13 页):“使用 TrustZone 的 MCU 绑定” ,其中描述了如何将 Plug & Trust MW 加载到 TEE 中,以便从可信执行环境内部处理 SCP03 通道的建立。 实际的**版本**集成是通过不同的路径处理的——以下是适用于您环境的正确方法的摘要。 工作原理 与其在 OP-TEE 内部以独立组网 \\(SA\\) TA 的形式运行完整的 Plug & Trust MW,不如使用 OP-TEE内置的 SE05x 加密驱动程序 ( CFG_NXP_SE05X=y )。该驱动程序在 OP-TEE 构建时将 Plug & Trust MW 链接为静态库,从而允许 OP-TEE 内核将 RSA、ECC、RNG 和其他操作卸载到 SE051。 步骤 1 — 禁用 SE051 总线的 Linux I2C 连接到 SE051 的 I2C 控制器必须由 OP-TEE 独家拥有。你需要一个 Linux DTB 来禁用该 I2C 接口,这样 Linux 在启动时就不会探测到它。从包含此更改的分支构建板的 DTB,或者在 DTS 中手动禁用相关的 I2C 节点。 步骤 2 — 使用 SE05x 驱动程序构建 OP-TEE 操作系统 通过 CFG_NXP_SE05X_PLUG_AND_TRUST 将版本指向您提取的 Plug & Trust MW v04.07.01 目录。示例构建命令(请根据您的开发板调整 PLATFORM= ): make -j8 PLATFORM=imx-mx8mevk O=./build-imx8m-se050 CFG_TEE_CORE_LOG_LEVEL=4 CFG_NXP_CAAM=n CFG_NXP_SE05X=y CFG_IMX_I2C=y CFG_STACK_{THREAD,TMP}_EXTRA=8192 CFG_NXP_SE05X_RSA_DRV=y CFG_NXP_SE05X_ECC_DRV=y CFG_NXP_SE05X_CTR_DRV=n CFG_NXP_SE05X_RNG_DRV=y CFG_WITH_SOFTWARE_PRNG=n CFG_NXP_SE05X_PLUG_AND_TRUST=/path/to/plug-and-trust 如果要同时启用 CAAM 和 SE051(例如,CAAM 处理 AES/RNG,SE051 处理 RSA/ECC),请相应地替换 CAAM 标志: CFG_NXP_CAAM=y CFG_NXP_CAAM_AE_{GCM,CCM}_DRV=y CFG_NXP_CAAM_RNG_DRV=y CFG_NXP_SE05X_RNG_DRV=n CFG_WITH_SOFTWARE_PRNG=n CFG_NXP_SE05X_{DIEID,RSA,ECC,CTR}_DRV=y CFG_NXP_SE05X_RSA_DRV_FALLBACK=y CFG_NXP_SE05X_ECC_DRV_FALLBACK=y CFG_CRYPTO_DRV_{CIPHER,ACIPHER,AUTHENC}=y 步骤 3 — 验证 OP-TEE 启动时是否检测到 SE051 启动成功后,您应该在 OP-TEE 控制台中看到类似以下的输出: I/TC: se050: Info: Applet Major = 7 I/TC: se050: Info: OEF ID a8.fa OEF ID A8FA 确认您拥有 SE051C2 型号,该型号与 OM-SE051ARD 板匹配。 已知注意事项 MCIMX8M-WEVK (i.MX8MQ EVK)平台标志可能与 imx-mx8mmevk 略有不同。调整 PLATFORM= 值以匹配您的电路板。 当 RSA 被卸载到 SE051 时,运行繁重的 OP-TEE 加密回归测试(例如 xtest regression_4007_rsa )可能会耗尽 SE051 的持久 NVM。这是一个已知的限制——如果需要,您可以使用 ssscli se05x reset 清除 SE051 NVM。 您的 Linux 内核版本为 6.1.151应该可以工作,但请确保在内核 DTS 中完全禁用 SE051 的 I2C 控制器节点。 有用的外部参考资料 Foundries.io 团队已发布了关于此集成的详细公开文档,是对 NXP 应用笔记的良好补充: 参考手册: https://docs.foundries.io/86/reference-manual/security/secure-elements/secure-element.050.html 博客第一部分(I2C,早期启动): https://foundries.io/insights/blog/se050-000.processor-to-se-comms/ 博客第二部分(SCP03 与 OP-TEE): https://foundries.io/insights/blog/se050-001.scp03/ 如果您在版本过程中遇到任何问题,请告诉我,我将很乐意提供进一步的帮助。   祝你有美好的一天, 坎 ------------------------------------------------------------------------------- 笔记: - 如果此回复解答了您的问题,请点击“标记为正确答案”按钮。谢谢你! - 我们会持续关注帖子,从最后一条回复发出后持续7周,之后的回复将被忽略。 如果您之后有相关问题,请另开新帖并引用已关闭的帖子。 -------------------------------------------------------------------------------
View full article
Profinet VS 代码示例在 FRDM-IMXRT1186 上无法运行 我想基于RT11186开发一个PROFINET设备,并根据UG10320 V1.0、UG10455 V1.0和AN15104 V1.0测试PROFINET演示程序。我执行了以下操作: 1. 解压 Profinet-Stack-Library 和 AN15104.zip。 2. 将 frdm_pn.patch 复制到 Profinet 堆栈的文件夹中,并按照 readme 中的说明应用补丁。 3. 根据 prj.conf.rej/mcux_include.json.rej/mcuxpresso-tool.json.rej 文件手动修改项目配置。这与AN15104的4.3章内容相同。 以下定义已包含在 cakelist.txt 文件中。它们没有被修改。 -DCPU_MIMXRT1186CVJ8C_cm33 -DMIMXRT1186_cm33_系列 -DXIP_BOOT_HEADER_ENABLE=1 4. 添加 "#if (defined(CPU_MIMXRT1186CVJ8C_cm7)... #ifndef configENABLE_FPU...." 以启用 FPU。指南中未包含此步骤。如果不进行修改,编译将会失败,因为FreeRTOSConfig.h中默认的CPU是RT1189。 5. 将基于 SDK 2.6.3 的 Profinet 项目导入 VS Code。 6. 根据 UG10455 第 5 章的步骤 8 和 9,在 sysbuild.cmake 中添加项目“31_led_button”。 7. 将 FRDM-IMXRT1186 的 J12 和 J18 改为 1-2 连接,以启用 NETC PHY。 8. 构建项目并将镜像下载到 FRDM-IMXRT1186。 9. 安装 JDK、Npcap 并打开 ICE。ICE 版本为 V1.7,提取自 port-ICE-202509180853-win32.win32.x86_64.zip。 10.根据 UG10320 第 6 章,Profinet 设备已成功扫描。 11. 根据 UG10320 第 7.1 章的步骤 1~7 设置 DAP、模数和缩减比。按照7.1章第8步的步骤,点击连接按钮后失败了。 您能帮我分析一下为什么无法建立循环沟通吗? 能否提供 FRDM-IMXRT1186 的 Profinet 镜像,以便我检查问题是出在 VS Code 项目还是 IEC/硬件上? 顺祝商祺! Re: Profinet VS code example does not work on FRDM-IMXRT1186 亲爱的@wlfworld , 我在 RT1180 EVK 上进行了测试,观察到了相同的现象:扫描过程中可以发现设备,但连接失败。因此,这似乎与您的移植工作无关。 我们目前正在内部调查此事。一旦我们确定了根本原因或有任何更新,我们将尽快与您联系。 顺祝商祺! 雪莉 Re: Profinet VS code example does not work on FRDM-IMXRT1186 亲爱的@wlfworld , 你使用的是哪个GSDML文件?我之前使用了错误的文件,所以才无法使其正常运行。切换到 GSDML-V2.45-portExample-test-20260120.xml(位于 Profinet-Stack-Library\RT1180_PROFINET_MCTC_LIB_GOAL_V_3_1_0-2\appl\goal_pnio\31_led_button 中)后,我能够使用 ICE 工具建立循环通信。 ShellyZhang_0-1787654308913.pngShellyZhang_0-1787654308913.pngShellyZhang_0-1787654308913.pngShellyZhang_0-1787654308913.png 请问您在哪个步骤遇到了问题?如果可以的话,能否分享一下屏幕截图?一般来说,如果在扫描过程中能够发现 PNIO 设备,则设置通常不会出现重大问题。您可能还需要安装 Wireshark 并检查是否有任何 PROFINET 通信数据包正在交换。 如果方便的话,请同时上传您的图片文件。我可以在我这边进行测试并比较结果。 顺祝商祺! 雪莉 Re: Profinet VS code example does not work on FRDM-IMXRT1186 @ShellyZhang非常感谢! 如果应用 GSDML-V2.45-portExample-test-20260120.xml,则会建立循环通信。我在之前的操作中选择了二进制压缩包中的 xml 文件。 顺祝商祺! Re: Profinet VS code example does not work on FRDM-IMXRT1186 你好 wlfworld, 我很高兴您能够解决这个问题。如果您还有其他问题,请随时创建新帖。 此致, 雪莉
View full article
RT1176 外部闪存启动失败 我是RT1176开发新手。在 J-Link SWD 模式下,陀螺仪、Wi-Fi 和其他外围设备均已完全调试完毕,工作正常。但是,我从 Flash 启动时遇到问题,总是失败。请问我应该检查哪些方面? HW-开源 Re: RT1176 external flash boot failure 嗨@Amily , 除了 Marek 提到的内容之外,以下知识库文章是了解 i.MX RT 如何从 FlexSPI 启动的良好起点。 i.MX RT FLEXSPI 启动指南 此外,您能否帮我解答以下问题? 进行测试时,您使用的是 EVK 测试板,还是使用了定制的测试板? 如果您使用的是定制电路板,您使用的是哪种闪存设备?它和EVK上使用的设备是同一型号吗? 你使用的是哪个集成开发环境(IDE)? 你使用的是哪个SDK版本? 在调试外设时,您是否使用了任何 SDK 示例? 此致, 巴勃罗 Re: RT1176 external flash boot failure 嗨@Amily 我建议您检查一下 FCB(闪存配置块)是否正确。 考虑使用安全配置工具( https://nxp.com/sec )将可启动应用程序安装到闪存中。它可以帮助你发现常见的错误。
View full article
Secondary failed allocate mbuff from DPDK Pool hi All, Using : LX2160  LSDK 2108 main  MC firmware version: 10.32.0 DPDK Version : dpdk_19_11_tags_LSDK20.04-isc-09 Primary ( DPDK ) Process : Create a mbuff Pool using [ rte_pktmbuf_pool_create("dlmempool", ] Secondary ( DPDK ) Process : fails to allocate mbuff using API [ rte_pktmbuf_alloc(mempool) ] In Secondary i can see mempool is correct. I can see mbuff available is full. The failure happens for 1st mbuff allocation using  rte_pktmbuf_alloc. Any solution for this. Thanks. Re: Secondary failed allocate mbuff from DPDK Pool thanks i will try these options and update you by tomorrow Re: Secondary failed allocate mbuff from DPDK Pool Hello, The secondary process must map hugepages at the same virtual address as the primary. If ASLR is active, the secondary will resolve the mempool pointer to a different virtual address, causing the first allocation to fail. echo 0 > /proc/sys/kernel/randomize_va_space   Run this before launching either the primary or secondary process. 2. Provision Sufficient DPMCP Objects Create as many DPMCP objects as the total number of processes (primary + secondary). For 1 primary + 1 secondary, you need at least 2 DMPCPs: export DPMCP_COUNT=3 # for 1 Primary + 2 Secondary (always provision +1 as buffer) ./dynamic_dpl.sh dpmac.X 3. Provision Sufficient DPIO Objects Each process needs its own DPIO portals. The formula is: (Total Processes) × (cores per process + 1 extra per process) For example, 1 primary (2 cores) + 1 secondary (2 cores) = at minimum 9 DPIOs. export DPIO_COUNT=20 # set generously 4. Correctly Blacklist/Whitelist Devices in the Secondary The secondary process must NOT re-initialize I/O devices (dpni, dpbp, dpcon, dpseci). Only dpio and dpmcp should be initialized by the secondary. Pass the correct blacklist flags: # Secondary process example — blacklist all dpni/dpbp/dpcon, allow only dpio + dpmcp ./your_secondary_app --proc-type=secondary \ -b fslmc:dpni.X \ -b fslmc:dpbp.X \ -b fslmc:dpcon.X \ -- [app args]   Or alternatively, explicitly whitelist only the dpio and dpmcp objects assigned to the secondary: ./your_secondary_app --proc-type=secondary \ -w fslmc:dpio.Y \ -w fslmc:dpmcp.Z \ -- [app args] 5. Use --proc-type=secondary EAL Argument Ensure the secondary is launched with the correct EAL flag: ./your_secondary_app -c -n 1 --proc-type=secondary ...   Or use --proc-type=auto to let DPDK auto-detect. 6. Verify the Mempool Lookup in Secondary In the secondary, do not call rte_pktmbuf_pool_create again. Instead, look up the existing pool created by the primary: // In secondary process: struct rte_mempool *mempool = rte_mempool_lookup("dlmempool"); if (mempool == NULL) { // Error: pool not found — ASLR or hugepage mapping issue } struct rte_mbuf *m = rte_pktmbuf_alloc(mempool);     If rte_mempool_lookup returns a valid non-NULL pointer but rte_pktmbuf_alloc still returns NULL, the issue is almost certainly the DPIO portal not being initialized for the secondary's thread/core.   Regards
View full article
S32 DS for S32 Platform v.3.5 更新 S32 Design Studio for S32 Platform v.3.5 许可证要兑了,请问如何续呢? xzhao_0-1787825210468.pngxzhao_0-1787825210468.png
View full article
BT firmware accepted over UART but controller never runs; and EdgeFast download corrupts at the 3M   I have raised a related/companion support ticket with u-blox, case **CA-276115** (same hardware, module-vendor questions). My questions below are about NXPs **IW416 ROM's firmware-authentication behaviour** and an **EdgeFast download bug on NXP's own reference board**. Every figure is a measurement and full logs attached. ## 1. Summary — two DISTINCT failures, please keep them separate On a **u-blox M2-MAYA-W161** (NXP **IW416**) in a **MIMXRT1170-EVKB Rev C3**, BT HCI over LPUART2: **Failure A — the core question.** With a clean 115200-baud UART download, the BT firmware **downloads completely and is accepted** (the ROM stops requesting data and does not re-announce), and the controller then **never transmits** — no HCI response at any baud rate. **Failure B — an EdgeFast/board bug.** NXP's stock EdgeFast download flow switches to **3,000,000 baud mid-download** and the link **corrupts at the switch** on this board; the download never completes. This is separate from Failure A and reproducible with NXP software only. > These have different root points. Fixing B (the 3 Mbaud corruption) would not > address A (the post-download silence). We are asking about both, separately. Wi-Fi (SDIO) on the same card works fully — enumeration, station, micro-AP, throughput — so the card, its power, and its level shifters are healthy. --- ## 2. Configuration | Item | Value | |---|---| | Chipset / module | NXP **IW416** in u-blox M2-MAYA-W161-00C-00 | | Host board | MIMXRT1170-EVKB Rev C3, M.2 J54, LPUART2 | | SDK | MCUXpresso **v26.06.00-LTS** | | BT firmware | `uartIW416_bt.bin` **16.92.21.p155.2**, FP92, `w8978`, 131,840 B | | Also tested | **16.92.21.p142.5** (FP91, from `github.com/NXP/wifi_nb_fw@a91d9d6`, Jan 2025) — same result | | Module select | `WIFI_IW416_BOARD_MURATA_1XK_M2` (the SDK has no MAYA profile) | | Board rework | `R404` (PDn) + `R1901` (module→MCU RXD) fitted & verified; flow-control pair `R1816`/`R1902` **not** done — see §5 | --- ## 3. Failure A — the image is accepted, then the controller is silent ### The download completes and is accepted Our own clean-room V3 loader (protocol only, at 115200), instrumented: ``` bt_fw_download=ok chip_id=0x7201 loader_ver=0 start_inds=2 chunks=142 sent=131856/131840 max_off=131840 retx=1 crc_err=0 ``` All 131,840 bytes; the card requested every chunk (16-byte headers, 2048-byte payloads, including out-of-order re-requests at the tail); **one CRC error was reported by the card and recovered by retransmission** — so the ROM's own integrity checking is live. ### Then nothing — and the ROM behaves as if the image was ACCEPTED, not rejected ``` bt_post_dnld[0..3]: n=0 (four 500 ms raw-capture windows after download) bt_raw_reset[0..2]: n=0 (raw HCI_Reset 01 03 0C 00 at 115200, x3) HCI_Reset at 3000000 / 921600 / 460800 / 115200 : no response, framing=0 at all ``` The **key discriminator**: after the UART download the ROM **stops requesting and does not re-announce**. For contrast, when the combo image is downloaded over **SDIO**, the BT core **does re-announce** on the UART (`AB 01 72 00 47` reappears) — i.e. that is what "still in bootloader / not accepted" looks like on this part. So the UART download is **accepted and the loader exited**, and the failure is *between accepting a CRC-valid image and running a controller*. ### Firmware version is not the variable Two official builds — **FP92 p155.2** (2026-03) and **FP91 p142.5** (2025-01, different internal structure, load `0x00080000` vs `0x000A2010`, 178 vs 142 chunks) — both download completely, both are accepted, both leave the controller silent. So this is not a stale/wrong *version*. ### Questions for NXP (Failure A) 1. **Does the IW416 ROM authenticate the UART-downloaded BT firmware against OTP-fused keys**, and if so, **how is a rejection signalled to the host?** We observe: every block accepted, ROM stops requesting, no error frame, no re-announcement, then silence. Is that byte-pattern the documented secure-boot / signature-reject behaviour, or does an authentic image behave this way for another reason? 2. **Is stock `uartIW416_bt.bin` (16.92.21.p155.2) built for a generic / un-fused IW416**, or does it require a matching OTP/secure-boot provisioning on the part? (If the part is fused for a specific OEM key, is the stock image expected to be rejected — which would point us back to u-blox, CA-276115.) 3. **What is the expected controller behaviour in the first seconds after a successful UART download** at 115200 — should it answer `HCI_Reset` immediately, or is a vendor command / delay required first? --- ## 4. Failure B — EdgeFast download corrupts at the 3 Mbaud switch (MIMXRT1170-EVKB) Reproducible with **NXP software only**, on **NXP's own reference board**. Built `examples/edgefast_bluetooth_examples/shell` for the 1170 with `DEBUG_PRINT` enabled so NXP's `fw_loader_uart.c` narrates. From its trace: 1. 115200 header requests are clean and CRC-valid (`REQ=0xA7 Len=10 Off=0 Err=0`); 2. a type-5 UART-config block is sent and **ACKed** (so the type-5 command is accepted in-context on this board/firmware); 3. `change baud-rate req to 3000000`, `changeBaudrate() ret 0` — the switch **reports success**; 4. immediately after: `Invalid Header 0x00` / `0x71`, `REQ = 0xA7, Len = 10a7, Off = 5400, Err = 400, CRC = 0`, `CRC Mismatched`, and `file download: 0: 131840` — stuck at offset 0. The offsets are byte-concatenations (`5400` = two bytes run together): **framing loss**, not overflow. So the card switched to 3 Mbaud and is transmitting; the RT1176 LPUART2 at 3,000,000 baud on this board — DMA-fed, **no usable hardware flow control** — cannot recover the frames. With stock flow-control settings the first post-switch header times out, the loader falls back to 115200, retries, and **loops indefinitely** (>20 min observed). Root cause on the board: **LPUART2's RTS/CTS pads are the gigabit PHY's reset/interrupt lines** (`R1866` → `ETHPHY_RST_B`, `R1816` → `RGMII1_PHY_INTB`), so there is no clean host-RX back-pressure path even after NXP's documented five-item rework — `R1866` is not in that rework. At 3 Mbaud without flow control the host cannot keep up. ### Questions for NXP (Failure B) 4. On the **MIMXRT1170-EVKB**, is the 3 Mbaud EdgeFast BT firmware download a **known limitation without the full flow-control rework** (remove `R1816`, fit `R1902`) — and even with it, given `R1866` keeps the host RTS on the PHY reset, is 3 Mbaud actually supported on this board, or should the `fw_download_secondary_speed` be left at 115200? 5. Is the **infinite retry loop** on a failed secondary-baud switch (`fw_loader_uart.c`) intended? A hard failure after N retries would be far easier to diagnose than an endless progress-dot stream. ### Minor, low priority (same tree) 6. In `edgefast_bluetooth`'s shell, `SHELL_CMD_REGISTER(bt, ...)` registers the `bt` command with a **0-parameter range**, so `fsl_shell.c` rejects every subcommand (`bt init` → "Incorrect command parameter(s)"); the working invocation is the dotted `bt.init`. Likely an `SHELL_ADVANCE` / range-init mismatch worth a look. --- ## 5. What we have already eliminated (so these need not be suggested) All on silicon, MIMXRT1170-EVKB: | Hypothesis | Verdict | |---|---| | type-5 UART-config block missing | our standalone injection is rejected (`CRC_ERR 0x0001`); but NXP's in-flow type-5 IS accepted (§4) — so this is not the blocker for Failure A | | wrong firmware **version** | refuted — FP91 and FP92 both accepted, both silent (§3) | | combo-over-SDIO needed | it does **not** bring BT up on this module — the BT core re-announces from ROM after the SDIO combo download completes | | host download truncating | refuted — 15 s idle poll leaves `sent` unchanged | | HCI baud rate | refuted — 4 rates, `framing=0`, zero bytes | | `wakeUpControllerFromBootSleep()` GPIO pulse | implemented; the card **reacts** (extra greeting) but outcome unchanged | CPU state during the silence (SWD, console detached): `DHCSR 0x01010001` (running; `S_HALT`/`S_LOCKUP` clear), `CFSR`/`HFSR` = 0 — the host MCU is alive and blocked in `controller_init`, not crashed. Only **signature / secure-boot rejection** remains for Failure A, which is exactly Q1/Q2 — and it is the seam between this ticket and u-blox CA-276115. --- ## 6. Reproduction (Failure B, NXP software only) ``` west build -b evkbmimxrt1170 examples/edgefast_bluetooth_examples/shell \ --toolchain armgcc --config flexspi_nor_debug -- -Dcore_id=cm7 \ -DCONFIG_MCUX_COMPONENT_component.wifi_bt_module.IW416=y \ -DCONFIG_MCUX_COMPONENT_component.wifi_bt_module.board_murata_1xk_m2=y ``` Flash, reset, at the `@bt>` prompt type `bt.init`. The download prints progress dots and never completes; enabling `DEBUG_PRINT` in `fw_loader_uart.c` shows the corruption at the 3 Mbaud switch. (`edgefast_open`'s newer shell for the 1170 accepts space-separated `bt init` and hangs the same way.) For Failure A: full instrumented download + HCI evidence at 115200 is attached Re: BT firmware accepted over UART but controller never runs; and EdgeFast download corrupts at the Hi @nicnewdigate , Before we dig deeper into this, could you please confirm a few points? - The MIMXRT1170EVKB_hwrework.md guide lists five required modifications: remove R183, remove R1816, populate R404, populate R1901, and populate R1902. From your notes, it looks like R404 and R1901 have already been completed. Can you confirm the status of R183, R1816, and R1902 as well? - Could you provide a serial log from one of the standard NXP examples running without any changes to app? It could be the bluetooth shell. Build the project for the Murata 1XK M2 - Send over the complete log. - Is the board powered only through USB, or are you using an external 5 V supply? Please use external power. Regards, Daniel. Re: BT firmware accepted over UART but controller never runs; and EdgeFast download corrupts at the Hi @DanielRuvalcaba - thank you for your quick response and your suggestions!  I've completed all three items you asked for. Summary first, then the log. **1. Rework — complete.** All five items of the EdgeFast BT PAL rework for the MIMXRT1170-EVKB are done: R404 and R1901 (fitted earlier), plus **R1902 fitted** and **R1816 + R183 removed**. We confirmed the two removals did not harm the readable BT link — our own 115200-baud loader still downloads the full image cleanly (131,840 bytes, framing errors = 0, byte-identical to before the removals). **2. External power — done.** J38 → 1–2, 5 V into the J43 barrel jack, SW5 on. **3. Unmodified-shell log — captured.** We built `examples/edgefast_bluetooth_examples/shell` from MCUXpresso SDK v26.06.00-LTS, `--config flexspi_nor_debug -Dcore_id=cm7`, armgcc. The only change from stock is the module selection for our card, in the board `prj.conf`: ``` CONFIG_MCUX_COMPONENT_component.wifi_bt_module.IW61X=y → IW416=y CONFIG_MCUX_COMPONENT_component.wifi_bt_module.board_murata_2el_m2=y → board_murata_1xk_m2=y ``` (These are the two Kconfig `choice` members that select the module. Our card is a u-blox MAYA-W161 — an IW416 — so we selected the 1XK/IW416 profile you named. `CONFIG_BT_SIGNING=y` and everything else is stock.) Result at the shell prompt: ``` @bt> bt.init [FW Download] Start to download firmware from 0x301198fc: 6812 download starts(131840) ...................................................................... (141 dots) download success! [FW Download]BLE FW is downloaded: 8265 ← then nothing, for the remaining 90+ seconds. bt.init never returns. ``` **Two things changed since our earlier report, and both matter:** **A — the 3 Mbaud download now COMPLETES.** Before the flow-control rework the stock loader corrupted at the 115200 → 3,000,000-baud switch and looped indefinitely. With R1902 fitted and R1816 removed (real CTS back-pressure), it now moves all 131,840 bytes in ~1.45 s (timestamps 6812 → 8265 ms — the high-speed rate) and prints `download success!`. So the rework fixed the download-side problem, exactly as expected — thank you for insisting on it. **B — the controller is still silent after a SUCCESSFUL download.** This is the core question. After `download success!` / `BLE FW is downloaded`, the stack receives nothing from the controller — no `Bluetooth initialized`, no error — and `bt.init` hangs. The host MCU is alive and blocked, not crashed; with the console detached we read over SWD: ``` DHCSR = 0x01010001 (running: S_HALT=0, S_LOCKUP=0, S_RETIRE_ST=1) CFSR = 0x00000000 (no configurable fault) HFSR = 0x00000000 (no hard fault ever taken) ``` So the CM7 is waiting in the stack for an HCI reply that never comes. This is now a very clean data point: on NXP's **own unmodified EdgeFast stack**, with the full rework and external power, the card **accepts a complete, CRC-checked firmware image and then runs no HCI controller**. The earlier "the 3 Mbaud download is corrupt" explanation no longer applies — the download demonstrably succeeds. **Our questions (unchanged, now isolated from any download-integrity variable):** 1. Does the IW416 ROM authenticate the UART-downloaded BT firmware (e.g. against OTP-fused keys), and if so, how is a rejection signalled to the host? We see every block accepted, `download success!`, then silence — no error frame and no re-announcement. 2. Is the stock `uartIW416_bt.bin` (16.92.21.p155.2) built for a generic / un-fused IW416, or does a part fused for a specific OEM key require a matching signed image? If so, that points us back to u-blox (companion case CA-276115). 3. In the first seconds after a successful UART download, should the controller answer `HCI_Reset` immediately at the post-download rate, or is a vendor command / delay required first? I'm happy to share the full serial capture and the complete SWD register block, and we can enable `DEBUG_PRINT` in `fw_loader_uart.c` for a narrated download trace if that would help. Thanks so much for your time and effort - Its hugely appreciated!!! cheers - Nic
View full article
MCX-N947 Motor Control example code is not available in SDK. Hi Team, I am unable to find the motor control SDK example for the MCX-N947. I am using the latest SDK downloaded through the NXP SDK Builder. Could you please let me know where I can find the example code for motor control on the MCX-N947? Thank you. MCXN Motor Control Re: MCX-N947 Motor Control example code is not available in SDK. Hello @embedabu , Thanks for your post. Regarding the Motor Control demo, it is not necessarily included in every SDK release. If the demo has not changed compared to the previous SDK version, it is typically not repackaged in subsequent SDK releases. You can refer to the MCUXpresso SDK for Motor Control | NXP Semiconductors webpage to identify which SDK version contains the latest available release of a specific demo. For example, for FRDM-MCXN947, the demo can be found in SDK v26.03. for MCXN9XX EVK board, the demo can be found in SDK v2.14. Celeste_Liu_0-1787886386939.pngCeleste_Liu_0-1787886386939.png Hope it helps. BR Celeste
View full article
IW610 (USB) ファームウェアが「WLAN FW がアクティブ」になってから約 4 秒後にクラッシュします。 こんにちは、 OpenWrt 25(カーネル6.12)でIW610Gモジュールを起動するのに苦労しています。列挙は順調に進み、ファームウェアのダウンロードも問題なさそうですが、クラッシュが発生します。 USBの列挙とファームウェアのダウンロードは毎回成功します。モジュールはメインファームウェアを起動し、「WLAN FW is active」と表示し、VDLLブロック(48000バイト)をロードします。その後、**一貫して約3.9~4.1秒後**にファームウェアがクラッシュし、独自のダンプ(「FW trigger fw dump」)がトリガーされます。このタイミングは数十回のブート(コールドブートとウォームEHCIリバインドサイクルの両方)で非常にデターミニスティックであり、ランダムな信号ノイズではなく固定された内部タイマー/ウォッチドッグであると推測します。 この正確な起動時からのフルファームウェアダンプ(「file_fwdump」、1,230,600バイト)とドライバー情報ダンプ(「file_drv_info」、259,772バイト)が添付されています。 最新のクリーンブート時の関連するdmesgの抜粋全文: [ 34.484411] usb 1-1: 新しいUSBデバイスが見つかりました。idVendor=0471、idProduct=0214、bcdDevice=40.00 [ 34.500356] USB 1-1: 製品:NXPワイヤレスデバイス [ 34.525526] VID/PID = 471/214、Boot2 バージョン = 4000 [ 34.573668 リクエストファームウェア:nxp/usbusb_iw610.bin.se [ 37.189918] fw_dnld: 808824バイトダウンロード [ 37.381917] USB 1-1:USB切断、デバイス番号2 [ 37.883662] USB 1-1:EHCIプラットフォームを使用した新しい高速USBデバイス番号3 [ 38.115044] USB 1-1:新しいUSBデバイスが発見、idVendor=0471、idProduct=0215、bcdDevice=32.01 [ 38.131013] USB 1-1:製品:BluetoothおよびワイヤレスLANコンポジットデバイス [ 38.288804] USB probe: idVendor=471 idProduct=215 bInterfaceNumber=0 [ 38.295470] VID/PID = 471/215、Boot2 バージョン = 3201 [ 38.300509] woal_usb_probe: 無効なエンドポイント割り当て [ 38.306315] USB probe: idVendor=471 idProduct=215 bInterfaceNumber=0 [ 38.312906] VID/PID = 471/215、Boot2 バージョン = 3201 [ 38.318003] woal_usb_probe: 無効なエンドポイント割り当て [ 38.473628] USB probe: idVendor=471 idProduct=215 bInterfaceNumber=0 [ 38.480227] VID/PID = 471/215、Boot2 バージョン = 3201 [ 38.485411] モアルハンドル操作を取り付けろ、カードインターフェースタイプ:0x40d [ 38.628304 ] WLAN FWは稼働中 [ 38.631408 on_time 38628138922 [ 38.655388] VDLL: ファームウェアをリクエスト:nxp/usbusb_iw610.bin.se [ 38.671234] VDLLイメージ: 長さ=48000 [ 38.675868] fw_cap_info=0x487cbf03、dev_cap_mask=0xffffffff [ 38.681912] uuid: 30548cc5aad797baaa0885c430d55486 [ 38.686932] max_p2p_conn = 8、max_sta_conn = 8 [ 42.576334] FW トリガー fw ダンプ <-- 「WLAN FW がアクティブです」から約 3.95 秒後 [ 42.579535] =====FWトリガーダンプ==== [ 42.589155] ディレクトリ /var/dump_42 の作成に成功しました [ 42.601497] ファームウェアダンプディレクトリ名は /var/dump_42 です [ 42.607105] DRVダンプデータは/var/dump_42/file_drv_infoにあります [ 43.786094] IOCTL が失敗しました: d64defa8 id=0xd0000、sub_id=0xd0004 action=1、status_code=0x80000007 [CMD_CANCEL] (MLAN_OID_11D_DOMAIN_INFO_EXT) [ 43.796200] IOCTL が失敗しました: 12d298a2 id=0x30000、sub_id=0x30003 action=2、status_code=0x80000007 [CMD_CANCEL] (MLAN_OID_ANT_CFG) [43.807348] 11D: FW でドメイン情報を設定する際にエラーが発生しました [ 43.844117] ファームウェア情報の取得に失敗しました!ステータス=-1、エラーコード=0x0 [43.954897] ファームウェア初期化失敗 [43.963379] カードが削除されました: -2 [ 44.027311] woal_usb_probe: woal_add_card が失敗しました 「WLAN FWがアクティブになった」状態から約4秒後に発生するという決定性、およびキャンセルされた2つのコマンド(`ANT_CFG`、`11D_DOMAIN_INFO_EXT`)を考慮すると、このクラッシュのシグネチャは`MM6X18540`シリーズの既知の問題と一致しますか?それとも、ファームウェアダンプで確認すべき特定の事項がありますか?必要であれば、`file_fwdump`/`file_drv_info`を直接共有することも可能です。どのような方法で送信すればよろしいでしょうか? アドバイスをいただければ幸いです。 - **ホストSoC**:Qualcomm Atheros QCA9533(AR9531/QCA9533ファミリ)、カスタムボード、OpenWrt、Linuxカーネル6.12.71(ath79ターゲット)。 - **モジュール**:NXP IW610(Wi-Fi 6 + BLE 5.4 + 802.15.4コンボ)、このテスト用にUSB2.0(Wi-Fi + BT)経由で接続;SPI(802.15.4)リンクはボード上にありますが、現在は無効化されています(下記参照)。 - **ドライバ**: 'nxp-imx/mwifiex', コミット '09f41e1423e4806a127507d5fa284cd02c46772f' — 「ホットフィックスリリースMM6X18540.p41のドライバコミット(2025-12-23)、ブランチ `hotfix/lf-6.12.49_2.2.0_hotfix`。`MLAN_RELEASE_VERSION "540.p41"`をコンパイルしました。 - **ファームウェア**: `usbusb_iw610.bin.se`(Wi-Fi+BTのみ、SPIブロックなし)、`nxp-imx/imx-firmware`コミット`216a015fea`から取得 — "ホットフィックスリリースMM6X18540.p41 2025-12-23のファームウェアコミット"、内部タグ`IW610-18.99.5.p86`。これはNXP独自のリリースノートとp41ドライバーのペアです。 - モジュールパラメータ (`wifi_mod_para.conf`):'USBIW610 = { dual_nb=0 fw_name=nxp/usbusb_iw610.bin.se }' — これは明示的に2つ目の狭帯域(802.15.4/SPI)ファームウェアブロックを無効化するため、純粋なUSB Wi-Fi+BTを単独でテストしています。 Re: IW610 (USB) firmware crashes ~4s after "WLAN FW is active" デバッグモードでは、DOMIAN INFO が FW から応答されなかった最後のコマンドのようです。 [ 1221.243476]QUEUE_CMD: 802_11_SNMP_MIB [0x16] がキューに追加されました [ 1221.251155] 11D:Country=US band=0 sub-band=1 dfs_region=1 [ 1221.256730] 11D: 最初のチャネル=1、チャネル数=11、最大送信電力=23 [ 1221.262395] mlan%d: [ 1221.262402]QUEUE_CMD:802_11D_DOMAIN_INFO[0x5b]がキューに入っています [ 1221.270406 wlan_set_regiontable: 2.4G 0x10 [ 1221.274723 wlan_set_regiontable: 5G 0x10 [ 1221.283423] mlan%d: [ 1221.283454]DNLD_CMD (1221.280171):802_11_SNMP_MIB [0x16]、act 0x1、len 16、seqno 0x18、タイムアウト 5000 [ 1221.295486] mlan_write_data_async_complete: CMD [ 1221.300210] mlan_recv: CMD (1221.296961) [ 1221.313352] mlan%d: [ 1221.313384]CMD_RESP (1221.310098):802_11_SNMP_MIB [0x8016]、結果 0、長さ 16、シーケンス番号 0x18 [ 1221.324316] mlan%d: [ 1221.324327]DNLD_CMD (1221.321067):802_11D_DOMAIN_INFO [0x5b]、act 0x1、len 32、seqno 0x19、タイムアウト 5000 [ 1221.336726] mlan_write_data_async_complete: CMD [ 1221.498408] mlan%d: [ 1221.498441]QUEUE_CMD:802_11_RF_ANTENNA[0x20]がキューに入っています [ 1221.540732 mlan_recv: イベント0x73 (1221.537479) [ 1221.545540]FWトリガーfwダンプ [ 1221.548946] =====FWトリガーダンプ==== Re: IW610 (USB) firmware crashes ~4s after "WLAN FW is active" Big Endian版では変換が見落とされているようです Nxpケースはもう使えないので、ここでパッチを投稿しています Re: IW610 (USB) firmware crashes ~4s after "WLAN FW is active" こんにちは、 @Nicolas07 現時点では、最新リリースでこの問題がまだ起きているかどうか試してみることをおすすめします。 FW: imx-firmware/FwImage_IW610_USB (lf-6.18.20_2.0.0) · nxp-imx/imx-firmware · GitHub ドライバ: GitHub - nxp-imx/mwifiex: WiFi拡張機能 · GitHub 同時に、これが既知の問題かどうかを社内で確認し、また、当社のI.MX 8MMiniボードとIW610-EVK(USB-USBモードに設定)を使用して、当社のボードに問題があるかどうかを試してみます。 よろしくお願いいたします。 Christine。
View full article
LPC5514JBD64EはWS2812用です。 こんにちは、初心者LPC5514JBD64E WS2812の扱いに適していますか?もしそうなら、コードやその他の詳細はどこで入手できますか? よろしくお願いします。 LPC55xx Re: LPC5514JBD64E Use for WS2812. こんにちは、@Kishore02さん 投稿ありがとうございます! LPC551x向けのWS2812の実装については情報がありませんが、プログラマブルロジックユニットを使うことができます。他のデバイスでは、アプリケーションコードハブのMCXA366 https://mcuxpresso.nxp.com/appcodehub?search=an-emulating-ws2812-bus-with-flexio-on-mcx366  また、Kinetisボード向けに実装した同僚の投稿もあります:NXP FlexIO Generator for the WS2812B LED Stripe Protocol( LED Stripe Protocol) この情報が参考になれば幸いです。 Re: LPC5514JBD64E Use for WS2812. LPC5514JBD64E(最大150MHzのARM Cortex-M33コア搭載)は強力なマイクロコントローラですが、WS2812(NeoPixel)アドレッサブルLEDを扱う初心者には理想的な選択肢ではありません。
View full article
TapLinx Java Classic Library に ClassicFactory クラスがありません 親愛なるNXPサポートチームへ、 MIFARE Classic S70 4K カード で動作させるためにJava TapLinxライブラリをダウンロードしました 。しかし、 ClassicFactory.class ファイルがClassic TapLinxのJARに含まれていない ことに気付きました。 私の理解では、 ClassicFactoryはClassicカードインスタンスを作成するために必要であり、 DESFireカードでDESFireFactoryを使用するのと同様です。 IDESFireEV3 desfire = DESFireFactory.getInstance() .getDESFireEV3(TapLinx.INSTANCE.getCustomModules()); 以下の点についてアドバイスをいただけますか? ClassicFactoryは別のJARファイルまたはライブラリとして含まれていますか? もしそうなら、使うべき正しいライブラリやバージョンを教えていただけませんか? Java TapLinxライブラリを使ってMIFARE Classic S70 4Kを扱うための別のAPIや推奨の方法はありますか? Classic TapLinxライブラリは、私が使っているJava(非Android)環境と互換性がありますか? TapLinxを使ってMIFARE Classic S70 4Kカードを正しく初期化し、通信する方法についてご指導いただけるとありがたいです。 アプリ登録 認証サーバーの問題 コード・サンプル オフライン認証 オンライン認証 Re: ClassicFactory class Missing from TapLinx Java Classic Library お世話になります。 私たちの製品にご関心を持っていただき、ありがとうございます。 MIFARE Classicは新しいデザインには推奨されていないことを覚えておいてください。これは製品サポートページに記載されています:MIFARE Classic EV1 1K - 4K | NXP Semiconductors MIFARE DESFire Light | NXP Semiconductors をお勧めします。 MIFARE Classicの正しいAPIを取得するには、Taplinx AndroidのJavaDocを開いてください: https://www.nxp.com/webapp/Download?colCode=ANDROIDJAVADOC&appType=license このドキュメントでは、MFClassic の API について説明します。   Fabian_R_0-1787778230590.pngFabian_R_0-1787778230590.pngFabian_R_0-1787778230590.pngFabian_R_0-1787778230590.png Re: ClassicFactory class Missing from TapLinx Java Classic Library Fabian_Rさん、迅速なご対応ありがとうございました。 しかし、問題は添付画像に示されているとおりです。 JARファイルにはDESFireFactoryが存在しません。 Islam_Elmasry_0-1787823985814.pngIslam_Elmasry_0-1787823985814.pngIslam_Elmasry_0-1787823985814.png Re: ClassicFactory class Missing from TapLinx Java Classic Library お世話になります。 その通りです。JavaDocにも記載されているように、DESFireには存在しません。使用されるDESFireカードに応じて、インターフェースとクラスは各タイプごとに設計されています。 使用に関する詳細は、当サイトが提供するサンプルアプリケーションをご覧ください。ドキュメントのユーザーガイド(UG10044)には、Taplinxプロジェクトのセットアップ方法が示されています。 Fabian_R_0-1787849561908.pngFabian_R_0-1787849561908.png
View full article