Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
S32K396 eTPU:TCR1はSTACバス経由で共有できません(TCR2は動作します)。制限を確認してください 製品/環境 デバイス:S32K396(S32K39/37/36ファミリ)、eTPUシングルインスタンス、デュアルエンジン 参考文献:S32K39、S32K37およびS32K36リファレンス・マニュアル、改訂版。4、2024年11月、第67章(eTPU) SDK:S32 Design Studio 3.6.10、RTD 6.0.0、ETpu_Ip /Etpu_Pwmm_Ipドライバ 取締役会:S32K396BMS-EVB、176 LQFP eTPUのタイムベースレジスタを実行時に直接書き込むことで再現される現象 アドレスと値のみ、アプリケーションコードは関与しません)。 マニュアルに書いてある通りです RM 67.3.8.3「STACインターフェース」:「両方のタイムベースTCR1およびTCR2はエンジン間で共有可能で、 同じMCU内の他のブロックと...TCR1:バスにエクスポートまたはインポート可能。」 RM 67.3.8.1.5:「STACバスサーバーモード - TCR1バスはサーバーとしてバスにエクスポート可能です。」 RMテーブル378(チップ固有):エンジン1 TCR1 = サーバーID 0、エンジン2 TCR1 = サーバーID 1。 SO、TCR1のサーバー/クライアント操作はこのデバイスで動作することが期待されています。 有効な方法(ベースライン、20MHz共有タイムベース) エンジン1はTCR2(サーバーID 2)をエクスポートし、エンジン2はそれをitsTCR1としてインポートします。 STAC_ENG1 (0x4068002C) = 0x8002C200 (REN2=1、RSC2=1はサーバー、REN1=1、RSC1=0はID 2のクライアント) STAC_ENG2 (0x4068004C) = 0x81020300 (REN1=1、RSC1=0client、SRV1=2) TB1R_ENG1とTB1R_ENG2は互いに追従し、この構成で9相PWMが正しく動作します。 失敗するもの(共有リソースとしてのTCR1)は両方向で試しました STAC_ENGnのNOTEによる使用シーケンス:「REN1ビットが主張された際にRSC1は変更してはならない」 つまり、REN1が最初にクリアされ、その後RSC1/SRV1が書き込まれ、再びREN1がセットされました。 クライアントエンジンは、TBCR[TCR1CTL]=11("STACクライアントとして以外ではTCR1が凍結されている")でもテストされました。 (a)エンジン1サーバー、エンジン2クライアント TBCR_ENG1 (0x40680020) = 0x8000A000 (TCR2CTL=100DIV8; TCR1CTL=10、TCR1CS=1 = eTPUクロック) TBCR_ENG2 (0x40680040) = 0x8000C000 (クライアント、TCR1CTL=11 フリーズ) STAC_ENG1 = 0xC002C200 (REN1=1、RSC1=1 サーバー、SERVER_ID1 は 0 を読み取る) STAC_ENG2 = 0x81000300 (REN1=1、RSC1=0 クライアント、SRV1=0) 結果: TB1R_ENG1 はカウントを続け、TB1R_ENG2 は現在の値 (1989303) でフリーズし、カウントは行われません。 400ミリ秒の観測で変化が生じる。 (b)エンジン2サーバー、エンジン1クライアント STAC_ENG2 = 0xC1020300 (REN1=1、RSC1=1 サーバー、SERVER_ID1 は 1 を読み取る) STAC_ENG1 = 0x8001C200 (REN1=1、RSC1=0 クライアント、SRV1=1) 結果: TB1R_ENG1 は 1769497 で停止し、TB1R_ENG2 はカウントを続けます。 STAC_ENGn の読み戻しにより、すべてのビットが有効になったことが確認されました (REN/RSC/SRV/SERVER_ID は書き込まれたとおり)、MCR[GTBE] 主張されたが、両方のエンジンはアングルモード(AM=0)から外れており、どのエンジンもクライアントとして構成されていなかった。 自体。 質問 1.S32K396システム統合STACコントローラはeTPU TCR1にタイムスロットを割り当てますか? リソース(サーバーID 0と1)?RM 67.3.8.3には、eTPUにはコントローラモジュールがなく、次のように記載されています。 「システム統合で一度インスタンス化」とされていますが、S32K396 RMにはそのコントローラの記録はありません。 2. このデバイスでTCR1エクスポートがサポートされている場合、欠けている設定ステップは何でしょうか?ペリフェラルツールのオプションがあるのでしょうか? システム統合レジスタ、PCMC/クロック制御設定、または TCR1の時間帯がレッドラインを走行できるようになったのでしょうか? 3. もしTCR1のエクスポートがS32K396でサポートされていない場合は、制限(RMの訂正表または注記)を記載してください。 eTPU章のことだ)、現在の表現はそれが機能していることを示唆している。 なぜ重要なのか 20 MHzのSTACタイムベースが、両方のeTPUエンジンを確実にカウントする唯一の方法です 同じ時間基準です。50 nsのPWM分解能が得られますが、これは電流ループのデューティ制御には不十分です。 (20kHzで12ビットの場合、8192カウント以上が必要です。)TCR1を80MHzまたは160MHzで共有すれば、その問題は直接解決するだろう。 代替手段として、MCR[GTBE]開始で160MHz(TCR1CTL=10、TCR1CS=1)のネイティブTCR1を評価しています。 RM 67.3.8.4では、TCR1CS=1の場合、両方のエンジンのTCR1が同時に始動すると規定されており、これも許容範囲内である。 確認された場合。 関連公開情報 NXPコミュニティ、「STACインターフェース」(MPC5xxx、2016年)、NXPTechSupportの回答: https://community.nxp.com/t5/MPC5xxx/STAC-Interface/m-p/532642 STACバスはeTPUがタイムベース(TCR1/TCR2)を別のeTPUにエクスポートし、さらに eMIOSのようなペリフェラル、REDCR(eTPU_TBR_STAC_ENGx)だけでプログラムされるべきこと、そして 2台のエンジンでは「4つの固定時間帯」があります。S32K396では、その4つのスロットがまさにサーバーIDです 表378(エンジン1の0/2、エンジン2の1/3)に記載されており、TCR1のスロット0と1は稼働中と見込まれています。 そのため、S32K396統合が4つのスロットすべてを実装しているかどうかを知りたいのです。 リクエスト時の添付ファイル:フリーズを再現するレジスタダンプシーケンス(gdbscript);お客様なし アプリケーションコードも関係しています。 Re: S32K396 eTPU: TCR1 cannot be shared over theSTAC bus (TCR2 works) - please confirm the restricti STACインターフェース(レッドラインとも呼ばれる)はS32K396に存在します。2つのeTPUエンジン間でTCR2の成功した共有により、インターフェース自体が動作していることが確認されました。 現在のリファレンスマニュアルの説明と表378に基づき、TCR1のサーバーID0および1を通じたエクスポートはサポートされているようです。これらのSTACリソースを有効にするために追加のPCMC、クロック制御、システム統合、またはペリフェラルツールの設定が必要だとは知りません。記載されているプログラミング手順は、RSC1とSRV1を変更する前にREN1をクリアするという要件にも従っているようです。 TCR2の共有は動作しますが、TCR1の共有はどちらの方向も動作しません。STACレジスタ値は期待通り読み返すものの、現時点で明らかな設定エラーは特定できません。これには、eTPUアプリケーションチームからの明確化が必要で、追加の未文書要件があるのか、S32K396統合における制限があるのか、あるいはドキュメントや実装上の問題があるのかを判断する必要があります。提供されたGDBレジスタダンプスクリプトを使って、正確な構成シーケンスをレビューし再現することができます。 フォールバックソリューションに関しては、MCR[GTBE]はエンジンの時刻ベースを同時に開始するための文書化されたメカニズムを提供します。しかし、各エンジンが独自のネイティブTCR1クロックを使用する場合、カウンタは初期起動後も独立した状態を維持します。したがって、この手法を最終的な電流ループPWMの実装に使用する前に、結果として得られる同期精度と、起こりうる長期的なオフセットを確認する必要がある。 Re: S32K396 eTPU: TCR1 cannot be shared over theSTAC bus (TCR2 works) - please confirm the restricti eTPUアプリケーションチームについて一つだけ確認していただけますか: S32K396では、STAC(レッドライン)バスを介したTCR1のエクスポート/インポートは実際に実装されていますか? 私たちが観察したことは、実行時にeTPUのタイムベースレジスタのみを書き込むことで再現されます (レジスタ値のみ、アプリケーションコードなし、リードバック検証済み、クライアント TCR1CTL = 10と11の両方を試みました。 両方向): - TCR2(サーバーID2 / 3)は2つのエンジンで共有されます。動作し、クライアントカウンターがサーバーを追跡します。 - TCR1 (サーバー ID 0 / 1) は 2 つのエンジン間で共有されています: クライアント TB1R がフリーズして追跡されなくなります。 両方向とも。 RM 67.3.8.3および表378は、TCR1をバスから輸出または輸入可能とし、 ご返信:これらのリソースを有効にするために追加のPCMC、クロック制御、ツール設定は必要ありません。 したがって、この挙動は私たちの構成だけでは説明できません。 そこで問題となるのは、TCR1タイムスロット(サーバーID 0と1)がS32K396に実装されているかどうかである。 システム統合はそもそも必要なのか? もしそうなら、何が欠けているのでしょうか? - いいえの場合は、制限事項を文書化してください(RM ノートまたは正誤表)。現在の文言では、 このデバイスではTCR1の輸出入機能が動作する。 フリーズ現象を再現するgdbスクリプトは、ご要望に応じて提供可能です(レジスタへの書き込みと読み出しのみ)。
View full article
NXP IMX 1050evkb に関するヘルプが必要です 私はC言語プログラミングの経験があります。今は、組み込み開発の基礎を学ぼうとしています。NXP 1050の評価キットを購入しました。しかし、これはNXPの入門ガイドに記載されている基本的な手順とは一致しません。- 加速度センサのプロジェクトは作られていない。ドライバをインストールしようとしましたが、LinkはSDKsの作成を指示します。ガイドにはSDKをインストールするように書かれていますが、インストール可能なファイルが見つかりません。そこにある動画はどれも古すぎる。 誰か助けてくれませんか? Re: Need help with NXP IMX 1050evkb こんにちは、 @achino さん。 私たちの製品にご関心を寄せ、コミュニティをご利用いただき、本当にありがとうございます。 SDKはZIPパッケージとしてダウンロードされます。別のSDKインストーラーは実行できません。お使いのボードがMIMXRT1050-EVKかMIMXRT1050-EVKBかを確認し、SDKをダウンロードする際に対応するボードを選択してください。 https://mcuxpresso.nxp.com/ SDK ZIPをMCUXpresso IDEにインポートした後、Import SDKの例を使いましょう。MIMXRT1050-EVKB の場合は、「evkbimxrt1050_flexio_i2c_read_accel_value_transfer」を選択してください。この例では、3軸加速度センサの読み取り値をボードの仮想シリアルポートを通じてPCのシリアル端末に印刷しています。 MCUXpresso IDEバージョン、SDKバージョン、評価ボードが互換性があるか必ず確認してください。 お役に立てれば幸いです。 よろしくお願いいたします。 メイ・リウ
View full article
フォーマット済みキースロットサイズよりも短いキーをインポートした場合の HSE の動作 こんにちは、 HSE(健康・安全・環境)に関する行動について質問があります。 HSE_SRV_ID_EXPORT_KEYでインポートされる鍵長が、HSE_SRV_ID_FORMAT_KEY_CATALOGSでキーカタログをフォーマットする際に指定された鍵長より小さい場合、その鍵を使った暗号化/復号、MAC生成、署名生成/検証などの暗号操作は信頼できるとみなせるのでしょうか? 例えば、128ビットのAESキーが256ビット用にフォーマットされたAESキースロットにインポートされた場合、そのキーを使ったAES-128の暗号化/復号、CMAC生成、PBKDF2の操作が正しく確実に動作することが期待できますか? 現在、S32K358_HSE_FW_2.40.0を使用しています。また、インポートされたキーがキーカタログのフォーマットで指定されたキー長より短い場合、HSEファームウェアのバージョン間やHSE_B、HSE_M、HSE_H間で挙動が異なるのかも明確にしていただけると助かります。 よろしくお願いします。 Re: HSE Behavior When Importing a Key Shorter Than the Formatted Key Slot Size こんにちは、 @wodudwo さん。 キーグループは、そのグループに定義された最大キーサイズより小さいキーを含むことがあります。これはHSEサービスAPIリファレンスマニュアルのhseFormatKeyCatalogsSrv_t説明に明記されています。 特定のタイプのすべての鍵に対して最大鍵サイズを持つ単一の鍵グループを作るか、異なる鍵サイズごとに複数のグループを作成することができます。2つ目の選択肢は、カタログ容量が限られて多くのキーが必要な場合に好ましい場合があります。なぜなら、無駄なスペースを減らし、利用可能なキーカタログメモリをより効率的に利用できるからです。 この動作は、すべてのHSEファームウェアバージョンおよびHSEモジュールバリアント(B/M/H)で一貫しています。 よろしくお願いいたします。 ルーカス
View full article
HSE Behavior When Importing a Key Shorter Than the Formatted Key Slot Size Hello, I have a question regarding HSE behavior. If the key length imported using HSE_SRV_ID_EXPORT_KEY is smaller than the key length specified when formatting the key catalog using HSE_SRV_ID_FORMAT_KEY_CATALOGS, can cryptographic operations using that key, such as encryption/decryption, MAC generation, and signature generation/verification, be considered reliable? For example, if a 128-bit AES key is imported into an AES key slot formatted for 256 bits, can AES-128 encryption/decryption, CMAC generation, and PBKDF2 operations using that key be expected to work correctly and reliably? I am currently using S32K358_HSE_FW_2.40.0. I would also appreciate it if you could clarify whether the behavior differs across HSE firmware versions or between HSE_B, HSE_M, and HSE_H when the imported key is shorter than the key length specified during key catalog formatting. Thank you. Re: HSE Behavior When Importing a Key Shorter Than the Formatted Key Slot Size Hi @wodudwo  A key group can contain a key that is smaller than the maximum key size defined for that group. This is explicitly stated in the HSE Service API Reference Manual in the description of hseFormatKeyCatalogsSrv_t. You can either have a single key group with the maximum key size for all keys of a given type, or create multiple groups for different key sizes. The second option may be preferable when the catalog space is limited and many keys are required, since it can reduce wasted space and use the available key catalog memory more efficiently. This behavior is consistent across all HSE firmware versions and HSE module variants (B/M/H). Regards, Lukas
View full article
导入长度小于格式化钥匙槽尺寸的钥匙时,HSE 的行为 你好, 我有一个关于健康、安全和环境行为方面的问题。 如果使用 HSE_SRV_ID_EXPORT_KEY 导入的密钥长度小于使用 HSE_SRV_ID_FORMAT_KEY_CATALOGS 格式化密钥目录时指定的密钥长度,那么使用该密钥进行的加密操作(例如加密/解密、MAC 生成和签名生成/验证)是否可靠? 例如,如果将一个 128 位 AES 密钥导入到格式化为 256 位的 AES 密钥槽中,使用该密钥的 AES-128 加密/解密、CMAC 生成和 PBKDF2 操作能否正常可靠地工作? 我目前使用的是 S32K358_HSE_FW_2.40.0。如果导入的密钥长度短于密钥目录格式化期间指定的密钥长度,那么能否说明一下,不同 HSE 固件版本之间,或者 HSE_B、HSE_M 和 HSE_H 之间的行为是否有所不同? 谢谢! Re: HSE Behavior When Importing a Key Shorter Than the Formatted Key Slot Size 嗨@wodudwo 密钥组可以包含小于为该组定义的最大密钥长度的密钥。HSE 服务 API 参考手册中 hseFormatKeyCatalogsSrv_t 的描述中明确说明了这一点。 你可以为给定类型的所有键创建一个最大键长键组,也可以为不同的键长创建多个键组。当目录空间有限且需要很多键时,第二种选择可能更可取,因为它可以减少浪费的空间并更有效地利用可用的键目录内存。 所有 HSE 固件版本和 HSE 模块变体(B/M/H)均表现出一致的这种行为。 此致, Lukas
View full article
RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation Hi, We are implementing WPA2-Enterprise / IEEE 802.1X on an RW612-based product using Zephyr 4.3 and Hostap/wpa_supplicant. Initial authentication works correctly with both PEAP/MSCHAPv2 and EAP-TLS. EAP-TLS also works with a PSA/ELS-backed non-exportable private key. We see a problem specifically during Wi-Fi in-place reauthentication. Observed sequence: RADIUS Access-Accept → EAP success → 4-way handshake → AP retransmits Message 3 → Wi-Fi link is lost → device reconnects and authenticates successfully again Our current evidence suggests a possible ordering issue between transmission of the final EAPOL-Key response and installation of the new PTK. The PTK update appears able to proceed while the final EAPOL frame may still be queued for transmission. We tried to find a supported mechanism to guarantee: final EAPOL-Key frame transmission completed BEFORE new PTK installation However, we could not find an EAPOL TX-completion callback, TX queue drain/fence, or equivalent API in the RW612 Wi-Fi driver/firmware path. As a diagnostic experiment only, adding a 100 ms delay before PTK installation allowed several PEAP and EAP-TLS reauthentication attempts to complete without interruption. We do not consider a fixed delay to be a production solution. Could you please clarify: - Is there a supported API to know when an EAPOL data frame has actually been transmitted by the firmware? - Is there a TX queue flush/drain or key-install fence that should be used before updating PTK? - Is this a known limitation or known issue in the RW612 Wi-Fi driver/firmware? - Is there a newer driver or Wi-Fi firmware version that addresses this? Tested versions: RW612 driver: v1.3.r52.z_up.p11 Wi-Fi firmware: 18.99.6.p47 We can provide detailed traces and a vendor issue package if needed. Thanks. RW612  Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation Hi @sukrusinan, hope you are doing well. To get a better understanding on your setup and case scenario, could you please share the following information? Share the used base example for your application. Is it Zephyr Wi-Fi Shell? Has this setup worked before as-is? If it has, could you please share which modifications were implemented? Provide terminal logs from a failing authentication case. What are you using as RADIUS server?  What AP model are you using? Are you able to reproduce this behavior on Zephyr latest version (4.4.2)? Please let us know the requested information.  Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation Hi @RomanVR , Thanks for your reply. Please find the requested information below. 1. Base application This is a custom Zephyr application for an NXP RW612-based device. It is not based directly on the Zephyr Wi-Fi Shell sample. It uses: standard Zephyr Wi-Fi management APIs Hostap/wpa_supplicant the NXP RW612 Wi-Fi driver The standard Wi-Fi shell and wpa_cli are enabled only for diagnostics. 2. Has the setup worked before? Initial WPA2-Enterprise authentication works correctly with both: PEAP/MSCHAPv2 EAP-TLS Reboot and reconnect also work. The issue is specifically Wi-Fi in-place reauthentication. Seamless in-place reauthentication has not worked reliably with the current setup. In the failing case: initial authentication succeeds -> RADIUS Access-Accept -> EAP succeeds -> in-place reauthentication is triggered -> Wi-Fi link is lost -> IPv4 is removed -> device reconnects automatically -> authentication and connectivity recover We consider this a FAIL because the network connection is interrupted during reauthentication. The issue has been reproduced with both PEAP/MSCHAPv2 and EAP-TLS. 3. Terminal logs Attached are sanitized terminal captures for: PEAP/MSCHAPv2 reauthentication failure EAP-TLS reauthentication failure The captures contain no credentials, keys, internal addresses, SSIDs, MAC addresses, or private certificate information. At the current log level, per-frame EAPOL TX completion and detailed PTK installation timing are not available. 4. RADIUS server FreeRADIUS running on Ubuntu. 5. Access point Ubiquiti UniFi U6 Pro using WPA2-Enterprise. 6. Zephyr 4.4.2 We have not yet performed a hardware test with Zephyr 4.4.2. We created an isolated checkout of the official v4.4.2 source. However, our current integration contains version-pinned Zephyr/Hostap adapters, and these patches do not apply cleanly to 4.4.2. Therefore, changing only ZEPHYR_BASE would not provide a valid comparison. The integration must first be ported to the 4.4.2 Hostap and NXP HAL revisions before we can perform a meaningful hardware A/B test. We have attached a short note with the exact result of this check. Current tested versions: Zephyr: 4.3.0 based Hostap: 2.11 NXP Wi-Fi driver: v1.3.r52.z_up.p11 Wi-Fi firmware: 18.99.6.p47 We would also appreciate guidance on the following point: Does the RW612 Wi-Fi driver/firmware provide a supported mechanism to guarantee completion of an EAPOL-Key frame transmission before a subsequent PTK/key update? In particular, is there a supported: EAPOL/data TX completion callback, TX queue drain or flush, firmware synchronization/fence, or documented key-update ordering guarantee? We are trying to determine whether such a mechanism already exists in the RW612 stack or whether this behavior requires a driver/firmware correction. The attached logs only demonstrate the link interruption after successful in-place EAP authentication; they do not by themselves establish the internal firmware root cause. Best Regards Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation Hi @sukrusinan, thank you for sharing additional details. The information provided helps understand the conditions under which the behavior occurs. Since the application is fully custom, it becomes complex for us to debug and analyze the problem, hence, it would be very helpful if you could confirm if this behavior can be reproduced in a simpler example and how to do it, in order to reproduce it on our side. Additionally, in order to narrow down the root cause, could you please check or confirm whether the same application in RW612 reproduce the reported behavior with another access point?  To investigate further, if possible, could you please share the following logs: AP (Ubiquiti) logs showing the reauthentication and 4-way-handshake exchange. An independent over-the-air capture of a failing attempt with a sniffer. This information would help us determine whether the RW612 stack’s EAPOL TX-completion or key-update ordering behavior should be evaluated further. Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation Hi, Thanks for your suggestions. We have made some progress and can now reproduce the issue in a minimal Zephyr PEAP/MSCHAPv2 application on the same RW612 hardware, with the unrelated product services removed. Our setup: Zephyr 4.3.0 / Hostap 2.11 NXP Wi-Fi driver v1.3.r52.z_up.p11 Radio firmware 18.99.6.p47 UniFi U6 Pro / FreeRADIUS Initial PEAP authentication works correctly, including RADIUS Access-Accept, DHCP and ping. However, in-place reauthentication receives another Access-Accept and then drops the Wi-Fi link before eventually reconnecting. We investigated the timing between EAPOL-Key transmission and pairwise key installation. Using the minimal application, we performed an A/B/A/B test with continuous ICMP monitoring (250 ms intervals), starting before reauthentication. Configuration Ping replies Link interruption 0 ms delay, attempt 1 131/288 27.844 s 100 ms delay, attempt 1 288/288 None observed 0 ms delay, attempt 2 159/288 27.840 s 100 ms delay, attempt 2 288/288 None observed The 100 ms delay was introduced before the subsequent pairwise key-install request. This suggests a timing-sensitive interaction, but we don't consider a fixed delay a proper solution. We also collected UniFi AP-side EAPOL logs and an independent OTA capture from an earlier EAP-TLS reauthentication failure. The OTA capture shows M4 transmitted from the station to the AP (key-info 0x030a, replay counter 4). However, we cannot confirm whether the AP received or accepted it, and the sniffer's AP-side coverage is incomplete. We investigated the newer r54 driver with its matching firmware, but the port is currently blocked by Hostap scheduled-scan and ROC/cookie API incompatibilities, so we haven't tested it on hardware. Could you help clarify a few points? Is there a supported mechanism to ensure EAPOL-Key TX completion before installing the new pairwise key? Are there any known reauthentication or key-update issues with our current driver/firmware versions? Which RW612 driver, firmware and Zephyr/Hostap combination would you recommend? Is there an updated version or patch addressing this behavior? Are there firmware traces or callbacks available to verify EAPOL TX completion and key-installation status? Testing with another AP vendor is still pending. I've attached a ZIP containing the minimal application test results, AP-side EAPOL summaries, RADIUS events and independent OTA capture findings. The captures and AP logs are from separate test sessions, as described in the README. We can also share the minimal reproducer source and raw captures privately if needed. Our main goal is to identify a reliable fix for seamless Wi-Fi reauthentication. Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation Hi @sukrusinan, sorry for the late reply. Thank you for sharing the logs, after reviewing them, the following points are needed in order to narrow down the root cause of the authentication failure: Test with a different AP: This will help determine if the reauthentication failure can be reproduced on a different AP, which would help isolate the watched behavior. Synchronized OTA capture during the PEAP failure: The OTA excerpt you shared is from a separate EAP-TLS session and cannot be correlated with the PEAP AP log. This would help to analyze if the AP is rejecting the M4 due to being in an invalid format for the AP. Minimal reproducer: Could you please share the steps to reproduce the behavior in a minimal Zephyr application? This would help to try to reproduce it on our end. Regarding your questions: It is suggested to always work on the latest Zephyr version and test on downstream repository (add link) for potential bug fixes not available on Zephyr main repository. Regarding software mechanisms, we would still need to be able to determine if this behavior is present with a different AP. Therefore, while you are able to perform a test with a different AP vendor, please try enabling the following debug logs on your side, as it will provide a better insight on the STA side: CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_DBG CONFIG_WIFI_NM_WPA_SUPPLICANT_DEBUG_LEVEL Please let us know your findings as per the requested tests.
View full article
MCALサポートEBに関する問い合わせ こんにちは S32k3144マイクロコントローラのMCALサポートについてお尋ねしたいのでご連絡ください。このデバイスはEB(Elektrobit)の設定ツールによるMCAL実装をサポートしているのか、またはライセンスが必要なのか、ご説明いただけますか? 利用可能なスタックや互換性について、何かドキュメントやアドバイスがあれば大変ありがたいです。 Re: Inquiry regarding MCAL support EB こんにちは、 S32K344 / K314はNXPリアルタイム・ドライバ(RTD)/AUTOSAR MCALでサポートされており、設定やコード生成のためのEB tresos Studioとの統合も含まれています。NXPはRTD/MCALソフトウェアを標準ソフトウェアとして提供しており、本番環境で利用可能で無料で提供されています。 EB tresos Studio自体を使用するには、有効なElektrobitライセンスが必要ですのでご注意ください。EBトレソのライセンス条件はElektrobitが管理しているため、商業利用の詳細についてはElektrobitまたはお近くのNXP担当者にお問い合わせください。 S32K3 RTDパッケージには、MCALドライバ、EB tresosプラグイン、ドキュメント、開発と統合をサポートするサンプルプロジェクトが含まれています。 よろしくお願いいたします。 ピーター
View full article
Missing Std_Types.h I have just upgraded to S32DS version 3.5 and have setup my pins and drivers. I have generated the necessary files but when I try and compile I get the following error message: Std_Types.h: No such file or directory This file is included in one of the generated files Port_Ci_Port_Lp.h /*================================================================================================== * Project : RTD AUTOSAR 4.7 * Platform : CORTEXM * Peripheral : PORT_CI * Dependencies : none * * Autosar Version : 4.7.0 * Autosar Revision : ASR_REL_4_7_REV_0000 * Autosar Conf.Variant : * SW Version : 2.0.0 * Build Version : S32K1_RTD_2_0_0_D2308_ASR_REL_4_7_REV_0000_20230804 * * Copyright 2020-2023 NXP Semiconductors * * NXP Confidential. This software is owned or controlled by NXP and may only be * used strictly in accordance with the applicable license terms. By expressly * accepting such terms or by downloading, installing, activating and/or otherwise * using the software, you are agreeing that you have read, and that you agree to * comply with and are bound by, such license terms. If you do not agree to be * bound by the applicable license terms, then you may not retain, install, * activate or otherwise use the software. ==================================================================================================*/ #ifndef PORT_CI_PORT_IP_H #define PORT_CI_PORT_IP_H /** * @file Port_Ci_Port_Ip.h * * @defgroup Port_IPL Port IPL * @{ */ #if defined(__cplusplus) extern "C" { #endif /*================================================================================================== * INCLUDE FILES * 1) system and project includes * 2) needed interfaces from external units * 3) internal and external interfaces from this unit ==================================================================================================*/ #include "Std_Types.h" #include "Port_Ci_Port_Ip_Cfg.h" #include "Port_Ci_Port_Ip_Types.h" #include "Port_Ci_Port_Ip_Defines.h" #include "Devassert.h" What am I doing wrong? Version 3.5 feels like a massive backward step from 3.4 which was super easy to use 😞 Andy Re: Missing Std_Types.h just looking for dir like this.  Re: Missing Std_Types.h for anyone who may read this in future: add them mannualy may sovle this problem. Re: Missing Std_Types.h I've had to go back to DS3.4 with SDK RTM 4.0.2 to get something that mostly works as advertised.  However, the more I use the NXP SDK, the more I hate it... Re: Missing Std_Types.h Any updates on this? @ArkAndyFraserdid you manage to solve the problem with the missing Std_Types.h file being included in the generated RTD files? I couldn't find  the Std_Types.h file even in the examples provided by NXP. Re: Missing Std_Types.h 3.6 Didn't improve things either.  These jokers don't bother to regression test.
View full article
ADKP保护后的S32K3 AES密钥配置 各位同事好, 我们已在 S32K 平台上启用基于 SHE 的安全启动。此外,我们还通过对 ADKP 密码进行编程来保护 JTAG 接口,并将生命周期推进到OEM。 请问我是否可以将 AES 密钥(密钥目录已针对 AES 密钥进行了调整)重新配置到已启用 ADKP 保护且OEM 中启用了生命周期管理的设备? 或者我们需要将生命周期设置为IN_FIELD吗? 另外,请指定要更新的密钥的OWNER 类型应该是什么? 谢谢! 布尚 Re: S32K3 AES Key Provisioning after ADKP protection 你好@Bhushan1312 密钥也可以在 OEM_PROD 或 IN_FIELD 生命周期中更新,但这取决于用户权限、主机身份 (HID) 和密钥所有者。 在 HSE 固件参考手册修订版中。2.8,请参见: 表 42. 主要集团所有者 6.2.3.2关键选择 这一部分很重要: “• 如果主机被授予超级用户 (SU) 权限,则目标密钥句柄的所有者必须与主机身份 (HID) 匹配(请参阅执行权限(超级用户与用户))” 如果主机具有用户权限,则目标密钥句柄的所有者必须为 HSE_KEY_OWNER_CUST(如果 LC 为 CUST_DEL),或 HSE_KEY_OWNER_OEM(如果 LC 为 OEM_PROD)。 然后是表 47、48 和 49,它们解释了在将密钥导入空槽或更新密钥时,是否需要根据用户权限进行身份验证和加密。 例如,如果您使用 CUST 拥有的授权密钥提升到超级用户权限,您也可以在 OEM_PROD 中导入或更新 CUST 密钥。 但是,在生命周期推进到 OEM_PROD 之前,您无法导入 OEM 拥有的密钥。那是因为您还没有OEM授权密钥。 此致, Lukas
View full article
imx95lpd5evkの起動に関するヘルプが必要です IMX95LPD5EVKボードを手に入れたばかりですが、起動しません。起動を助けてください 現在のセットアップは、起動スイッチSW7を0010としてEMMCから起動しているというものです IMX-MIPI-HDMIボードをMini SASコネクタのJ14にコネクテッドし、HDMIをモニターに接続しました。 USB CデバッグケーブルをPCに接続しても、デバイスマネージャーに未知デバイスすら表示されないようです。 そして今、クイックスタートガイドに書いてある通り、画面にペンギンが表示されることを期待してボードの電源を入れたのですが、ペンギンは表示されません。ディスプレイは黒一色のみです。電源を入れた後、ファンが回るのを見るだけです。 それと、imx95がダウンしている場合でもデバッグは機能するはずなのか、という疑問があります。仕事用のノートPCのUSBが無効になっているのではないかと疑っているので、それが問題の原因になっているのではないかと疑っています。 私のマザーボードに搭載されているeMMCは、もしかして空なのでしょうか?ペンギンたちが予想通りに来ないからです。 どなたか、今後どう進めばいいかアドバイスしてもらえますか。 Re: Need help on imx95lpd5evk booting 実際は私のミスでしたが、問題は解決しました。ボードは現在起動しています。 お返事ありがとうございます Re: Need help on imx95lpd5evk booting こんにちは、 スイッチ(SW7)の写真を共有し、章の手順に従って「Connect USBデバッグケーブル」の手順に従い、端子の出力を共有していただけませんか?
View full article
i.MX RT1176: Maximum frequency of the GPT I want know the GPT‘s max frequency of #RT1176.I wish use  GPT's capture function to measure the  frequency of signals.Before now,I use STM32H7 MCU ,but it's timer's max frequency is 240MHz,I feel it is low.So I want a MCU with higher frequency timer.But RT1170 datasheet hasn't the introduction to GPT. Re: i.MX RT1176: Maximum frequency of the GPT Dear @长亭 , Thank you for your interest in the i.MX RT1176. The maximum operating clock frequency of the GPT is 240 MHz, and you can find this information in the i.MX RT1170 Reference Manual : Best regards, Shelly
View full article
edma4 error message since SDK 26 09 00 in Peripherals Tool Dear all, I have used the Peripherals Tool to add a DMA peripheral since SDK 26.06.00 which worked perfect and it still does, but since SDK 26.09.00 I get an error message in the Peripherals Tool: Issue: EDMA Driver is not found in the toolchain/IDE project. The project will not compile! Level: Error Type: Validation Tool: Toolchain/IDE project Origin: Peripherals Target: Toolchain/IDE project: cm33_core0 Resource: platform.drivers.edma4 I'm not using the edma component directly. I use the lpspi_edma component, but if I'm not amiss it includes the edma component. My main question is whether using lpspi_edma 2.1.4 is the up-to-date way to implement DMA in an SPI setting (my SDK wizard lists 2.10.14 as edma, as well as version 2.10.13)? To be sure: the project compiles and runs without problems. My .mex says: 2.9.0 My eDMA driver version is: #define FSL_EDMA_DRIVER_VERSION (MAKE_VERSION(2, 10, 14)) /*!< Version 2.10.14. */ Re: edma4 error message since SDK 26 09 00 in Peripherals Tool Dear Celeste, Yes, I'm using the MCXN947. Re: edma4 error message since SDK 26 09 00 in Peripherals Tool Hello @PAChristiaans , Thanks for your post. Before I look into your questions, could you please confirm whether you are using the MCXN947? BR Celeste Re: edma4 error message since SDK 26 09 00 in Peripherals Tool Hello @PAChristiaans , Thank you for your patience. I performed some tests on my side and was able to reproduce the issue. Based on my testing, the driver version provided in the SDK is correct. The issue appears to be related to the eDMA component validation in the Config Tools Peripherals Tool. I will escalate this to the Config Tools team for further investigation. I’ll keep you informed of any updates. BR Celeste Re: edma4 error message since SDK 26 09 00 in Peripherals Tool Hello @PAChristiaans , I found the reason. The new SDK 26.09 does not include the platform.drivers.edma4 driver because the SW team decided to rename the component to platform.drivers.edma_unified. Since MCXN947 was supported by older SDKs where the edma4 driver was present the tool offers all options due to backward compatibility with older SDKs. You should choose the exact driver that you have present in your project. Please see the picture below: After selecting a filter to a toolchain project you are offered only the correct driver: Hope it helps. BR Celeste Re: edma4 error message since SDK 26 09 00 in Peripherals Tool Hello Celeste, Thank you very much for your response. I use MCUXpresso 25.6 and SDK 26 09 00 FRDM MCXN947, but it looks slightly different on my client. If I look at my actual fsl_edma.c driver file, I assume I have the correct version, but for some reason the UI looks different. Again, I'm not experiencing any problems compiling my projects, but I do get the error messages. Can I safely ignore them? Kind regards Re: edma4 error message since SDK 26 09 00 in Peripherals Tool Hello @PAChristiaans , Yes. Based on your screenshot, this seems to be a warning rather than an error, so you can ignore it. As for the UI difference, it may be caused by different versions of the integrated MCUXpresso Config Tools. I am using version 26.09. You can refer to the Updating Config Tools in the MCUXpresso IDE link for the update. Of course, if your current version works fine, you can also keep using it without updating. Hope it helps。 BR Celeste
View full article
自 SDK 26 09 00 起,外围设备工具中出现 edma4 错误消息 尊敬的各位, 从 SDK 26.06.00 版本开始,我一直使用外设工具添加 DMA 外设,一直运行良好,现在仍然如此。但是从 SDK 26.09.00 版本开始,我在外设工具中收到错误消息: 问题:工具链/IDE 项目中找不到 EDMA 驱动程序。该项目无法编译! 级别:错误 类型:验证 工具:工具链/IDE 项目 来源:外围设备 目标:工具链/IDE 项目:cm33_core0 资源:platform.drivers.edma4 我没有直接使用 edma 元器件。我使用的是 lpspi_edma 元器件,但如果我没弄错的话,它包含了 edma 元器件。 我的主要问题是使用 lpspi_edma 2.1.4 是否可行在 SPI 环境中实现 DMA 的最新方法是什么?(我的 SDK 向导将 edma 列为 2.10.14 版本,以及 2.10.13 版本)可以肯定的是:该项目编译和运行都没有问题。 我的 .mex他说: 2.9.0 我的eDMA驱动程序版本是: #define FSL_EDMA_DRIVER_VERSION (MAKE_VERSION(2, 10, 14)) /*!< 版本 2.10.14。 */ Re: edma4 error message since SDK 26 09 00 in Peripherals Tool 亲爱的塞莱斯特, 是的,我用的是MCXN947。 Re: edma4 error message since SDK 26 09 00 in Peripherals Tool 你好@PAChristiaans , 感谢您的帖子。 在查看您的问题之前,请您确认一下您是否正在使用 MCXN947? BR 塞莱斯特 Re: edma4 error message since SDK 26 09 00 in Peripherals Tool 你好@PAChristiaans , 感谢您的耐心等待。我这边进行了一些测试,能够重现这个问题。 根据我的测试,SDK中提供的驱动程序版本是正确的。问题似乎与配置工具外围工具中的 eDMA 元器件验证有关。我会将此事上报给配置工具团队进行进一步调查。 如有任何最新进展,我会及时通知您。 BR 塞莱斯特 Re: edma4 error message since SDK 26 09 00 in Peripherals Tool 你好@PAChristiaans , 我找到原因了。新的 SDK 26.09 不包含 platform.drivers.edma4 驱动程序,因为软件团队决定将该元器件重命名为platform.drivers.edma_unified 。由于 MCXN947 受到旧版 SDK 的支持(其中存在 edma4 驱动程序),因此该工具由于后向兼容性旧版 SDK 而提供了所有选项。您应该选择项目中已存在的驱动程序。 请看下图: 选择工具链项目的筛选条件后,系统只会提供正确的驱动程序: 希望对您有所帮助。 BR 塞莱斯特 Re: edma4 error message since SDK 26 09 00 in Peripherals Tool 你好,Celeste, 非常感谢您的回复。 我使用的是 MCUXpresso 25.6 和 SDK 26 09 00 FRDM MCXN947,但在我的客户端上看起来略有不同。 如果我查看我的 fsl_edma.c 文件驱动文件,我假设我的版本是正确的,但不知何故,用户界面看起来不一样。 再次说明,我的项目编译没有出现任何问题,但我确实收到了错误消息。我可以忽略它们吗? 此致敬礼 Re: edma4 error message since SDK 26 09 00 in Peripherals Tool 你好@PAChristiaans , 是的。根据你的截图,这似乎是一个警告而不是错误,所以你可以忽略它。 至于用户界面差异,可能是由于集成的 MCUXpresso 配置工具版本不同造成的。我使用的是 26.09 版本。 您可以参考MCUXpresso IDE 链接中的“更新配置工具”进行更新。当然,如果您的当前版本运行良好,您也可以继续使用它而无需更新。 希望对您有所帮助。 BR 塞莱斯特
View full article
技術的実現可能性評価:i.MX8M Pluにおける32ビットアプリケーションおよび32ビットQt GUIのサポート こんにちは、NXP技術サポートチームの皆様、 [プロジェクトの背景] 私たちはi.MX8M Plusプラットフォームをベースにした量産プロジェクトを開発しています。 現在のソフトウェアスタックは以下の通りです: - ターゲットSoC:i.MX8M Plus(Cortex-A53、ARMv8-A 64ビット) - BSP / Yoctoバージョン:Yocto Project 5.0(Scarthgap)/ meta-imx - Linuxカーネル:6.6(AArch64) 【顧客要望】 エンドクライアントから新たな要件が出ました。これは、この64ビットのLinux OS環境上で32ビットLinuxアプリケーションと32ビットQt GUIアプリケーションの両方を動かす必要があるということです(古いプラットフォームからの32ビット依存やコードベースのためです)。 この要件が商業的かつ技術的に実現可能かどうかを評価するために、NXPの公式な立場を以下の点について明確にしていただけますか。 1. 32ビットアプリケーションおよび32ビットQtの実現可能性: NXPは公式に32ビットユーザー空間アプリケーション、特に32ビットQt GUIアプリケーションを、Yocto Multilibやその他の公式メカニズムを介して64ビットのi.MX8M Plusカーネル上で実行することをサポートしていますか? 2. 32ビットハードウェアアクセラレーションおよびQtライブラリの利用可能性: もしこれが可能なら: a) NXPは32ビットユーザー空間GPUアクセラレーションバイナリ(例:EGL/GLES用の32ビット版「imx-gpu-viv」)や、64ビットカーネル上でi.MX8M Plusと互換性のあるVPUバイナリを提供していますか? b) NXPはi.MX8ファミリ上で32ビットQtスタックをビルディングするための公式なYoctoレシピ、BSPサポート、または検証済みの設定を提供しているか? 3. パフォーマンスおよびレンダリングの制限(加速がない場合): i.MX8M Plusに32ビット専用GPUドライバが提供されていない場合、32ビットQtのGUIをソフトウェアレンダリング(例:LinuxFB、Mesa/llvmpipeソフトウェア)で動かすことは、NXPによって商用製品向けに公式に推奨されている、または本番環境対応と見なされているのでしょうか? 4. 公式推奨/解決策: i.MX8M Plus上でハードウェアアクセラレーションによる32ビットQtの動作がサポートされていない場合、NXPの公式声明と、従来の32ビットアプリケーション/Qtをi.MX8M Plusプラットフォームに移行するお客様向けの推奨アーキテクチャソリューションは何でしょうか? NXPからの正式な声明が、お客様向けの公式なエンジニアリングおよびアーキテクチャの基準となります。 お返事をお待ちしております! ありがとうございます。よろしくお願いします。 i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Linux Yocto Project Re: Technical Feasibility Assessment: Supporting 32-bit Applications and 32-bit Qt GUI on i.MX8M Plu こんにちは、 迅速かつ分かりやすいご説明をありがとうございました! これにより、i.MX 8M Plus BSPの32ビットユーザー空間コンポーネントおよびGPU/マルチメディア加速に関するアーキテクチャ上の境界が完全に明確になりました。 NXPの公式推奨に従い、お客様のQtおよびアプリケーションスタック向けにネイティブAArch64展開を推進します。 改めてサポートありがとうございます!あなたの回答を解決済みとしてマークしました。 よろしくお願いします、 Re: Technical Feasibility Assessment: Supporting 32-bit Applications and 32-bit Qt GUI on i.MX8M Plu こんにちは@DADAXIN I.mx8mp用のBSPは64ビット版です。AArch64専用にコンパイル・テストされており、Vivante GPUユーザー空間ライブラリ(EGL/OpenGL ES/Vulkan)、VPU、Qt 6(meta-qt6経由で提供)などのコンポーネントをカバーしています。i.MX 8M Plusでハードウェアアクセラレーションを使用した32ビットQtの利用は、BSPリリースの範囲外であり、サポート対象外の構成です。 私たちの推奨方法は、ネイティブのAArch64アプリケーション/Qtとして再コンパイルすることです。 32ビットソリューションが必須の場合は、以下のリンクから当社のプロフェッショナルサービスまでご連絡ください。 https://www.nxp.com/support/support/nxp-engineering-services:SW-SUPPORT B.R
View full article
技术可行性评估:在 i.MX8M 处理器上支持 32 位应用程序和 32 位 Qt GUI 您好,NXP技术支持团队, 【项目背景】 我们正在基于 i.MX8M Plus 平台开发一个生产项目。 我们目前的软件栈包括: - 目标SoC:i.MX8M Plus(Cortex-A53,ARMv8-A 64位) - 电路板支持包。 / Yocto 版本:Yocto Project 5.0 (Scarthgap) / meta-imx - Linux 内核:6.6 (AArch64) [客户需求] 我们的最终客户提出了一个新的要求:他们需要在 64 位 Linux 操作系统环境中运行 32 位 Linux 应用程序和 32 位 Qt GUI 应用程序(因为存在来自旧平台的遗留 32 位依赖项/代码库)。 为了评估这一要求在商业和技术上是否可行,请您澄清恩智浦对以下几点的官方立场: 1. 32 位应用程序和 32 位 Qt 的可行性: NXP 是否正式支持通过 Yocto Multilib 或任何其他官方机制在 64 位 i.MX8M Plus 内核上运行 32 位用户空间应用程序(特别是 32 位 Qt GUI 应用程序)? 2. 32 位硬件加速和 Qt 库的可用性: 如果可行的话: a) NXP 是否提供 32 位用户空间 GPU 加速二进制文件(例如,用于 EGL/GLES 的 32 位版本的 `imx-gpu-viv`)和与 64 位内核上的 i.MX8M Plus 兼容的 VPU 二进制文件? b) NXP 是否提供官方的 Yocto 配方、电路板支持包。支持或经过验证的配置,以便在 i.MX8 系列上构建 32 位 Qt 堆栈(`lib32-qtbase`、`lib32-qtdeclarative` 等)? 3. 性能和渲染限制(如果没有加速): 如果 NXP 没有为 i.MX8M Plus 提供 32 位专有 GPU 驱动程序,那么通过软件渲染(例如 LinuxFB、软件 Mesa/llvmpipe)运行 32 位 Qt GUI 是否被 NXP 正式推荐或认为适用于商业产品? 4. 官方建议/解决方案: 如果不支持在 i.MX8M Plus 上运行硬件加速的 32 位 Qt,NXP 的官方声明和推荐的架构解决方案是什么?该方案适用于将传统 32 位应用程序/Qt 迁移到 i.MX8M Plus 平台的客户。 NXP 的正式声明将作为我们向客户提供的官方工程和架构基准。 期待你的答复! 感谢并致意 i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Linux Yocto Project Re: Technical Feasibility Assessment: Supporting 32-bit Applications and 32-bit Qt GUI on i.MX8M Plu 你好, 非常感谢您及时而清晰的解释! 这完全阐明了 i.MX 8M Plus 电路板支持包。 在 32 位用户空间元器件和 GPU/多媒体加速方面的架构边界。 我们将遵循 NXP 的官方建议,推进为客户的 Qt 和应用程序堆栈部署原生 AArch64。 再次感谢您的支持!我已将您的回复标记为已接受的解决方案。 此致, Re: Technical Feasibility Assessment: Supporting 32-bit Applications and 32-bit Qt GUI on i.MX8M Plu 嗨@DADAXIN 我们为 I.mx8mp 提供的 电路板支持包。 是 64 位版本。它专门针对 AArch64 编译和测试,涵盖 Vivante GPU 用户空间库(EGL/OpenGL ES/Vulkan)、VPU 和 Qt 6(通过 meta-qt6 提供)等元器件。在 i.MX 8M Plus 上使用 32 位 Qt 并启用硬件加速超出了 电路板支持包。版本范围,因此不属于受支持的配置。 我们建议将其重新编译为原生 AArch64 应用程序/Qt。 如果必须使用 32 位解决方案,请点击以下链接联系我们的专业服务团队: https://www.nxp.com/support/support/nxp-engineering-services:SW-SUPPORT B.R
View full article
关于 MCAL 支持 EB 的咨询 你好 我写信是为了咨询S32k3144微控制器的MCAL支持情况。请问该设备是否支持通过EB(Elektrobit)配置工具实现的MCAL,我能否将其用于生产环境,还是需要任何许可证? 如果您能提供有关可用堆栈和兼容性的任何文档或指导,我们将不胜感激。 Re: Inquiry regarding MCAL support EB 你好, S32K344 / K314 受 NXP 实时驱动程序 (RTD) / AUTOSAR MCAL 支持,包括与 EB tresos Studio 集成,用于配置和代码生成。NXP 提供 RTD/MCAL 软件,该软件为标准软件,符合生产使用要求,并且免费提供。 请注意,EB tresos Studio 本身需要有效的 Elektrobit 许可证。EB tresos 的许可条款由 Elektrobit 管理,因此有关商业用途的详细信息,我们建议您联系 Elektrobit 或您当地的 恩智浦代表。 S32K3 RTD 软件包包括 MCAL 驱动程序、EB tresos 插件、文档和示例项目,以支持开发和集成。 顺祝商祺! Peter
View full article
RW612 WPA2-Enterprise 重新认证 – EAPOL TX 在 PTK 安装之前完成 您好, 我们正在使用 Zephyr 4.3 和 Hostap/wpa_supplicant 在基于 RW612 的产品上实现 WPA2-Enterprise / IEEE 802.1X。 初始认证对 PEAP/MSCHAPv2 和 EAP-TLS 均有效。EAP-TLS 也适用于 PSA/ELS 支持的不可导出私钥。 我们发现,在 Wi-Fi 原地重新认证过程中存在问题。 观察到的序列: RADIUS 访问接受 → EAP成功 → 四方握手 → AP 重传消息 3 → Wi-Fi 连接丢失 → 设备重新连接并再次成功验证 我们目前的证据表明,最终 EAPOL-Key 响应的传输和新 PTK 的安装之间可能存在顺序问题。 PTK 更新似乎可以继续进行,而最终的 EAPOL 帧可能仍在排队等待传输。 我们尝试寻找一种受支持的机制来保证: EAPOL-Key帧最终传输完成 前 新安装的PTK 但是,我们在 RW612 Wi-Fi 驱动程序/固件路径中找不到 EAPOL TX 完成回调、TX 队列清空/隔离或等效 API。 仅作为诊断实验,在 PTK 安装之前添加 100 毫秒的延迟,使得多次 PEAP 和 EAP-TLS 重新认证尝试得以顺利完成,而不会中断。我们不认为固定延迟是一种可行的生产解决方案。 请问您能否澄清一下: - 是否有支持的 API 可以知道固件何时实际发送了 EAPOL 数据帧? - 在更新 PTK 之前,是否应该使用 TX 队列冲洗/排空或密钥安装围栏? - 这是 RW612 Wi-Fi 驱动程序/固件中已知的限制或已知问题吗? - 是否有更新的驱动程序或 Wi-Fi 固件版本可以解决这个问题? 测试版本: RW612驱动程序:v1.3.r52.z_up.p11 Wi-Fi固件版本:18.99.6.p47 如有需要,我们可以提供详细的追踪记录和供应商问题包。 谢谢。RW612 Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation 你好@sukrusinan ,希望你一切都好。 为了更好地了解您的配置和使用场景,请您提供以下信息? 分享一下你的应用程序所使用的基础示例。是 Zephyr Wi-Fi Shell 吗? 这种配置以前直接使用过吗?如果有,能否请您分享一下具体做了哪些修改? 提供身份验证失败案例的终端日志。 你们使用的是什么RADIUS服务器? 你使用的是哪种AP型号? 您能否在 Zephyr 最新版本 (4.4.2) 上重现此问题? 请与我们联系所需信息。 Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation 嗨@RomanVR , 感谢您的回复。 请查看下方所需信息。 1. 基础应用程序 这是一个基于 NXP RW612 设备的定制 Zephyr 应用程序。 它并非直接基于 Zephyr Wi-Fi Shell 示例。它使用: 标准 Zephyr Wi-Fi 管理 API Hostap/wpa_supplicant NXP RW612 Wi-Fi 驱动程序 标准 Wi-Fi shell 和wpa_cli仅用于诊断目的。 2. 该设置以前是否成功运行过? 初始 WPA2-Enterprise 身份验证对以下两种方式均有效: PEAP/MSCHAPv2 EAP-TLS 重启并重新连接也可以解决问题。 具体来说,问题出在 Wi-Fi 原地重新认证上。在当前的设置下,无缝原地重新认证一直无法可靠地工作。 如果失败: initial authentication succeeds -> RADIUS Access-Accept -> EAP succeeds -> in-place reauthentication is triggered -> Wi-Fi link is lost -> IPv4 is removed -> device reconnects automatically -> authentication and connectivity recover 我们认为这是失败,因为在重新认证期间网络连接中断。 使用 PEAP/MSCHAPv2 和 EAP-TLS 均已重现该问题。 3. 终端日志 附件为已清理的终端捕获文件: PEAP/MSCHAPv2 重新认证失败 EAP-TLS 重新认证失败 捕获的数据不包含凭证、密钥、内部地址、SSID、MAC 地址或私有证书信息。 当前日志级别无法提供逐帧 EAPOL TX 完成情况和详细的 PTK 安装时间。 4. RADIUS 服务器 FreeRADIUS 运行在 Ubuntu 系统上。 5. 接入点 使用 WPA2-Enterprise 的 Ubiquiti UniFi U6 Pro。 6. Zephyr 4.4.2 我们尚未对 Zephyr 4.4.2 进行硬件测试。 我们创建了一个隔离的官方 v4.4.2 源代码检出版本。但是,我们目前的集成包含版本锁定的 Zephyr/Hostap 适配器,这些补丁无法干净地应用于 4.4.2 版本。 因此,仅更改ZEPHYR_BASE无法进行有效的比较。必须先将集成移植到 4.4.2 Hostap 和 NXP HAL 版本,才能进行有意义的硬件 A/B 测试。 我们已附上一份简短说明,其中包含此次核查的确切结果。 当前已测试版本: Zephyr: 4.3.0 based Hostap: 2.11 NXP Wi-Fi driver: v1.3.r52.z_up.p11 Wi-Fi firmware: 18.99.6.p47 我们还希望就以下几点获得指导: RW612 Wi-Fi 驱动程序/固件是否提供支持机制,以确保在后续 PTK/密钥更新之前完成 EAPOL-Key 帧传输? 具体来说,是否存在支持的: EAPOL/数据传输完成回调, TX队列清空或冲洗, 固件同步/隔离, 或者有书面文件证明密钥更新的订购保证? 我们正在尝试确定 RW612 协议栈中是否已经存在这种机制,或者这种行为是否需要驱动程序/固件修正。 附件中的日志仅表明在成功进行就地 EAP 身份验证后链路中断;它们本身并不能确定内部固件的根本原因。 顺祝商祺! Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation @sukrusinan你好,感谢你分享更多细节。 所提供的信息有助于了解该行为发生的条件。由于该应用程序是完全定制的,因此调试和分析问题变得很复杂,所以如果您能确认是否可以在一个更简单的示例中重现此行为以及如何重现,以便我们在本地重现该行为,这将非常有帮助。 此外,为了缩小故障原因范围,能否请您检查或确认,在RW612上使用同一应用程序,在其他接入点上是否也能重现所报告的问题? 为了进一步调查,如果可以,请您提供以下日志: AP(Ubiquiti)日志显示了重新认证和四次握手交换。 独立通过无线方式捕获到一次失败的嗅探器尝试。 该信息将有助于我们确定是否应该进一步评估 RW612 协议栈的 EAPOL TX 完成或密钥更新顺序行为。 Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation 您好, 谢谢你的建议。我们已经取得了一些进展,现在可以在同一个 RW612 硬件上,使用一个最小化的 Zephyr PEAP/MSCHAPv2 应用程序重现该问题,其中已移除无关的产品服务。 我们的配置: Zephyr 4.3.0/ Hostap 2.11 NXP Wi-Fi 驱动程序 v1.3.r52.z_up.p11 无线电固件 18.99.6.p47 UniFi U6 Pro / FreeRADIUS 初始 PEAP 认证工作正常,包括 RADIUS Access-Accept、DHCP 和 ping。然而,就地重新认证会收到另一个 Access-Accept,然后断开 Wi-Fi 连接,最终才会重新连接。 我们研究了 EAPOL 密钥传输和成对密钥安装之间的时间关系。我们使用最小应用程序,在重新认证之前开始,进行连续 ICMP 监控(250 毫秒间隔)的 A/B/A/B 测试。 配置 Ping 回复链路中断 延迟 0 毫秒,尝试 1 131/288 27.844 秒 延迟 100 毫秒,尝试 1 288/288 未观察到 延迟 0 毫秒,尝试 2 159/288 27.840 秒 延迟 100 毫秒,尝试 2 288/288 未观察到 在后续的成对密钥安装请求之前引入了 100 毫秒的延迟。这表明交互对时间非常敏感,但我们认为固定延迟并不是一个合适的解决方案。 我们还收集了 UniFi AP 侧 EAPOL 日志以及之前 EAP-TLS 重新认证失败的独立 OTA 捕获。OTA 捕获显示 M4 从站点发送到 AP(密钥信息 0x030a,重放计数器 4)。但是,我们无法确认美联社是否收到或接受了该消息,而且嗅探者的美联社方面的报道也不完整。 我们研究了较新的 r54 驱动程序及其匹配的固件,但该端口目前因 Hostap 计划扫描和 ROC/cookie API 不兼容而被阻止,因此我们尚未在硬件上对其进行测试。 您能帮忙澄清几个问题吗? 是否有支持的机制来确保在安装新的成对密钥之前完成 EAPOL-Key TX? 我们当前的驱动程序/固件版本是否存在已知的重新认证或密钥更新问题? 您会推荐哪种RW612驱动程序、固件和Zephyr/Hostap组合?是否有更新版本或补丁程序可以解决这个问题? 是否有固件跟踪或回调可用于验证 EAPOL TX 完成情况和密钥安装状态? 与另一家AP供应商的测试仍在进行中。 我附上了一个 ZIP 文件,其中包含最小应用程序测试结果、AP 端 EAPOL 摘要、RADIUS 事件和独立的 OTA 捕获结果。捕获的数据和 AP 日志来自不同的测试会话,如 README 中所述。 如有需要,我们还可以私下分享最小复现源代码和原始捕获数据。 我们的主要目标是找到一种可靠的解决方案,以实现无缝的 Wi-Fi 重新认证。 Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation 嗨@sukrusinan ,抱歉回复晚了。 感谢您分享日志,经查看,为了缩小身份验证失败的根本原因范围,需要以下几点信息: 使用不同的 AP 进行测试:这将有助于确定是否可以在不同的 AP 上重现重新认证失败,从而有助于隔离所观察到的行为。 PEAP 故障期间同步 OTA 捕获:您共享的 OTA 摘录来自单独的 EAP-TLS 会话,无法与 PEAP AP 日志关联。这有助于分析 AP 是否因为 M4 的格式对 AP 无效而拒绝该 M4。 最小复现步骤:能否请您分享一下在最小的 Zephyr 应用程序中复现此行为的步骤?这将有助于我们在本地重现该问题。 关于您的问题: 建议始终使用最新的 Zephyr 版本,并在下游存储库(添加链接)上进行测试,以便修复 Zephyr 主存储库中可能存在的错误。 关于软件机制,我们仍然需要确定这种行为是否在其他接入点上也存在。因此,虽然您可以使用其他 AP 供应商进行测试,但请尝试启用以下调试日志,以便更好地了解 STA 端的情况: CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_DBG CONFIG_WIFI_NM_WPA_SUPPLICANT_DEBUG_LEVEL 请根据要求进行的测试结果与我们联系。
View full article
缺少 Std_Types.h 文件 我刚刚升级到 S32DS 版本 3.5,并且已经设置好了引脚和驱动器。 我已经生成了必要的文件,但是当我尝试编译时,出现以下错误信息: Std_Types.h: No such file or directory 该文件包含在生成的文件之一 Port_Ci_Port_Lp.h 中。 /*================================================================================================== * Project : RTD AUTOSAR 4.7 * Platform : CORTEXM * Peripheral : PORT_CI * Dependencies : none * * Autosar Version : 4.7.0 * Autosar Revision : ASR_REL_4_7_REV_0000 * Autosar Conf.Variant : * SW Version : 2.0.0 * Build Version : S32K1_RTD_2_0_0_D2308_ASR_REL_4_7_REV_0000_20230804 * * Copyright 2020-2023 NXP Semiconductors * * NXP Confidential. This software is owned or controlled by NXP and may only be * used strictly in accordance with the applicable license terms. By expressly * accepting such terms or by downloading, installing, activating and/or otherwise * using the software, you are agreeing that you have read, and that you agree to * comply with and are bound by, such license terms. If you do not agree to be * bound by the applicable license terms, then you may not retain, install, * activate or otherwise use the software. ==================================================================================================*/ #ifndef PORT_CI_PORT_IP_H #define PORT_CI_PORT_IP_H /** * @file Port_Ci_Port_Ip.h * * @defgroup Port_IPL Port IPL * @{ */ #if defined(__cplusplus) extern "C" { #endif /*================================================================================================== * INCLUDE FILES * 1) system and project includes * 2) needed interfaces from external units * 3) internal and external interfaces from this unit ==================================================================================================*/ #include "Std_Types.h" #include "Port_Ci_Port_Ip_Cfg.h" #include "Port_Ci_Port_Ip_Types.h" #include "Port_Ci_Port_Ip_Defines.h" #include "Devassert.h" 我做错了什么? 3.5 版本感觉比 3.4 版本差远了,3.4 版本用起来超级方便。 😞 安迪 Re: Missing Std_Types.h 我只是在找类似这样的目录。 Re: Missing Std_Types.h 致未来可能读到这篇文章的任何人: 手动添加或许可以解决这个问题。 Re: Missing Std_Types.h 我不得不回退到DS3.4版本,搭配SDK RTM 4.0.2,才能得到一个基本能按预期运行的版本。然而,我越使用NXP SDK,就越讨厌它…… Re: Missing Std_Types.h 这件事有任何进展吗? @ArkAndyFraser你解决 Std_Types.h 文件缺失的问题了吗?该文件是否包含在生成的RTD文件中? 我找不到 Std_Types.h 文件。即使在 NXP 提供的示例中,文件也是如此。 Re: Missing Std_Types.h 3.6 情况也没有改善。这些家伙连回归测试都不做。
View full article
Inquiry regarding MCAL support EB hello I am writing to inquire about the MCAL support for the S32k3144 microcontroller. Could you please clarify as this device supports MCAL implementations through EB (Elektrobit) configuration tools can use for my production or need any license? Any documentation or guidance you can provide regarding the available stacks and compatibility would be greatly appreciated. Re: Inquiry regarding MCAL support EB Hello, The S32K344 / K314 is supported by NXP Real-Time Drivers (RTD) / AUTOSAR MCAL, including integration with EB tresos Studio for configuration and code generation. NXP provides the RTD/MCAL software as standard software that is qualified for production use and available free of charge. Please note that EB tresos Studio itself requires a valid Elektrobit license. Licensing terms for EB tresos are managed by Elektrobit, so for commercial usage details we recommend contacting Elektrobit or your local NXP representative. The S32K3 RTD package includes the MCAL drivers, EB tresos plugins, documentation, and example projects to support development and integration. Best regards, Peter
View full article
Std_Types.h が見つかりません 私はちょうどS32DSバージョン3.5にアップグレードし、ピンとドライバを設定しました。 必要なファイルは生成しましたが、コンパイルしようとすると次のエラーメッセージが表示されます。 Std_Types.h: No such file or directory このファイルは、生成されたファイルの一つである Port_Ci_Port_Lp.h に含まれています。 /*================================================================================================== * Project : RTD AUTOSAR 4.7 * Platform : CORTEXM * Peripheral : PORT_CI * Dependencies : none * * Autosar Version : 4.7.0 * Autosar Revision : ASR_REL_4_7_REV_0000 * Autosar Conf.Variant : * SW Version : 2.0.0 * Build Version : S32K1_RTD_2_0_0_D2308_ASR_REL_4_7_REV_0000_20230804 * * Copyright 2020-2023 NXP Semiconductors * * NXP Confidential. This software is owned or controlled by NXP and may only be * used strictly in accordance with the applicable license terms. By expressly * accepting such terms or by downloading, installing, activating and/or otherwise * using the software, you are agreeing that you have read, and that you agree to * comply with and are bound by, such license terms. If you do not agree to be * bound by the applicable license terms, then you may not retain, install, * activate or otherwise use the software. ==================================================================================================*/ #ifndef PORT_CI_PORT_IP_H #define PORT_CI_PORT_IP_H /** * @file Port_Ci_Port_Ip.h * * @defgroup Port_IPL Port IPL * @{ */ #if defined(__cplusplus) extern "C" { #endif /*================================================================================================== * INCLUDE FILES * 1) system and project includes * 2) needed interfaces from external units * 3) internal and external interfaces from this unit ==================================================================================================*/ #include "Std_Types.h" #include "Port_Ci_Port_Ip_Cfg.h" #include "Port_Ci_Port_Ip_Types.h" #include "Port_Ci_Port_Ip_Defines.h" #include "Devassert.h" 私は何が間違っているのでしょうか? バージョン3.5は、非常に使いやすかった3.4から大きく後退したように感じます。 😞 アンディ Re: Missing Std_Types.h このようなディレクトリを探しています。 Re: Missing Std_Types.h FUTUREこれを読むかもしれない人へ: 手動で追加すれば、この問題は解決するかもしれません。 Re: Missing Std_Types.h 私はDS3.4のSDM RTM 4.0.2に戻って、ほぼ宣伝通りに動作するものを手に入れました。しかし、NXP SDKを使えば使うほど、ますます嫌いになってきました... Re: Missing Std_Types.h この件について何か進展はありますか? @ArkAndyFraser さん、 Std_Types.h が見つからない問題は解決できましたか?生成されたRTDファイルに含まれるファイルですか? Std_Types.h が見つかりませんでしたNXPが提供する例にもファイルが含まれています。 Re: Missing Std_Types.h 3.6 状況は改善しなかった。こいつらは回帰テストすらやろうとしない。
View full article