Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
i.MX95 19×19 EVK – IMX95-OS08A20 Camera Support with AAOS 16 Hi NXP Team, We are currently working with the NXP i.MX95 19×19 EVK (IMX95LPD5EVK-19) and Android Automotive OS (AAOS) 16. Our requirement is to use a camera module that is officially supported by the i.MX95 BSP. We previously evaluated the Sony IMX219, IMX258 and IMX477 camera modules listed in AN14853. However, we understand that the Innowave IMX258 is not officially supported in the i.MX95 BSP. Based on the guidance from NXP, we understand that the IMX95-OS08A20 is an NXP-supported camera module for the i.MX95 19×19 EVK. We would like to confirm the following for our specific use case: 1. Is the IMX95-OS08A20 officially supported with AAOS 16 on the i.MX95 19×19 EVK (IMX95LPD5EVK-19)? 2. Which exact NXP BSP / AAOS 16 release should be used for the IMX95-OS08A20? 3. Is the required camera driver and ISP support already included in the AAOS 16 BSP? 4. Are any additional patches, software packages or configuration changes required to enable the OS08A20? 5. Which Device Tree / DTB configuration should be used for the OS08A20 camera on the 19×19 EVK? 6. What camera resolutions and frame rates are supported with AAOS 16? 7. Is there an EVS configuration or sample application available for using the OS08A20 with AAOS 16? 8. Please confirm the exact camera module / part number and required cable or adapter that we should purchase. 9. If possible, please provide the recommended purchase information or NXP distributor information for the IMX95-OS08A20. Our current environment is: Board: NXP i.MX95 19×19 EVK (IMX95LPD5EVK-19) Software: Android Automotive OS 16 BSP: NXP i.MX95 BSP We would like to proceed with purchasing the camera only after confirming its compatibility with our exact AAOS 16 + BSP environment. NXP reference: https://www.nxp.com/design/design-center/development-boards-and-designs/IMX95-OS08A20 Thank you. Android Re: i.MX95 19×19 EVK – IMX95-OS08A20 Camera Support with AAOS 16 Hello, The OS08A20 is not a camera supported in the AAOS for the i.MX95, for this processor we support OX03C10 and the AP1302 camera sensors. Best regards/Saludos, Aldo. Re: i.MX95 19×19 EVK – IMX95-OS08A20 Camera Support with AAOS 16 Hi Aldo, Thank you for the clarification. We understand that the OS08A20 is not supported in AAOS for the i.MX95, and that the supported camera solutions for AAOS are OX03C10 and AP1302. Our requirement is specifically for AAOS 16 on the i.MX95 19×19 EVK (IMX95LPD5EVK-19). Could you please provide the following information for the supported camera options? Which of OX03C10 or AP1302 is recommended for AAOS 16 on the i.MX95 19×19 EVK? What is the exact camera module / part number that we should purchase? What camera board, deserializer, adapter, or cable is required? Which NXP AAOS 16 / BSP release officially supports the selected camera? Is the required camera driver, ISP support, Device Tree configuration, and EVS support already included in that AAOS 16 BSP? Are any additional patches, firmware, or configuration changes required? Could you please provide the NXP product page / ordering information / recommended distributor for the camera module? Our target environment is: Board: NXP i.MX95 19×19 EVK (IMX95LPD5EVK-19) Software: Android Automotive OS 16 BSP: NXP i.MX95 BSP We would like to confirm the exact supported hardware and required accessories before proceeding with the purchase. Thank you for your support. Best regards, Gnana Prasanna
View full article
Moisture detection using NX20P0477UKZ Hello Team, We have developed custom board using P/N: NX20P0477UKZ. We are not able to detect moisture detection. In our design we are using 1.5meter cable to connect Mobile phone. So one end of cable is connected with our custom board and other end of cable is exposed to external world for Mobile connection.  So when we try to detect moisture from cable which is exposed to external world. we are not able to detect moisture. Please guide us to resolve this issue. Thanks Re: Moisture detection using NX20P0477UKZ Hello kadamm Good day! The NX20P0477 is intended to operate when no device is connected, and its main purpose is to prevent connection under moisture conditions by asserting FLAGB beforehand. Once a cable or device is connected (a mobile phone is connected even via a cable), the electrical conditions on the CC lines become more complex, and the presence of water together with an active connection introduces unpredictable behavior. Therefore, the device cannot reliably distinguish or detect moisture events under these conditions. I hope this information has helped you, please let me know if you need help with anything else. Have a great day and best of luck. Re: Moisture detection using NX20P0477UKZ Hello Rafar. Thanks for your quick response. We are performing test without connection of any device. As per our application, we are connecting one of cable to our on board type c connector and other end of cable is left opened. We are dipping opened end of cable into water but Flag pin (C1) is always high and not able to detect moisture.  We are making CP_EN(B2) pin as high to detect moisture. Could you please suggest us how can we validate functionality? Thanks Re: Moisture detection using NX20P0477UKZ Hello Rafar. Is there any update on our issue? This issue is very critical for us. Looking for your response as soon as possible. Thanks Re: Moisture detection using NX20P0477UKZ It seems CC1 and CC2 need have some voltage in order to detect the water tap condition. In your test scenario, we are connecting one of cable to our on board type c connector and other end of cable is left opened. Does that means there are not voltage on CC1 or CC2 pin?
View full article
CodeWarrior TAP フラッシュプログラミングの問題 私の会社では、QoriQ PシリーズおよびTシリーズプロセッサのフラッシュプログラミング用に、CodeWarrior TAP( CWH-CTP-BASE-HE )を複数台所有しています。弊社が保有するTAPは、リビジョンBとリビジョンEのモジュールが混在しています。これらが使用されてきた期間(約15年間)を通して、プログラミングの失敗につながるJTAG関連の問題が絶え間なく発生してきました。これらは「JTAGスキャンチェーンの失敗」または「JTAGの設定失敗」であることが多い。最近、より新しいTAPであるrev.Hを試す機会を得ました。この新しいTAP rev.Hは、数多くのプログラミング試行において問題なく動作しました。CodeWarrior TAPを使用した過去のFlashプログラミングの問題は、古いモジュール改訂版が原因であった可能性が高いようです。この問題を解決するために私たちができることについて、何か情報を提供していただけますか?rev.Bとrev.Eモジュールに関して、何かできることはありますか?それとも、新しいCodeWarrior TAP(rev.H)を購入せざるを得ないのでしょうか?ご協力いただきありがとうございます。 Re: CodeWarrior TAP flash programming problems 参考までに、CWTAPSのファームウェアの状態は以下のとおりです。 ブートローダー v1.0.1 オペレーティングシステム v1.0.4 CWTAPSはCodeWarrior for PA、v10.5.2からアップデートされました。 Re: CodeWarrior TAP flash programming problems 添付の最新版ccsを使用して、C:\Freescale\CW_PA_v10.5.1\PA\ccsを置き換えてください。 Re: CodeWarrior TAP flash programming problems CWTAP rev.H を使用している場合は、私が提供している CCS を使用する必要があります。 CWTAP rev.E を使用している場合は、CodeWarrior 10.5.x に付属のオリジナルの CCS を使用する必要があります。 オリジナルのCCSは、最新のCodeWarrior rev.Hとは互換性がありません。 Re: CodeWarrior TAP flash programming problems こんにちは、 はい、ありがとうございます。CWTAP rev.E を OS v1.0.4 にダウングレードする必要があります。CodeWarriorに元のCCSを戻した場合、「updatecwtap」で古いファームウェアが復元されますか? PSこの会話から察するに、CWTAP rev.Hは異なるハードウェアであると推測します。 よろしくお願いします。 Re: CodeWarrior TAP flash programming problems それは考えもしなかった。そこで、CodeWarrior 10.5.2 の CCS と CWTAP rev.E を OS v1.0.5 で試してみる必要があります。情報とアドバイスをありがとうございました。 Re: CodeWarrior TAP flash programming problems CWTAP rev.Hは異なるハードウェアです。 CWTAP rev.Eが、新しいファームウェアを搭載したオリジナルのCCSで動作するかどうか試してみてください。 Re: CodeWarrior TAP flash programming problems こんにちは、 CCSのアップデート情報ありがとうございます。CodeWarrior 10.5.2とCWTAP rev.Eを使用して、お送りいただいたアップデートを試してみました。相変わらずJTAGの問題が発生しています。CWTAP rev.H を使用すると問題が発生しないのは不思議です。これは異なるハードウェアですか?ありがとう Re: CodeWarrior TAP flash programming problems こんにちは、 私は、OS v.1.0.5を搭載したCWTAP rev.Eと、CodeWarrior 10.5.2のCCSを使用してフラッシュプログラミングを試してみました。変化なし。依然として同じJTAGの問題が発生しています。 Re: CodeWarrior TAP flash programming problems こんにちは、 CodeWarrior TAP( CWH-CTP-BASE-HE )を新たに購入することで、プログラミングの問題を解決しました。新しいTAPはrev.Hとして識別されます。P1025およびT1024開発ボードへのフラッシュプログラミングを何度も繰り返しましたが、エラーや問題は一切発生しませんでした。ご協力ありがとうございました。 よろしくお願いいたします、ポール ご協力ありがとうございました。 Re: CodeWarrior TAP flash programming problems CodeWarrior TAP revE を両方のバージョンの CCS で使用し、以下のコマンドを実行してみてください。 % すべて削除 % config cc cwtap % ccを表示 CodeWarrior TAP revE (OS v.1.0.5)は現在どのバージョンのCCSとも通信できないため、updatecwtapコマンドを使用することは不可能だと思われます。 Re: CodeWarrior TAP flash programming problems CWTAP rev.EとOS 1.0.5、旧/新CCSのどの組み合わせでもうまくいきませんでした。「updatecwtap --force」を使用して、CWTAP rev.E を OS 1.0.4 に復元しました。これはうまく機能し、通信もできます。 Re: CodeWarrior TAP flash programming problems 新しく購入したRev-H TAPに問題が発生しています。DDR検証を行う予定ですが、SPDからDDR構成を読み取ろうとすると失敗します。添付のスクリーンショットをご覧ください。 ccsフォルダを新しいものに置き換えましたが、結果は変わりません。 Rev-G TAPでは、全く問題なく動作しています。 私たちのアイデア:PA-10.5.1のCW
View full article
WiFiドライバがクラッシュする - 88w8997 FN-Link L297B-SRモジュール(Wi-FiとBluetoothが同じアンテナを共有している)で、断続的にWi-Fiドライバのクラッシュ問題に直面しています。この問題はランダムに発生し、1日後、2日後、あるいは4~5日間連続稼働した後にのみ発生することもあります。 ログを確認してください [64622.321614]mwifiex_sdio mmc2:0001:1: 情報: ca:c6:5c:cb:ad:7e から正常に切断されました: 理由コード 3 [64624.050010]mwifiex_sdio mmc2:0001:1: 情報: bssid ca:c6:5c:cb:ad:7e に接続しようとしています [64624.072596]mwifiex_sdio MMC2:0001:1: イベント:不明 イベント ID: 0x95 [64624.085770]mwifiex_sdio mmc2:0001:1: 情報: bssid ca:c6:5c:cb:ad:7e に正常に関連付けられました [64987.640381]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65060.466817]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65184.303423]mwifiex_sdio mmc2:0001:1: 情報: ca:c6:5c:cb:ad:7e から正常に切断されました: 理由コード 0 [65204.712100]ieee80211 phy0: sched_scan 開始: n_ssids=4 n_match_sets=4 [65204.725038]ieee80211 phy0: n_channels=41 interval=10 ie_len=13 [65259.046894]ieee80211 phy0: スケジュールされたスキャンを停止します! [65259.067983]mwifiex_sdio mmc2:0001:1: 情報: bssid ca:c6:5c:cb:ad:7e に接続しようとしています [65260.594440]mwifiex_sdio mmc2:0001:1: ASSOC_RESP: 失敗、ステータスコード=2、エラー=0xfffa、a_id=0x3fff [65260.611662]mwifiex_sdio mmc2:0001:1: 関連付け失敗: 理由不明 接続失敗 [65260.624191]mwifiex_sdio mmc2:0001:1: 情報: bssid ca:c6:5c:cb:ad:7e への関連付けに失敗しました [65260.636278]ieee80211 phy0: sched_scan 開始: n_ssids=4 n_match_sets=4 [65260.645499]ieee80211 phy0: n_channels=41 interval=10 ie_len=13 [65271.191030]mwifiex_sdio mmc2:0001:1: mwifiex_cmd_timeout_func: タイムアウト コマンド ID = 0x6b、アクション = 0x1 [65271.199985]mwifiex_sdio mmc2:0001:1: num_data_h2c_failure = 0 [65271.205896]mwifiex_sdio mmc2:0001:1: num_cmd_h2c_failure = 0 [65271.211654]mwifiex_sdio mmc2:0001:1: is_cmd_timedout = 1 [65271.217064]mwifiex_sdio mmc2:0001:1: num_tx_timeout = 0 [65271.222454]mwifiex_sdio mmc2:0001:1: last_cmd_index = 0 [65271.227893]mwifiex_sdio mmc2:0001:1: last_cmd_id: 6b 00 28 00 16 00 12 00 6b 00 [65271.235303]mwifiex_sdio mmc2:0001:1: last_cmd_act: 01 00 13 00 01 00 ca c6 01 00 [65271.242862]mwifiex_sdio mmc2:0001:1: last_cmd_resp_index = 4 [65271.248670]mwifiex_sdio mmc2:0001:1: last_cmd_resp_id: 0c 81 28 80 16 80 12 80 6b 80 [65271.256568]mwifiex_sdio mmc2:0001:1: last_event_index = 3 [65271.262131]mwifiex_sdio mmc2:0001:1: last_event: 18 00 0b 00 0a 00 65 00 0a 00 [65271.269514]mwifiex_sdio mmc2:0001:1: data_sent=0 cmd_sent=1 [65271.275248]mwifiex_sdio mmc2:0001:1: ps_mode=1 ps_state=0 [65271.281497]mwifiex_sdio mmc2:0001:1: スキャンを無視します。カードが取り外されたか、ファームウェアの状態が不良です。 [65271.290880]mwifiex_sdio mmc2:0001:1: ===mwifiex ドライバ情報ダンプ開始=== [65271.317907]mwifiex_sdio mmc2:0001:1: 情報: MWIFIEX バージョン: mwifiex 1.0 (16.92.21.p76) [65271.326650]mwifiex_sdio mmc2:0001:1: スキャン失敗: -14 [65271.350746]mwifiex_sdio mmc2:0001:1: SDIO レジスタ ダンプの開始 [65271.369462]mwifiex_sdio mmc2:0001:1: SDIO Func0 (0x0-0x9): 43 03 02 02 03 02 00 02 03 00 [65271.385505]mwifiex_sdio mmc2:0001:1: SDIO Func1 (0x10-0x17): 00 00 00 00 00 00 e0 ff [65271.396619]mwifiex_sdio mmc2:0001:1: SDIO Func1: (0x8) c3 (0x58) 00 (0x5c) 48 (0x5d) 00 (0x60) 07 (0x61) 0c (0x62) 00 (0x64) 10 (0x65) 00 (0x66) 00 (0x68) 00 (0x69) 00 (0x6a) 00 [65271.416154]mwifiex_sdio mmc2:0001:1: SDIO Func1 (0xe8-0xf2): dc fe 7e 00 62 00 3f a7 24 14 70 [65271.580586]mwifiex_sdio mmc2:0001:1: SDIO Func1 (0xe8-0xf2): dc fe 8f 00 73 00 3f a7 24 14 70 [65271.594858]mwifiex_sdio mmc2:0001:1: SDIO レジスタ ダンプ終了 [65271.610712]mwifiex_sdio mmc2:0001:1: ===mwifiex ドライバ情報ダンプ終了=== [65271.628592]mwifiex_sdio mmc2:0001:1: == mwifiex ファームウェアダンプ開始 == [65271.666427]mwifiex_sdio mmc2:0001:1: ctrl_data の取得に失敗しました [65271.676062]mwifiex_sdio mmc2:0001:1: ファームウェアのダンプに失敗しました [65271.693018]mwifiex_sdio mmc2:0001:1: == mwifiex ダンプ情報を /sys/class/devcoredump に開始 [65271.710201]mwifiex_sdio mmc2:0001:1: == mwifiex ダンプ情報を /sys/class/devcoredump に出力終了 [65271.723737]mwifiex_sdio mmc2:0001:1: PREP_CMD: FW が異常な状態です [65271.735173]mwifiex_sdio mmc2:0001:1: 情報: mwifiex をシャットダウンします... [65271.769056]mwifiex_sdio mmc2:0001:1: PREP_CMD: カードが取り外されました [65271.812192]mwifiex_sdio mmc2:0001:1: PREP_CMD: カードが取り外されました [65271.855652]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65271.870925]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65271.967852]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.068050]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.168010]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.268029]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.368215]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.468007]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.567994]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.668015]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.768055]Bluetooth: hci0: フレームの再構成に失敗しました (-84) [65272.839448]mwifiex_sdio mmc2:0001:1: 情報: ファームウェアのダウンロードが完了しました。サイズは622240バイトです。 [65273.607175]mwifiex_sdio mmc2:0001:1: WLAN FW がアクティブです [65273.641454]mwifiex_sdio mmc2:0001:1: 不明なapi_id: 5 [65273.687228]mwifiex_sdio mmc2:0001:1: 情報: MWIFIEX バージョン: mwifiex 1.0 (16.92.21.p76) [65273.713221]mwifiex_sdio mmc2:0001:1: ドライバーバージョン = mwifiex 1.0 (16.92.21.p76) [65277.145122]mwifiex_sdio mmc2:0001:1: 情報: bssid ca:39:a3:cb:ad:7e に接続しようとしています [65278.668157]mwifiex_sdio mmc2:0001:1: ASSOC_RESP: 失敗、ステータスコード=2、エラー=0xfffc、a_id=0x3fff [65278.677711]mwifiex_sdio mmc2:0001:1: アソシエーション失敗: 理由 CONNECT_ERR_ASSOC_ERR_TIMEOUT [65278.691251]mwifiex_sdio mmc2:0001:1: ASSOC_RESP: 認証タイムアウト [65278.710528]mwifiex_sdio mmc2:0001:1: 情報: bssid ca:39:a3:cb:ad:7e への関連付けに失敗しました [65279.781236]mwifiex_sdio mmc2:0001:1: 情報: bssid ca:c6:5c:cb:ad:7e に接続しようとしています [65281.310722]mwifiex_sdio mmc2:0001:1: ASSOC_RESP: 失敗、ステータスコード=2、エラー=0xfffa、a_id=0x3fff [65281.320307]mwifiex_sdio mmc2:0001:1: 関連付け失敗: 理由不明 接続失敗 以下のGitHubリンクで同じ問題を見つけましたが、まだ解決されていないようです。 https://www.bing.com/ck/a?!&&p=6f8995a9ee8bc78d51549c45a34f5deee2c26e49fb129fa9306c277b1df3c48cJmltdHM9MTc5MDQ2NzIwMA&ptn=3&ver=2&hsh=4&fclid=28fe8c6f-37d9-6a8e-3ad5-9b0736ee6b90&psq=wifi+driver+crashes+while+trying+to+reconnect+-+88w8997&u=a1aHR0cHM6Ly9naXRodWIuY29tL254cC1pbXgvaW14LWZpcm13YXJlL2lzc3Vlcy81 前もって感謝します Re: wifi driver crashes- 88w8997 こんにちは、 詳細なログをありがとうございます。クラッシュ情報から、ファームウェアバージョン16.92.21.p76を使用していることが確認できます。 88W8997は標準のimxファームウェアリリースには含まれなくなりましたのでご注意ください。ただし、最新のファームウェアを含む専用のホットフィックスブランチがこちらにあります。 https://github.com/nxp-imx/mwifiex/tree/hotfix/lf-6.12.49_2.2.0_hotfix_w8997 https://github.com/nxp-imx/imx-firmware/tree/hotfix/lf-6.12.49_2.2.0_hotfix_w8997 お使いのバージョンよりも大幅に新しい、そのブランチで利用可能なファームウェアへのアップグレードをお勧めします。このバージョンには、コマンドタイムアウトやファームウェアの異常状態といった、お客様が経験されている問題に対処する可能性のある安定性の修正が含まれています。 よろしくお願いいたします。 ダニエル。 Re: wifi driver crashes- 88w8997 ダニエル・ルバルカバ、サポートありがとうございます。 ホットフィックスファームウェアをコンボチップにロードし、約1週間連続稼働させた。この期間中、私たちは別の問題に直面しました。以前のWi-Fiファームウェアのクラッシュという問題とは異なり、今回はWi-Fi機能は動作し続けたものの、BLEが3~4日間の連続動作後に動作しなくなった。 BLEの失敗は、単にHCIインターフェースをリセットするだけでは回復できませんでした。BLE機能を復元するために、コンボチップのファームウェアを再ロードする必要がありました。BLE障害発生時に取得した最新のログを添付しましたので、詳細な分析にご活用ください。 [308423.524163] Bluetooth: hci0: コマンド 0x0406 送信タイムアウト [308454.723609]Bluetooth: hci0: コマンド 0x2011 送信タイムアウト [308454.728959]Bluetooth: hci0: オペコード 0x2011 が失敗しました: -110 [308454.734354]Bluetooth: hci0: 許可リストに追加できません: -110 [308456.771606]Bluetooth: hci0: オペコード 0x200b が失敗しました: -110 [308456.776986]Bluetooth: hci0: コマンド 0x200b 送信タイムアウト [308456.782265]Bluetooth: hci0: バックグラウンドスキャンの開始に失敗しました: -110 [308458.819547]Bluetooth: hci0: オペコード 0x2011 が失敗しました: -110 [308458.824925]Bluetooth: hci0: コマンド 0x2011 送信タイムアウト [308458.830210]Bluetooth: hci0: 許可リストに追加できません: -110 [308460.867534]Bluetooth: hci0: オペコード 0x200b が失敗しました: -110 [308460.872908]Bluetooth: hci0: コマンド 0x200b 送信タイムアウト [308460.878263]Bluetooth: hci0: バックグラウンドスキャンの開始に失敗しました: -110 [308462.915455]Bluetooth: hci0: オペコード 0x2011 が失敗しました: -110 [308462.920957]Bluetooth: hci0: コマンド 0x2011 送信タイムアウト [308462.926341]Bluetooth: hci0: 許可リストに追加できません: -110 [308464.963435]Bluetooth: hci0: オペコード 0x200b が失敗しました: -110 [308464.968817]Bluetooth: hci0: コマンド 0x200b 送信タイムアウト [308464.974104]Bluetooth: hci0: バックグラウンドスキャンの開始に失敗しました: -110 [308467.747431]Bluetooth: hci0: コマンド0x200a 送信タイムアウト 前もって感謝します。
View full article
PXIコントローラのMPU選び方 オープンソースのPXIシャーシコントローラを作りたいと思っています(ご存じない方のために説明すると、基本的にArm SBCで、PCIe経由でバックプレーンにコネクテッドし、ペリフェラルPXIモジュールも同じですが、RCではなくPCIe EPが付いています) 例えば、Linux配信を動かせるMPUが必要です。Ubuntuはグラフィックモードで、まずまずのパフォーマンスを保ち、例えば特殊なソフトウェアが動作しているはずです。LabVIEWおよびカスタムペリフェラルモジュールはユーティリティを制御し、1秒あたり数GBの生データを処理します。また、PXI仕様で要求されているように、少なくとも2つの独立したPCIe RCを備えている必要があり、それらが高速であればあるほど良いです。それらが十分に高速であれば、たとえば次のようなことが可能になります。RF AWGでDACに生データを連続的に供給し、AWGのRAMサイズに制限されません。また、LPDDR4を大量に接続できる可能性も面白いです。典型的な32ビットバスだけでなく、64+も対応可能です。 新しいTI Am69aはかっこいいようですが、かなり高くなそうですし、しかも非常に新しいので、完全なエラッタやソフトウェアの例、ドライバなどはありません。ハードウェア開発者で趣味でコーディングしている私には難しすぎると思います もう一つの方法はRockchip RK3588です。こちらは手頃で古いですが、PCIeが遅すぎて、Gen 3の2x2だけです。私はそれで十分に受け入れられますが...もしかしたら、もっと良いアイデアや、最近似たようなことをした方がいいかもしれませんね?ぜひ聞かせていただきたいです 🙂 USB Re: Choosing an MPU for PXI controller こんにちは、 NXP Semiconductors製品にご関心いただきありがとうございます。 PCIe要件に関しては、最新のインダストリアルPCIe世代はGen 3です。LS2048/88Aは4つのPCIeコントローラ(Gen3)を持ち、1x8、4x4、4x2、4x1レーン構成をサポートし、LX2160A最大24レーンのPCIe Gen3レーンを持ち、最大x8のポートをサポートします。Layerscapeはまた、数Gbps以上のデータをプロセッシングできる優れたコネクティビティを備えています。DDRは64ビットと72ビットの2倍コントローラでも満足していますが、DDR4上で動作します。 https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/layerscape-processors:QORIQ-ARM もう一つの欠点は、ネイティブでグラフィカルインターフェースを動かせないことです。インダストリアルグラフィックプロセッサは i.MX プロセッサで、32ビットDDRで動作し、最大10Gbpsのイーサネット、最大2倍のPCIe Gen 3に対応しますが、グラフィックス処理は可能です。 よろしくお願いします。
View full article
SDK 生成器已更改? MCUXpresso SDK Builder 似乎从 25.12 版本开始发生了变化,尝试更新之前的配置(SDK_25.09.00_FRDM-MCXN947)现在会向我显示所有以灰色选择的中间件选项,似乎无法取消选择我不想要的选项(也是其中的大多数)。 底部的方框显示我可以设置 " 过滤标准 " 但这使我进入了一个新页面,我的所有板/处理器/工具链信息都消失了。 仅构建 SDK 就会产生 738MB(相对于 Windows 8)的文件。我的 25.09 配置为 56MB)压缩文件,下载后它似乎包含所有处理器的支持和中间件,而不仅仅是我感兴趣的处理器。 更让人困惑的是,现在的目录结构似乎与 25.09 版大相径庭。 这是使用 Firefox 浏览器,如果这有什么不同的话。 是我做错了什么,还是 SDK 生成器现在就应该这样工作? 安迪 Re: SDK Builder Changed? 最新进展是,我刚刚尝试更新到 26.09 版本,但遇到了完全相同的问题,尽管生成的存档现在超过 1Gb 数据。
View full article
CodeWarrior TAP 闪存编程 我公司有许多 CodeWarrior TAP(CWH-CTP-BASE-HE)用于闪存编程 QorIQ P 系列和 T 系列处理器。我们的 TAP 混合了 rev.B 和 Rev.E 模块。在使用这些产品的整个过程中(约 15 年),我们遇到过无数与 JTAG 相关的问题,导致编程失败。通常是 "JTAG 扫描链失败 "或 "配置 JTAG 失败"。最近,我有机会尝试一款更新的 TAP,即 rev.H。这个较新的TAP Rev.H在许多编程尝试中都没有出现问题。看来我们使用CodeWarrior TAP的历史闪存编程问题可能是由于较旧的模块版本造成的。您能告诉我们如何解决这个问题吗?我们可以对 rev.B 和 rev.E 模块做些什么吗?还是我们只能购买新的 CodeWarrior TAP (rev.H)?谢谢您的帮助。 Re: CodeWarrior TAP flash programming problems 有关信息,CWTAPS 的固件状态为 启动加载程序 v1.0.1 操作系统 v1.0.4 CWTAPS 已从适用于 PA 的 CodeWarrior 更新至 10.5.2 版。 Re: CodeWarrior TAP flash programming problems 请使用所附的最新 ccs 替换 C:\Freescale\CW_PA_v10.5.1\PA\ccs Re: CodeWarrior TAP flash programming problems 如果您使用的是CWTAP rev.H,则需要使用我提供的 CCS。 如果您使用的是 CWTAP rev.E,则需要使用 CodeWarrior 10.5.x 中提供的原始 CCS。 原始的 CCS 无法与最新的 CodeWarrior rev.H 一起使用。 Re: CodeWarrior TAP flash programming problems 你好、 好的,谢谢。我需要将 CWTAP rev.E 降级到操作系统 v1.0.4。如果我在 CodeWarrior 中放回原来的 CCS,"updatecwtap "会恢复旧固件吗? 附注从对话中我推测,CWTAP rev.H 是不同的硬件。 谢谢! Re: CodeWarrior TAP flash programming problems 您好, 感谢您提供中央监控系统的最新信息。我使用 CodeWarrior 10.5.2 和 CWTAP rev.E 尝试了您发送的更新。我仍然遇到同样的 JTAG 问题。奇怪的是,当我使用 CWTAP rev.H 时却没有出现任何问题。这是不同的硬件吗?谢谢 Re: CodeWarrior TAP flash programming problems CWTAP rev.H 是不同的硬件。 请尝试 CWTAP rev.E 能否在新固件下与原 CCS 协同工作。 Re: CodeWarrior TAP flash programming problems 我没想到这一点。因此,我需要尝试使用 CodeWarrior 10.5.2 中的 CCS 和操作系统 v1.0.5 中的 CWTAP rev.E。感谢您提供的信息和建议。 Re: CodeWarrior TAP flash programming problems 请尝试在两个版本 CCS 中使用 CodeWarrior TAP Reve 并尝试了以下命令。 % 全部删除 % 配置 cc cwtap % 显示 cc 我怀疑操作系统 v.1.0.5 的 CodeWarrior TAP Reve 现在无法与任何版本的 CCS 通信,因此无法使用 updatecwt ap 命令。 Re: CodeWarrior TAP flash programming problems 又见面了 我们通过购买新的 CodeW arrior TAP( CWH-CTP-BASE-HE )解决了编 程问题。新的 TAP 被标识为 Rev.H。我重复了对 P1025 和 T1024 开发板的多次闪存编程,没有遇到任何错误或问题。谢谢你们的帮助。 亲切的问候,保罗 感谢您的帮助。 Re: CodeWarrior TAP flash programming problems 您好, 我尝试过使用操作系统版本 1.0.5 的 CWTAP rev.E 和 CodeWarrior 10.5.2 的 CCS 进行闪存编程。没有变化,我们仍然遇到同样的 JTAG 问题。 Re: CodeWarrior TAP flash programming problems 我在 CWTAP rev.E 与操作系统 1.0.5 和新/旧 CCS 的任何组合中都没有遇到任何问题。我使用 "updatecwtap --force "将 CWTAP rev.E 恢复到了操作系统 1.0.4。这样做效果很好,我可以与它通信。 Re: CodeWarrior TAP flash programming problems 我们新购置的 Rev-H TAP 出现了问题。我们打算进行 DDR 验证,但是尝试从 SPD 读取 DDR 配置时失败了。请查看附件截图。 我们用这个新文件夹替换了原来的 ccs 文件夹,但结果仍然一样。 同样的操作在 Rev-G TAP 上运行良好,没有任何问题。 我们的想法:PA-10.5.1 的 CW
View full article
Choosing an MPU for PXI controller I want to create an open-source PXI chassis controller (if someone doesn't know, it's basically an ARM SBC, connected to backplane via PCIe, peripheral PXI modules do the same, but have PCIe EP instead of RC) So, I need an MPU that can run linux distr, e.g. Ubuntu, in graphic mode with decent performance, as some specialised software would be running on it, e.g. LabVIEW and custom peripheral modules control utilities, that process Gbs of raw data per second. It should also have at least 2 independent PCIe RCs, as denanded by PXI spec, and the faster they are the better: if they are fast enough, it would be possible to e.g. feed DAC in RF AWG with raw data continuously, not limited by AWG ram size. Also a possibility to connect a lot of LPDDR4 would be cool, not just typical 32 bit bus, but 64+ The new TI Am69a looks like a cool thing, but it seems like it's going to cost a lot, and it's very new, so no full errata, no software examples, drivers and so on - looks too challenging for me, being a hardware developer and coding only as hobby Another way would be Rockchip RK3588, it's more affordable and older, but it's PCIe is too slow, just 2x2 gen 3. I could definitely live with it, but... Maybe you have better ideas or done something similar recently? Would be grateful to hear them 🙂 USB Re: Choosing an MPU for PXI controller Hi, Thank you for your interest in NXP Semiconductor products, For PCIe requirement, latest PCIe generation in industrial processors is Gen 3. LS2048/88A has 4 PCIe controllers (Gen3) supporting 1x8, 4x4, 4x2, 4x1 lane configurations and LX2160A has Up to 24 PCIe Gen3 lanes, supporting ports as wide as x8. Layerscape also has the outperforming ethernet connectivity capable of processing more than a couple Gbps of data. DDR is also satisfied with 2x controllers of 64 and 72 bits respectively, however, they run on DDR4. https://www.nxp.com/products/processors-and-microcontrollers/arm-processors/layerscape-processors:QORIQ-ARM Another con is that they cannot run graphical interfaces natively, industrial graphics processors are i.MX processors, they run on 32-bit DDR, up to 10 Gbps ethernet, up to 2x PCIe Gen 3, they can run graphics though. Regards
View full article
SDKビルダーが変更されましたか? MCUXpresso SDK Builderは25.12以降変更されたようで、以前の構成(SDK_25.09.00_FRDM-MCXN947)を更新しようとすると、すべてのミドルウェアオプションが灰色で選択され、不要なオプション(ほとんどすべて)の選択を解除する方法がないようです。 下部のボックスに「フィルタリング条件」を設定できると書いてありますが、それをクリックすると新しいページに移動し、ボード/プロセッサ/ツールチェーンの情報がすべて消えてしまいます。 SDK をビルディングするだけで 738MB の容量が生成されます (vs.私の 25.09 構成では 56MB の zip ファイルをダウンロードすると、私が興味を持っているプロセッサだけでなく、すべてのプロセッサのサポートとミドルウェアが含まれているようです。 さらに混乱を招くことに、ディレクトリ構造は25.09と比べてかなり異なっているようです。 参考までに、使用しているブラウザはFirefoxです。 私が何か間違っているのでしょうか、それともSDK Builderは現在このように動作するようになっているのでしょうか? アンディ Re: SDK Builder Changed? アップデートとして、26.09リリースにアップデートしようとしましたが、生成されたアーカイブは1GB以上になっています。
View full article
wifi driver crashes- 88w8997 I am facing an intermittent Wi-Fi driver crash issue with the FN-Link L297B-SR module (Wi-Fi and Bluetooth sharing a single antenna). The issue occurs randomly, sometimes after 1 day, sometimes after 2 days, and occasionally only after 4 to 5 days of continuous operation. please check the logs  [64622.321614] mwifiex_sdio mmc2:0001:1: info: successfully disconnected from ca:c6:5c:cb:ad:7e: reason code 3 [64624.050010] mwifiex_sdio mmc2:0001:1: info: trying to associate to bssid ca:c6:5c:cb:ad:7e [64624.072596] mwifiex_sdio mmc2:0001:1: event: unknown event id: 0x95 [64624.085770] mwifiex_sdio mmc2:0001:1: info: associated to bssid ca:c6:5c:cb:ad:7e successfully [64987.640381] Bluetooth: hci0: Frame reassembly failed (-84) [65060.466817] Bluetooth: hci0: Frame reassembly failed (-84) [65184.303423] mwifiex_sdio mmc2:0001:1: info: successfully disconnected from ca:c6:5c:cb:ad:7e: reason code 0 [65204.712100] ieee80211 phy0: sched_scan start : n_ssids=4 n_match_sets=4 [65204.725038] ieee80211 phy0: n_channels=41 interval=10 ie_len=13 [65259.046894] ieee80211 phy0: sched scan stop! [65259.067983] mwifiex_sdio mmc2:0001:1: info: trying to associate to bssid ca:c6:5c:cb:ad:7e [65260.594440] mwifiex_sdio mmc2:0001:1: ASSOC_RESP: failed, status code=2 err=0xfffa a_id=0x3fff [65260.611662] mwifiex_sdio mmc2:0001:1: assoc failure: reason Unknown connect failure [65260.624191] mwifiex_sdio mmc2:0001:1: info: association to bssid ca:c6:5c:cb:ad:7e failed [65260.636278] ieee80211 phy0: sched_scan start : n_ssids=4 n_match_sets=4 [65260.645499] ieee80211 phy0: n_channels=41 interval=10 ie_len=13 [65271.191030] mwifiex_sdio mmc2:0001:1: mwifiex_cmd_timeout_func: Timeout cmd id = 0x6b, act = 0x1 [65271.199985] mwifiex_sdio mmc2:0001:1: num_data_h2c_failure = 0 [65271.205896] mwifiex_sdio mmc2:0001:1: num_cmd_h2c_failure = 0 [65271.211654] mwifiex_sdio mmc2:0001:1: is_cmd_timedout = 1 [65271.217064] mwifiex_sdio mmc2:0001:1: num_tx_timeout = 0 [65271.222454] mwifiex_sdio mmc2:0001:1: last_cmd_index = 0 [65271.227893] mwifiex_sdio mmc2:0001:1: last_cmd_id: 6b 00 28 00 16 00 12 00 6b 00 [65271.235303] mwifiex_sdio mmc2:0001:1: last_cmd_act: 01 00 13 00 01 00 ca c6 01 00 [65271.242862] mwifiex_sdio mmc2:0001:1: last_cmd_resp_index = 4 [65271.248670] mwifiex_sdio mmc2:0001:1: last_cmd_resp_id: 0c 81 28 80 16 80 12 80 6b 80 [65271.256568] mwifiex_sdio mmc2:0001:1: last_event_index = 3 [65271.262131] mwifiex_sdio mmc2:0001:1: last_event: 18 00 0b 00 0a 00 65 00 0a 00 [65271.269514] mwifiex_sdio mmc2:0001:1: data_sent=0 cmd_sent=1 [65271.275248] mwifiex_sdio mmc2:0001:1: ps_mode=1 ps_state=0 [65271.281497] mwifiex_sdio mmc2:0001:1: Ignore scan. Card removed or firmware in bad state [65271.290880] mwifiex_sdio mmc2:0001:1: ===mwifiex driverinfo dump start=== [65271.317907] mwifiex_sdio mmc2:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (16.92.21.p76) [65271.326650] mwifiex_sdio mmc2:0001:1: scan failed: -14 [65271.350746] mwifiex_sdio mmc2:0001:1: SDIO register dump start [65271.369462] mwifiex_sdio mmc2:0001:1: SDIO Func0 (0x0-0x9): 43 03 02 02 03 02 00 02 03 00 [65271.385505] mwifiex_sdio mmc2:0001:1: SDIO Func1 (0x10-0x17): 00 00 00 00 00 00 e0 ff [65271.396619] mwifiex_sdio mmc2:0001:1: SDIO Func1: (0x8) c3 (0x58) 00 (0x5c) 48 (0x5d) 00 (0x60) 07 (0x61) 0c (0x62) 00 (0x64) 10 (0x65) 00 (0x66) 00 (0x68) 00 (0x69) 00 (0x6a) 00 [65271.416154] mwifiex_sdio mmc2:0001:1: SDIO Func1 (0xe8-0xf2): dc fe 7e 00 62 00 3f a7 24 14 70 [65271.580586] mwifiex_sdio mmc2:0001:1: SDIO Func1 (0xe8-0xf2): dc fe 8f 00 73 00 3f a7 24 14 70 [65271.594858] mwifiex_sdio mmc2:0001:1: SDIO register dump end [65271.610712] mwifiex_sdio mmc2:0001:1: ===mwifiex driverinfo dump end=== [65271.628592] mwifiex_sdio mmc2:0001:1: == mwifiex firmware dump start == [65271.666427] mwifiex_sdio mmc2:0001:1: Fail to pull ctrl_data [65271.676062] mwifiex_sdio mmc2:0001:1: firmware dump failed [65271.693018] mwifiex_sdio mmc2:0001:1: == mwifiex dump information to /sys/class/devcoredump start [65271.710201] mwifiex_sdio mmc2:0001:1: == mwifiex dump information to /sys/class/devcoredump end [65271.723737] mwifiex_sdio mmc2:0001:1: PREP_CMD: FW is in bad state [65271.735173] mwifiex_sdio mmc2:0001:1: info: shutdown mwifiex... [65271.769056] mwifiex_sdio mmc2:0001:1: PREP_CMD: card is removed [65271.812192] mwifiex_sdio mmc2:0001:1: PREP_CMD: card is removed [65271.855652] Bluetooth: hci0: Frame reassembly failed (-84) [65271.870925] Bluetooth: hci0: Frame reassembly failed (-84) [65271.967852] Bluetooth: hci0: Frame reassembly failed (-84) [65272.068050] Bluetooth: hci0: Frame reassembly failed (-84) [65272.168010] Bluetooth: hci0: Frame reassembly failed (-84) [65272.268029] Bluetooth: hci0: Frame reassembly failed (-84) [65272.368215] Bluetooth: hci0: Frame reassembly failed (-84) [65272.468007] Bluetooth: hci0: Frame reassembly failed (-84) [65272.567994] Bluetooth: hci0: Frame reassembly failed (-84) [65272.668015] Bluetooth: hci0: Frame reassembly failed (-84) [65272.768055] Bluetooth: hci0: Frame reassembly failed (-84) [65272.839448] mwifiex_sdio mmc2:0001:1: info: FW download over, size 622240 bytes [65273.607175] mwifiex_sdio mmc2:0001:1: WLAN FW is active [65273.641454] mwifiex_sdio mmc2:0001:1: Unknown api_id: 5 [65273.687228] mwifiex_sdio mmc2:0001:1: info: MWIFIEX VERSION: mwifiex 1.0 (16.92.21.p76) [65273.713221] mwifiex_sdio mmc2:0001:1: driver_version = mwifiex 1.0 (16.92.21.p76) [65277.145122] mwifiex_sdio mmc2:0001:1: info: trying to associate to bssid ca:39:a3:cb:ad:7e [65278.668157] mwifiex_sdio mmc2:0001:1: ASSOC_RESP: failed, status code=2 err=0xfffc a_id=0x3fff [65278.677711] mwifiex_sdio mmc2:0001:1: assoc failure: reason CONNECT_ERR_ASSOC_ERR_TIMEOUT [65278.691251] mwifiex_sdio mmc2:0001:1: ASSOC_RESP: AUTH timeout [65278.710528] mwifiex_sdio mmc2:0001:1: info: association to bssid ca:39:a3:cb:ad:7e failed [65279.781236] mwifiex_sdio mmc2:0001:1: info: trying to associate to bssid ca:c6:5c:cb:ad:7e [65281.310722] mwifiex_sdio mmc2:0001:1: ASSOC_RESP: failed, status code=2 err=0xfffa a_id=0x3fff [65281.320307] mwifiex_sdio mmc2:0001:1: assoc failure: reason Unknown connect failure I found same issue on below github link but it show it is still open https://www.bing.com/ck/a?!&&p=6f8995a9ee8bc78d51549c45a34f5deee2c26e49fb129fa9306c277b1df3c48cJmltdHM9MTc5MDQ2NzIwMA&ptn=3&ver=2&hsh=4&fclid=28fe8c6f-37d9-6a8e-3ad5-9b0736ee6b90&psq=wifi+driver+crashes+while+trying+to+reconnect+-+88w8997&u=a1aHR0cHM6Ly9naXRodWIuY29tL254cC1pbXgvaW14LWZpcm13YXJlL2lzc3Vlcy81 thanks in advance Re: wifi driver crashes- 88w8997 Hi, Thank you for the detailed logs. Based on the crash information, we can see you are running firmware version 16.92.21.p76. Please note that the 88W8997 is no longer included in the standard imx-firmware releases. However, we have a dedicated hotfix branch with the latest firmware available here: https://github.com/nxp-imx/mwifiex/tree/hotfix/lf-6.12.49_2.2.0_hotfix_w8997 https://github.com/nxp-imx/imx-firmware/tree/hotfix/lf-6.12.49_2.2.0_hotfix_w8997 We recommend upgrading to the firmware available in that branch, which is significantly newer than your current version and includes stability fixes that may address the command timeout and firmware bad state issue you are experiencing. Regards, Daniel. Re: wifi driver crashes- 88w8997 DanielRuvalcaba thanks for the support. We loaded the hotfix firmware on the combo chip and ran it continuously for approximately one week. During this period, we encountered a different issue. Unlike the previous problem where the Wi-Fi firmware crashed, this time the Wi-Fi functionality remained operational, but BLE stopped working after 3-4 days of continuous operation. The BLE failure was not recoverable by simply resetting the HCI interface. To restore BLE functionality, we had to reload the firmware on the combo chip. We have attached the latest logs captured during the BLE failure for further analysis. [308423.524163] Bluetooth: hci0: command 0x0406 tx timeout [308454.723609] Bluetooth: hci0: command 0x2011 tx timeout [308454.728959] Bluetooth: hci0: Opcode 0x2011 failed: -110 [308454.734354] Bluetooth: hci0: Unable to add to allow list: -110 [308456.771606] Bluetooth: hci0: Opcode 0x200b failed: -110 [308456.776986] Bluetooth: hci0: command 0x200b tx timeout [308456.782265] Bluetooth: hci0: start background scanning failed: -110 [308458.819547] Bluetooth: hci0: Opcode 0x2011 failed: -110 [308458.824925] Bluetooth: hci0: command 0x2011 tx timeout [308458.830210] Bluetooth: hci0: Unable to add to allow list: -110 [308460.867534] Bluetooth: hci0: Opcode 0x200b failed: -110 [308460.872908] Bluetooth: hci0: command 0x200b tx timeout [308460.878263] Bluetooth: hci0: start background scanning failed: -110 [308462.915455] Bluetooth: hci0: Opcode 0x2011 failed: -110 [308462.920957] Bluetooth: hci0: command 0x2011 tx timeout [308462.926341] Bluetooth: hci0: Unable to add to allow list: -110 [308464.963435] Bluetooth: hci0: Opcode 0x200b failed: -110 [308464.968817] Bluetooth: hci0: command 0x200b tx timeout [308464.974104] Bluetooth: hci0: start background scanning failed: -110 [308467.747431] Bluetooth: hci0: command 0x200a tx timeout Thanks in advance.
View full article
wifi驱动程序崩溃- 88w8997 我使用FN-Link L297B-SR模块(Wi-Fi 和蓝牙共用一个天线)时,遇到了间歇性 Wi-Fi 驱动程序崩溃的问题。该问题随机发生,有时在 1 天后,有时在 2 天后,偶尔在连续运行 4 到 5 天后才会发生。 请检查日志 [64622.321614]mwifiex_sdio mmc2:0001:1: 信息:已成功断开与 ca:c6:5c:cb:ad:7e 的连接:原因代码 3 [64624.050010]mwifiex_sdio mmc2:0001:1: 信息:尝试关联到 BSSID ca:c6:5c:cb:ad:7e [64624.072596]mwifiex_sdio mmc2:0001:1: 事件:未知事件 ID:0x95 [64624.085770]mwifiex_sdio mmc2:0001:1: 信息:已成功关联到 bssid ca:c6:5c:cb:ad:7e [64987.640381]蓝牙:hci0:帧重组失败(-84) [65060.466817]蓝牙:hci0:帧重组失败(-84) [65184.303423]mwifiex_sdio mmc2:0001:1: 信息:已成功断开与 ca:c6:5c:cb:ad:7e 的连接:原因代码 0 [65204.712100]ieee80211 phy0:sched_scan 开始:n_ssids=4 n_match_sets=4 [65204.725038]ieee80211 phy0:通道数=41,间隔=10,IE长度=13 [65259.046894]ieee80211 phy0:计划扫描停止! [65259.067983]mwifiex_sdio mmc2:0001:1: 信息:尝试关联到 BSSID ca:c6:5c:cb:ad:7e [65260.594440]mwifiex_sdio mmc2:0001:1: ASSOC_RESP: 失败,状态码=2 错误=0xfffa a_id=0x3fff [65260.611662]mwifiex_sdio mmc2:0001:1: 关联失败:原因未知连接失败 [65260.624191]mwifiex_sdio mmc2:0001:1: 信息:与 bssid ca:c6:5c:cb:ad:7e 的关联失败 [65260.636278]ieee80211 phy0:sched_scan 开始:n_ssids=4 n_match_sets=4 [65260.645499]ieee80211 phy0:通道数=41,间隔=10,IE长度=13 [65271.191030]mwifiex_sdio mmc2:0001:1: mwifiex_cmd_timeout_func: 超时命令 ID = 0x6b,操作 = 0x1 [65271.199985]mwifiex_sdio mmc2:0001:1: num_data_h2c_failure = 0 [65271.205896]mwifiex_sdio mmc2:0001:1: num_cmd_h2c_failure = 0 [65271.211654]mwifiex_sdio mmc2:0001:1: is_cmd_timedout = 1 [65271.217064]mwifiex_sdio mmc2:0001:1: num_tx_timeout = 0 [65271.222454]mwifiex_sdio mmc2:0001:1: last_cmd_index = 0 [65271.227893]mwifiex_sdio mmc2:0001:1: last_cmd_id: 6b 00 28 00 16 00 12 00 6b 00 [65271.235303]mwifiex_sdio mmc2:0001:1: last_cmd_act: 01 00 13 00 01 00 ca c6 01 00 [65271.242862]mwifiex_sdio mmc2:0001:1: last_cmd_resp_index = 4 [65271.248670]mwifiex_sdio mmc2:0001:1: last_cmd_resp_id: 0c 81 28 80 16 80 12 80 6b 80 [65271.256568]mwifiex_sdio mmc2:0001:1: last_event_index = 3 [65271.262131]mwifiex_sdio mmc2:0001:1: last_event: 18 00 0b 00 0a 00 65 00 0a 00 [65271.269514]mwifiex_sdio mmc2:0001:1: 数据已发送=0 指令已发送=1 [65271.275248]mwifiex_sdio mmc2:0001:1: ps_mode=1 ps_state=0 [65271.281497]mwifiex_sdio mmc2:0001:1:忽略扫描。卡已移除或固件状态异常 [65271.290880]mwifiex_sdio mmc2:0001:1: ===mwifiex 驱动程序信息转储开始=== [65271.317907]mwifiex_sdio mmc2:0001:1: 信息: MWIFIEX 版本: mwifiex 1.0 (16.92.21.p76) [65271.326650]mwifiex_sdio mmc2:0001:1: 扫描失败: -14 [65271.350746]mwifiex_sdio mmc2:0001:1:SDIO 寄存器转储开始 [65271.369462]mwifiex_sdio mmc2:0001:1: SDIO Func0 (0x0-0x9): 43 03 02 02 03 02 00 02 03 00 [65271.385505]mwifiex_sdio mmc2:0001:1: SDIO Func1 (0x10-0x17): 00 00 00 00 00 00 e0 ff [65271.396619]mwifiex_sdio mmc2:0001:1: SDIO 功能1: (0x8) c3 (0x58) 00 (0x5c) 48 (0x5d) 00 (0x60) 07 (0x61) 0c (0x62) 00 (0x64) 10 (0x65) 00 (0x66) 00 (0x68) 00 (0x69) 00 (0x6a) 00 [65271.416154]mwifiex_sdio mmc2:0001:1: SDIO Func1 (0xe8-0xf2): dc fe 7e 00 62 00 3f a7 24 14 70 [65271.580586]mwifiex_sdio mmc2:0001:1: SDIO 功能1 (0xe8-0xf2): dc fe 8f 00 73 00 3f a7 24 14 70 [65271.594858]mwifiex_sdio mmc2:0001:1:SDIO 寄存器转储结束 [65271.610712]mwifiex_sdio mmc2:0001:1: ===mwifiex 驱动程序信息转储结束=== [65271.628592]mwifiex_sdio mmc2:0001:1: == mwifiex 固件转储开始 == [65271.666427]mwifiex_sdio mmc2:0001:1: 无法拉取 ctrl_data [65271.676062]mwifiex_sdio mmc2:0001:1:固件转储失败 [65271.693018]mwifiex_sdio mmc2:0001:1: == mwifiex 转储信息到 /sys/class/devcoredump 开始 [65271.710201]mwifiex_sdio mmc2:0001:1: == mwifiex 转储信息到 /sys/class/devcoredump 结束 [65271.723737]mwifiex_sdio mmc2:0001:1: PREP_CMD: 固件状态异常 [65271.735173]mwifiex_sdio mmc2:0001:1: 信息:mwifiex 已关闭... [65271.769056]mwifiex_sdio mmc2:0001:1: PREP_CMD: 卡已移除 [65271.812192]mwifiex_sdio mmc2:0001:1: PREP_CMD: 卡已移除 [65271.855652]蓝牙:hci0:帧重组失败(-84) [65271.870925]蓝牙:hci0:帧重组失败(-84) [65271.967852]蓝牙:hci0:帧重组失败(-84) [65272.068050]蓝牙:hci0:帧重组失败(-84) [65272.168010]蓝牙:hci0:帧重组失败(-84) [65272.268029]蓝牙:hci0:帧重组失败(-84) [65272.368215]蓝牙:hci0:帧重组失败(-84) [65272.468007]蓝牙:hci0:帧重组失败(-84) [65272.567994]蓝牙:hci0:帧重组失败(-84) [65272.668015]蓝牙:hci0:帧重组失败(-84) [65272.768055]蓝牙:hci0:帧重组失败(-84) [65272.839448]mwifiex_sdio mmc2:0001:1: 信息:固件下载完成,大小为 622240 字节 [65273.607175]mwifiex_sdio mmc2:0001:1: WLAN 固件已激活 [65273.641454]mwifiex_sdio mmc2:0001:1: 未知 api_id: 5 [65273.687228]mwifiex_sdio mmc2:0001:1: 信息: MWIFIEX 版本: mwifiex 1.0 (16.92.21.p76) [65273.713221]mwifiex_sdio mmc2:0001:1: driver_version = mwifiex 1.0 (16.92.21.p76) [65277.145122]mwifiex_sdio mmc2:0001:1: 信息:尝试关联到 BSSID ca:39:a3:cb:ad:7e [65278.668157]mwifiex_sdio mmc2:0001:1: ASSOC_RESP: 失败,状态码=2 错误=0xfffc a_id=0x3fff [65278.677711]mwifiex_sdio mmc2:0001:1: 关联失败:原因 CONNECT_ERR_ASSOC_ERR_TIMEOUT [65278.691251]mwifiex_sdio mmc2:0001:1: ASSOC_RESP: AUTH 超时 [65278.710528]mwifiex_sdio mmc2:0001:1: 信息:与 bssid ca:39:a3:cb:ad:7e 的关联失败 [65279.781236]mwifiex_sdio mmc2:0001:1: 信息:尝试关联到 BSSID ca:c6:5c:cb:ad:7e [65281.310722]mwifiex_sdio mmc2:0001:1: ASSOC_RESP: 失败,状态码=2 错误=0xfffa a_id=0x3fff [65281.320307]mwifiex_sdio mmc2:0001:1: 关联失败:原因未知连接失败 我在下面的 GitHub 链接中找到了同样的问题,但它显示该问题仍处于开放状态。 https://www.bing.com/ck/a?!&&p=6f8995a9ee8bc78d51549c45a34f5deee2c26e49fb129fa9306c277b1df3c48cJmltdHM9MTc5MDQ2NzIwMA&ptn=3&ver=2&hsh=4&fclid=28fe8c6f-37d9-6a8e-3ad5-9b0736ee6b90&psq=wifi+driver+crashes+while+trying+to+reconnect+-+88w8997&u=a1aHR0cHM6Ly9naXRodWIuY29tL254cC1pbXgvaW14LWZpcm13YXJlL2lzc3Vlcy81 提前致谢 Re: wifi driver crashes- 88w8997 您好, 感谢您提供的详细日志。根据崩溃信息,我们可以看到您正在运行固件版本 16.92.21.p76。 请注意,88W8997 已不再包含在标准的 imx 固件版本中。不过,我们有一个专门的热修复分支,其中包含最新的固件,可在此处获取: https://github.com/nxp-imx/mwifiex/tree/hotfix/lf-6.12.49_2.2.0_hotfix_w8997 https://github.com/nxp-imx/imx-firmware/tree/hotfix/lf-6.12.49_2.2.0_hotfix_w8997 我们建议您升级到该分支中提供的固件,该固件比您当前的版本新得多,并且包含稳定性修复程序,可以解决您遇到的命令超时和固件状态错误问题。 问候, 丹尼尔。 Re: wifi driver crashes- 88w8997 DanielRuvalcaba,谢谢你的支持。 我们将热修复固件加载到组合芯片上,并连续运行了大约一周。在此期间,我们遇到了另一个问题。与之前 Wi-Fi 固件崩溃的问题不同,这次 Wi-Fi 功能仍然可用,但 BLE 在连续运行 3-4 天后停止工作。 仅通过 RESET HCI 接口无法恢复 BLE 故障。为了恢复 BLE 功能,我们必须重新加载组合芯片上的固件。我们已附上 BLE 故障期间捕获的最新日志,以供进一步分析。 [308423.524163] Bluetooth: hci0: 命令 0x0406 发送超时 [308454.723609]蓝牙:hci0:命令 0x2011 发送超时 [308454.728959]蓝牙:hci0:操作码 0x2011 失败:-110 [308454.734354]蓝牙:hci0:无法添加到允许列表:-110 [308456.771606]蓝牙:hci0:操作码 0x200b 失败:-110 [308456.776986]蓝牙:hci0:命令 0x200b 发送超时 [308456.782265]蓝牙:hci0:启动后台扫描失败:-110 [308458.819547]蓝牙:hci0:操作码 0x2011 失败:-110 [308458.824925]蓝牙:hci0:命令 0x2011 发送超时 [308458.830210]蓝牙:hci0:无法添加到允许列表:-110 [308460.867534]蓝牙:hci0:操作码 0x200b 失败:-110 [308460.872908]蓝牙:hci0:命令 0x200b 发送超时 [308460.878263]蓝牙:hci0:启动后台扫描失败:-110 [308462.915455]蓝牙:hci0:操作码 0x2011 失败:-110 [308462.920957]蓝牙:hci0:命令 0x2011 发送超时 [308462.926341]蓝牙:hci0:无法添加到允许列表:-110 [308464.963435]蓝牙:hci0:操作码 0x200b 失败:-110 [308464.968817]蓝牙:hci0:命令 0x200b 发送超时 [308464.974104]蓝牙:hci0:启动后台扫描失败:-110 [308467.747431]蓝牙:hci0:命令 0x200a 发送超时 提前致谢。
View full article
CodeWarrior TAP flash programming problems My company has a number of CodeWarrior TAP (CWH-CTP-BASE-HE) for flash programming QoriQ P-series and T-series processors. The TAPs we have are a mix of rev.B and rev.E modules. Throughout the time these have been used (circa 15 years) we have experienced endless JTAG related problems that lead to programming failures. These tend to be 'JTAG scan chain fail' or 'failed to configure the JTAG'. Recently I was presented the opportunity to try a newer TAP which is rev.H. This newer TAP rev.H performed problem free throughout a lot of programming attempts. It appears that our historic flash programming problems using the CodeWarrior TAP may have been due to the older module revisions. Could you give any information for what we could do to sort this? Is there anything we can do with our rev.B and rev.E modules? Or are we stuck with purchasing new CodeWarrior TAP (rev.H)? Thanks for your help. Re: CodeWarrior TAP flash programming problems For info, the firmware state of the CWTAPS is: Boot Loader v1.0.1 Operating System v1.0.4 The CWTAPS were updated from CodeWarrior for PA, v10.5.2. Re: CodeWarrior TAP flash programming problems Please use the attached latest ccs to replace C:\Freescale\CW_PA_v10.5.1\PA\ccs Re: CodeWarrior TAP flash programming problems CWTAP rev.H is different hardware. Please try whether CWTAP rev.E can work with the original CCS with the new firmware. Re: CodeWarrior TAP flash programming problems If you are using CWTAP rev.H, you need to use CCS provided by me. If you are using CWTAP rev.E, you need to use the original CCS provided in CodeWarrior 10.5.x. The original CCS cannot work with the latest CodeWarrior rev.H. Re: CodeWarrior TAP flash programming problems Hi,  Ok thanks. I need to downgrade my CWTAP rev.E back to OS v1.0.4. If I put the original CCS back in CodeWarrior, will the 'updatecwtap' restore the old firmware?  P.S. I assume from this conversation that the CWTAP rev.H is different hardware. Thanks Re: CodeWarrior TAP flash programming problems Hi, Thanks for the CCS update. I've tried the update you sent using CodeWarrior 10.5.2 and a CWTAP rev.E. I still get the same JTAG problems. Odd that I don't get any problems when I use a CWTAP rev.H. Is this different hardware? Thanks Re: CodeWarrior TAP flash programming problems I hadn't thought of that. So I need to try CCS from CodeWarrior 10.5.2 and CWTAP rev.E with OS v1.0.5. Thanks for the info and advise. Re: CodeWarrior TAP flash programming problems Hi, I've have tried flash programming using our CWTAP rev.E with OS v.1.0.5 and with CCS from CodeWarrior 10.5.2. No change, we are still getting the same JTAG problems.  Re: CodeWarrior TAP flash programming problems Hi again, We have resolved our programming problems by purchase of a new CodeWarrior TAP (CWH-CTP-BASE-HE). The new TAP is  identified as rev.H. I have repeated numerous flash programming of P1025 and T1024 dev boards and experienced no errors or problems. Thanks for all your help. Kind regards, Paul Thanks for all the help.  Re: CodeWarrior TAP flash programming problems Please try to use CodeWarrior TAP revE with both version CCS and tried the following command. % delete all % config cc cwtap % show cc I suspect CodeWarrior TAP revE with OS v.1.0.5 cannot communicate with any version CCS now, so it is impossible to use updatecwtap command. Re: CodeWarrior TAP flash programming problems I've not had any luck with any combination - CWTAP rev.E with OS 1.0.5 and old/new CCS. I restored my CWTAP rev.E to OS 1.0.4 using 'updatecwtap --force'. This worked OK and I can communicate with it.  Re: CodeWarrior TAP flash programming problems We are facing problem with newly purchased Rev-H TAP. We intend to do ddr validation, but when trying to read ddr configuration from SPD it fails. See attached screenshot. We replaced the ccs folder with this new one but the result remains same. The same thing is running fine with Rev-G TAP without any issue. Our ide: CW for PA-10.5.1
View full article
RT1160スペクトラム拡散方式がクラッシュしています... ここで助けを求めています。他のフォーラムの投稿もすべて見て、見つけられるものはすべて追いましたが、RT1160 MCUでSpread Spectrumを有効にしようとするとクラッシュが起き続けます。 スクリーンショットを見ればわかるように、私はfsl_clock.oを移動しましたRAMと*flexspi.oにもRAMへ。 Segger Ozoneを使うと、クラッシュが起きる正確な場所と、生成された例外および例外レジスタの設定を確認できます。 何が問題なのか分かりますか? Re: RT1160 Spread Spectrum crashing... こんにちは、 @application_ninja さん。 fsl_clock.o を移動しましたがRAM への関数 SDK_DelayAtLeastUs() は fsl_common_arm.o にあります。これは依然としてフラッシュメモリに常駐しています。少なくとも、クロックの変更を行うコールチェーン全体は、内部RAM上に配置されるべきである。そのため、AN12879(RTファミリのスペクトラム有効化方法)では、すべてのコードがITCMまたはDTCMのいずれかに読み込まれていました。 Re: RT1160 Spread Spectrum crashing... ご回答ありがとうございます。ただし、fsl_common_arm.o を移動します。それでもデバイスがクラッシュする原因となる。しかし今回は「SDK_DelayAtLeastUs」は通過するものの、非常に深刻なクラッシュが発生し、デバッガーはクラッシュが発生した場所を記録するために停止しません。 プログラムはかなり大きく、ITCMやDTCMからはすべてを動かすことはできません。
View full article
RT1170 支持 QSPI Flash (MX25L51245G) 您好, RT1170 是否支持 MX25L51245G QSPI 闪存? 是否需要修改配置文件“evkmimxrt1170_flexspi_nor_config.c”才能与该芯片兼容? 如果是这样,该如何修改?应该修改哪些参数? 感谢您的支持! 顺祝商祺! 世界青年大会 Re: RT1170 support QSPI Flash (MX25L51245G ) 你好@jeremyzhou 我们使用 MX25L51245G 外置闪存和 RT1176,并实现了如下所示的配置。它在 XIP 模式下运行完美,但我也想得到您的验证。 但是,当在“链接应用程序模式”下运行多核应用程序时,系统会发生硬故障。具体来说,由于从 FlexCAN MCR 寄存器读取的值,它触发信号一个断言。 下面附上一些截图和我的查找表供您参考,引用。 M7 闪存初始化(RAM): M4 闪存初始化(RAM): 多核(RAM)的硬故障: 以下是为支持软件在 RAM 和 XIP(就地执行)模式下无缝运行而设计的查找表配置:   #define FLASH_DUMMY_CYCLES 0x08 const flexspi_nor_config_t qspiflash_config = { .memConfig = { .tag = FLEXSPI_CFG_BLK_TAG , .version = FLEXSPI_CFG_BLK_VERSION, .readSampleClksrc= kFlexSPIReadSampleClk_LoopbackFromDqsPad , .csHoldTime = 3u, .csSetupTime = 3u, .controllerMiscOption = 0x10, .deviceType = kFlexSpiDeviceType_SerialNOR , .sflashPadType = kSerialFlash_4Pads, .serialClkFreq = kFlexSpiSerialClk_133MHz , // kFlexSpiSerialClk_120MHz​​ .sflashA1Size = 64u * 1024u * 1024u, //64MB //她的acilista QE = 1. ROM 一次 WREN'i ( seq 3) kendisi gonderir , sonra 4*12' yi 0x40 ile calistirir . //NXP RT1170 EVK'daki configCmd kalibinin aynisi .configCmdEnable = 1u, .configModeType[0] = kDeviceConfigCmdType_Generic, .configCmdSeqs[0] = {.seqNum = 1u, .seqId = 12u, .reserved = 0u}, //1 个序列calistir : 4*12 // asagiyi 0x20 yapinca calismadi Dogrudan内存hatasinda patladi main'e gelmeden .configCmdArgs[0] = 0x40u, //WRITE_SDR'nin gonderecegi 字节: SR = 0x40 .lookupTable = { [0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x6C, RADDR_SDR, FLEXSPI_1PAD, 0x20), //6Ch QREAD4B: komut ve 4 字节地址tek hattan (1-1-4) [1] = FLEXSPI_LUT_SEQ(DUMMY_SDR, FLEXSPI_4PAD, FLASH_DUMMY_CYCLES, READ_SDR, FLEXSPI_4PAD, 0x04), //8 虚拟bekle , 数据 4 hattan [4 * 1 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x05, READ_SDR, FLEXSPI_1PAD, 0x04), //状态寄存器0x05'den okuyacam (WIP = bit0) [4 * 3 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x06, STOP, FLEXSPI_1PAD, 0x0), //写入en ettim // asagidakini yoruma alinca gercekten silmedi [4 * 5 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x21, RADDR_SDR, FLEXSPI_1PAD, 0x20), //4 字节地址alarak 4 kb扇区silecem [4 * 8 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xDC, RADDR_SDR, FLEXSPI_1PAD, 0x20), //64 kb块silecem (app'de kullanmiyoruz ) [4 * 9 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x12, RADDR_SDR, FLEXSPI_1PAD, 0x20), //4 字节 1 页yazacam [4 * 9 + 1] = FLEXSPI_LUT_SEQ(WRITE_SDR, FLEXSPI_1PAD, 0x04, STOP, FLEXSPI_1PAD, 0x0), // datayi gonder ve bitir (WEL'i flash 程序bitince kendisi temizler ) [4 * 11 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xC7, STOP, FLEXSPI_1PAD, 0x0), //转flashi silecem (app'de kullanmiyoruz ) [4 * 12 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x01, WRITE_SDR, FLEXSPI_1PAD, 0x01), //WRSR + tam 1 字节 (configCmdArgs[0]): sadece SR yazilir , CR'ye dokunmaz // seq 6/7 bos : ROM API 暂停/恢复kullanmiyor }, }, .pageSize = 256u, .sectorSize = 4u * 1024u, .ipcmdSerialClkFreq = 0x1, .blockSize = 64u * 1024u, .isUniformBlockSize = true, }; Re: RT1170 support QSPI Flash (MX25L51245G ) 你好, 感谢您对恩智浦半导体产品的关注,并感谢您给我们提供服务的机会。 1) RT1170 是否支持 MX25L51245G 作为 QSPI 闪存? - 是的。 2)是否需要修改配置文件“evkmimxrt1170_flexspi_nor_config.c”以适配此芯片? 是的,请参考以下代码。 const flexspi_nor_config_t qspiflash_config = { .memConfig = { .tag = FLEXSPI_CFG_BLK_TAG, .version = FLEXSPI_CFG_BLK_VERSION, .readSampleClksrc=kFlexSPIReadSampleClk_LoopbackFromDqsPad, .csHoldTime = 3u, .csSetupTime = 3u, // Enable DDR mode, Wordaddassable, Safe configuration, Differential clock .sflashPadType = kSerialFlash_4Pads, .serialClkFreq = kFlexSpiSerialClk_100MHz, .sflashA1Size = 64u * 1024u * 1024u, .lookupTable = { // Read LUTs FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xEB, RADDR_SDR, FLEXSPI_4PAD, 0x20), FLEXSPI_LUT_SEQ(DUMMY_SDR, FLEXSPI_4PAD, 0x06, READ_SDR, FLEXSPI_4PAD, 0x04), }, }, .pageSize = 256u, .sectorSize = 4u * 1024u, .blockSize = 256u * 1024u, .isUniformBlockSize = false, }; 祝你有美好的一天, 信息通信技术 ------------------------------------------------------------------------------- 笔记: - 如果此回复解答了您的问题,请点击“标记为正确答案”按钮。谢谢你! - 我们会持续关注帖子,从最后一条回复发出后持续7周,之后的回复将被忽略。 如果您之后有相关问题,请另开新帖并引用已关闭的帖子。 -------------------------------------------------------------------------------
View full article
imx95 and vfio_pci passthrough Hi, we want to use a virtual machine with PCI passthrough on the IMX95 SoC. It seems that this isn't possible at all because the SMMU is not cache coherent and the vfio_pci driver requires that. See also: https://community.nxp.com/t5/i-MX-Processors/i-MX95-19x19-EVK-SMMU-coherent-table-walks-IDR0-COHACC-and-vfio/m-p/2410515 and https://github.com/NXP/dpdk/blob/25.11-qoriq/nxp/README_imx95_enetc_vf_vfio#L32 Disabling the IOMMU is not an option. Also I doubt that it will help as the kernel parameter reads: MODULE_PARM_DESC(enable_unsafe_noiommu_mode, "Enable UNSAFE, no-IOMMU mode. This mode provides no device isolation, no DMA translation, no host kernel protection, cannot be used for device assignment to virtual machines, requires RAWIO permissions, and will taint the kernel. If you do not know what this is for, step away. (default: false)"); Could you confirm, that is actually impossible to use the IMX95 SoC with (safe) PCI passthrough? If not, what am I missing here? Best regards, -michael Re: imx95 and vfio_pci passthrough Hi, thanks for the quick answer. But I'm not sure I'm getting it completely. Just to be sure, we don't want to use DPDK, but a generic qemu/kvm virtual machine where we pass through a PCI device. How does this relate to the uio-pci-generic framework? Thanks, -michael Re: imx95 and vfio_pci passthrough Hi, Thank you for your interest in NXP Semiconductor products, In this case, you need to stick with my colleagues response, which is from DPDK team. The only alternative is the one said in the response: "If the customer wants to use SMMU for other use cases, but acceptable to bypass for the DPDK (does not want to use iommu.passthrough=1 in bootargs or disable SMMU node in dts). Then can try to bind the uio-pci-generic framework and disable VSI-PSI messaging (export ENETC4_VSI_MSG_DISABLE=1). But disabling VSI-PSI messages means user won’t be able to use some ENETC features like promisc, VLAN MAC filtering, link information." Regards Re: imx95 and vfio_pci passthrough Hi, are there any news regarding this topic? Best regards, -michael
View full article
imx95 和 vfio_pci 直通 您好, 我们希望在 IMX95 SoC 上使用具有 PCI 直通功能的虚拟机。这似乎完全不可能,因为 SMMU 不是缓存一致的,而 vfio_pci 驱动程序需要缓存一致性。参见: https://community.nxp.com/t5/i-MX-Processors/i-MX95-19x19-EVK-SMMU-coherent-table-walks-IDR0-COHACC-and-vfio/mp/2410515 和 https://github.com/NXP/dpdk/blob/25.11-qoriq/nxp/README_imx95_enetc_vf_vfio#L32 禁用 IOMMU 不是一个可行的方案。另外,我怀疑这样做是否会有帮助,因为内核参数是这样写的: MODULE_PARM_DESC(enable_unsafe_noiommu_mode, "启用不安全、无 IOMMU 模式。此模式不提供设备隔离、DMA 转换、主机内核保护,不能用于将设备分配给虚拟机,需要 RAWIO 权限,并且会污染内核。如果你不知道这是做什么用的,请远离。(默认值:false)"); 能否确认一下,是否真的无法将 IMX95 SoC 与(安全的)PCI 直通一起使用?如果不是,那我到底漏掉了什么? 此致, -迈克尔 Re: imx95 and vfio_pci passthrough 您好, 感谢您的快速回复。但我不太确定我是否完全理解了。为了确保万无一失,我们不想使用 DPDK,而是使用通用的 qemu/kvm 虚拟机,并在其中传递 PCI 设备。这与 uio-pci-generic 框架有何关系? 谢谢, -迈克尔 Re: imx95 and vfio_pci passthrough 您好, 感谢您对恩智浦半导体产品的关注, 在这种情况下,你需要采纳我同事的回复,也就是 DPDK 团队的回复。唯一的替代方案就是回复中提到的那个: “如果客户希望将 SMMU 用于其他用例,但可以接受绕过 DPDK(不想在 bootargs 中使用 iommu.passthrough=1 或在 dts 中禁用 SMMU 节点)。 然后可以尝试绑定 uio-pci-generic 框架并禁用 VSI-PSI 消息传递(export ENETC4_VSI_MSG_DISABLE=1)。但是禁用 VSI-PSI 消息意味着用户将无法使用某些 ENETC 功能,例如混杂模式、VLAN MAC 过滤和链路信息。 此致 Re: imx95 and vfio_pci passthrough 您好, 关于这个话题有什么最新消息吗? 此致, -迈克尔
View full article
RT1160 Spread Spectrum crashing... Looking for help here, I've looked over all other forum posts, and followed everything I could find, but still getting crashes when trying to enable Spread Spectrum on a RT1160 MCU. As you can see from the screenshots, I've moved fsl_clock.o to RAM as well as *flexspi.o to RAM. You can see, using Segger Ozone, exactly where the crash occurs, along with the generated exception and exception register settings. Any idea what's wrong here? Re: RT1160 Spread Spectrum crashing... Hi @application_ninja, Although you've moved fsl_clock.o to RAM, the function SDK_DelayAtLeastUs() is located on fsl_common_arm.o, which is still flash resident. At least, all of the call chain that performs the change for the clock should be located on the internal RAM. This is why on AN12879 (How to Enable Spread Spectrum for RT Family) all of the code was loaded either on ITCM or DTCM. Re: RT1160 Spread Spectrum crashing... Thank you for the response, however moving fsl_common_arm.o still causes the device to crash. This time however it does get past "SDK_DelayAtLeastUs", but the crash is a very hard one and the debugger does not stop to note where the crash occurs. The program is quite large and I cannot run it all from ITCM / DTCM.
View full article
カーネル6.12を使用したimx93 lvds imx93カスタムボード上でLVDSディスプレイを動作させようとしています。このエラーで困っています。 imx-lcdif 4ae30000.lcd-controller: probe with driver imx-lcdif failed with error -2 トレースを追加すると、これはドライバのこのライン(関数lcdif_load)から来ます lcdif->clk_axi = devm_clk_get(drm->dev, "axi"); if (IS_ERR(lcdif->clk_axi)) return PTR_ERR(lcdif->clk_axi); つまり、「axi」クロックが見つからないようです。 私はカーネルのデバイスツリー、imx93.dtsiを使用しています。ベースとして、以下の行が含まれます。 clock-names = "pix", "disp-axi", "disp-apb"; assigned-clocks = <&clk IMX93_CLK_VIDEO_PLL>, <&clk IMX93_CLK_MEDIA_DISP_PIX>, <&clk IMX93_CLK_MEDIA_AXI>, <&clk IMX93_CLK_MEDIA_APB>; つまり、デバイスツリーとドライバの間には多少の矛盾があります。問題は、時計が正確かどうか、どの時計を使うべきか分からないことです。 6.18のブランチに何があるか確認しようとしましたが、この部分(LCDIFコントローラー)はIMX93.dtsiファイルから完全に消えてしまいました。 何かヒントはありますか? Re: imx93 lvds with kernel 6.12 わかりました。原因が一つ分かりました。これは間違ったドライバを使っていたことです。今はlcdif_v3ドライバなのでクロックの問題はありません。 一方で、この問題はまだあります IMX93-LDB LDB-Display-Controller: 4ae30000.lcd-controllerとデバイスリンク(0x180)を作成できません 何かヒントはありますか? Re: imx93 lvds with kernel 6.12 こんにちは、 @julienblanc お元気でお過ごしのことと思います。 まだ問題は解決していませんか? よろしくお願いいたします。 サラス。 Re: imx93 lvds with kernel 6.12 残念ながら、いいえ。 同じエラーが繰り返し発生します。私が試した設定方法は以下のとおりです。 backlight_lvds: backlight-lvds { compatible = "pwm-backlight"; status = "okay"; power-supply = <&display_power_12v>; brightness-levels = < 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100>; default-brightness-level = <30>; pwms = <&pwm_backlight 0 1000000 0>; }; pwm_backlight: pwm_gpio { compatible = "pwm-gpio"; #pwm-cells = <3>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_clko4_gpio>; gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; // gpio controller &gpio4, pin 29 status = "okay"; }; panel { compatible = "panel-lvds"; width-mm = <224>; height-mm = <126>; backlight = <&backlight_lvds>; status = "okay"; port { panel_in: endpoint { remote-endpoint = <&lvds_ldb_out>; }; }; panel-timing { clock-frequency = <72400000>; hactive = <1280>; vactive = <800>; hfront-porch = <72>; hback-porch = <88>; hsync-len = <20>; vfront-porch = <15>; vback-porch = <23>; vsync-len = <10>; de-active = <1>; pixelclk-active = <1>; }; }; &ldb { status = "okay"; lvds-channel@0 { #address-cells = <1>; #size-cells = <0>; status = "okay"; port@1 { reg = <1>; lvds_ldb_out: endpoint { remote-endpoint = <&panel_in>; }; }; }; &ldb_phy { status = "okay"; }; display_powerはExander上でGPIOを大量に消費します。 display_power_12v: gpio_regulator { gpio-hog; gpios = <12 GPIO_ACTIVE_HIGH>; output-high; label = "DISPLAY12V"; }; これは主にデバイスツリー内のいくつかの例から引用したものです。何が問題なのか、なぜディスプレイが表示されず、バックライトも表示されないのか分かりません。ソフトウェアGPIOではなくTPMを使うべきだと分かっていますが、それはハードウェアの修正が必要で、今は対応していて、それが問題だとは思いません。 ご支援ありがとうございます。 よろしくお願いいたします。 ジュリアン Re: imx93 lvds with kernel 6.12 興味のある方のために、ソフトPWMでもようやく動作させることができました。原因は以下のとおりです。 * カーネルコンパイル時に不足しているモジュール (CONFIG_BACKLIGHT_CLASS_DEVICE=y 、CONFIG_BACKLIGHT_PWM=y 、CONFIG_DRM_PANEL_LVDS=y ) バックライトは電源供給にレギュレータを使用する必要があります
View full article
imx93 lvds,内核版本 6.12 我正在尝试让 LVDS 显示屏在 imx93 定制板上工作。我遇到了这个错误: imx-lcdif 4ae30000.lcd-controller: probe with driver imx-lcdif failed with error -2 添加一些跟踪信息后,发现这是驱动程序中的这一行代码(在函数 lcdif_load 中)。 lcdif->clk_axi = devm_clk_get(drm->dev, "axi"); if (IS_ERR(lcdif->clk_axi)) return PTR_ERR(lcdif->clk_axi); 所以,它似乎找不到“axi”时钟。 我使用的是内核中的设备树,即 imx93.dtsi。作为基础,其中包括以下几行: clock-names = "pix", "disp-axi", "disp-apb"; assigned-clocks = <&clk IMX93_CLK_VIDEO_PLL>, <&clk IMX93_CLK_MEDIA_DISP_PIX>, <&clk IMX93_CLK_MEDIA_AXI>, <&clk IMX93_CLK_MEDIA_APB>; 所以这里设备树和驱动程序之间存在一些不一致之处。问题是我不知道这些时钟是否正确,也不知道我应该使用哪个。 我尝试查看 6.18 分支的内容,但是这部分(lcdif 控制器)已从 imx93.dtsi 文件中完全消失了。 有什么提示吗? Re: imx93 lvds with kernel 6.12 好的,找到一个原因了,这是因为使用了错误的驱动程序。现在,使用 lcdif_v3 驱动程序,不存在时钟问题。 另一方面,我仍然会遇到这个问题。 imx93-ldb ldb-display-controller:无法与 4ae30000.lcd-controller 创建设备链接 (0x180)。 有什么提示吗? Re: imx93 lvds with kernel 6.12 你好@julienblanc 希望你一切都好。 你的问题仍然存在吗? 顺祝商祺! 萨拉斯。 Re: imx93 lvds with kernel 6.12 很遗憾,不行。 我一直遇到同样的错误。以下是我尝试的配置方法: backlight_lvds: backlight-lvds { compatible = "pwm-backlight"; status = "okay"; power-supply = <&display_power_12v>; brightness-levels = < 0 5 10 15 20 25 30 35 40 45 50 55 60 65 70 75 80 85 90 95 100>; default-brightness-level = <30>; pwms = <&pwm_backlight 0 1000000 0>; }; pwm_backlight: pwm_gpio { compatible = "pwm-gpio"; #pwm-cells = <3>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_clko4_gpio>; gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; // gpio controller &gpio4, pin 29 status = "okay"; }; panel { compatible = "panel-lvds"; width-mm = <224>; height-mm = <126>; backlight = <&backlight_lvds>; status = "okay"; port { panel_in: endpoint { remote-endpoint = <&lvds_ldb_out>; }; }; panel-timing { clock-frequency = <72400000>; hactive = <1280>; vactive = <800>; hfront-porch = <72>; hback-porch = <88>; hsync-len = <20>; vfront-porch = <15>; vback-porch = <23>; vsync-len = <10>; de-active = <1>; pixelclk-active = <1>; }; }; &ldb { status = "okay"; lvds-channel@0 { #address-cells = <1>; #size-cells = <0>; status = "okay"; port@1 { reg = <1>; lvds_ldb_out: endpoint { remote-endpoint = <&panel_in>; }; }; }; &ldb_phy { status = "okay"; }; display_power 在 exander 上占用大量 GPIO: display_power_12v: gpio_regulator { gpio-hog; gpios = <12 GPIO_ACTIVE_HIGH>; output-high; label = "DISPLAY12V"; }; 这主要取材于设备树中的一些示例。我搞不清楚哪里出了问题,也不知道为什么显示屏无法启动,甚至连背光都打不开。我知道我应该使用 TPM 而不是软件 GPIO,但这需要硬件修复,目前我只能暂时这样处理,但我认为这并不是问题的根源。 感谢您的支持! 此致, 朱利安 Re: imx93 lvds with kernel 6.12 对于感兴趣的人,我终于让它运行起来了,即使是使用软PWM也是如此。原因如下: * 内核编译中缺少模块(CONFIG_BACKLIGHT_CLASS_DEVICE=y,CONFIG_BACKLIGHT_PWM=y,CONFIG_DRM_PANEL_LVDS=y) 背光灯必须使用稳压器供电
View full article
RT1170 support QSPI Flash (MX25L51245G ) Hi, Can RT1170 support MX25L51245G for QSPI flash? Do it need to modify the configuration file “evkmimxrt1170_flexspi_nor_config.c” to meet this chip? If so, how to modify it? Which parameters should be modified? Thanks for your support! Best regards, WJC Re: RT1170 support QSPI Flash (MX25L51245G ) Hello @jeremyzhou  We are using the MX25L51245G external flash and RT1176 and have implemented the configuration shown below. It works flawlessly in XIP mode, but I would like to get a validation from you as well. However, when running a multicore application in "Link application mode", the system hits a hardfault. Specifically, it triggers an assert due to the value read from the FlexCAN MCR register. I am attaching some screenshots and my lookup table below for your reference. M7 flash init(RAM): M4 flash init(RAM): hardfault for multicore(RAM): Here is the lookup table configuration designed to support the software running seamlessly in both RAM and XIP (Execute-in-Place) modes:   #define FLASH_DUMMY_CYCLES 0x08 const flexspi_nor_config_t qspiflash_config = { .memConfig = { .tag = FLEXSPI_CFG_BLK_TAG, .version = FLEXSPI_CFG_BLK_VERSION, .readSampleClksrc=kFlexSPIReadSampleClk_LoopbackFromDqsPad, .csHoldTime = 3u, .csSetupTime = 3u, .controllerMiscOption = 0x10, .deviceType = kFlexSpiDeviceType_SerialNOR, .sflashPadType = kSerialFlash_4Pads, .serialClkFreq = kFlexSpiSerialClk_133MHz, //okuma hatasi olursa kFlexSpiSerialClk_120MHz .sflashA1Size = 64u * 1024u * 1024u, //64MB //Her acilista QE = 1. ROM once WREN'i (seq 3) kendisi gonderir, sonra 4*12'yi 0x40 ile calistirir. //NXP RT1170 EVK'daki configCmd kalibinin aynisi .configCmdEnable = 1u, .configModeType[0] = kDeviceConfigCmdType_Generic, .configCmdSeqs[0] = {.seqNum = 1u, .seqId = 12u, .reserved = 0u}, //1 tane sequence calistir: 4*12 //asagiyi 0x20 yapinca calismadi dogrudan memory hatasinda patladi main'e gelmeden .configCmdArgs[0] = 0x40u, //WRITE_SDR'nin gonderecegi byte: SR = 0x40 .lookupTable = { [0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x6C, RADDR_SDR, FLEXSPI_1PAD, 0x20),//6Ch QREAD4B: komut ve 4 byte adres tek hattan (1-1-4) [1] = FLEXSPI_LUT_SEQ(DUMMY_SDR, FLEXSPI_4PAD, FLASH_DUMMY_CYCLES, READ_SDR, FLEXSPI_4PAD, 0x04),//8 dummy bekle, data 4 hattan [4 * 1 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x05, READ_SDR, FLEXSPI_1PAD, 0x04),//status regini 0x05'den okuyacam (WIP = bit0) [4 * 3 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x06, STOP, FLEXSPI_1PAD, 0x0),//write en ettim //asagidakini yoruma alinca gercekten silmedi [4 * 5 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x21, RADDR_SDR, FLEXSPI_1PAD, 0x20),//4 byte adress alarak 4 kb sector silecem [4 * 8 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xDC, RADDR_SDR, FLEXSPI_1PAD, 0x20),//64 kb block silecem(app'de kullanmiyoruz) [4 * 9 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x12, RADDR_SDR, FLEXSPI_1PAD, 0x20),//4 byte 1 page yazacam [4 * 9 + 1] = FLEXSPI_LUT_SEQ(WRITE_SDR, FLEXSPI_1PAD, 0x04, STOP, FLEXSPI_1PAD, 0x0),//datayi gonder ve bitir (WEL'i flash program bitince kendisi temizler) [4 * 11 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xC7, STOP, FLEXSPI_1PAD, 0x0),//tum flashi silecem(app'de kullanmiyoruz) [4 * 12 + 0] = FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0x01, WRITE_SDR, FLEXSPI_1PAD, 0x01),//WRSR + tam 1 byte (configCmdArgs[0]): sadece SR yazilir, CR'ye dokunmaz //seq 6/7 bos: ROM API suspend/resume kullanmiyor }, }, .pageSize = 256u, .sectorSize = 4u * 1024u, .ipcmdSerialClkFreq = 0x1, .blockSize = 64u * 1024u, .isUniformBlockSize = true, }; Re: RT1170 support QSPI Flash (MX25L51245G ) Hi, Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you. 1) Can RT1170 support MX25L51245G for QSPI flash? -- Yes. 2) Do it need to modify the configuration file “evkmimxrt1170_flexspi_nor_config.c” to meet this chip? -- Yes, please refer to the below code. const flexspi_nor_config_t qspiflash_config = { .memConfig = { .tag = FLEXSPI_CFG_BLK_TAG, .version = FLEXSPI_CFG_BLK_VERSION, .readSampleClksrc=kFlexSPIReadSampleClk_LoopbackFromDqsPad, .csHoldTime = 3u, .csSetupTime = 3u, // Enable DDR mode, Wordaddassable, Safe configuration, Differential clock .sflashPadType = kSerialFlash_4Pads, .serialClkFreq = kFlexSpiSerialClk_100MHz, .sflashA1Size = 64u * 1024u * 1024u, .lookupTable = { // Read LUTs FLEXSPI_LUT_SEQ(CMD_SDR, FLEXSPI_1PAD, 0xEB, RADDR_SDR, FLEXSPI_4PAD, 0x20), FLEXSPI_LUT_SEQ(DUMMY_SDR, FLEXSPI_4PAD, 0x06, READ_SDR, FLEXSPI_4PAD, 0x04), }, }, .pageSize = 256u, .sectorSize = 4u * 1024u, .blockSize = 256u * 1024u, .isUniformBlockSize = false, }; Have a great day, TIC ------------------------------------------------------------------------------- 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