Multi Source Translation Content

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi Source Translation Content

讨论

排序依据:
添加库 我刚刚从 CodeWarrior 迁移过来,并且刚刚在我的新 iMac 上安装了 MCUX。我正在开发一个包含红外遥控功能的新项目,我想使用 IRemote 库(来自 GitHub)。我已经下载了库文件,但是无法将其添加到 SDK_2.x_LPCXpresso824MAX(我正在使用的开发板)中。我按照文档“如何创建和使用静态库”中的说明进行操作,但说明和屏幕截图似乎来自比我的版本早得多的版本。 有没有人能提供一份“傻瓜式教程”来解决我的问题? Re: Add a library 你好, 你的库文件是什么类型的?是 .a 扩展名还是 .h 扩展名? MCUXpresso IDE 中如何创建和使用静态库的第 2 章“在用户应用程序中添加用户静态库”第 5 页中提到的步骤仍然适用于较新版本的 MCUXpresso IDE,指南中显示的窗口在最新版本的 MCUXpresso 中是相同的。您在操作步骤方面遇到问题了吗? 另外,能否帮忙确认一下您使用的是哪个版本? 关于 SDK,我看到你写的是“SDK_2.x_”。请问您使用的是哪个旧版本?您可以更新到最新的 SDK 版本 26.06,可以从SDK Builder下载。 此致敬礼,路易斯 Re: Add a library 这是我的问题之一。该文件没有任何扩展名,它只是“IRemote-4.7.1”,在我的下载文件夹中显示为一个文件夹。我不认为我使用的是旧版本的 SDK,它的版本是 26.06.00。会不会是我还没加载实际的 IRemote 库——我只是按下了“下载”按钮? Re: Add a library Hello 你可能下载了整个库的 GitHub 文件夹,通常 GitHub 用户会保存 .h/.c/.hpp/.cpp 文件。等等,在 src 文件夹中。 您可以只从 src 文件夹下载必要的 .h/.a 文件,或者在 Github 中搜索它们,而不是下载整个 Github 项目,然后按照指南将库和路径添加到链接器中。 此致敬礼,路易斯
查看全文
[S32N55 / HSE2] デバッグカード要求 — HSE_DEBUG_INVALID_DEBUG_DOMAIN_MAP_ERR こんにちは、 S32N55 (HSE2) セキュアデバッグに関する続報です。CRS(APP)チャレンジレスポンス認証が機能しました(ファイナルレスポンス0x4A4A4A4A)。現在、デバッグカード要求(HSE_DEBUG_CMD_CARD_REQUEST)を実行中ですが、以下の結果が返されます。 HSE_DEBUG_INVALID_DEBUG_DOMAIN_MAP_ERR ((hseDebugError_t)0x20) — 「デバッグカード内のデバッグドメインマップが無効です。」 (以前のフィードバックに基づいて)私が送信するもの: Packet2 デバッグドメイン信号リスト:配列スタイル、List[22..26] = 0x01 各(CRS:Cortex-M7、PCIe、CRS NoC/CAN NoC、CANXL0-1、CANXL2-3)、その他のバイトは0x00。 Packet3 enabledDebugDomainMap (uint64_t): 0x07C00000 (ビット 22-26) が推奨どおりに動作しました。 AuthScheme: macAlgo = HSE_MAC_ALGO_CMAC = 0x11。 AuthTag: カード情報に対するAES256-CMAC、authLen = 16。 enabledDebugDomainMap(uint64_t、8バイト)に対して私が試したこと: リトルエンディアン: 00 00 C0 07 00 00 00 00 → 0x20 ビッグエンディアン: 00 00 00 00 07 C0 00 00 → 0x20 bit27 (0x08000000、AUTHターゲット0x1Bに一致) → 0x20 すべて同じ0x20を返します。 質問: 1.CRSの場合、HSEが期待するenabledDebugDomainMap(uint64_t)の正確な値は何か、また、ワイヤバイトの順序はどうなっているのか? 2. enabledDebugDomainMap(Packet3ビットマスク)は、デバッグドメインシグナルリスト(Packet2、配列List[22..26])と一致している必要がありますか?正確な関係性はどのようなものですか? 3. RMの例では「ドメイン1、3が有効になりました → 0x00..A0」と記載されています。ドメインからビットへのマッピングについて、CRS値を計算するために説明してもらえますか? 4. HSEはAuthTagを検証する前にドメインマップを検証しますか?0x20がドメインマップだけが間違っていることを示すのか、それともAuthTagや署名済みデータ範囲などの他のフィールドもHSEがこの時点で停止している可能性があるのかを確認したいです。 また、カードのAuthTagの署名付きデータ範囲を確認したいです。現在、カード情報フィールド(authKeyRef + reserved0 + ownerId + authScheme + signal list + domain map + UID list)に対してAES256-CMACを計算しています。これは署名するデータとして正しいですか? よろしくお願いいたします。 Re: [S32N55 / HSE2] Debug Card Request — HSE_DEBUG_INVALID_DEBUG_DOMAIN_MAP_ERR こんにちは、 @EddiePark 投稿ありがとうございます。 1.フェーズ1が問題なく通過したと聞いて嬉しく思います。2.フェーズ2に関するご質問につきましては、より明確な説明を得るために現在確認中です。何か有益な情報が得られ次第、後ほどご連絡いたします。 整合性を合わせるために、最新のログと対応するスクリプトを再度共有してもらえますか?通常通りメッセージで共有できます。 BR チェイン
查看全文
NFCアンテナツール - スキン効果 こんにちは!NFCアンテナツールに関して質問があります。このツールは、アンテナパラメータを計算する際に表皮効果を考慮していますか? Re: NFC Antenna Tool - Skin effect こんにちは、@lucas_uy_13さん はい、そうです。
查看全文
S32 デザインスタジオライセンス更新 フルフィルメントID:128143961 有効期限:2026年6月22日 製品:ARM v2018 R1用S32 Design Studio。 起動コード:3E1F-50E5-6F93-F06F Re: S32 Design Studio License Renewal こんにちは、 現在は延長されています。 よろしくお願いいたします。 ピーター
查看全文
S32KはMPUを無効にした場合のSRAMのデフォルト属性です。 こんにちは、NXPテクニカルチームの皆様。 S32KチップのMPUが有効になっていない場合、SRAMのデフォルト属性はどうなるのでしょうか?具体的に、SRAMのデフォルト設定における「share」と「cache」の属性は何ですか? ARMv7-mアーキテクチャのリファレンスマニュアルを参照したところ、SRAMのデバイスタイプは「device」とされており、SRAM全体がシェア可能でキャッシュできないことを意味しているようです。次の画像をご覧ください。 私のプロジェクトに戻りますが、MWCT2016s を使用するプロジェクト (つまりS32K312) は、MPU が有効になっていない場合に HSE 機能が異常になるため、SRAM 領域を共有可能かつキャッシュ不可に設定するように MPU を構成する必要があります。しかし、S32K322を使用するプロジェクトでは、MPUが有効になっていない場合でもHSE機能は正常に動作します。 したがって、MPUが有効になっていない場合のS32KチップのSRAM属性、またはSRAM属性に影響を与え、それによって2つのプロジェクト間の違いが生じるような他の設定があるかどうかを知りたいです。 Re: S32K default attribute of SRAM when disable MPU こんにちは、 @Johnson97 さん。 デフォルトのメモリマップを使用します。 https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/Optional-Memory-Protection-Unit/MPU-Control-Register?lang=en 「ENABLEビットが0に設定されている場合、システムはデフォルトのメモリマップを使用します。」これは、MPUが実装されていない場合と同じメモリ属性を持ちます。表2.11を参照してください。デフォルトのメモリマップは、特権ソフトウェアと非特権ソフトウェアの両方からのアクセスに適用されます。」 https://developer.arm.com/documentation/dui0646/c/The-Cortex-M7-Processor/Memory-model/Behavior-of-memory-accesses?lang=en#CHDBJAJD 表2.11および表2.12に示されているように、SRAMのメモリタイプはNormal、Non-shareable、WBWAです。 よろしくお願いいたします。 ダニエル
查看全文
Add a library I have just migrated from CodeWarrior and also have just installed MCUX on my new iMAC. I am working on a new project that includes  IR remote control and I would like to use the IRemote library (from GitHub).  I have downloaded the library file But I cannot add it to SDK_2.x_LPCXpresso824MAX (which is the development board I am using). I followed the instructions in the document "How to create and use a static library", but the instructions and screen shots appear to be from a much earlier version than mine. Does anyone have an "idiot guide" that will solve my problem? Re: Add a library Hello, What type of file do you have for the library? The .a extension or .h? The steps mentioned in Chapter 2 "adding user static library in user application" Page 5 from How to create and use static library in MCUXpresso IDE still apply for newer version of MCUXpresso IDE, the windows shown in the guide are the same in recent version of MCUXpresso. Do you have an issue with a step? Also could you help confirm which version are you using? For the SDK; I see you wrote "SDK_2.x_" could you confirm which older version are you using? You could update to use the recent SDK version 26.06, you can download it from SDK Builder Best Regards, Luis Re: Add a library This is part of my problem. The file does not have any extension - it is simply "IRemote-4.7.1" and is represented in my downloads as a folder.  I don't think I am using an older version of the SDK, it is version 26.06.00. Could it be that I have not loaded the actual IRemote library - I just pressed the DOWNLOAD button Re: Add a library Hello You probably download the whole Github folders for the library, usually Github users save the .h/.c/.hpp/.cpp etc in the src folder. You could download only the necessary .h/.a files from src folder or search for them in the Github instead of download the whole Github project, and follow the guide to add library and path to linker. Best Regards, Luis
查看全文
IWTL about in-vehicle network communication I'd love to learn about in-vehicle communication (CAN, LIN, FlexRay, etc) and ECUs and things. Are there any resources that can teach me this? I've looked into MIT OCW and there doesn't seem to be anything that can help there. Switch Re: IWTL about in-vehicle network communication Hello, You can start by looking at this thread: https://community.nxp.com/t5/In-Vehicle-Networking/Where-do-I-learn-about-in-vehicle-networking/m-p/2374280/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufE1QVVZKSzJHVUlaRUxPfDIzNzQyODB8U1VCU0NSSVBUSU9OU3xoSw#M194 But personally I will use AI for learning sources as it can tailor the learning according your needs. Best regards, Peter
查看全文
CSI演示问题 您好, 这是来自 Quectel FAE 团队的 Bryan。 我们计划为9月份的NXP贸易展准备一些与CSI相关的演示。您能否提供一些示例演示? 例如,我注意到你们有类似运动检测的例子——我想知道如何分析和处理我们板上捕获的 CSI 数据。 我们有 rw610 和 rw612 我的邮箱:[email protected] Re: CSI demo question 你好, @BryanNiu RW610 和 RW612 都支持 CSI。 我们在默认 SDK 版本中已经有了演示:wifi_cli 示例。 wifi_cli 应用程序用于配置 CSI 的生成和收集。该应用程序已包含在 SDK 版本中。要生成 CSI 数据,请将 wi-fi_cli 应用程序刷写到 Wi-Fi 设备上,然后运行以下命令: wlan-set-csi-param-header wlan-set-csi-filter wlan-csi-cfg wlan-auto-null-tx 详情请参阅: AN14281:FreeRTOS 上的通道状态信息 (CSI) | 恩智浦半导体 如果您对此案还有其他疑问,请告知;如果没有,请随时将我的回答标记为本帖的解决方案。 顺祝商祺! Christine。 Re: CSI demo question 嗨@Christine_Li 谢谢你提供的信息。我们已成功运行 SDK 中的基本 wifi_cli 示例。 我们希望更进一步,分析CSI数据,以开发一个演示程序。我在 RW61x 上找到了以下 CSI 运动检测的存储库——这个演示与我们的模块兼容吗? https://github.com/nxp-appcodehub/dm-motion-detection-using-wifi-csi-on-rw61x 或者您能否推荐一些类似的演示? 谢谢  布莱恩 Re: CSI demo question 你好, @BryanNiu 您在分享的链接中提到的演示也是为 FRDM-RW612 设计的。 所以,是的,它应该可以在 FRDM-RW612 上运行。 如果你使用的是 RW612 模块,我认为应该也可以。 但从 SDK 版本来看,它使用的是 SDK 25.09.00,版本稍旧一些。目前我们最新的 SDK 版本是 SDK 26.06.00。 您可以尝试使用我们最新的 SDK 26.06.00,并根据我提供给您的 AN 了解更多关于 RW612 上 CSI 的信息。 如果您对此案还有其他疑问,请告知。 顺祝商祺! Christine。
查看全文
关于车载网络通信的IWTL 我很想学习车载通信(CAN、LIN、FlexRay 等)和 ECU 等相关知识。 有什么资源可以教我这个吗?我查阅了麻省理工学院开放课程网站(MIT OCW),但似乎那里没有什么能帮到我的。 开关 Re: IWTL about in-vehicle network communication 你好, 你可以先看看这个帖子: https://community.nxp.com/t5/In-Vehicle-Networking/Where-do-I-learn-about-in-vehicle-networking/mp/2374280/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufE1QVVZKSzJHVUlaRUxPfDIzNzQyODB8U1VCU0NSSVBUSU9OU3xoSw#M194 但我个人会使用人工智能作为学习资源,因为它可以根据你的需求定制学习内容。 顺祝商祺! Peter
查看全文
CSI demo question Hi, This is Bryan form Quectel FAE team. We are planning to prepare some CSI-related demos for the NXP trade show in September. Could you provide some assistance with demo examples? For instance, I noticed you have examples similar to motion detection — I would like to know how to analyze and work with the CSI data captured on our board.  We have rw610 && rw612 my email : [email protected] Re: CSI demo question Hi, @BryanNiu  By the way, to download our default SDK, you can just directly go to below link: Select Board | MCUXpresso SDK Builder Input and choose FRDM-RW612, then download the latest: SDK 26.06.00. Best regards, Christine. Re: CSI demo question Hi, @BryanNiu  For RW610 and RW612, both of them supports CSI. We already have demo in the default SDK release: wifi_cli example. The wifi_cli application is used to configure CSI generation and collection. The application is included in the SDK release. To generate CSI data, flash wi-fi_cli application onto the Wi-Fi device and run the following commands: wlan-set-csi-param-header wlan-set-csi-filter wlan-csi-cfg wlan-auto-null-tx For the details, you can refer to: AN14281: Channel State Information (CSI) on FreeRTOS | NXP Semiconductors Please let me know whether still have any other concerns on this case, if no, please do not hesitate to mark my answer as a solution for this thread. Best regards, Christine. Re: CSI demo question Hi @Christine_Li  Thank you for the information. We have successfully run the basic wifi_cli example from the SDK. We would like to go further and analyze CSI data to develop a demo. I came across the following repository for CSI motion detection on the RW61x — would this demo be compatible with our module? https://github.com/nxp-appcodehub/dm-motion-detection-using-wifi-csi-on-rw61x  Or is there a similar demo you could recommend? Thanks  Bryan Re: CSI demo question Hi, @BryanNiu  The demo you mentioned in the shared link is also designed for FRDM-RW612.  So, yes, it should work on FRDM-RW612. If you are using a RW612 module, I think it should also work. But from the SDK version, it is using SDK 25.09.00, a little older. Currently our latest SDK version is SDK 26.06.00. You can have a try with our latest SDK 26.06.00, and according the the AN I provided to you to learn more info about CSI on RW612. Please let me know whether still have any other concerns on this case. Best regards, Christine.
查看全文
S32 Design Studio License Renewal Fulfillment ID: 128143961 Expiration Date: Jun 22, 2026 Product: S32 Design Studio for ARM v2018 R1 Activation Code: 3E1F-50E5-6F93-F06F Re: S32 Design Studio License Renewal Hello, It is now extended. Best regards, Peter
查看全文
Request for Dual-Core Ethernet Example on i.MX RT1176 (One Ethernet per Core) Hello NXP Team, I am currently working on the i.MX RT1176 evaluation board using MCUXpresso IDE v11.9.1 (Build 2170, 2024-04-19). I would like to know whether NXP provides any multicore example project that demonstrates the use of both Cortex-M7 and Cortex-M4 cores with independent Ethernet interfaces. My requirement is as follows: Ethernet Port 1 should be initialized and managed by the Cortex-M7 core. Ethernet Port 2 should be initialized and managed by the Cortex-M4 core. Both Ethernet interfaces should operate simultaneously and independently on their respective cores. If inter-core communication (such as RPMsg or MU) is required, I would appreciate any example or documentation explaining the recommended approach. I have searched the MCUXpresso SDK examples but have not found a project matching this use case. Could you please let me know: Is there any official NXP multicore example demonstrating one Ethernet controller on the M7 core and the other Ethernet controller on the M4 core? If such an example is available, could you please share the project or provide the corresponding SDK example name or repository link? If no such example exists, could you suggest the recommended architecture for implementing this configuration on the i.MX RT1176? Any reference projects, application notes, or documentation would be greatly appreciated. Thank you for your support. Best regards, Aravind Togaralli Re: Request for Dual-Core Ethernet Example on i.MX RT1176 (One Ethernet per Core) Dear @Aravind_Togaralli , Unfortunately, there is currently no official example that demonstrates both the Cortex-M7 and Cortex-M4 running independent Ethernet interfaces simultaneously. However, the recommended architecture is to keep the two Ethernet subsystems completely independent: Assign one Ethernet controller (e.g., ENET/ENET_QOS) to CM7 and the other to CM4. Each core should maintain its own MAC driver, PHY control, lwIP stack, netif instance, DMA descriptors, packet buffers, interrupts, and network configuration. Use RPMsg-Lite, MU, or shared memory only for inter-core control and status communication when needed. Consider using RDC/XRDC2 to isolate Ethernet peripherals and memory resources between the two cores during development. For Ethernet DMA buffers, ensure the selected memory region is accessible by both the corresponding CPU and Ethernet DMA master. A suggested implementation approach is: Start from a working RT1170 multicore example. Bring up Ethernet on CM7 using a standard lwIP example. Bring up Ethernet on CM4 using the second Ethernet controller. Verify both Ethernet interfaces operate simultaneously without IPC. Add RDC/XRDC2 isolation if required. Introduce RPMsg-Lite or MU/shared-memory communication only if the application requires inter-core interaction. You may also find application note AN13264 helpful, as it provides guidance and recommendations for RT1170 multicore application development. Best Regards, Shelly Zhang
查看全文
NFC Antenna Tool - Skin effect Hello! I have a question regarding the NFC Antenna Tool. Does the tool account for the skin effect when calculating the antenna parameters? Re: NFC Antenna Tool - Skin effect Hello @lucas_uy_13  Yes, it does.
查看全文
S32K default attribute of SRAM when disable MPU Hi nxp technical team, I would like to know the default attributes of SRAM when the MPU of the S32K chip is not enabled? Specifically, what are the attributes of "share" and "cache" in the SRAM default settings? I have consulted the ARMv7-m architecture reference manual, which indicates that the device type of SRAM is "device", seemingly meaning that the entire SRAM is sharable and non-cacheable. See the following picture. Returning to my project, the project using MWCT2016s (i.e. S32K312) has abnormal HSE function when the MPU is not enabled, and it is necessary to configure MPU to set the SRAM area as sharable and non-cacheable. However, in the project using S32K322, the HSE function is normal when the MPU is not enabled.  Therefore, I would like to know the SRAM attributes of the S32K chip when the MPU is not enabled, or if there are any other settings that affect the SRAM attributes and thereby cause the differences between the two projects? Re: S32K default attribute of SRAM when disable MPU Hi @Johnson97, It uses the default memory map: https://developer.arm.com/documentation/dui0646/c/Cortex-M7-Peripherals/Optional-Memory-Protection-Unit/MPU-Control-Register?lang=en "When the ENABLE bit is set to 0, the system uses the default memory map. This has the same memory attributes as if the MPU is not implemented, see Table 2.11. The default memory map applies to accesses from both privileged and unprivileged software." https://developer.arm.com/documentation/dui0646/c/The-Cortex-M7-Processor/Memory-model/Behavior-of-memory-accesses?lang=en#CHDBJAJD As you can see in Table 2.11 and Table 2.12, the memory type for SRAM is Normal, Non-shareable, WBWA. Regards, Daniel
查看全文
車載ネットワーク通信についてのIWTL 車内通信(CAN、LIN、FlexRayなど)やECUなどについて学びたいです。 これを教えてくれるリソースはありますか?MITのOCWを調べましたが、役立つものは特に見当たりません。 スイッチ Re: IWTL about in-vehicle network communication こんにちは、 まずはこのThreadをご覧ください: https://community.nxp.com/t5/In-Vehicle-Networking/Where-do-I-learn-about-in-vehicle-networking/mp/2374280/emcs_t/S2h8ZW1haWx8dG9waWNfc3Vic2NyaXB0aW9ufE1QVVZKSzJHVUlaRUxPfDIzNzQyODB8U1VCU0NSSVBUSU9OU3xoSw#M194 でも個人的には、学習にはAIを使うつもりです。AIはあなたのニーズに合わせて学習を調整できるからです。 よろしくお願いいたします。 ピーター
查看全文
ライブラリを追加する CodeWarriorから移行したばかりで、新しいiMacにMCUXをインストールしたばかりです。私は赤外線リモコンを含む新しいプロジェクトに取り組んでおり、IRemoteライブラリ(GitHubから入手)を使用したいと考えています。ライブラリファイルはダウンロードしましたが、SDK_2.x_LPCXpresso824MAX(私が使っている開発ボード)には追加できません。「静的ライブラリの作成と使用方法」というドキュメントの手順に従ったのですが、手順とスクリーンショットは私のものよりかなり古いバージョンのもののようです。 私の問題を解決してくれるような「初心者向けガイド」を持っている人はいませんか? Re: Add a library こんにちは、 ライブラリにはどのようなファイル形式がありますか?拡張子は.aですか、それとも.hですか? 「ユーザーアプリケーションにユーザー静的ライブラリを追加する」第2章( MCUXpresso IDEで静的ライブラリの作成と使用 方法)の5ページで述べた手順は、新しいバージョンのMCUXpresso IDEにも引き続き適用されます。ガイドに示されているウィンドウは最近のMCUXpressoバージョンでも同じです。手順に問題がありますか? また、どのバージョンを使っているのか確認してもらえますか? SDKに関しては、「SDK_2.x_」と書いたのですね。どの古いバージョンを使っているか確認してもらえますか?最新のSDKバージョン26.06を使うようにアップデートすることもできます。SDK Builderからダウンロードできます 敬具、ルイス Re: Add a library これは私の問題の一部です。ファイルには拡張子がなく、単に「IRemote-4.7.1」という名前で、ダウンロードフォルダ内ではフォルダとして表示されます。古いバージョンのSDKを使っているとは思いません。バージョンは26.06.00です。もしかすると、実際のIRemoteライブラリを読み込んでいないのかもしれません。ただダウンロードボタンを押してしまっただけかもしれません Re: Add a library Hello おそらくライブラリのGithubフォルダ全体をダウンロードしていると思います。通常、Githubユーザーは.h/.c/.hpp/.cppを保存します。srcフォルダ内のなど。 必要な.h/.aファイルだけをsrcフォルダからダウンロードするか、Githubで検索するだけで、Githubプロジェクト全体をダウンロードせずに、ガイドに従ってライブラリとリンクへのパスを追加できます。 敬具、ルイス
查看全文
[S32N55 / HSE2] 调试卡请求 — HSE_DEBUG_INVALID_DEBUG_DOMAIN_MAP_ERR 您好, 后续内容:S32N55 (HSE2) 安全调试。CRS(APP)挑战-响应认证现在可以工作(最终响应0x4A4A4A4A)。我现在正在执行调试卡请求 (HSE_DEBUG_CMD_CARD_REQUEST),它返回: HSE_DEBUG_INVALID_DEBUG_DOMAIN_MAP_ERR ((hseDebugError_t)0x20) — "调试卡中的调试功能域映射无效。" 我根据您之前的反馈发送的内容: Packet2 调试功能域信号列表:数组样式,List[22..26] = 每个 0x01(CRS:Cortex-M7、PCIe、CRS NoC/CAN NoC、CANXL0-1、CANXL2-3),所有其他字节为 0x00。 Packet3 enabledDebugDomainMap (uint64_t): 0x07C00000 按照建议(位 22-26)。 AuthScheme:macAlgo = HSE_MAC_ALGO_CMAC = 0x11。 AuthTag:对卡片信息进行 AES256-CMAC 认证,authLen = 16。 我尝试过对 enabledDebugDomainMap(uint64_t,传输 8 字节)进行以下操作: 小端序:00 00 C0 07 00 00 00 00 → 0x20 大端序:00 00 00 00 07 C0 00 00 → 0x20 bit27 (0x08000000,匹配 AUTH 目标 0x1B) → 0x20 所有返回值均为 0x20。 问题: 1.对于 CRS,HSE 期望的 enabledDebugDomainMap (uint64_t) 的确切值是什么,以及其字节顺序是什么? 2. enabledDebugDomainMap(Packet3 位掩码)是否必须与调试功能域信号列表(Packet2,数组 List[22..26])一致?它们之间究竟是什么关系? 3. RM 示例说明“功能域 1,3 已启用 → 0x00..A0”。能否解释一下功能域到位的映射关系,以便我计算 CRS 值? 4. HSE 是否在验证 AuthTag 之前验证功能域映射?我想确认 0x20 是否仅表示功能域映射错误,还是其他字段(例如 AuthTag / 签名数据范围)也可能导致 HSE 在此停止。 我还想确认卡 AuthTag 的签名数据范围:我目前对卡信息字段(authKeyRef + reserved0 + ownerId + authScheme + signal list + 功能域映射 + UID list)计算 AES256-CMAC。这是要签署的正确数据吗? 顺祝商祺! Re: [S32N55 / HSE2] Debug Card Request — HSE_DEBUG_INVALID_DEBUG_DOMAIN_MAP_ERR 你好, @EddiePark 感谢你的帖子。 1.很高兴得知第一阶段顺利通过。关于您提出的第二阶段问题,我仍在核实相关信息以获得更清晰的描述,如有任何有价值的更新,我会稍后回复您。 为了确保信息一致,能否请您再次与我分享最新的日志和相应的脚本?可以像往常一样通过消息分享。 BR 陈银
查看全文
Request for Assistance: S32 Design Studio for ARM License Renewal Error Dear NXP Support Team, Hello, I am writing to request support regarding an error encountered while trying to renew the license for S32 Design Studio for S32. Below are the details of my license and the error message received: < License Information > < Error Message > Could you please advise on how to resolve this issue and successfully extend/renew the license? Thank you for your time and assistance. Best regards, Suhyun Sung Re: Request for Assistance: S32 Design Studio for ARM License Renewal Error Hi,  please try the activation again. I returned old licenses.  Re: Request for Assistance: S32 Design Studio for ARM License Renewal Error @jiri_kral  The license is now active and working fine. Thanks for your help! BRs, Sean Sung
查看全文
LX2160AでMPキーの取得に失敗しました こんにちは、NXPさん。 LLDP LX2160Aベースの安全なブートシステムを構築し、MPキーの機能検証も行っています。 LX2160Aボードのセキュアブートシステムのインストールと起動は問題なく、ITSのビット値は1だと考えていますが、「mp_app -p」コマンドを実行すると「Device is not initiated」エラーが出ます。 この問題について確認するためのアドバイスはありますか? ありがとうございました。 ジェフリー Re: LX2160A get MP key failed 顧客はLLDPの文書6.4.4項を守りましたか?   のような Linuxプロンプトからtee-supplicant & commandを実行してください。 Linuxカーネルのバージョンによっては、右フォルダからinsmod securekeydev.koを使用していました また、顧客が「mp_app」を実行する際にカーネルPrintkを有効にしてもらい、ログを共有してください。 エコー 8 > /proc/sys/kernel/printk dmesg Re: LX2160A get MP key failed こんにちは、イーピンワンさん はい、 mp_appコマンドを実行する前に、tee-supplicantを起動してsecurekeydev.koをロードします。 以下はdmesgの情報です。 Jeffrey Re: LX2160A get MP key failed AEチームからの以下のアップデートをご参照ください。 お客様のフィードバックによると、「error: caam_submit_mp_get_pub_key_op: submit_job」と表示され、SECへの送信失敗を示しています。 お客様に以下のLinuxシステムでのテストをお願いしてください。 1. xtestを実行してエラーレポートを確認しますか? 2. LX2160用のCAAMモジュールをインストールするには「modprobe caam」を実行してください。もしモジュールのインストールが失敗した場合は、カーネルバージョンに対応したモジュールを更新してください。 3.エラーを報告する場合は、以下のパッチを適用してSECの戻り結果を確認し、エラーの種類を特定して、完全なログを共有してください。 diff --git a/securekeydev/securekey_caam.cb/securekeydev/securekey_caam.cインデックス b82acd3..d657742 100644 --- a/securekeydev/securekey_caam.c+++ b/securekeydev/securekey_caam.c@@ -59,12 +59,14 @@ static int submit_job(struct device *jrdev, uint32_t *desc) /* caam_jr_enqueue 関数を呼び出して、ジョブ記述子のヘッダーをキューに追加します。*/ ret = caam_jr_enqueue(jrdev, desc, caam_op_done, NULL); + pr_err( "caam_jr_enqueue ret (%d)\n" , ret); if (!ret) wait_for_comption_interruptible(&comp); それ以外 return ret; ret = job_comp_status; + pr_err( "job_comp_status ret (%d)\n" , ret); return ret; } よろしくお願いいたします。 Re: LX2160A get MP key failed あなたのコメントについてですが、 1. xtestを実行して、エラーレポートを確認しますか? 添付のxtestログを参照してください。 2. LX2160 用の caam モジュールをインストールするには、「modprobe caam」を実行してください。モジュールのインストールに失敗した場合は、カーネル バージョンと互換性のあるモジュールを更新してください。 既にカーネルにcaamモジュールを組み込みました。 3.エラーを報告する場合は、以下のパッチを適用してSECの戻り結果を確認し、エラーの種類を特定して、完全なログを共有してください。 caamとmp_appに関するdmesgの出力は以下のとおりです。   よろしくお願いします。 Re: LX2160A get MP key failed 1. Linuxカーネルでcaamジョブリングが正常に動作しているか確認してください。下のコマンドを実行してcaam jr割り込みの増加を確認してください root@localhost:~# cat /proc/interrupts | grep jr 378: 41 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GICv3 172 レベル 8010000.jr 379: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GICv3 173 レベル 8020000.jr 380: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GICv3 174 レベル fsl-jr0 root@localhost:~# root@localhost:~# root@localhost:~# dd if =/dev/hwrng of=/tmp/random.dat bs=1 count=16 16+0 レコード 16+0の記録が出ている 16バイトをコピーしました。0.000420759秒、38.0 kB/秒 root@localhost:~# root@localhost:~# root@localhost:~# cat /proc/interrupts | grep jr 378: 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GICv3 172 レベル 8010000.jr 379: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GICv3 173 レベル 8020000.jr 380: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GICv3 174 レベル fsl-jr0 root@localhost:~# 2. submit_job() では、呼び出された関数 caam_jr_enqueue() は、成功時に (-EINPROGRESS = -115) を返します。caam enqueueの戻り結果を確認するために、以下のパッチを適用してみてください。 https://github.com/nxp-qoriq/linux/commit/4d370a1036958d7df9f1492c345b4984a4eba7f6#diff-8acc41c534456288daba59a125ddb3f779635dc493ff4888545adbf1dd0a17c1R327 diff --git a/securekeydev/securekey_caam.cb/securekeydev/securekey_caam.cインデックス b82acd3..808e8da 100644 --- a/securekeydev/securekey_caam.c+++ b/securekeydev/securekey_caam.c@@ -59,12 +59,14 @@ static int submit_job(struct device *jrdev, uint32_t *desc) /* caam_jr_enqueue 関数を呼び出して、ジョブ記述子のヘッダーをキューに追加します。*/ ret = caam_jr_enqueue(jrdev, desc, caam_op_done, NULL); - if (!ret) + pr_err( "caam_jr_enqueue ret (%d)\n" , ret); + if (ret == -EINPROGRESS) wait_for_comption_interruptible(&comp); それ以外 return ret; ret = job_comp_status; + pr_err( "job_comp_status ret (%d)\n" , ret); return ret; } Re: LX2160A get MP key failed 1. Linuxカーネルでcaamジョブリングが正常に動作しているか確認してください。下のコマンドを実行してcaam jr割り込みの増加を確認してください 回答:はい 2. submit_job() では、呼び出された関数 caam_jr_enqueue() は、成功時に (-EINPROGRESS = -115) を返します。caam enqueueの戻り結果を確認するために、以下のパッチを適用してみてください。 回答:私たちのシステムはLinuxカーネルv5.15.71-rt51を使っており、追加のパッチは不要に思えます。 3. さらに、-pコマンドmp_app実行後、プロセスはwait_for_completion_interruptible()で停止し、SO戻りを待っています。     Re: LX2160A get MP key failed カーネルのソースコードをもう一度確認してください。 caam_jr_enqueue() はこの分岐で戻り値を更新します。 https://github.com/nxp-qoriq/linux/blob/95448dd0dc9b621ae027cbefedaaa7c3d0d3ad2d/drivers/crypto/caam/jr.c#L565 Re: LX2160A get MP key failed AEチームからの以下のアップデートをご参照ください。 1. チームは、LSDKドキュメントに記載されているとおり、この機能はLS1046Aボードでのみ実行可能であることを確認しました。 2. 顧客のLX2160およびLS1046のランニングログから、いずれもLSDK20.04で動作しています。カーネルバージョン4.19では、caam_jr_enqueue()はこのバージョンで0を返すため、私のパッチを適用する必要はありません。 https://github.com/nxp-qoriq/linux/blob/94e0473db2feed7ed6b84848c8d227faf72297c2/drivers/crypto/caam/jr.c#L408 3. 私の方でもさらにテストが必要です。 調査結果が出次第、更新します。 Re: LX2160A get MP key failed すべてのドライバ、暗号通貨、CAAMのソースファイルを確認しましたが、同じです。 以下のようにubootスクリプトを使用してITSを有効にします。 mw.l 0x1e80200 0x4 mw.l 0x1e80020 0x2 ITSの有効化プロセスは不完全だと思いますか? Re: LX2160A get MP key failed AEチームからの以下のアップデートをご参照ください。 お客様はu-bootの「md」コマンドでITSビットが有効かどうかを確認できます。 md 0x1e80200 顧客はcaam_jr_enqueue()関数のソースコードを共有できますか?ソースコードパスは「linux/ドライバ/crypto/caam/jr.c」です。 あるいはソースコードのリンクを共有してもらえます。 Re: LX2160A get MP key failed レジスタ値については下記を参照してください。jr.c ソースコードについては添付ファイルを参照してください。 Re: LX2160A get MP key failed ITSの持ち分は爆発した。 jr.cのソースコードを確認してください。submit_jobにパッチを適用する必要があります。 diff --git a/securekeydev/securekey_caam.cb/securekeydev/securekey_caam.cインデックス b82acd3..808e8da 100644 --- a/securekeydev/securekey_caam.c+++ b/securekeydev/securekey_caam.c@@ -59,12 +59,14 @@ static int submit_job(struct device *jrdev, uint32_t *desc) /* caam_jr_enqueue 関数を呼び出して、ジョブ記述子のヘッダーをキューに追加します。*/ ret = caam_jr_enqueue(jrdev, desc, caam_op_done, NULL); - if (!ret) + pr_err( "caam_jr_enqueue ret (%d)\n" , ret); + if (ret == -EINPROGRESS) wait_for_comption_interruptible(&comp); それ以外 return ret; ret = job_comp_status; + pr_err( "job_comp_status ret (%d)\n" , ret); return ret; } Re: LX2160A get MP key failed ご指摘のとおりsubmit_job()にパッチを適用しましたが、結果として「mp_app -p」を実行した後、「wait_for_completion_interruptible」で停止します。 LSDKとLLDPのユーザーマニュアルの説明によると、セキュリティアプリケーション はプラットフォームLS1046ARDB上で完全に検証・検証されており、LS1046ボードでLSDKでこの問題を確認しており、動作しています。 別のLX2160製品もLSDK付きで確認すると、こちらも「wait_for_completion_interruptible」で止まっています。 LSDKを使うにせよLLDPを使うにせよ、プラットフォームLX2160A何らかの問題が生じます。 NXPはLX2160Aプラットフォーム上でセキュリティアプリケーションの検証を行いましたか?
查看全文
LX2160A 获取 MP 密钥失败 您好,NXP, 我们正在构建基于LLDP的LX2160A安全启动系统,并验证MP密钥功能。 在我们的 LX2160A 板上安装并启动安全启动系统没有问题,因此我们认为 ITS 位值为 1,但在执行“mp_app -p”命令后出现“设备未初始化”错误。 您有什么建议可以帮我检查这个问题吗? 谢谢! 杰弗里 Re: LX2160A get MP key failed 客户是否遵循了 LLDP 文档第 6.4.4 节?   例如 在 Linux 提示符下运行 tee-supplicant & 命令。 根据所使用的 Linux 内核版本,从正确的文件夹运行 insmod securekeydev.ko 脚本。 请让客户在运行“mp_app”时启用内核 printk,并分享他们的日志。 echo 8 > /proc/sys/kernel/printk dmesg Re: LX2160A get MP key failed 王一平你好, 是的,我们在执行 mp_app 命令之前启动 tee-supplicant 并加载 securekeydev.ko。 以下是 dmesg 信息。 杰弗里 Re: LX2160A get MP key failed 请参考AE团队的以下更新。 从客户的反馈中,我看到“错误:caam_submit_mp_get_pub_key_op:submit_job”,这表明向 SEC 发送作业失败。 请客户在其Linux系统中执行以下测试: 1. 运行 xtest,看看有没有错误报告? 2. 请运行“modprobe caam”为LX2160安装caam模块,如果安装模块失败,请更新与您的内核版本兼容的模块。 3.如果也报告错误,请应用以下补丁检查 高效密码学标准(SEC) 返回结果以确定错误类型,并分享其完整日志。 diff --git a/securekeydev/securekey_caam.cb/securekeydev/securekey_caam.c索引 b82acd3..d657742 100644 --- a/securekeydev/securekey_caam.c+++ b/securekeydev/securekey_caam.c@@ -59,12 +59,14 @@ static int submit_job(struct device *jrdev, uint32_t *desc) /* 调用 caam_jr_enqueue 函数,将作业描述符头加入队列。 */ ret = caam_jr_enqueue(jrdev, desc, caam_op_done, NULL); + pr_err( "caam_jr_enqueue ret (%d)\n" , ret); 如果(!ret) wait_for_completion_interruptible(&comp); 别的 返回ret; ret = job_comp_status; + pr_err( "job_comp_status 返回 (%d)\n" , ret); 返回ret; } 此致, Re: LX2160A get MP key failed 关于您的评论, 1. 运行 xtest,看看有没有错误报告? 请参考附件中的xtest日志。 2. 请运行“modprobe caam”为 LX2160 安装 caam 模块,如果安装模块失败,请更新与您的内核版本兼容的模块。 我们已经在内核中构建了 caam 模块。 3.如果也报告错误,请应用以下补丁检查 高效密码学标准(SEC) 返回结果以确定错误类型,并分享其完整日志。 关于 caam 和 mp_app 的 dmesg 返回如下信息。   谢谢! Re: LX2160A get MP key failed 1. 请确保 caam job ring 在 Linux 内核中运行良好,请运行以下命令检查 caam jr 中断是否增加。 root@localhost:~# cat /proc/interrupts | grep jr 378: 41 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GICv3 172 Level 8010000.jr 379: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GICv3 173 Level 8020000.jr 380: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GICv3 174 级 fsl-jr0 root@localhost:~# root@localhost:~# root@localhost:~# dd if =/dev/hwrng of=/tmp/random.dat bs=1 count=16 16+0 条记录 16+0 条记录 复制了 16 字节,耗时 0.000420759 秒,速度为 38.0 kB/秒 root@localhost:~# root@localhost:~# root@localhost:~# cat /proc/interrupts | grep jr 378: 42 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GICv3 172 Level 8010000.jr 379: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GICv3 173 Level 8020000.jr 380: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GICv3 174 级 fsl-jr0 root@localhost:~# 2. 在 submit_job() 中,被调用的函数 caam_jr_enqueue() 在成功时返回 (-EINPROGRESS = -115)。请尝试应用以下补丁来检查 caam enqueue 返回结果。 https://github.com/nxp-qoriq/linux/commit/4d370a1036958d7df9f1492c345b4984a4eba7f6#diff-8acc41c534456288daba59a125ddb3f779635dc493ff4888545adbf1dd0a17c1R327 diff --git a/securekeydev/securekey_caam.cb/securekeydev/securekey_caam.c索引 b82acd3..808e8da 100644 --- a/securekeydev/securekey_caam.c+++ b/securekeydev/securekey_caam.c@@ -59,12 +59,14 @@ static int submit_job(struct 设备 *jrdev, uint32_t *desc) /* 调用 caam_jr_enqueue 函数,将作业描述符头加入队列。 */ ret = caam_jr_enqueue(jrdev, desc, caam_op_done, NULL); -如果(!ret) + pr_err( "caam_jr_enqueue ret (%d)\n" , ret); +如果(ret == -EINPROGRESS) wait_for_completion_interruptible(&comp); 别的 返回ret; ret = job_comp_status; + pr_err( "job_comp_status 返回 (%d)\n" , ret); 返回ret; } Re: LX2160A get MP key failed 1. 请确保 caam job ring 在 Linux 内核中运行良好,请运行以下命令检查 caam jr 中断是否增加。 答:是的 2. 在 submit_job() 中,被调用的函数 caam_jr_enqueue() 在成功时返回 (-EINPROGRESS = -115)。请尝试应用以下补丁来检查 caam enqueue 返回结果。 答:我们的系统使用 Linux 内核 v5.15.71-rt51,似乎不需要进行任何额外的补丁。 3. 此外,运行 mp_app -p 命令后,进程在 wait_for_completion_interruptible() 处停止,目前仍在等待返回。     Re: LX2160A get MP key failed 请仔细检查您的内核源代码。 caam_jr_enqueue() 在此分支中具有更新返回值。 https://github.com/nxp-qoriq/linux/blob/95448dd0dc9b621ae027cbefedaaa7c3d0d3ad2d/drivers/crypto/caam/jr.c#L565 Re: LX2160A get MP key failed 请参考AE团队的以下更新。 1. 团队确认此功能只能在 LS1046A 板上执行,如 LSDK 文档所述。 2. 从 LX2160 和 LS1046 的客户运行日志来看,这两款机器都运行的是 LSDK20.04 版本。内核版本 4.19,caam_jr_enqueue() 在此版本中返回 0,无需应用我的补丁。 https://github.com/nxp-qoriq/linux/blob/94e0473db2feed7ed6b84848c8d227faf72297c2/drivers/crypto/caam/jr.c#L408 3. 我这边还需要进一步测试。 有调查结果后会更新。 Re: LX2160A get MP key failed 请参考AE团队的以下更新。 客户可以通过 u-boot 'md' 命令检查 ITS 位是否已启用。 md 0x1e80200 客户可以共享caam_jr_enqueue()函数源代码吗?源代码路径是“linux/drivers/crypto/caam/jr.c”。 或者他们可以分享他们的源代码链接。 Re: LX2160A get MP key failed 我们检查了所有驱动程序/加密/caam 源文件,它们都相同。 我们通过如下的 uboot 脚本启用 ITS。 mw.l 0x1e80200 0x4 mw.l 0x1e80020 0x2 你认为智能交通系统(ITS)的激活过程是否未完成? Re: LX2160A get MP key failed 注册值请参见下方,jr.c 源代码请参见附件。 Re: LX2160A get MP key failed 我们已经按照您之前提到的方法修补了 submit_job(),结果是在运行“mp_app -p”后,程序会在“wait_for_completion_interruptible”处停止。 根据 LSDK 和 LLDP 用户手册中的描述,安全应用程序在 LS1046ARDB 平台上已得到充分验证,我们在 LS1046 板上使用 LSDK 验证了此问题,并且它运行正常。 使用 LSDK 验证我们的另一个 LX2160 产品,它也会在“wait_for_completion_interruptible”处停止。 无论使用 LSDK 还是 LLDP,我们在 LX2160A 平台上都会遇到一些问题。 NXP是否对LX2160A平台进行了网络安全应用验证? Re: LX2160A get MP key failed 它的某个部分被炸毁了。 检查你的 jr.c 源代码,你需要为 submit_job 应用补丁。 diff --git a/securekeydev/securekey_caam.cb/securekeydev/securekey_caam.c索引 b82acd3..808e8da 100644 --- a/securekeydev/securekey_caam.c+++ b/securekeydev/securekey_caam.c@@ -59,12 +59,14 @@ static int submit_job(struct 设备 *jrdev, uint32_t *desc) /* 调用 caam_jr_enqueue 函数,将作业描述符头加入队列。 */ ret = caam_jr_enqueue(jrdev, desc, caam_op_done, NULL); -如果(!ret) + pr_err( "caam_jr_enqueue ret (%d)\n" , ret); +如果(ret == -EINPROGRESS) wait_for_completion_interruptible(&comp); 别的 返回ret; ret = job_comp_status; + pr_err( "job_comp_status 返回 (%d)\n" , ret); 返回ret; }
查看全文