Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
S32 デザインスタジオライセンス更新 フルフィルメントID:128143961 有効期限:2026年6月22日 製品:ARM v2018 R1用S32 Design Studio。 起動コード:3E1F-50E5-6F93-F06F Re: S32 Design Studio License Renewal こんにちは、 現在は延長されています。 よろしくお願いいたします。 ピーター
View full article
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です。 よろしくお願いいたします。 ダニエル
View full article
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
View full article
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
View full article
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。
View full article
关于车载网络通信的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
View full article
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.
View full article
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
View full article
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
View full article
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.
View full article
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
View full article
車載ネットワーク通信についての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はあなたのニーズに合わせて学習を調整できるからです。 よろしくお願いいたします。 ピーター
View full article
ライブラリを追加する 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プロジェクト全体をダウンロードせずに、ガイドに従ってライブラリとリンクへのパスを追加できます。 敬具、ルイス
View full article
[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 陈银
View full article
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
View full article
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
View full article
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
View full article
NFC天线工具 - 皮肤效果 你好!我有一个关于NFC天线工具的问题。该工具在计算天线参数时是否考虑了趋肤效应? Re: NFC Antenna Tool - Skin effect 你好@lucas_uy_13 是的,确实如此。
View full article
LX2160A get MP key failed Hi NXP, We are building LX2160A secure boot system based on LLDP and verifying MP key function. Install and start up the secure boot system on our LX2160A board are OK and so we think ITS bit value is 1, but get "Device is not initiated" error after execute "mp_app -p" command. Do you have any advice to check this issue ? Thank you, Jeffrey  Re: LX2160A get MP key failed Did customer follow LLDP document section 6.4.4?   Such as Run tee-supplicant & command from the Linux prompt. Depending on the Linux kernel version used insmod securekeydev.ko from right folder Please also let customer enable kernel printk when run 'mp_app', and share their log. echo 8 > /proc/sys/kernel/printk dmesg Re: LX2160A get MP key failed Hi yipingwang, Yes, we start tee-supplicant and load securekeydev.ko before execute mp_app command. The following is dmesg information. Jeffrey Re: LX2160A get MP key failed Please refer to the following update from the AE team. From customer's feedback, I can see "error: caam_submit_mp_get_pub_key_op: submit_job", it indicates send job to SEC failed. Please ask customer do below test in their Linux system, 1. run xtest, to see any error report? 2. please run "modprobe caam" to install caam module for LX2160, if install module failed, please update modules compatible with your kernel version. 3. If also report error, apply below patch to check SEC return result to identify the error type, and share their full log. diff --git a/securekeydev/securekey_caam.c b/securekeydev/securekey_caam.c index 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) /* Call caam_jr_enqueue function for Enqueue a job descriptor head. */ ret = caam_jr_enqueue(jrdev, desc, caam_op_done, NULL); + pr_err("caam_jr_enqueue ret (%d)\n", ret); if (!ret) wait_for_completion_interruptible(&comp); else return ret; ret = job_comp_status; + pr_err("job_comp_status ret (%d)\n", ret); return ret; } Regards, Re: LX2160A get MP key failed About your comments, 1. run xtest, to see any error report? Please refer to attached xtest log. 2. please run "modprobe caam" to install caam module for LX2160, if install module failed, please update modules compatible with your kernel version. We built caam module in kernel already. 3. If also report error, apply below patch to check SEC return result to identify the error type, and share their full log. The dmesg about caam and mp_app return as below.   Thank you. Re: LX2160A get MP key failed 1. Please make sure caam job ring work well in Linux kernel, please run below command to check caam jr interrupt increase or not 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 GICv3 173 Level 8020000.jr 380: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GICv3 174 Level fsl-jr0 root@localhost:~# root@localhost:~# root@localhost:~# dd if=/dev/hwrng of=/tmp/random.dat bs=1 count=16 16+0 records in 16+0 records out 16 bytes copied, 0.000420759 s, 38.0 kB/s 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 GICv3 173 Level 8020000.jr 380: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 GICv3 174 Level fsl-jr0 root@localhost:~# 2. In submit_job() the called function caam_jr_enqueue() return (-EINPROGRESS = -115) on success. Please try apply below patch to check caam enqueue return result. https://github.com/nxp-qoriq/linux/commit/4d370a1036958d7df9f1492c345b4984a4eba7f6#diff-8acc41c534456288daba59a125ddb3f779635dc493ff4888545adbf1dd0a17c1R327 diff --git a/securekeydev/securekey_caam.c b/securekeydev/securekey_caam.c index 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) /* Call caam_jr_enqueue function for Enqueue a job descriptor head. */ 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_completion_interruptible(&comp); else return ret; ret = job_comp_status; + pr_err("job_comp_status ret (%d)\n", ret); return ret; } Re: LX2160A get MP key failed 1. Please make sure caam job ring work well in Linux kernel, please run below command to check caam jr interrupt increase or not Ans: Yes 2. In submit_job() the called function caam_jr_enqueue() return (-EINPROGRESS = -115) on success. Please try apply below patch to check caam enqueue return result. Ans: Our system uses Linux kernel v5.15.71-rt51 and it seems need not do any additional patches. 3. In addition, after run mp_app -p command, the process stops at wait_for_completion_interruptible() and it is waiting the return so far.     Re: LX2160A get MP key failed Please double check your kernel source code. caam_jr_enqueue() has update return value in this brach. https://github.com/nxp-qoriq/linux/blob/95448dd0dc9b621ae027cbefedaaa7c3d0d3ad2d/drivers/crypto/caam/jr.c#L565
View full article
支援要請:S32 Design StudioによるARMライセンス更新エラー 親愛なるNXPサポートチームへ、 こんにちは、 S32 Design Studioのライセンス更新を試みる際に発生したエラーについてサポートをお願いしたいのでお願いしています。 以下に、私のライセンスの詳細と受信したエラーメッセージを示します。 < License Information ><ライセンス情報> < Error Message ><エラーメッセージ> この問題を解決し、ライセンスの延長や更新を成功させる方法についてアドバイスをいただけますか? お時間とご協力に感謝いたします。 よろしくお願いいたします。 ソン・スヒョン Re: Request for Assistance: S32 Design Studio for ARM License Renewal Error こんにちは、 もう一度アクティベーションをお試しください。古いライセンスを返却しました。 Re: Request for Assistance: S32 Design Studio for ARM License Renewal Error @jiri_kral ライセンスは現在有効で、正常に動作しています。 ご協力いただきありがとうございます! よろしくお願いいたします。 ショーン・ソン
View full article