Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
FRDM-IMXRT1186 以太网指示灯不亮 您好, 我正在使用 FRDM-IMXRT1186 板(PCB Rev A,SCH Rev A3),带有 J56A ETH0 以太网接口。以太网本身可以正常工作,速度为 1 Gbps,但两个 RJ45 指示灯仍然熄灭。 PHY 芯片为 YT8531SH-CA,地址为 5。我还尝试手动强制设置 PHY LED 寄存器,但 LED 仍然不亮。 我使用官方 MCUXpresso SDK lwIP HTTP 服务器示例重现了同样的情况:服务器和以太网工作正常,但 RJ45 LED 指示灯仍然熄灭。 这是该电路板版本已知的问题吗?或者 J56A LED 是否需要任何 PHY 配置或硬件变通方法? i.MXRT Re: FRDM-IMXRT1186 Ethernet LEDs not working HI 感谢您提供如此详细的信息。根据您描述的情况,以太网链路和数据通信运行正常,但 J56A 接口上的 LED 指示灯未亮起。 感谢您提供的详细反馈。我们已注意到所报告的行为。 此致, 巴勃罗
View full article
S32 Design Studio バージョン v.3.5 ライセンス こんにちは、NXPサポートチームの皆さん、 私のS32 Design Studio バージョン3.5のライセンスは2026年10月19日に期限切れとなりました。ライセンス延長を手伝ってもらえますか? 起動コード:30E0-0F7D-F883-9AFB サポートありがとうございます。 Eclipse IDEの使用と設定
View full article
Clock - power relationship : MIMXRT685 - EVK Hello,  For an application I'm shooting the core clock frequency to max possible, i.e., 297MHz from the default 250 MHz. I wanted to know what implications it causes from the power perspective. Although nothing breaks right now, from the static characteristics from the datasheet, I think I need to make some changes, to avoid future hardfaults. I would really appreciate some guidance here.  Thanks in advance! Shri Re: Clock - power relationship : MIMXRT685 - EVK Hi @shri00 , Thank you so much for your interest in our products and for using our community. For 297 MHz operation on the MIMXRT685-EVK, please check the VDDCORE voltage as well as the clock configuration. The fact that the board currently runs without faults does not necessarily mean that VDDCORE meets the operating requirements for your target frequency and temperature range.   When increasing the clock frequency, first set VDDCORE to the level required for the target frequency, and then switch to the higher frequency.   For the relationship between VDDCORE and clock frequency, please refer to Tables 20 and 21 of the RT600 data sheet. Dual-core microcontroller with 32-bit Cortex®-M33 and Xtensa HiFi4 Audio DSP CPUs Have a nice day. Best Regards May Liu
View full article
GenAVB_TSN-rtos-apps RT1180 tsn_app プロジェクトのビルド問題 私は https://github.com/NXP/GenAVB_TSN-rtos-apps のリポジトリを基にTSNデモをセットアップしています。そして、 https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/Step-by-Step-Guide-to-Running-the-GenAVB-TSN-Stack-FreeRTOS/ta-p/2390969のステップバイステップガイドに従いました。厳密に。 しかし、プロジェクトをインポートした後、プロジェクトオプションには ram_release ビルド構成のみが表示され、 release_no_enetc0はないため、フラッシュプログラムができません。インポート処理を何度もやり直しましたが、結果は変わりません。 私はNXP_GenAVB_TSN_MCUXpresso_User_s_Guide_8_0_rev0.pdfに従ってプロジェクトをインポートし、対応するセットアップスクリプトも実行しました。どなたか、この問題の原因を教えていただけませんか? Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem @ChandlerY様、 GitHubで8_0ブランチを選択してください。 https://github.com/NXP/GenAVB_TSN-rtos-apps/tree/8_0 このブランチのREADMEファイルには、サポートされていることが明記されています。 よろしくお願いします、 シェリー Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem こんにちは、シェリーさん。 ご返信ありがとうございます! 手順を全て繰り返しましたが、問題は依然として解決していません。私は最新バージョンのVS Codeと最新のMCUXpressoインストーラーを使用しています。 以下に、私の製作手順を記載します。必要な手順を見落としていないか、手伝ってもらえますか?ありがとう。 1. SDKをインポートする( 8_0_0 と 8_0の両方試しました) 2. パッチスクリプトを実行します(ファイル《NXP_GenAVB_TSN_MCUXpresso_User_s_Guide_8_0_rev0》が必要です)。 1)  cd E:\111\genavb_tsn_rtos_apps_800\GenAVB_TSN-rtos-apps\scripts 2) ブートストラップ.bat   そして、それは正常に実行されました。   3.プロジェクトをインポートする 4.プロジェクトで利用できるビルド構成はまだ2つしかありません。 さらに、コマンドラインでプロジェクトのコンパイルやデバイスのフラッシュができ、プログラミング後に通常のログ出力も確認できます。しかし、このワークフローは日常的な開発には十分便利とは言えません。IDE内でワンクリックでコンパイル&フラッシュできる機能と、ビルド構成を選択できる機能があればいいのですが。どうすればこの問題を解決できるか、ぜひ教えていただけますか? お早めにご回答いただけると幸いです。 Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem @ChandlerY様、 ご辛抱いただきありがとうございます。 リポジトリから最新のコードを取得し、私の環境でも同様の問題を再現することができました。現時点では、根本原因はまだ不明である。これは、VS Codeの表示設定とツール構成の間に何らかの不整合があることに関係している可能性があります。 一時的な回避策として、 west build コマンドを使用してプロジェクトを作成/ビルドしてください。例えば: west build -p always boards/src/demo_apps/avb_tsn/tsn_app --toolchain armgcc --config release_no_enetc0 -b evkmimxrt1180 -Dcore_id=cm33 私たちはこの問題について引き続き調査を進めていきます。   よろしくお願いいたします。 シェリー Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem @ChandlerY様、 問題の原因を特定しました。これは新しいバージョンのMCUXpresso for VS Codeに関連しているようです。 バージョン26.5.57にロールバックした後、利用可能なビルド構成はすべて正しく確認できます: 下記のスクリーンショットを参照し、バージョン26.5.57にロールバックしてください。拡張機能ビューから:   また、TSNアプリケーションは現在フリースタンディングアプリケーションをサポートしていません。代わりにリポジトリアプリケーションをご利用ください。 よろしくお願いします、 シェリー Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem 親愛なるシェリーへ、 ご返信ありがとうございます。さらに、もう一つ問題があります。プロジェクトをインポートする際、ビルドは「 リポジトリアプリケーション 」をアプリタイプとして選択した場合のみ成功します。スタンドアロンアプリケーションか独立アプリケーションのどちらかでビルドすると失敗します。この問題の解決も手伝っていただけませんか?ありがとう。 Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem @ChandlerY様、 回避策がうまくいったようで良かったです。 問題点とご要望の両方を社内チームに共有し、さらなる検討を依頼しました。 その間、TSNアプリケーションは主に機能テストと評価を目的としていることにご注意ください。実際の製品開発には、独自のスタンドアロンアプリケーションプロジェクトを作成し、必要なTSN機能を移植することをお勧めします。 よろしくお願いします、 シェリー Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem こんにちは、シェリーさん。 あなたの解決策を試してみました。うまくいきました!どうもありがとう。 VS Code 用の新しいバージョンの mcuxpresso でこの問題を修正する際には、その旨をお知らせください。 リポジトリアプリケーションタイプに限定されているため、プロジェクトの変更や移植には不便です。FUTUREのリリースでスタンドアロンアプリケーションタイプのサポートを導入する予定はありますか?
View full article
GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem I am setting up a TSN demo based on the repository at https://github.com/NXP/GenAVB_TSN-rtos-apps, and I have followed the step-by-step guide at https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/Step-by-Step-Guide-to-Running-the-GenAVB-TSN-Stack-FreeRTOS/ta-p/2390969 strictly. However, after importing the project, only the ram_release build configuration is available in the project options,no release_no_enetc0,so it can not program to flash. I have retry the import process many times, but the outcome stays the same. I imported the project in accordance with NXP_GenAVB_TSN_MCUXpresso_User_s_Guide_8_0_rev0.pdf, and also executed the corresponding setup scripts. Could anyone please help figure out what is causing this issue? Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem Dear @ChandlerY , Please make sure to select the 8_0 branch on GitHub: https://github.com/NXP/GenAVB_TSN-rtos-apps/tree/8_0 The README file for this branch explicitly states that it is supported:  Best Regards, Shelly Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem Hi,shelly,    Thanks for your reply! I have repeated the whole process, but the issue still persists. I am using the latest version of VS Code and the latest MCUXpresso installer. My build steps are listed below. Could you please help check if I have missed any required steps? Thank you. 1. Import the SDK(I have tried both 8_0_0 & 8_0) 2.Execute the patch scripts(file《NXP_GenAVB_TSN_MCUXpresso_User_s_Guide_8_0_rev0》 required) 1)  cd E:\111\genavb_tsn_rtos_apps_800\GenAVB_TSN-rtos-apps\scripts 2) bootstrap.bat   and it excute successfully.   3.import the project 4.There are still only two build configurations available for the project Additionally, I am able to compile the project and flash the device via the command line, and normal log output can be observed after programing. However, this workflow is not convenient enough for daily development. I would prefer to have the one-click compile-and-flash functionality with selectable build configurations in the IDE. Could you please help how to resolve this? I would appreciate your early response. Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem Dear shelly,       thanks for your reply. In addition, I have another issue. When importing the project, the build can only succeed when Repository application is selected as the App type. Builds with either standalone application or freestanding application will fail. Could you please help resolve this problem as well? Thank you. Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem Dear @ChandlerY , Thank you for your patience. I pulled the latest code from the repository and was able to reproduce the issue on my side. At this moment, the root cause is still unclear. It may be related to some inconsistency between the VS Code display settings and the tool configuration. As a temporary workaround, please use the west build command to create/build the project. For example: west build -p always boards/src/demo_apps/avb_tsn/tsn_app --toolchain armgcc --config release_no_enetc0 -b evkmimxrt1180 -Dcore_id=cm33 We will continue to follow up on this issue.   Best Regards, Shelly Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem Dear @ChandlerY , We have identified the cause of the issue. It appears to be related to the newer version of MCUXpresso for VS Code. After rolling back to version 26.5.57, I can see all the available build configurations correctly: Please refer to the screenshot below and roll back to version 26.5.57 from the Extensions view:   Also, the TSN application currently does not support Freestanding Application. Please use Repository Application instead. Best regards, Shelly Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem Hi,shelly,     I have tried your solution,it works! Thanks a lot.     Please tell me when fixing this problem at the newer version of mcuxpresso for vscode.      Limited exclusively to the Repository Application type is inconvenient for project modification and porting. Are there any plans to introduce support for the Standalone Application type in future releases? Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem Dear @ChandlerY , Glad to hear that the workaround works for you. I have shared both the issue and your request with our internal team for further consideration. In the meantime, please note that the TSN application is primarily intended for feature testing and evaluation. For actual product development, we recommend creating your own standalone application project and porting the required TSN functionality to it. Best regards, Shelly
View full article
ホールセンサーベースのモータ制御リファレンスウェアおよびトレーニング・マテリアルの要請 NXPチームの皆様へ 私たちは、24V、3.47Aモーターを用いた空冷システムを開発するお客様と協力しています。 センサーレスFOCベースのモータ制御を用いたデモンストレーションを成功裏に完了しました。顧客は現在、FRDM-MCXA156 EVK(制御カード)とFRDM-MC-LVPMSM(電源カード)を用いてローター位置検出用のホールセンサーを統合したいと考えています。 このハードウェアの組み合わせでホールセンサーベースのモーター制御を実装するための適切なリファレンスファームウェアやアプリケーション例を教えていただけますか? GitHubで公開されているLPC55S36用のホールセンサー搭載BLDCモーターのサンプルコードを確認しました。 しかし、この例に対応するFreeMASTER設定ファイル(.pmpx)を見つけることができませんでした。 以下の点についてご協力いただけますか? FRDM-MCXA156とFRDM-MC-LVPMSMのホールセンサー統合に関するリファレンスファームウェア。 利用可能な場合は、対応するFreeMASTERプロジェクト/設定ファイル(.pmpx)。 既存のセンサーレスFOCプロジェクトにホールセンサーフィードバックを統合するための関連するアプリケーションノート、トレーニング・マテリアル、または実装ガイド(FRDM-MCXA156 EVKに基づくもの。 技術的なご指導やご提案をいただければ大変ありがたく存じます。 よろしくお願いします ダルシャン・J・L WPGインド ボード設計 開発ボード FRDMトレーニング ハンズオン・トレーニング MCXA モータ制御 Re: Request for Hall Sensor-Based Motor Control Reference Firmware and Training Material こんにちは、 @Darshan_J_L さん。 投稿ありがとうございます。 MCUXpresso SDKには複数のモーター制御の例プロジェクトが含まれています。FRDM-MCXA156の詳細については、次のページでご覧いただけます。 MCUXpresso モータ制御用SDK |NXP Semiconductors。   FRDM-MCXA156 + FRDM-MC-LVPMSM の組み合わせのpmsm_enc例はSDK v25.06にあります。センサーレスおよびセンサー付きFOCをサポートし、pmsm_float_enc.pmpx FreeMASTERプロジェクトを含んでいます。ご参照くださいUG10247.pdf 詳細については、こちらをご覧ください。   デモ用の対応するFreeMASTER設定ファイル(.pmpx)については、こちらLPC55S36:an-lpc55s36_mc_bldc_whall/LPC5536_mc_bldc_wHall.pmpx at main · nxp-appcodehub/an-lpc55s36_mc_bldc_whall ·GitHub   お役に立てば幸いです。他に何かご質問がありましたら、お気軽にお知らせください。   BR セレステ    
View full article
How many Quadrature encoder inputs can an S32K44 and an S32K388 support? I found https://community.nxp.com/t5/S32K/Quadrature-decoder-on-S32K344/m-p/1507580 as well as the application notes on https://www.nxp.com/design/design-center/development-boards-and-designs/MCSPTE1AK344 but I'm struggling to pin down how many quadrature encoders I could instantiate. I have an application where, ideally, I would be able to have 4 independent quadrature decoders. Would either the S32K344 or the S32K388 support that? Re: How many Quadrature encoder inputs can an S32K44 and an S32K388 support? Hello, The S32K3 family does not include a dedicated quadrature decoder peripheral. Instead, the quadrature decoder functionality is implemented using a combination of the LCU, TRGMUX, and eMIOS modules. This is the approach described in the S32K3 Reference Manual and the motor-control example referenced in the community thread. According to the Reference Manual, the incremental encoder example requires two Logic Cells (LC0 and LC1) for a single quadrature decoder implementation. The S32K344 and S32K388 devices provide two LCU instances. However, I have also asked motor control team to provide the feedback. I will update you ASAP. Best regards, Peter Re: How many Quadrature encoder inputs can an S32K44 and an S32K388 support? Hello, Update: Based on the implementation described in the NXP example, the practical limit is three independent quadrature decoders on both S32K344 and S32K388. This solution consumes: 6 TRGMUX input pins (3 × A/B encoder inputs), 6 eMIOS channels capable of MCB operation (for example eMIOS0 CH1-CH6), 3 Logic Cells (one LCU instance). Therefore, three encoder instances can be implemented directly using the demonstrated architecture. A fourth encoder is not directly supported by the same resource mapping. The main limitation is the availability of suitable eMIOS channels operating in MCB mode together with the required signal routing through TRGMUX and LCU. A possible workaround may exist by using the remaining G-type channel (e.g. CH7) together with an X-channel and routing the LCU output externally through a device pin back into the eMIOS X input. For example, on S32K344, PTB2 can be configured as both LCU1_OUT3 and eMIOS0_CH8_X, effectively creating an external loopback path. However, this approach consumes an additional package pin and is not part of the standard demonstrated solution. As a result, 3 quadrature decoders are straightforwardly achievable, while a 4th decoder would require an alternative routing scheme or custom workaround and should be evaluated against the overall pin and peripheral resource usage. Best regards, Peter Re: How many Quadrature encoder inputs can an S32K44 and an S32K388 support? For my application, I don't really need the eMIOS-based interpretation which counts using the timer - I really only need to have the encoder counts available. Is there any configuration which would support having 8 TRGMUX inputs and 4 LCU cells leading to something which just counts up and down?
View full article
IMX8mp gstreamer vpuenc_h264 プロファイルとレベルを設定 当社では、カスタムボード上にIMX8mpを搭載し、NXP Yocto Hardknottをベースプラットフォームとして使用しています。 ハードウェアH264エンコーダーであるvpuenc_h264プラグインを使用して、カメラストリームをH264/MP4に圧縮/エンコードしています。 基本的な例としては、次のようなものがあります。 gst-launch-1.0-v videotestsrc num-buffers=100 !video/x-raw、幅=720、高さ=576、フレームレート=25/1 !vpuenc_h264 !video/x-h264,profile=main !h264parse !mp4mux fragment-duration=10 !filesink location=/tmp/Video1.mp4 しかし、vpuenc_h264 は profile= および level= ストリームパラメータを無視するようです。imx-gst1.0-plugin を見てみるとコードには、H264プロファイルを設定する機能がないようです。 GStreamerのパラメータを使用してH264ハードウェアエンコーダのプロファイルを設定する機能はありますか? インターネットで、この設定をVPUのハードウェアレジスタにハードコーディングする必要があることを示唆する情報を見かけたのですが、実際はどうなのでしょうか? 代替案(コミュニティ?)があることに気付いた。gstreamer1.0-plugins-imxこのプラグインはプロファイルとレベルをサポートしているようです。これは、NXP fsl-nxp-bsp-hardknott Yoctoビルドのソフトウェアモジュール/カーネルでは使用できないということでしょうか? Re: IMX8mp gstreamer vpuenc_h264 set profile and level 裏付けとなるご意見をありがとうございます。 私も同様に、v4l2-ctl -d /dev/video1 --all がこれらのエンコーダーパラメータに関して誤解を招くような表示をしており、変更可能であるかのように誤って示唆し、「high」がデフォルトのプロファイルであるかのように見せかけているのを目にしました。 Re: IMX8mp gstreamer vpuenc_h264 set profile and level はい、ご指摘ありがとうございます。 NXPの公式ドキュメントは通常入手困難なため、インターネット検索やコードの確認を通して私が収集した情報を他のユーザー向けに以下にまとめました。 H264エンコーディングプロファイルは、vpu_wrapper内でBaselineにハードコーディングされています。例えばこれをMainlineに変更すると(vpu_wrapperを再構築する)、H264ストリームがMainlineとしてマークされます。実際の圧縮率が異なるかどうかは分かりません。 レベルは、ビデオの解像度に基づいてvpu_wrapperによって設定されます。このレベルをH264ストリームにタグ付けする以外に、何か影響があるかどうかは分かりません。どうやら、vpu_wrapperの古いバージョンには、このレベルを誤って設定するバグがあったようです。 ビットレートを指定しない場合、少なくともgstreamerのvpuenc_h264レベルでは、結果として得られるストリームのビットレートは非常に低くなり、したがって非常に低品質になります(少なくとも私たちのビデオストリーム(通常は静止画で、時折動きがある)の場合)。ビットレートを設定しない場合、H264エンコーダーは私が知らない何らかの可変ビットレートアルゴリズムを使用することになります。 NXPへのフィードバック: H264エンコーダーのプロファイル、レベル、ビットレートに関するドキュメントが必要であり、おそらく「i.MX Linuxリファレンスマニュアル」または他の場所に記載されているでしょう。 NXPのgstreamer vpuenc_h264コードは、gst-inspect-1.0でモジュールに関する情報を一覧表示する際に、この点について言及すべきです。なぜなら、多くのエンドユーザーがこのレベルで作業を行うからです。 Re: IMX8mp gstreamer vpuenc_h264 set profile and level こんにちは、 @TerryBarnaby1 さん。 お元気でお過ごしでしょうか。   関連情報については、下記のスレッドをご覧ください。 https://community.nxp.com/t5/ i-MX-プロセッサ/Encoding-H-264-amp-H-265-using-vpu-wrapper-h/mp/1347610   この情報がお役に立てば幸いです。   ありがとう、よろしく。 ドゥルヴィット・ヴァサヴァダ Re: IMX8mp gstreamer vpuenc_h264 set profile and level 同様に、デバイスはforce_key_frame ( V4L2_BUF_FLAG_KEYFRAME )が使用可能であると誤って宣伝しているようですが、実際には、私がそれを送信してもVPUによって完全に無視されているようです。 Re: IMX8mp gstreamer vpuenc_h264 set profile and level 関連して、NXPが私たちに嘘をついている別のCASEを見つけました:video_peak_bitrateは完全に無視されているのです!
View full article
需要MBD职业建议 5年前我开始从事汽车软件的基于模型的设计工作,现在我觉得这份工作非常单调,而且在工具方面也没有太多学习机会,你是如何应对这种情况的? 我每月可能参与的工作量可能是:10% 用于 Simulink 建模,50% 用于测试这些模型和报告,其余时间用于手动编写合规性文档。
View full article
故障したimxrt1024ボードを復旧する 1枚の基板が故障してしまい、以下の手順で復旧を試みました。 1. ブートモードをシリアルダウンローダーモードに変更します。 2. UART経由でチップを消去し、その後、正常なブート可能なイメージ(led_blinky)をフラッシュします。 3. ブートモードを再度変更しますが、デバイスは復旧しません。 j-link commanderを使っていますが、この問題が発生しています 「ロードビン」:MCUの暗黙のリセットおよび停止を実行すること。 ResetTarget() 開始 フラッシュ画像の検証でコアは停止しませんでした。フラッシュ設定の誤りを想定します。 ターゲットを手動で停止します。 ResetTarget() 終了 - 329ms かかりました デバイス固有のリセットが実行されました。 AfterResetTarget() 開始 MPUは有効化されていましたが、現在は無効化されています。 AfterResetTarget() 終了 - 2.92ms かかりました ファイル [C:\M7Binaties Prep\Secure Boot extebeded implementation\M7SafetBoot+Combined_SignedPackage.bin] をダウンロードしています... フラッシュメモリのプログラミング中にエラーが発生しました: プログラミングに失敗しました。 さらに、もう一つ気づいた点があります。 1. デバイスをシリアルダウンローダーモードに設定します。 2. LED点滅画像を点滅させる。 3. 画像をシリアルモードのみで読み返す 4. バイナリが正常にフラッシュされているのが確認できます その後、内部起動モードに切り替えました 5. J_Flashで読み返すと、フラッシュ全体の領域が0になります 今どうすればいいのか、なぜ回復できないのか Re: Recover bricked imxrt1024 board こんにちは、 @Abhay2080 さん。 より良くサポートするために、以下の詳細を教えていただけますか? 現在、カスタムボードをお使いですか、それとも弊社のEVKをお使いですか? LED点滅のサンプルは、点滅させる前に変更されましたか? この機器で以前にヒューズが焼損したことはありますか? J-Linkのログを見ると、署名付きイメージをフラッシュしようとしているようです。このマザーボードで以前にセキュアブートが有効になっていたことはありますか? 現在、セキュアプロビジョニングツールを使用してイメージの書き込みと一括消去を実行していますか? 「 ターゲットプロセッサとの接続 」機能を使ってデバッガ接続をテストして、結果を教えていただけますか? BR ハビブ Re: Recover bricked imxrt1024 board 1. カスタムボード。 2. LED点滅は変更されていません。私の作業中のプロジェクトでも試してみました。 3. はい、デバイスでHABが有効になっています。SEC_CONFIGとSRK_HASHは融合されています 4. はい、HABは有効になっています。 5. はい、SPTは使用されています。 6. はい、ターゲットに接続できます Re: Recover bricked imxrt1024 board こんにちは、 @Abhay2080。 HABが有効であるため、イメージは秘密鍵で署名され、対応する公開鍵をプログラムイメージ内に含めなければなりません。これはリファレンス・マニュアルの第9.2章「概要」に記載されています。参照ハッシュ値とフラッシュでソフトウェアから計算された現在のハッシュ値との比較が一致しない場合、または画像に署名されていない場合、認証が失敗し、RMの第7.3.1章「HABプロセスフロー」に記載されているようにデバイスが起動しません。 LEDの点滅サインを正しいキーで点滅させているか確認していただけますか?また、この画像に署名した手順とHABを有効にした方法を教えていただけますか? また、HABを有効にした直後にエラーが発生したのかも教えてもらえますか? BR ハビブ Re: Recover bricked imxrt1024 board こんにちは@Habib_MS  HABが有効になっているので署名済みイメージのみが起動できることは理解していますが、問題は画像をフラッシュできないことです。 また、SPT を使用してフラッシュを消去しているときに、フラッシュ領域全体 4MB を選択しているにもかかわらず、ログに「検出された消去可能なブロック サイズ: 0x1000」と表示されるという観察結果があります。スクリーンショットを添付しましたのでご確認ください。 さらに、署名付きLED点滅イメージも試しましたが、それでもボードは復旧しませんでした。 Re: Recover bricked imxrt1024 board こんにちは、 @Abhay2080 さん。 この消去可能ブロックサイズは、最小の消去可能ブロックサイズを定義します。この値は、FCBが利用可能な場合はFCBから、FCBを使用しないメモリの場合はブートメモリ構成から読み取られます。Flash Programmerのセクションで説明したとおりです。SPTはメモリ全域のすべてのセクターを消去するため、4MBのフラッシュ全体が消去されます。 問題がJ-Flashプログラミングアルゴリズムに関連しているかどうか判断するために、認証済み (HAB)イメージの起動 手順を事前に構築された.s19を使用してご確認いただけますか「mimxrt1024evk_iled_blinky_flash.s19」というファイルが正しいキーで署名されているか確認して、結果を教えてください。 BR ハビブ Re: Recover bricked imxrt1024 board こんにちは、 @Habib_MS さん。おっしゃる通り、iled_blink.s19 署名付きイメージを試して、イメージを書き込んでみました。以下は私が実行した手順です イメージを書き込んだのですが、J-flashを使ってバイナリをフラッシュすることができません。
View full article
Correct snvs_cfg values for TAMPER_OUT0/TAMPER_IN4 active tamper loop on i.MX8DXL EVK (J20) Hi, I'm validating the external active-tamper loop on the i.MX8DXL EVK (MCIMX8DXL-WEVK) via U-Boot. From the board schematic, I've confirmed J20 (TAMPER header, 1x3) is wired as: - Pin 1 = TAMPER_IN4 (net SNVS.TAMPER_IN4, ball AJ13) - Pin 2 = GND - Pin 3 = TAMPER_OUT0 (net SNVS.TAMPER_OUT0, ball AP22) These are dedicated SNVS pins, not shared with SAI2/SAI3 like TAMPER_OUT1-4/IN0-3. Available U-Boot commands: tamper_pin_cfg, snvs_cfg (with sub-registers hp.lock, hp.secvio_intcfg, hp.secvio_ctl, lp.lock, lp.secvio_ctl, lp.tamper_filt_cfg, lp.tamper_det_cfg, lp.tamper_det_cfg2, lp.tamper_filt1_cfg, lp.tamper_filt2_cfg, lp.act_tamper1_cfg through lp.act_tamper5_cfg, lp.act_tamper_ctl, lp.act_tamper_clk_ctl, lp.act_tamper_routing_ctl1, lp.act_tamper_routing_ctl2), snvs_sec_status, snvs_clear_status. Since TAMPER_OUT0/TAMPER_IN4 form an active tamper pair, my questions: 1. Which lp.act_tamperN_cfg channel (1-5) corresponds to TAMPER_OUT0? 2. What values for lp.act_tamper_routing_ctl1/routing_ctl2 route TAMPER_OUT0's pattern to be checked against TAMPER_IN4? 3. What value for lp.act_tamper_clk_ctl enables the pattern clock for this channel? 4. What value for lp.act_tamper_ctl globally enables active tamper detection for this channel? Goal: closing a jumper across J20 pins 1-3 should read as secure in snvs_sec_status, and opening it should trigger a violation. I've attempted several values on hardware (routing 4, 5, 10; various clock/detector settings) — all were either rejected by the SECO firmware (error res:9 / SC_ERR_PARM) or accepted with no observable change in snvs_sec_status's SNVS a4(1) (LPTDSR) register when physically toggling the loop. Is there a reference test procedure or app note for external active tamper validation on i.MX8DXL? Thanks! Re: Correct snvs_cfg values for TAMPER_OUT0/TAMPER_IN4 active tamper loop on i.MX8DXL EVK (J20) Hello, 1. lp.act_tamper1_cfg drives TAMPER_OUT0. 2. The i.MX8DXL SNVS has 5 Active Tamper (AT) output sources and up to 8 External Tamper (ET) input detectors. Please use this configuration: lp.act_tamper_routing_ctl1 = 0x00010000 # ET5 (TAMPER_IN4) to AT1 (TAMPER_OUT0) lp.act_tamper_routing_ctl2 = 0x00000000 # ET6-ET8 not used 3. That value changes the clock divider, use 0x00 for maximum frequency configuration. lp.act_tamper_clk_ctl = 0x00000000 4. Use lp.act_tamper_ctl = 0x00010001: Bit 0: AT1EN enable AT1 LFSR pattern generator Bit 16: AT1_OUT_EN drive TAMPER_OUT0 pad with AT1 pattern There is no application note available for this processor but you can use this from an i.MX7 that can be used as reference: /* Config ET5 (pin in et4) <-> (pin out et5) AT 1 * /* reset */ write32(0, &svregs->lp.act_tamper_clk_ctl); write32(0, &svregs->lp.act_tamper_ctl); write32(0, &svregs->lp.tamper_det_cfg); write32(0, &svregs->lp.tamper_det_cfg2) /* Deault value for LFSR */ write32(0x84000000 | 0x00001111, &svregs->lp.act_tamper1_cfg) /* Set the clock at max freq */ write32(0x00000000, &svregs->lp.act_tamper_clk_ctl); /* ET5 (pin et4) takes ref from AT1 (pin et5) */ write32(0x00010000, &svregs->lp.act_tamper_routing_ctl1); write32(0x0, &svregs->lp.act_tamper_routing_ctl2) /* activate out pad of AT1 and enable it, AT1 output on pin et5 */ write32(0x00010000 | 0x00000001, &svregs->lp.act_tamper_ctl) /* Configuring IRQs and secviols */ write32(0x8000003f, &svregs->hp.secvio_intcfg); write32(0x4000003f, &svregs->hp.secvio_ctl); write32(0x0000003f, &svregs->lp.secvio_ctl) /* Activating detector for ET5 */ write32(0x00000000, &svregs->lp.tamper_det_cfg); write32(0x00000004, &svregs->lp.tamper_det_cfg2); Best regards. Re: Correct snvs_cfg values for TAMPER_OUT0/TAMPER_IN4 active tamper loop on i.MX8DXL EVK (J20) Thank you for the configuration. I applied it exactly on a fresh power cycle: snvs_dgo_cfg 0 0 20000000 0 80000000 0 snvs_cfg 0 8000003f 4000003f 0 3f 0 0 4 0 0 84001111 0 0 0 0 10001 0 10000 0 Readback matches your values: SNVS e8(2) = 00010000 00000000, SNVS 48(2) = 00000000 00000004, SNVS e0 = 00010001, DGO 20 = 20000000, DGO 40 = 80000000. Result: LPTDSR (SNVS a4) = 00000004 (ET5D set). It reads 00000004 both with no jumper and with an insulated jumper connected between J20 pin 1 (TAMPER_IN4) and pin 3 (TAMPER_OUT0). It also stays 00000004 after snvs_clear_status 107ff ff. So detection asserts with the loop open, but I never get a clean 00000000 state with the loop closed. Questions: 1. Does the TAMPER_OUT0 / TAMPER_IN4 loop on this EVK need a pad or pull setting (for example DGO tamper_pull_ctl), or a different act_tamper_clk_ctl value, for a wired-jumper loop? 2. Is snvs_clear_status expected to clear LPTDSR while the tamper condition is still present? 3. Is any other setting needed for the loop to be seen as closed? Thanks again. Re: Correct snvs_cfg values for TAMPER_OUT0/TAMPER_IN4 active tamper loop on i.MX8DXL EVK (J20) Following up on our last update on this case (Project: Cryptographic Module). We have reviewed the setup with our team lead. We verified the hardware (J20 pin mapping from schematic SCH-54318, jumper loop between pin 1 and pin 3) and the SNVS configuration (register readback matches the values you gave). We also followed the sequence you shared, which is based on the i.MX7 reference. The result is unchanged: - Active configuration: LPTDSR (SNVS a4) = 0x00000004 (ET5D) and it does not clear, with or without the jumper. - Passive ET5 tests: a4 does not change with the pin level. We would appreciate your help with three points: 1. Could you please answer the questions in our previous update (passive ET5 enable and polarity settings, DGO settings, and how to confirm that AT1 is toggling)? 2. Could you please share the i.MX 8DXL Security Reference Manual (at least the SNVS tamper chapters), or tell us the process to get access, including any NDA requirement? 3. Do you have a sample U-Boot command sequence that has been verified on the i.MX8DXL EVK? Thank you for your support. Re: Correct snvs_cfg values for TAMPER_OUT0/TAMPER_IN4 active tamper loop on i.MX8DXL EVK (J20) Hello,  Please refer to the attached validated tamper test procedure on i.MX8DXL board and the corresponding active/passive tamper logs. You can also refer to the uboot source code for examples of how the SNVS registers are configured for active and passive tamper.  https://github.com/nxp-imx/uboot-imx/blob/lf_v2026.04/arch/arm/mach-imx/imx8/snvs_security_sc_conf_8dxl_evk.h Please note that the TAMPER_IN4 is mapped to ET7 rather than ET5. When using TAMPER_IN4  for passive/active tamper tests,  ET7 detections need to be enabled accordingly. I don't expect the SECO/SCFW version to have a big impact, please try the provided configuration and test steps and see if it works for you. Regarding how to get access to security reference manual, please request it on the next link. Best regards.
View full article
Mbd Career Advice needed I started my career on Model Based Design of Automotive software 5 years ago and now I feel that its very monotonous and not much learning on the tools side, how have you tackled this situation? The quantum of work that I might be involved in a monthly basis might be 10% on simulink modelling , 50% on testing these models and reporting and the rest on manual compliance docs.
View full article
GenAVB_TSN-rtos-apps RT1180 tsn_app 项目版本问题 我正在基于https://github.com/NXP/GenAVB_TSN-rtos-apps上的代码库搭建一个 TSN 演示程序。我已按照https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs-Knowledge/Step-by-Step-Guide-to-Running-the-GenAVB-TSN-Stack-FreeRTOS/ta-p/2390969上的分步指南进行操作。严格来说。 但是,导入项目后,项目选项中只有ram_release版本配置可用,没有release_no_enetc0 ,因此无法编程到闪存中。我多次尝试导入过程,但结果始终相同。 我按照NXP_GenAVB_TSN_MCUXpresso_User_s_Guide_8_0_rev0.pdf导入了项目,并执行了相应的设置脚本。请问有人能帮忙找出这个问题的原因吗? Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem 亲爱的@ChandlerY , 请务必在 GitHub 上选择8_0分支: https://github.com/NXP/GenAVB_TSN-rtos-apps/tree/8_0 该分支的 README 文件明确指出它受支持: 此致, 雪莉 Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem 嗨,雪莉, 谢谢你的回复! 我已经重复了整个过程,但问题仍然存在。我使用的是最新版本的 VS Code 和最新版本的 MCUXpresso 安装程序。 我的组装步骤如下。请问您能否帮忙检查一下我是否漏掉了任何必要的步骤?谢谢。 1. 导入 SDK (我尝试过8_0_0和8_0两种版本) 2.执行补丁脚本(需要文件《NXP_GenAVB_TSN_MCUXpresso_User_s_Guide_8_0_rev0》) 1) cd E:\111\genavb_tsn_rtos_apps_800\GenAVB_TSN-rtos-apps\scripts 2)bootstrap.bat   执行成功。   3.导入项目 4.目前该项目仍然只有两种版本配置可用。 此外,我可以通过命令行编译项目并烧录设备,编程后可以观察到正常的日志输出。然而,这种工作流程对于日常开发来说不够方便。我希望 IDE 中能提供一键编译和烧录功能,并可选择版本配置。请问如何解决这个问题? 期待您的尽快回复。 Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem 亲爱的@ChandlerY , 我们已经查明了问题的原因。这似乎与 VS Code 的 MCUXpresso 新版本有关。 回滚到 26.5.57 版本后,我可以正确看到所有可用的版本配置: 请参考以下屏幕截图,并将版本回滚到 26.5.57。从“扩展”视图中:   此外,TSN应用程序目前不支持独立应用程序。请改用存储库应用程序。 此致, 雪莉 Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem 亲爱的@ChandlerY , 感谢您的耐心等待。 我从代码库中拉取了最新代码,并在我这边重现了该问题。目前,根本原因尚不清楚。这可能与 VS Code 显示设置和工具配置之间存在某些不一致有关。 作为临时解决方案,请使用 west build 命令创建/构建项目。例如: west build -p always boards/src/demo_apps/avb_tsn/tsn_app --toolchain armgcc --config release_no_enetc0 -b evkmimxrt1180 -Dcore_id=cm33 我们将继续跟进此事。   顺祝商祺! 雪莉 Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem 亲爱的雪莉, 谢谢你的回复。此外,我还有另一个问题。导入项目时,只有选择“存储库应用程序”作为应用程序类型,版本才能成功。使用独立组网 \(SA\)应用程序或独立应用构建的版本都会失败。您能否也帮忙解决这个问题?谢谢。 Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem 嗨,雪莉, 我试过你的方法,有效!多谢。 请在更新版本的mcuxpresso for vscode中修复此问题后告知我。 仅限于存储库应用程序类型对于项目修改和移植来说很不方便。未来版本是否有计划引入对独立组网 \(SA\)应用程序类型的支持? Re: GenAVB_TSN-rtos-apps RT1180 tsn_app project build problem 亲爱的@ChandlerY , 很高兴听到这个方法对你有效。 我已经将这个问题和您的请求反馈给了我们的内部团队,供他们进一步考虑。 同时请注意,TSN 应用程序主要用于功能测试和评估。对于实际的产品开发,我们建议创建您自己的独立组网 (SA)应用程序项目,并将所需的 TSN 功能移植到该项目中。 此致, 雪莉
View full article
クロックと電源の関係:MIMXRT685 - EVK こんにちは、 アプリケーションでは、コアクロック周波数を可能な限り最大、つまりデフォルトの250MHzから297MHzまで上げています。権力という観点から見て、それがどのような影響をもたらすのかを知りたかった。今は何も壊れていませんが、データシートの静的な特性から判断すると、FUTUREのハードフォールトを避けるためにいくつか変更が必要だと思います。ぜひアドバイスをいただけるとありがたいです。 よろしくお願いいたします! シュリ Re: Clock - power relationship : MIMXRT685 - EVK こんにちは、 @shri00 さん。 私たちの製品にご関心を寄せ、コミュニティをご利用いただき、本当にありがとうございます。 MIMXRT685-EVKで297MHz動作を行う場合は、VDDCORE電圧とクロック構成を確認してください。基板が現在故障なく動作しているという事実は、必ずしもVDDCOREが目標とする周波数および温度範囲の動作要件を満たしていることを意味するものではありません。   クロック周波数を上げる際は、まずVDDCOREを目標周波数に必要なレベルに設定し、その後より高い周波数に切り替えます。   VDDCOREとクロック周波数の関係については、RT600データシートの表20および表21を参照してください。 32ビットCortex-M33®およびXtensa HiFi4オーディオDSP CPUを搭載したデュアルコアマイクロコントローラ 良い1日を。 よろしくお願いいたします。 メイ・リウ
View full article
请求提供基于霍尔传感器的电机控制参考固件和培训资料 尊敬的恩智浦团队: 我们正在与一位客户合作开发一种使用 24V、3.47A 电机的空气冷却系统。 我们已经成功完成了基于无传感器FOC电机控制的演示。客户现在希望使用 FRDM-MCXA156 EVK(控制卡)和 FRDM-MC-LVPMSM(电源卡)集成霍尔传感器进行转子位置检测。 能否推荐一个合适的参考固件或应用示例,用于在该硬件组合上实现基于霍尔传感器的电机控制? 我查看了GitHub上提供的LPC55S36霍尔传感器BLDC示例。 但是,我找不到此示例对应的 FreeMASTER 配置文件(.pmpx)。 请问您能否帮我们解决以下问题? FRDM-MC-LVPMSM 上霍尔传感器集成的 FRDM-MCXA156 参考固件。 相应的 FreeMASTER 项目/配置文件(.pmpx)(如有)。 基于 FRDM-MCXA156 EVK,将霍尔传感器反馈集成到现有无传感器 FOC 项目中的相关应用笔记、培训材料或实施指南。 非常感谢您的技术指导和建议。 此致 达尔尚·J·L WPG印度 电路板设计 开发板 FRDM 培训 动手实践培训 MCXA 电机控制 Re: Request for Hall Sensor-Based Motor Control Reference Firmware and Training Material 你好@Darshan_J_L , 感谢您的帖子。 MCUXpresso SDK 包含多个电机控制示例项目。您可以在下一页找到有关 FRDM-MCXA156 的更多信息。 MCUXpresso 电机控制 SDK | NXP 半导体。   FRDM-MCXA156 + FRDM-MC-LVPMSM 组合的 pmsm_enc 示例位于 SDK v25.06 中。它支持无传感器和有传感器的 FOC,并包含 pmsm_float_enc.pmpx FreeMASTER 项目。您可以参考UG10247.pdf 文件。更多详情请见下文。   关于 LPC55S36 演示对应的 FreeMASTER 配置文件 (.pmpx),您可以在这里找到: an-lpc55s36_mc_bldc_whall/LPC5536_mc_bldc_wHall.pmpx at main · nxp-appcodehub/an-lpc55s36_mc_bldc_whall · GitHub   希望对您有所帮助。如果您还有其他问题,请告诉我。   BR 塞莱斯特    
View full article
S32 Design Studio for Power Architecture 2017.R1 在许可证过期后显示“缺少许可证” 我正在 Windows 系统上使用S32 Design Studio for Power Architecture 2017.R1 版本。现在 IDE 显示“缺少许可证” ,而且许可证似乎已经过期。 激活 | 安装 | 许可 | 安装程序下载
View full article
S32 设计工作室 v.3.5 版本许可 您好,NXP支持团队, 我的 S32 Design Studio v.3.5 版本许可证已于 2026 年 10 月 19 日到期。请问您能否帮忙延长许可证期限? 激活码:30E0-0F7D-F883-9AFB 感谢您的支持。 Eclipse IDE 使用和设置
View full article
时钟-电源关系:MIMXRT685-EVK 你好, 对于某个应用,我将核心时钟频率提升到最大可能值,即从默认的 250 MHz 提升到 297 MHz。我想知道从权力角度来看,这会造成哪些影响。虽然目前还没有出现任何问题,但根据数据手册中的静态特性,我认为我需要做一些更改,以避免将来出现硬故障。我非常希望得到一些指导。 提前感谢! 什里 Re: Clock - power relationship : MIMXRT685 - EVK 嗨@shri00 , 非常感谢您对我们产品的关注以及对我们社区的使用。 对于 MIMXRT685-EVK 的 297 MHz 运行,请检查 VDDCORE 电压以及时钟配置。板目前运行无故障这一事实并不一定意味着 VDDCORE 满足您目标频率和温度范围的运行要求。   提高时钟频率时,首先将 VDDCORE 设置为目标频率所需的电平,然后再切换到更高的频率。   有关 VDDCORE 与时钟频率的关系,请参阅 RT600 数据手册的表 20 和表 21。 采用 32 位 Cortex®-M33 和 Xtensa HiFi4 音频 DSP CPU 的双核微控制器 祝你今天过得愉快。 顺祝商祺! 刘梅
View full article
S32K44 和 S32K388 分别支持多少个正交编码器输入? 我找到了https://community.nxp.com/t5/S32K/Quadrature-decoder-on-S32K344/mp/1507580以及https://www.nxp.com/design/design-center/development-boards-and-designs/MCSPTE1AK344上的应用笔记。但我很难确定我可以实例化多少个正交编码器。 我的应用场景中,理想情况下,我希望能够使用 4 个独立的正交解码器。S32K344 或 S32K388 是否支持此功能? Re: How many Quadrature encoder inputs can an S32K44 and an S32K388 support? 你好, S32K3 系列不包含专用的正交解码器外设。相反,正交解码器功能是通过 LCU、TRGMUX 和 eMIOS 模块的组合来实现的。这是 S32K3 参考手册中描述的方法,也是社区帖子中提到的电机控制示例。 根据参考手册,增量编码器示例需要两个逻辑单元(LC0 和 LC1)来实现单个正交解码器。S32K344 和 S32K388 设备提供两个 LCU 实例。 不过,我也已要求电机控制团队提供反馈意见。 我会尽快通知您最新情况。 顺祝商祺! Peter Re: How many Quadrature encoder inputs can an S32K44 and an S32K388 support? 你好, 更新: 根据 NXP 示例中描述的实现方式,实际限制是在 S32K344 和 S32K388 上各使用三个独立的正交译码器。该方案消耗: 6 个 TRGMUX 输入引脚(3 × A/B 编码器输入), 6 个可进行 MCB 操作的 eMIOS 通道(例如 eMIOS0 CH1-CH6), 3 个逻辑单元(一个 LCU 实例)。 因此,可以使用所展示的架构直接实现三个编码器实例。 第四个编码器无法通过相同的资源映射直接支持。主要限制在于能否提供合适的以 MCB 模式运行的 eMIOS 通道,以及通过 TRGMUX 和 LCU 进行所需的信号路由。 可能存在一种变通方法,即使用剩余的 G 型通道(例如,CH7) 与 X 通道一起,并将 LCU 输出通过设备引脚外部路由回 eMIOS X 输入。例如,在 S32K344 上,PTB2 可以配置为 LCU1_OUT3 和 eMIOS0_CH8_X,从而有效地创建外部环回路径。然而,这种方法会占用一个额外的封装引脚,并且不属于标准演示解决方案的一部分。 因此,实现 3 个正交译码器是完全可行的,而第 4 个译码器则需要采用替代的布线方案或自定义变通方法,并且应该根据整体引脚和外设资源使用情况进行评估。 顺祝商祺! Peter Re: How many Quadrature encoder inputs can an S32K44 and an S32K388 support? 对于我的应用来说,我并不需要基于 eMIOS 的、使用计时器进行计数的解释——我只需要编码器计数即可。是否存在某种配置,能够支持 8 个 TRGMUX 输入和 4 个 LCU 单元,从而实现简单的加减计数?
View full article
更正 i.MX8DXL EVK (J20) 上 TAMPER_OUT0/TAMPER_IN4 活动防篡改循环的 snvs_cfg 值 您好, 我正在通过 U-Boot 验证 i.MX8DXL EVK (MCIMX8DXL-WEVK) 上的外部主动篡改循环。 根据电路板原理图,我已经确认 J20(防篡改接头,1x3)的接线方式如下: - 引脚 1 = TAMPER_IN4(网络 SNVS.TAMPER_IN4,焊球 AJ13) - 引脚 2 = 接地 - 引脚 3 = TAMPER_OUT0(网络 SNVS.TAMPER_OUT0,引脚 AP22) 这些是专用的 SNVS 引脚,不像 TAMPER_OUT1-4/IN0-3 那样与 SAI2/SAI3 共享。 可用的 U-Boot 命令:tamper_pin_cfg、snvs_cfg(及其子寄存器 hp.lock、hp.secvio_intcfg、hp.secvio_ctl、lp.lock、lp.secvio_ctl、lp.tamper_filt_cfg、lp.tamper_det_cfg、lp.tamper_det_cfg2、lp.tamper_filt1_cfg、lp.tamper_filt2_cfg、lp.act_tamper1_cfg 至 lp.act_tamper5_cfg、lp.act_tamper_ctl、lp.act_tamper_clk_ctl、lp.act_tamper_routing_ctl1、lp.act_tamper_routing_ctl2)、snvs_sec_status、snvs_clear_status。 由于 TAMPER_OUT0/TAMPER_IN4 构成一个有效的防篡改对,我的问题是: 1. lp.act_tamperN_cfg 通道(1-5)中,哪个对应于 TAMPER_OUT0? 2. 要检查 lp.act_tamper_routing_ctl1/routing_ctl2 路由 TAMPER_OUT0 的模式与 TAMPER_IN4 的匹配度,需要检查哪些值? 3. 要使该通道启用模式时钟,lp.act_tamper_clk_ctl 的值是多少? 4. lp.act_tamper_ctl 的全局值是多少才能启用此通道的主动篡改检测? 目标:将跳线连接到 J20 引脚 1-3 时,snvs_sec_status 应显示为安全状态;断开跳线时,应触发违规。 我尝试了硬件上的几个值(路由 4、5、10;各种时钟/检测器设置)——所有这些值要么被 SECO 固件拒绝(错误 res:9 / SC_ERR_PARM),要么被接受,但在物理切换循环时,snvs_sec_status 的 SNVS a4(1) (LPTDSR) 寄存器没有可观察到的变化。 i.MX8DXL 是否有针对外部主动防篡改验证的参考测试程序或应用说明? 谢谢您! Re: Correct snvs_cfg values for TAMPER_OUT0/TAMPER_IN4 active tamper loop on i.MX8DXL EVK (J20) 你好, 1. lp.act_tamper1_cfg 驱动 TAMPER_OUT0。 2. i.MX8DXL SNVS 具有 5 个主动防拆 (AT) 输出源和多达 8 个外部防拆 (ET) 输入检测器。 请使用以下配置: lp.act_tamper_routing_ctl1 = 0x00010000 # ET5 (TAMPER_IN4) 到 AT1 (TAMPER_OUT0) lp.act_tamper_routing_ctl2 = 0x00000000 # ET6-ET8 未使用 3. 该值会改变时钟分频器,使用 0x00 可配置最大频率。 lp.act_tamper_clk_ctl = 0x00000000 4. 使用 lp.act_tamper_ctl = 0x00010001: 位 0:AT1EN 使能 AT1 LFSR 模式生成器 位 16:AT1_OUT_EN 驱动 TAMPER_OUT0 焊盘,使用 AT1 模式 目前没有针对该处理器的应用笔记,但您可以参考 i.MX7 的相关信息: /* Config ET5 (pin in et4) <-> (pin out et5) AT 1 * /* reset */ write32(0, &svregs->lp.act_tamper_clk_ctl); write32(0, &svregs->lp.act_tamper_ctl); write32(0, &svregs->lp.tamper_det_cfg); write32(0, &svregs->lp.tamper_det_cfg2) /* Deault value for LFSR */ write32(0x84000000 | 0x00001111, &svregs->lp.act_tamper1_cfg) /* Set the clock at max freq */ write32(0x00000000, &svregs->lp.act_tamper_clk_ctl); /* ET5 (pin et4) takes ref from AT1 (pin et5) */ write32(0x00010000, &svregs->lp.act_tamper_routing_ctl1); write32(0x0, &svregs->lp.act_tamper_routing_ctl2) /* activate out pad of AT1 and enable it, AT1 output on pin et5 */ write32(0x00010000 | 0x00000001, &svregs->lp.act_tamper_ctl) /* Configuring IRQs and secviols */ write32(0x8000003f, &svregs->hp.secvio_intcfg); write32(0x4000003f, &svregs->hp.secvio_ctl); write32(0x0000003f, &svregs->lp.secvio_ctl) /* Activating detector for ET5 */ write32(0x00000000, &svregs->lp.tamper_det_cfg); write32(0x00000004, &svregs->lp.tamper_det_cfg2); 顺祝商祺! Re: Correct snvs_cfg values for TAMPER_OUT0/TAMPER_IN4 active tamper loop on i.MX8DXL EVK (J20) 感谢您提供的配置信息。我是在全新断电后立即应用的: snvs_dgo_cfg 0 0 20000000 0 80000000 0 snvs_cfg 0 8000003f 4000003f 0 3f 0 0 4 0 0 84001111 0 0 0 0 10001 0 10000 0 回读与您的值匹配:SNVS e8(2) = 00010000 00000000,SNVS 48(2) = 00000000 00000004,SNVS e0 = 00010001,DGO 20 = 20000000,DGO 40 = 80000000。 结果:LPTDSR(SNVS a4)= 00000004(ET5D 设置)。无论没有跳线还是在 J20 引脚 1 (TAMPER_IN4) 和引脚 3 (TAMPER_OUT0) 之间连接绝缘跳线,读数均为 00000004。在 snvs_clear_status 107ff ff 之后,它仍然保持 00000004。因此,当循环打开时,检测结果会断言,但当循环关闭时,我始终无法获得干净的 00000000 状态。 问题: 1.对于有线跳线回路,此 EVK 上的 TAMPER_OUT0 / TAMPER_IN4 回路是否需要焊盘或上拉设置(例如 DGO tamper_pull_ctl),或者不同的 act_tamper_clk_ctl 值? 2. 当篡改条件仍然存在时,snvs_clear_status 是否应该清除 LPTDSR? 3. 是否还需要其他设置才能使循环被视为闭合? 再次感谢。 Re: Correct snvs_cfg values for TAMPER_OUT0/TAMPER_IN4 active tamper loop on i.MX8DXL EVK (J20) 继我们上次更新此案例(项目:加密模块)之后。 我们已经和团队负责人一起审查了方案。我们验证了硬件(J20 引脚映射来自原理图 SCH-54318,引脚 1 和引脚 3 之间的跳线环)和 SNVS 配置(寄存器回读与您给出的值匹配)。我们也按照您分享的步骤进行操作,该步骤基于 i.MX7 参考。结果不变: - 活动配置:LPTDSR (SNVS a4) = 0x00000004 (ET5D),无论是否使用跳线,均无法清除。 - 无源 ET5 测试:a4 不随引脚电平变化。 我们希望您在以下三点上提供帮助: 1. 请您回答一下我们之前更新中提出的问题(被动式 ET5 启用和极性设置、DGO 设置以及如何确认 AT1 是否切换)? 2. 能否请您分享 i.MX 8DXL 网络安全参考手册(至少是 SNVS 篡改章节),或者告诉我们获取该手册的流程,包括是否需要签署保密协议? 3. 您是否有在 i.MX8DXL EVK 上验证过的 U-Boot 命令序列示例? 感谢您的支持。 Re: Correct snvs_cfg values for TAMPER_OUT0/TAMPER_IN4 active tamper loop on i.MX8DXL EVK (J20) 你好, 请参考附件中关于 i.MX8DXL 板的已验证防篡改测试程序以及相应的有源/无源篡改日志。 您还可以参考 uboot 源代码,了解如何配置 SNVS 寄存器以实现主动和被动篡改。 https://github.com/nxp-imx/uboot-imx/blob/lf_v2026.04/arch/arm/mach-imx/imx8/snvs_security_sc_conf_8dxl_evk.h 请注意,TAMPER_IN4 映射到 ET7 而不是 ET5。当使用 TAMPER_IN4 进行被动/主动防篡改测试时,需要相应地启用 ET7 检测。 我预计 SECO/SCFW 版本不会有太大影响,请尝试提供的配置和测试步骤,看看是否对您有效。 关于如何获取网络安全参考手册,请点击以下链接提出申请。 顺祝商祺!
View full article