Multi Source Translation Content

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Multi Source Translation Content

ディスカッション

ソート順:
寻求关于制作 NTAG213 生产编程夹具的指导 大家好, 我们正在将 NTAG213 芯片集成到我们自己的产品中,目前处于测试阶段。随着我们迈向批量生产,我们计划建造一个编程夹具(或测试夹具)来处理完整的在线生产流程:芯片安装 → 写入 → 读取/验证 → 发货。 我们正在寻找关于以下内容的建议或相关文档: NTAG213生产级NFC编程夹具的设计与操作最佳实践 生产环境中写入/验证循环的关键注意事项或常见陷阱 在构建夹具之前,我们应该了解任何推荐的工具、参考设计或恩智浦资源 如何在生产阶段可靠地检测和处理写入失败或缺陷芯片 非常感谢那些在生产环境中使用过 NTAG213 的朋友提供任何指导。我们目前仍处于初期阶段,因此非常欢迎大家提供一些基础性的建议。 谢谢! Re: Looking for guidance on building a production programming fixture for NTAG213 你好@Lee0130 NTAG213 文档是公开的,可以从产品页面下载。 我们向您推荐 RFID Discover,它是一款方便的 NFC 标签配置、编程和数据验证软件工具,有助于简化开发和生产测试。 您还可以使用TapLinx SDK(支持 MIFARE、NTAG、ICODE 和 UCODE)开发自己的应用程序 | NXP 半导体
記事全体を表示
HSE_B Service No-Response Issue after Multi-Core Activation on S32K328 Dear NXP Technical Support Team, I am writing to request technical assistance regarding an issue where the HSE_B service hangs (no response) after activating multi-core operations on the S32K328 platform. 1. Environment & Setup  - MCU: S32K328 (Dual Cortex-M7 + HSE_B)  - Configuration Tool: EB tresos (for MCAL configuration)  - Core Roles: M7_0 and M7_1 are running concurrently with an Autosar-OS.                          M7_0 communicates with HSE_B using shared SRAM for message descriptors. 2. XRDC & Peripheral Configuration (For Testing) To isolate permission issues, we have applied a highly permissive configuration, but the symptoms remain identical regardless of whether M7_0 and HSE_B are grouped into a single domain or separated into distinct domains:  - Memory Config: Full Access granted for all SRAM regions, and specific PFLASH/DFLASH regions allocated for HSE.  - Peripheral Config (PDAC): Full Access assigned to CONFIGURATION_GPR, PFC/PFC_ALT, FMU/FMU_ALT, and MU_0 / MU_1. 3. Boot Sequence The application follows the boot sequence below:  3.1 M7_0 Boots → Clock Initialization.  3.2 Verify HSE STATUS is INIT_OK.  3.3 Resource Manager Initialization (RM_Init for XRDC setup).  3.4 Peripheral Initialization.  3.5 Start M7_1 (Core 1).  3.6 Start OS. 4. Problem Description & Symptoms Both M7_0 and M7_1 start up and run normally within the OS environment. However, as soon as an HSE service request is invoked afterwards, the HSE fails to respond, resulting in a hang. The register states during the hang are as follows: - XRDC Register Status:     XRDC_DERRLOC[3] changes to 0x00020000.     However, no error values are captured in the DERR_W3_0/1/2 or DERR_W3_16/17/18 registers.  - Messaging Unit (MU_0) Status:     In the MU_0_TSR register, the flags TE1 and TE2 stay in the "Not Empty" state and do not clear.     In the MU_0_FSR register, the F3 flag remains unchanged. 5. Questions 5.1 Given that XRDC_DERRLOC[3] shifts but DERR_W3_x registers show no specific error details, what could be triggering this behavior? Could it be related to an implicit access violation by the HSE internal DMA or bus matrix configuration?  5.2 Even though the shared SRAM is explicitly configured as Non-Cacheable via the MPU, are there any known multi-core constraints or hidden caching behaviors under an OS environment that could prevent the HSE from reading the descriptors?  5.3 Are there any known constraints or prerequisites regarding the execution timing of RM_Init (XRDC initialization) relative to the HSE_STATUS_INIT_OK check or Core 1 bootup?  5.4 What steps or additional registers should we check to identify why the MU transmit status registers (TE1/TE2) are stuck and the HSE is not processing the descriptors? We would highly appreciate your insights and guidance on resolving this bottleneck. Best regards, Re: HSE_B Service No-Response Issue after Multi-Core Activation on S32K328 Hi @NewbieNerd  HSE is always supposed to return a response. If no response is received, HSE went to shutdown mode, most likely. This happens in case of fatal error. For example, if HSE can’t read or write some data due to: insufficient access rights, double bit ECC error, invalid address etc. You can confirm this by reading of GSR register in MU_0. If bit ‘0’ is set, HSE is in shutdown mode. To see the error details in XRDC, it’s necessary to follow section “19.7.3.2 Handling domain access violation errors” in S32K3 reference manual. Step 2 is important to see the details in DERR registers: lukaszadrapa_0-1781595767701.png For quick debugging purposes, you can simply move Cortex-M7_0 / Cortex-M7_0_debug to domain 3 (HSE is always in domain 3 on S32K328) by writing DID=3 in MDA_W0_0_DFMT0: lukaszadrapa_1-1781595783033.png Then you should see the details in DERR (just an example from my debugger when I triggered some error by HSE). This was not visible when DID = 0: lukaszadrapa_2-1781595820048.png This should provide some hints what went wrong. Another point is that XRDC should be enabled after HSE_STATUS_INIT_OK is set. This is explicitly mentioned in HSE FW reference manual: lukaszadrapa_3-1781595871145.png Regards, Lukas Re: HSE_B Service No-Response Issue after Multi-Core Activation on S32K328 Thank you for your prompt reply. Here are the specific version details of our development environment as requested: 1. Software & Firmware Versions    - HSE Firmware: S32K358_0_2_40_0      Note: We are using this version as the documentation specifies that it supports the S32K328 derivative.    -  RTD (Real-Time Drivers):  AUTOSAR Release Version: 4.7.0, Software Version: 3.0.0 2. Development Toolchain     IDE: We are not using S32DS for this project.     Configuration Tool: EB tresos Studio is being utilized for all MCAL configurations.                                             EB tresos Version: 27.1.0 3. Additional Context I am currently leading the development from the HOST side (Cortex-M7). We have already thoroughly aligned and discussed this behavior with our internal HSE FW development team. However, we could not find any root cause or anomalies from the HSE FW perspective, which leads us to highly suspect that this is a HOST-side runtime configuration or synchronization issue triggered during the multi-core/OS initialization. I sincerely hope we can isolate the exact bottleneck with your guidance. Please let me know if you need any further configuration dumps or register captures from our EB tresos project. Best regards, Re: HSE_B Service No-Response Issue after Multi-Core Activation on S32K328 Could you please specify used HSE FW version, used RTD and S32DS revisions? Thanks Re: HSE_B Service No-Response Issue after Multi-Core Activation on S32K328 Thank you for your valuable debugging guide and insights. Regarding your suggestions, I have investigated further and confirmed the following results on our side. I would like to share these findings and request your guidance on how to bypass our tool configuration constraints. 1. RTD Version Clarification    As mentioned in our previous correspondence, we are currently utilizing:    -   RTD SW Version: 3.0.0    -  AUTOSAR Release Version: 4.7.0 2. EB tresos Configuration Constraint (Domain Allocation)    You mentioned that on the S32K328, the HSE is permanently assigned to Domain 3.    However, in our EB tresos (v27.1.0) environment with the RTD 3.0.0 plug-in, the configuration structure for the Resource Manager (RM) only allows us to allocate up to Domain 2 (Domain ID 0, 1, and 2). NewbieNerd_0-1781602735443.png   Because the configuration tool limits the maximum number of domains to 2, we are unable to naturally configure or assign masters/slaves to Domain 3 via EB tresos.   Question: Could you please specify which RTD version or patch officially unlocks Domain 3 configuration in EB tresos for the S32K328 derivative? Or do we need to manually override the XRDC registers via runtime code? 3. XRDC Error Register Status (DERRLOC vs DERR_Ww_i)   Following your reference manual guide, we observed the following behavior during the error state:    XRDC_DERRLOC[3] is captured as 0x00020000 by dump not peripheral view(DERRLOC[3] not exist). However, despite following the error-handling steps, all DERR_Ww_i registers remain 0. As you pointed out, this lack of detail in DERR appears to happen because our host core (Cortex-M7_0) is running on a different domain (e.g., DID=0 or 1), preventing it from reading the error logs generated by Domain 3 (HSE). 4. Execution Timing Verification  We have double-checked our boot sequence and confirmed that XRDC is enabled explicitly AFTER HSE_STATUS_INIT_OK is set, which complies with the HSE FW Reference Manual requirement. 5. Request for Guidance Since we cannot easily move the Cortex-M7_0 or its debug master to Domain 3 inside EB tresos due to the tool constraint mentioned above, could you advise us on: The proper method to runtime-override MDA_W0_0_DFMT0 to force DID=3 for debugging without breaking the MCAL initialization? If there are any known workarounds in RTD 3.0.0 to inspect Domain 3 error registers from Domain 0/1? Thank you again for your continuous support. Re: HSE_B Service No-Response Issue after Multi-Core Activation on S32K328 The missing domain 3 is known issue in RTD 3.0.0. It is fixed in version 4.0.0 and higher. Recommended solution is to upgrade the RTD to newest version. Otherwise it would be necessary to manually implement some kind of workaround – rewrite XRDC registers, rewrite configuration file, generate configuration file in newer RTD and then use it in your project or something like that… But this would be rather temporary hot fix, recommended and clean solution is to use newer RTD. According to the section “19.7.3.2 Handling domain access violation errors”, the domain should be reconfigured only temporarily for the error handler. At this point, I would just try to modify DID by debugger to be able to read the error details. And did you confirmed if bit 0 in GSR register in MU_0 is set? Regards, Lukas
記事全体を表示
为什么模型大小限制为 1 MB? 我在 MIMRT700(NPU 模型)上运行了 tflm_cifar10 示例中的模型。在构建程序时,我可以看到模型的大小及其对应的区域大小。  在许多情况下,该区域的大小为 1 MB。据我所知,该模型的大小上限为 1 MB。是这样吗? nnxxpp_0-1781495142659.png 我不明白这一点。以下是关于 MIMRT700 EVK 的信息。 nnxxpp_2-1781495429888.png 我不知道模型在 MIMRT700 EVK 上保存在哪里。那么,区域大小的 1 MB 在哪里呢?这是模型大小的实际限制吗?或者,我们可以采用某些方法来扩大模型规模。 你对这个问题有什么看法吗?因为我试图部署一个更大的模型> 1 MB。我确实在等待您的回复。谢谢。 Re: Why model size is limited at 1 MB? @mayliu1  非常感谢。现在我明白了,我们可以通过设置区域大小来扩大模型的规模。 nnxxpp_0-1781514247437.png 或者如果我想在外部存储器上运行更大的模型,我可以关注这个文档 https://docs.nxp.com/bundle/AN14700/page/topics/external_memory.html Re: Why model size is limited at 1 MB? 你好@nnxxpp, 非常感谢您关注我们的产品并使用我们的社区。 问:我不知道模型在 MIMRT700 EVK 上保存在哪里。那么,区域大小的 1 MB 在哪里呢?这是模型大小的实际限制吗?或者,我们可以采用某些方法来扩大模型规模。 你对这个问题有什么看法吗? 因为我试图部署一个比> 1 MB 更大的模型。 答:modeldata 显示的 1 MB 并非 RT700 的硬件限制。 这只是示例项目中使用的默认链接器分配。 对于较大型号,可在项目设置中调整此分配,若需要更多存储空间,也可使用外部 XSPI 闪存。 如需更多详细信息,请参阅此 AN14700 文档。 https://docs.nxp.com/bundle/AN14700/page/topics/introduction.html mayliu1_0-1781507645284.png 因此,RT700 并非天生就仅限于 1 MB 型号。要支持更大的 NPU 模型,可以通过增加模型数据内存分配,或者使用相应的转换选项将模型放置在外部 XSPI 闪存中来实现。  希望对您有所帮助 顺祝商祺! 刘梅 Re: Why model size is limited at 1 MB? @mayliu1  我想重新讨论这个话题。现在我正尝试在RT700上部署更大的模型。下图是在用小型模型构建程序时捕获的。 我看到有 4 个内存区域: - QSPI_flash:外部存储器 - SRAM:我问过 chatgpt,它是用来存储程序运行时的数据的(例如 .data、.bss 等)。栈,堆)。是这样吗? - NCACHE_REGION:与 ktensorArena 相同(用于输入、中间输出和输出) - modeldata:用于保存模型权重 我在导入 SDK 示例时看到了内存配置信息。这意味着 SRAM、NCACHE_REGION 和来自 SRAM 的模型数据(7.5 MB)。 NCACHE_REGION 和 modeldata应该位于 0x2000_0000至0x2058_0000 ( 5.5 MB ) 可获得最佳性能(NPU 可访问的 SRAM 区域) 但 SRAM(名为 SRAM)的位置是0x20080000 (在第二张图片中) ==> 它也在0x2000_0000到0x2058_0000 的范围内。默认值约为 2.5 MB。这意味着NCACHE_REGION + modeldata应该小于 (5.5 - 2.5) = 3 MB。 我的模型大小约为 3.5 MB。除了可以将模型放在外部存储器上(这会导致推理时间更长)之外,我该如何配置内存,才能让我的模型(3.5 MB)仍然位于 NPU 可以访问的内存区域? 我很好奇我们是否可以缩小“SRAM”区域(在图像 1、2 中),或者我是否可以将其移动到 RAM 的另一个区域(7.5 - 5.5 = 2 MB - 图像 3 中的最后一个区域)? 我该如何估算“SRAM”区域的大小?在下面的图片中,它是 15560 字节。 不好意思,我的问题有点长。 nnxxpp_0-1782205318606.png nnxxpp_1-1782205742121.png nnxxpp_2-1782206037185.png Re: Why model size is limited at 1 MB? @mayliu1  早上好。 或许你错过了我上面提出的新问题。 Re: Why model size is limited at 1 MB? 嗨@nnxxpp , 很抱歉回复晚了。 如果您不介意的话,能否请您为您的新问题创建一个新的案例? 感谢您的理解与合作。 顺祝商祺! 5月 Re: Why model size is limited at 1 MB? 很高兴得知您的问题已经解决。 很抱歉回复晚了,感谢您的理解。 Re: Why model size is limited at 1 MB? @mayliu1  我的问题已经解决了。我们可以从 5.5 MB 区域中为 NPU 找到 SRAM。我将 modeldata 和 kTensorArena 放在 5.5 MB 的区域中,并且成功了。推理时间不错。 但如果你没有错过我的问题,我就可以尽快完成我的任务了。谢谢。 Re: Why model size is limited at 1 MB? 是的。祝您今天愉快。 Re: Why model size is limited at 1 MB? @mayliu1 好的。我来创建一个新问题。谢谢。
記事全体を表示
freeMASTER FREEMASTER3.2,第二次安装时,由于第一次没有卸载干净导致无法再次安装。正常情况不应该是覆盖第一次吗。现在无法安装 Re: freeMASTER 你好 Freemaster 3.2 在第二次安装时失败,因为第一次安装并未完全卸载。通常不应该覆盖第一个吗?现在无法安装。 不——像 FreeMASTER(基于 ZeroG / InstallAnywhere)这样的安装程序通常不会直接覆盖已损坏的旧安装。 你所看到的其实是预期的行为。 请看一下这个帖子: https://community.nxp.com/t5/FreeMASTER/Deinstalltion-FreeMaster-3-2/m-p/1593805 顺祝商祺! Peter
記事全体を表示
Matlab2023a Envokes S32DS3.5 Encountered Error Dear MBDT Team. We are using MATLAB2023a scripts to generate code after compiling Simulink models, then call eclipsec.exe to perform headless background compilation. Once the build is completed, a hyperlink is created in the Simulink Diagnostic Viewer to directly open the workspace corresponding to the compiled project. This workflow worked perfectly with S32DS 3.4. However, after upgrading to S32DS 3.5.8, two issues have occurred: Issue 1: Clicking the hyperlink that's created by Simulink will launch the background process s32ds.exe, which then pops up and exits immediately. We have tried several solutions like adding the parameter "-vm \bin\javaw.exe" to s32ds.ini (this has no effect on s32ds.exe), and prioritizing the JDK 11 path in system environment variables. None of these attempts resolved the problem. Issue 2: As previous described, calling eclipsec.exe via MATLAB scripts triggers the error shown in the screenshot: Java was started but returned exit code=1. We set "\bin\javaw.exe" and JDK 11 path at the top of system environment variables. The Command Prompt correctly displays Java 11 (64-bit), yet Simulink compilation still attempts to load jvm.dll. After deleting "client\jvm.dll" or "server\jvm.dll", the program will locate java.exe instead, but still reports an error with exit code=4. In addition, manual compilation remains successful in all cases. All the related files and settings will be uploaded for your reference. Please help give your advice to fix this. Thank you. Re: Matlab2023a Envokes S32DS3.5 Encountered Error Hello, From what I understand from your message, you have a Simulink Model and generate code for it using the Embedded Coder. Then you have set up a workflow to compile the code using eclipsec. The main problem I see is that MATLAB do not currently use the correct Java version. Have you tried to contact them about this problem? Moreover, I suspect that you don't use Model Based Design Toolboxes developed by NXP (e.g. S32K3, S32K1 etc). Let me know if I am wrong. Best regards, Sorin Bancila
記事全体を表示
Problem with updating the S32 Design Studio 3.6.8 I have installed the S32 Design Studio on my ubuntu 22.0 linux system, but i am not able to see the Real time drivers package in Extensions and Updates tab even after added the update sites for the RTD package. Also when i opened it today it automatically checked for the updates and given this error you can see in the image: varunpenumudi_0-1781236748272.png The error says this: "Cannot complete the install because one or more required items could not be found. Software being installed: Remote Services 12.5.0.202603111352 (org.eclipse.remote.feature.group 12.5.0.202603111352) Missing requirement: Eclipse Remote Development documentation plug-in 12.5.0.202603111352 (org.eclipse.remote.doc.isv 12.5.0.202603111352) requires 'osgi.bundle; org.eclipse.help [3.10.500,4.0.0)' but it could not be found Cannot satisfy dependency: From: Remote Services 12.5.0.202603111352 (org.eclipse.remote.feature.group 12.5.0.202603111352) To: org.eclipse.equinox.p2.iu; org.eclipse.remote.doc.isv [12.5.0.202603111352,12.5.0.202603111352] " please help me with solving this issue Re: Problem with updating the S32 Design Studio 3.6.8 Hi,  unfortunately RTD is not supported on Linux OS. It can be installed from a .zip archive, but it is not tested and there are couple known limitations caused by case sensitive OS (Linux). 
記事全体を表示
Inquiries from MC33879BPEK Hello. I would like to inquire about MC33879BPEK parts. Is that part going to be discontinued now? The site says that it is available for purchase. However, the seller informed me that it will be discontinued in the future. I want to know exactly what it's about, and if it's discontinued, I need an alternative product. There are many circuits designed with this part. Please check it out. Have a nice day. Re: Inquiries from MC33879BPEK guoweisun_0-1781501110207.png No suitable part for replacement. Re: Inquiries from MC33879BPEK You don't have any plans to make a replacement, do you? (I hope we have replaceable parts.) Then when is the last order? Re: Inquiries from MC33879BPEK HI Yes it will EOL and without any replacement for recommend!
記事全体を表示
フリーマスター Freemaster 3.2 のインストールが 2 回目の試行でも失敗しました。最初のインストールが完全にアンインストールされていなかったためです。通常であれば最初のインストールは上書きされるはずですよね?そのため、インストールができません。 Re: freeMASTER こんにちは、 Freemaster 3.2 は、最初のインストールが完全にアンインストールされていなかったため、2回目のインストール試行でも失敗しました。通常は最初のファイルを上書きするべきではないでしょうか?インストールできなくなりました。 いいえ。FreeMASTER(ZeroG / InstallAnywhereベース)のようなインストーラーは、通常、破損した以前のインストールを単に上書きすることはありません。 あなたが見ているのは、実際には想定される動作です。 こちらのThreadをご覧ください。 https://community.nxp.com/t5/FreeMASTER/Deinstalltion-FreeMaster-3-2/mp/1593805 よろしくお願いいたします。 ピーター
記事全体を表示
Question about RAS transfer handling in app_localization vs app_localization_algo Hi, I am currently trying to use Channel Sounding on KW47, and I have been referring to the MCUXpresso SDK Documentation – Bluetooth Low Energy Channel Sounding Application Developers Guide. However, I am unsure whether it is necessary to implement the Ranging Service (RAS), so I would like to ask for your clarification. Specifically, regarding the app_localization_algo common module, the document states: "The app_localization_algo module is responsible for unpacking the data resulted from the CS Procedure and the RAS transfer. The module then passes it to the distance measurement algorithm to obtain the distance in meters, which is then communicated to the application." "There is no other direct interaction between the application and this module. Its APIs are mostly used by the app_localization module." Based on this description, I would like to clarify the following point regarding RAS transfer: Is the RAS transfer automatically configured and handled within the app_localization module? Or is app_localization only interacting with the app_localization_algo module, and for RAS transfer we need to separately implement it using the RAS APIs? In other words, should the application rely entirely on app_localization for both CS procedure handling and RAS transfer, or is explicit integration of the RAS API required at the application level? For reference, the relevant documentation page is: https://mcuxpresso.nxp.com/mcuxsdk/26.03.00/html/middleware/wireless/bluetooth/doc/Bluetooth%20Low%20Energy%20Channel%20Sounding%20Application%20Developers%20Guide/topics/application_common_modules.html#app-localization-algo-common-module I would appreciate your clarification. Best regards, Re: Question about RAS transfer handling in app_localization vs app_localization_algo Hi, @t_hosomi  Thanks for creating case to us. Please allow me some time, I will check your detailed info and reply to you ASAP. Best regards, Christine. Re: Question about RAS transfer handling in app_localization vs app_localization_algo Hi, @t_hosomi  Thanks for your patience and detailed info. Please see below for my answer: As you can see in the link you provided, RAS stands for Ranger Service. It is a separate service.  `app_localization` actually calls the RAS profile interface to transfer data. You can think of `app_localization` as part of the application code. RAS is called here, and also in other general application code. We recommend using `app_localization`. `app_localization` implements the transfer of client-server (CS) data via RAS. However, the application layer still needs to call basic interfaces, such as subscribing to profiles, enabling notifications, or indicators. Please let me know whether is clear for you. Best regards, Christine. Re: Question about RAS transfer handling in app_localization vs app_localization_algo Hi @Christine_Li, Thank you for your response. I understand that RAS is an independent service. To transfer CS data (i.e., to use RAS) within app_localization, is my understanding correct that it is necessary to additionally implement the steps described in the “Ranging Service common module” section of the related documentation, as well as in the wireless_ranging SDK sample—specifically, that “the application layer still needs to call basic interfaces, such as subscribing to profiles, enabling notifications, or indicators”? Best regards, Re: Question about RAS transfer handling in app_localization vs app_localization_algo Hi, @t_hosomi  Yes, you are right. Best regards, Christine. Re: Question about RAS transfer handling in app_localization vs app_localization_algo Hi, @t_hosomi  Thanks for your reply. To avoid misunderstandings, let me change another word. RAS is not handled within app_localization, but rather that RAS is a separate service.  app_localization need to call RAS to transfer CS data. The samples are not necessarily unusable as-is. However, it should not be assumed that `app_localization` automatically handles all RAS/profile-level setup. When integrating the functionality into a custom application, it is still necessary to verify that the required application-layer procedures—such as profile subscription and enabling notifications/indications—have been properly implemented. Otherwise, the RAS data path may not function as intended. Hope it is more clear for you. If still anything is not clear, please let me know. Best regards, Christine. Re: Question about RAS transfer handling in app_localization vs app_localization_algo Hi @Christine_Li, Thank you for your response. Based on your explanation, my understanding is that although RAS is also handled within app_localization, the basic interface still needs to be called and configured from the application layer. However, in the SDK sample codes such as digital_key_car_anchor_cs and digital_key_device_cs, it appears that the Ranging Service configuration is not explicitly called from the application layer, as described in the “Ranging Service common module” section of the documentation. Is my understanding correct that these samples, as they are, cannot be used directly (i.e., they may not function correctly or may not achieve improved ranging accuracy) without additional RAS configuration at the application level Best regards,
記事全体を表示
关于 app_localization 与 app_localization_algo 中 RAS 传输处理的疑问 您好, 我目前正在尝试在KW47上使用Channel Sounding,我一直在参考MCUXpresso SDK文档——低功耗蓝牙信道发声应用程序开发者指南。不过,我不确定是否有必要部署测距服务(RAS),因此希望您能予以说明。 具体来说,关于 app_localization_algo 通用模块,该文档指出: "app_localization_algo 模块负责解包由 CS 过程和 RAS 传输生成的数据。随后,该模块将数据传递给测距算法以获取以米为单位的距离,该距离随后会被传输给应用程序。" "应用程序与该模块之间不存在其他直接交互。其 API 主要由 app_localization 模块使用。" 根据上述描述,我想就RAS传输说明以下几点: RAS 传输是否会在 app_localization 模块内自动配置和处理? 还是说 app_localization 仅与 app_localization_algo 模块交互,而对于 RAS 传输,我们需要使用 RAS API 单独实现它? 换句话说,应用程序在处理 CS 流程和 RAS 传输时,是否应完全依赖 app_localization,还是需要在应用程序层级显式集成 RAS API? 作为参考,相关的文档页面是: https://mcuxpresso.nxp.com/mcuxsdk/26.03.00/html/middleware/wireless/bluetooth/doc/Bluetooth%20Low% 20Energy %20Channel% 20Sounding %20Application% 20developers%20Guide/topics/Application_common_modules.html #app-localization-alg o-common-module 希望能请您予以说明。 此致, Re: Question about RAS transfer handling in app_localization vs app_localization_algo 你好,@t_hosomi  感谢您为我们创建案例。 请给我一点时间,我会核对您的详细信息,并尽快回复您。 顺祝商祺! Christine。 Re: Question about RAS transfer handling in app_localization vs app_localization_algo 你好,@t_hosomi  感谢您的耐心和提供的详细信息。 我的回答如下: 正如你提供的链接中所看到的,RAS 代表 Ranger Service(游骑兵服务队)。这是一项独立的服务。`app_localization` 实际上调用 RAS 我的接口来传输数据。 您可以将 `app_localization` 视为应用程序代码的一部分。这里调用了 RAS,在其他通用应用程序代码中也调用了 RAS。我们建议使用 `app_localization`。 `app_localization` 通过 RAS 实现客户端-服务器 (CS) 数据传输。 但是,应用层仍然需要调用基本接口,例如订阅我的、启用通知或指示器。 请告诉我您是否明白。 顺祝商祺! Christine。 Re: Question about RAS transfer handling in app_localization vs app_localization_algo 嗨@Christine_Li , 感谢您的回复。 我了解到 RAS 是一项独立服务。 要在 app_localization 中传输 CS 数据(即使用 RAS),我的理解是否正确:还需要实现相关文档的“测距服务通用模块”部分以及 wireless_ranging SDK 示例中描述的步骤——特别是“应用层仍然需要调用基本接口,例如订阅配置文件、启用通知或指示器”? 此致, Re: Question about RAS transfer handling in app_localization vs app_localization_algo 嗨@Christine_Li , 感谢您的回复。 根据您的解释,我的理解是,虽然 RAS 也在 app_localization 中处理,但基本接口仍然需要从应用程序层调用和配置。 然而,在诸如 digital_key_car_anchor_cs 和 digital_key_device_cs 之类的 SDK 示例代码中,测距服务配置似乎并没有像文档的“测距服务通用模块”部分中描述的那样,从应用程序层显式调用。 我的理解是否正确:这些样本本身不能直接使用(即,它们可能无法正常工作或无法提高测距精度),必须在应用层面进行额外的 RAS 配置。 此致, Re: Question about RAS transfer handling in app_localization vs app_localization_algo 你好,@t_hosomi  感谢您的回复。 为了避免误会,我再改一下词。 RAS 不在 app_localization 中处理,而是一个独立的服务。 app_localization 需要调用 RAS 来传输 CS 数据。 这些样品并非一定无法直接使用。但是,不应假定 `app_localization` 会自动处理所有 RAS/配置文件级别的设置。在将功能集成到自定义应用程序时,仍然需要验证所需的应用程序层程序(例如配置文件订阅和启用通知/指示)是否已正确实施。否则,RAS 数据路径可能无法按预期工作。 希望这样解释对您更清楚了。 如果还有什么不清楚的地方,请告诉我。 顺祝商祺! Christine。 Re: Question about RAS transfer handling in app_localization vs app_localization_algo 你好,@t_hosomi  是的你是对的。 顺祝商祺! Christine。
記事全体を表示
Matlab2023a が S32DS3.5 を呼び出す際にエラーが発生しました MBDTチームの皆様へ私たちは、Simulinkモデルをコンパイルした後、MATLAB2023aスクリプトを使用してコードを生成し、その後eclipsec.exeを呼び出してヘッドレスバックグラウンドコンパイルを実行しています。ビルドが完了すると、コンパイルされたプロジェクトに対応するワークスペースを直接開くためのハイパーリンクがSimulink Diagnostic Viewerに作成されます。このワークフローはS32DS 3.4で完璧に動作しました。しかし、S32DS 3.5.8にアップグレードした後、2 つの問題が発生しました: 問題 1: Simulink によって作成されたハイパーリンクをクリックすると、バックグラウンド プロセス s32ds.exe が起動します。するとポップアップ表示されてすぐに消える。s32ds.ini にパラメータ "-vm \bin\javaw.exe" を追加するなど、いくつかの解決策を試しましたが、s32ds.exe には影響がありませんでした。システム環境変数において、JDK 11のパスを優先的に指定する。これらの試みはいずれも問題を解決しなかった。問題 2: 前述のとおり、MATLAB スクリプト経由で eclipsec.exe を呼び出すと、スクリーンショットに示されているエラーが発生します: Java は起動しましたが、終了コード = 1 を返しました。システム環境変数の先頭に「\bin\javaw.exe」とJDK 11のパスを設定しました。コマンドプロンプトにはJava 11(64ビット)が正しく表示されているにもかかわらず、Simulinkコンパイルは依然としてjvm.dllのロードを試みます。「client\jvm.dll」を削除した後または「server\jvm.dll」の場合、プログラムは代わりにjava.exeを見つけますが、それでも終了コード=4のエラーを報告します。さらに、手動コンパイルはすべての場合において成功している。関連するすべてのファイルと設定は、参考のためにアップロードされます。この問題を解決するためのアドバイスをお願いします。ありがとう。 Re: Matlab2023a Envokes S32DS3.5 Encountered Error こんにちは、 あなたのメッセージから理解した限りでは、Simulinkモデルがあり、Embedded Coderを使ってそのコードを生成するようですね。これで、eclipsecを使用してコードをコンパイルするワークフローが設定できました。私が考える主な問題点は、MATLABが現在正しいJavaバージョンを使用していないことです。この問題について彼らに連絡を試みましたか? さらに、NXPが開発したモデルベースデザインツールボックス(例:Model-Based Design Toolbox)を使っていないのではないかと推測しています。S32K3、S32K1など)。もし私の考えが間違っていたら教えてください。 よろしくお願いします、 ソリン・バンシラ
記事全体を表示
TRGMUXサポート - MCXE316 私はTRGMUXメソッドを使用して、コンパレータLPCMP0の出力をeMIOS0_CH7(入力キャプチャとして構成されている)の入力にルーティングしようとしています。私はMCXE316というデバイスを使用しています。私の問題点の一つは、入出力の理解と用語の把握であり、もう一つはPERI_TRGMUX.hのバグだと考えています。ファイル。 eMIOS0のチャネル7をシンプルな入力キャプチャとして設定していますが、これは物理ピンに割り当てると正しく動作します。しかし、入力キャプチャはLPCMP0コンパレータの出力によってトリガーされるようにしたいのです。したがって、TRGMUXを使用してコンパレータの出力をeMIOS0_7の入力キャプチャの入力にルーティングできるはずです。 リファレンスマニュアルに添付されているMCXE31_TRGMUX_connectivity.xlsxファイルを見ると、左側に「入力番号」とありますが、これはTRGMUXへの入力だと推測されます。そこにLPCMP_0_COUTという項目があり、入力番号は5となっています。これが私が探しているものだと思います。上部には「EMIOS_0_ipp_ind_emios_ch[7]」が表示され、その上に出力レジスタ番号9が表示されています。チャネル5、6、9も同じ番号になっていることが分かりました。 そこで最初の質問ですが、LPCMP0トリガー出力がチャネル5、6、9ではなくチャネル7に接続されるようにTRGMUXに指示するにはどうすればよいでしょうか?TRGMUXレジスタの内部にはSEL0、SEL1、SEL2、SEL3があることは知っていますが、これらのいずれかを使用してチャネルを選択すればよいのでしょうか?そうであれば、これはどのようにマッピングされているのでしょうか(SEL0はチャネル5など)、それとも別のマッピングがあるのでしょうか、あるいはマッピングは存在しないのでしょうか?マニュアルを確認しましたが、これについては触れられていませんでした。 SEL3がチャネル7用であるという私の推測(あくまでテストのため)に基づいて、SDKのTRGMUX方法を使用してみました。以下が私の呼び出しシーケンスです。 TRGMUX_SetTriggerSource(TRGMUX, kTRGMUX_Emios0_1, kTRGMUX_TriggerInput2, kTRGMUX_SourceLpcmp0 ); TRGMUXをレジスタベースとすると、kTRGMUX_Emios0_1はeMIOS0用のTRGMUXレジスタ(定義値は9)、kTRGMUX_TriggerInput2はレジスタのSEL2入力、kTRGMUX_SourceLpcmp0はトリガーのソース(定義値は5)です。 問題は、このルーチン自体がこの方法内でハードフォルトを発生させることです。このメソッドの実際のSDKコードは以下のとおりです。 status_t TRGMUX_SetTriggerSource(TRGMUX_Type *base, uint32_t index, trgmux_trigger_input_t input, uint32_t trigger_src) ヤージュ uint32_t 型の値; status_t ステータス; value = base->TRGCFG[index]; if (0U != (value & TRGMUX_TRGCFG_LK_MASK)) ヤージュ ステータス = kStatus_TRGMUX_Locked; } それ以外 ヤージュ /* TRGCFGレジスタ内のすべてのSELビットフィールドは同じ長さであるため、SEL0のマスクを使用して他のSELにアクセスします。 * ビットファイル。*/ value = (value & ~((uint32_t)TRGMUX_TRGCFG_SEL0_MASK << (uint32_t)input)) | ((trigger_src & (uint32_t)TRGMUX_TRGCFG_SEL0_MASK) << (uint32_t)input); base->TRGCFG[index] = value; ステータス = kStatus_Success; } ステータスを返します。 } ルーチンは最初の行でクラッシュします value = base->TRGCFG[index]; デバッグ出力を見ると、TRGCFG配列が一度も初期化されていないようです。この変数はPERI_TRGMUX.hで定義されています。そしてその構造は次のとおりです。 /** TRGMUX - レジスタ配列のサイズ */ #define TRGMUX_TRGCFG_COUNT 40u /** TRGMUX - レジスタレイアウト型定義 */ typedef struct { __IO uint32_t TRGCFG[TRGMUX_TRGCFG_COUNT]; /**< TRGMUX ADC12_0 レジスタ..TRGMUX CM7_RXEV レジスタ、配列オフセット: 0x0、配列ステップ: 0x4、有効なインデックス: [0-1、3、6-18、21-39] */ } TRGMUX_Type; TRGCFGが実際にどこで定義されているのか、どうしても見つけることができません。デバッガーでは、配列全体(40個の要素すべて)が199661に設定されていますが、これはゴミデータに違いありません。私は要素9(インデックスは9)にアクセスしています。 そこで2つ目の質問ですが、私はこの方法を正しく使っているのでしょうか?私の想定は正しいのでしょうか?それともSDKのルーチンに問題があるのでしょうか? ボード設計 ブートROM|ブート|フラッシュ クロック|タイマー Re: TRGMUX Assistance - MCXE316 こんにちは、 @brucebowling さん 投稿ありがとうございます! TRGMUX SELx の動作に関するあなたの理解は正しいです。EMIOS0_0 はチャネル 1 ~ 4 用、EMIOS0_1 はチャネル 5 ~ 7 および 9 用です。TRGMUX_connectivity.xlsx に示されているように、チャネル 0 および 8 は使用できません。 また、 私の環境でも同様の現象を再現できました。社内で検討し、解決に役立つ可能性のある関連情報があれば共有します。 Re: TRGMUX Assistance - MCXE316 SDKやTRGMUXの機能に関して新しいフィードバックがないか確認したいのですが。 TRGMUXはペリフェラルごとにレジスタが1つだけなので、次の1行で直接書き込もうとしました: *(volatile uint32_t *)0x40080024UL = 0x00050000UL; TRGMUXのベースアドレス(RMによると)は0x4008_000で、TRGMUX_eMIOS0_1レジスタのオフセットは0x24なので、絶対アドレスは0x40080024になります。LPCMP0_COUT の SELx フィールドは 0x05 です。これを SEL2 ビット位置 (ビット 16:23) にシフトします。ロックビットはリセット時(ロック解除時)は0であるべきで、私はそれをロック解除したままにしておきます。 この1本の線が、毎回深刻な障害によるクラッシュと焼損を引き起こします(不正確な障害)。他のSELxの場所を変更してみましたが、それでもクラッシュします。eMIOSやLPCMPの設定前にこの設定を試しましたし、ペリフェラルを完全にセットアップした後も試しましたが、毎回クラッシュしました。 ここで、マニュアルには見つからない疑問がいくつかあります: 1) TRGMUXリンクは**ペリフェラル**が初期化・有効化される前に設定しますか、それとも後ですか? 2) TRGMUX用のモジュールクロックやそれに類するものはありますか?クロックを有効にする前にモジュールにアクセスすると、私が経験しているようなハードフォルトが発生することは知っています。特に何かは見当たりませんし、TRGMUXレジスタは各ペリフェラルの一部だと思います。つまり、ペリフェラルのクロックを有効にすると必要なTRGMUXのクロックも有効になるはずですよね? ご協力ありがとうございました。 Re: TRGMUX Assistance - MCXE316 こんにちは、 @brucebowling さん 返信が遅くなり申し訳ありません。 TRGMUXクロックはデフォルトでは有効になっていないことに気づきました。クロックが無効化された状態でTRGMUXレジスタにアクセスしようとするとハードフォールトが発生します。時計が一つなくなっていたというあなたの推測は正しかったです。 電話する前に次の一文を追加してもらえますかTRGMUX_SetTriggerSource? CLOCK_EnableClock(kCLOCK_Trgmux); この変更で私の側の問題は解決しました。 参考までに、TRGMUXの使用例はSDKのこちらにあります: ボード/FRDMMCXE31b/demo_apps/mc_pmsm/pmsm_enc これで問題が解決したかどうか、またはTRGMUXに関して他に質問があればお知らせください。 Re: TRGMUX Assistance - MCXE316 OK、クラッシュの問題はまだ解決していませんが、さらに調査したところ、TRGMUXを設定する前にSIUL2 IMCRレジスタを設定する必要があるようです。参考マニュアルに添付されたIOMUX xlsファイルを見ると、eMIOS0_CH[7]でSSSビットを4に設定してTRGMUX_INT_OUT38を選択する必要があり、これはSIUL_IMCR567で行うと書かれています(512の命名オフセットのために512を567から差し引く必要があります)。以下に、この処理に使用したコードと、TRGMUXを設定するコードを示します。 SIUL2->IMCR[55] = SIUL2_IMCR_SSS(4); *(volatile uint32_t *)0x40080024UL = TRGMUX_TRGCFG_SEL3(kTRGMUX_SourceLpcmp0); TRGMUXのハードフォルトが依然として発生しています。 Re: TRGMUX Assistance - MCXE316 はい、クロックにこの行を追加することでハードフォルトとSDK方法が修正されました。そして、私が考え出した直接コーディングによる方法も同様にうまく機能しました。 一般的には、TRGMUXクロックを有効にしIMCRレジスタを設定し、さらにTRGMUXのリンクをSDKメソッドで呼び出す必要があります。これにより、LPCMPはeMIOSの入力キャプチャを適切にトリガーします。 サポートありがとうございます。
記事全体を表示
ファルコンモードのイネーブルメント - iMX8MP_EVK こんにちは、 Yoctoブランチ6.12-walnascarでiMX8MP_EVKのFalcon Modeを有効にする必要があります。しかし、 AN14641文書によると、 meta-imx-fastbootレイヤーはlf-6.6.36-2.1.0- secureでのみ利用可能です。支店。このレイヤーをwalnascarブランチに移植して、ファルコンモードを有効にするにはどうすればよいですか? どうか助けてください。 Re: Falcon Mode Enablement - iMX8MP_EVK 以下のコマンドを使用してください。 uuu -b emmc_all - .rootfs.wic 例: $ uuu -b emmc_all imx-boot-imx95evk-sd.bin-flash_all core-image-minimal-imx95evk.rootfs.wic Re: Falcon Mode Enablement - iMX8MP_EVK こんにちは、ティピンワンさん ご返信ありがとうございます。 Falconモードを有効にしようとしており、 AN14641に記載されている手順に従いましたが、フラッシュ処理中に問題が発生しています。 READMEに記載されている通り、フラッシュ手順は以下のとおりです(eMMCの場合)。 unzstd -[セキュアブート]-.rootfs.wic.zst uuu -b emmc_all - .rootfs.wic uuu -b emmc 私のブートメモリはeMMCです。以下のコマンドを使用してイメージの書き込みを試みました。 sudo ./uuu-d -v -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evkimx-image-core-imx8mpevk.rootfs-20260616051114.wic しかし、実行中にフラッシュ処理が以下のエラーで失敗します。 sudo ./uuu-d -v -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evkimx-image-core-imx8mpevk.rootfs-20260616051114.wic NXP IMXチップ用uuu(Universal Update Utility) -- libuuu_1.5.243-5-g124d086   設定ファイルに含める: PctlチップビデオPID Bcdバージョンシリアル番号 ================================================== SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff] SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff] SDPS: MX8DXL 0x1fc9 0x0147 SDPS: MX28 0x15a2 0x004f SDPS: MX815 0x1fc9 0x013e SDPS: MX865 0x1fc9 0x0146 SDPS: MX8ULP 0x1fc9 0x014a SDPS: MX8ULP 0x1fc9 0x014b SDPS: MX93 0x1fc9 0x014e SDPS: MX91 0x1fc9 0x0159 SDPS: MX95 0x1fc9 0x015d SDPS: MX95 0x1fc9 0x015c SDPS: MX943 0x1fc9 0x0027 SDPS: MX952 0x1fc9 0x0028 SDP: MX7D 0x15a2 0x0076 SDP: MX6Q 0x15a2 0x0054 SDP: MX6D 0x15a2 0x0061 SDP: MX6SL 0x15a2 0x0063 SDP: MX6SX 0x15a2 0x0071 SDP: MX6UL 0x15a2 0x007d SDP: MX6ULL 0x15a2 0x0080 SDP: MX6SLL 0x1fc9 0x0128 SDP: MX7ULP 0x1fc9 0x0126 SDP: MXRT106X 0x1fc9 0x0135 SDP: MX8MM 0x1fc9 0x0134 SDP: MX8MQ 0x1fc9 0x012b SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff] SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998] SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998] SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999] SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff] SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998] FBK: 0x066f 0x9afe FBK: 0x066f 0x9bff FBK: 0x1fc9 0x0153 FB: 0x0525 0xa4a5 FB: 0x18d1 0x0d02 FB: 0x3016 0x0001 FB: 0x1fc9 0x0152 FB: 0x0483 0x0afb FB: 0x1d6b 0x0104   組み込みスクリプトを実行します:   uuu_version 1.4.149   # @_flash.bin| wicイメージから抽出できるブートローダー # @_image [_flash.bin]| wicイメージをemmcに書き込む。     # このコマンドはi.MX6/7 i.MX8MM、i.MX8MQで実行されます SDP: boot -f imx-boot-imx8mpevk-sd.bin-flash_evk-scanlimited 0x800000   # このコマンドはROMがストリームモードに対応しているときに実行されます # i.MX8QXP、i.MX8QM SDPS: boot -scanterm -f imx-boot-imx8mpevk-sd.bin-flash_evk-scanlimited 0x800000   # これらのコマンドはSPLを使用するときに実行され、SPLがない場合はスキップされます # SDPUは非推奨になります。SDPUの代わりにSDPVを使用してください # ヤミン・アメックス SDPU: 遅延 1000 SDPU: write -f imx-boot-imx8mpevk-sd.bin-flash_evk-オフセット 0x57c00 SDPU: ジャンプ -scanlimited 0x800000 # }   # これらのコマンドはSPLを使用するときに実行され、SPLがない場合はスキップされます # if (SPL が SDPV をサポートしている場合) # ヤミン・アメックス SDPV: 遅延 1000 SDPV: write -f imx-boot-imx8mpevk-sd.bin-flash_evk-skipspl -scanterm -scanlimited 0x800000 SDPV: ジャンプ -scanlimited 0x800000 # }     FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${emmc_dev} FB: ucmd mmc dev ${emmc_dev} FB: flash -raw2sparse all imx-image-core-imx8mpevk.rootfs-20260616051114.wic FB: flash -scanterm -scanlimited 0x800000 ブートローダー imx-boot-imx8mpevk-sd.bin-flash_evk FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi; FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0 FB: 完了     既知のUSBデバイスが表示されるまでお待ちください... 新しいUSBデバイスが1:2-152E1000D9DE520Aに接続されました 1:2-152E1000D9DE520A>コマンド開始:SDPS: boot -scanterm -f imx-boot-imx8mpevk-sd.bin-flash_evk-scanlimited 0x800000 14%1:2-152E1000D9DE520A> HID(W)エラー: LIBUSB_ERROR_TIMEOUT (-7)(20.07秒) 詳細なuuuログは参考のために上記に添付されています。 Falcon対応OSをeMMCに書き込むための正しい手順を教えていただけますか?あるいは、必要な手順や設定が何か不足している場合は教えてください。 サポートありがとうございます。 Re: Falcon Mode Enablement - iMX8MP_EVK ファルコンモードはセキュアブートと互換性がないわけではありません しかし lf-6.12.20-2.0.0-secure では、提供されている Yocto フローを使用してセキュア ブートと Falcon モードを同時に有効にすることはできません。 0001-imx8m-reset-ethernet-phy-in-spl.patchについて i.MX8MP EVKの場合 → 強く推奨 初期起動時にイーサネットを使用しない場合は、必ずしも必要ではありません。 Re: Falcon Mode Enablement - iMX8MP_EVK こんにちは、ワン・イーピンさん ご回答ありがとうございます。 いくつか確認したい点があります。提供された情報によると、 lf-6.12.20-2.0.0-secure ブランチは Falcon Mode v2 をサポートしていますが、 Secure Boot はまだサポートされていないとマークされています。 私のi.MX8MPプラットフォームではセキュアブートが必須なのですが、このブランチを使用した場合、ファルコンモードは正しく動作しますか?それとも、セキュアブートが有効になっている場合、ファルコンモードは互換性がないのでしょうか? i.MX8MP EVKの場合、パッチ0001-imx8m-reset-ethernet-phy-in-spl.patchを適用する必要がありますか、それとも使用状況によってはオプションですか? Re: Falcon Mode Enablement - iMX8MP_EVK おそらく、 lf-6.6.36-2.1.0-secure からレイヤーを自分で移植する必要はないでしょう。公開されている nxp-imx-support/meta-imx-fastboot - GitHub リポジトリには、既に lf-6.12.20-2.0.0-secure ブランチが表示されています。 詳細については、 https://github.com/nxp-imx-support/meta-imx-fastbootの README を参照してください。 Re: Falcon Mode Enablement - iMX8MP_EVK 助けてください、 そして私はUUUを使ってeMMCをフラッシュしています Re: Falcon Mode Enablement - iMX8MP_EVK Screenshot from 2026-06-16 14-28-09.png NXPフォーラムで見つけたこの画像によると、このケースではUUUツールを使ったeMMCの書き込みはサポートされていないようです。Falcon対応OSをeMMCデバイスに書き込むための適切な方法を教えていただけますか? 前回の返信で、以下のコマンドを使うことを提案されました。 - .rootfs.wic> この方法を試してみましたが、また同じエラーが発生しました。 HID(W)エラー: LIBUSB_ERROR_TIMEOUT (-7) (20.07秒) Falconモードを有効にした状態でeMMCをフラッシュするための正しい手順、または必要な代替ツールや手順についてご教示いただけますでしょうか? Re: Falcon Mode Enablement - iMX8MP_EVK 前回の返信でIMX95FRDMのリファレンスコマンドを教えていただきましたが、Falconは有効になっていますか? こちらでYoctoで私が行ったことをIMX8MPでご覧いただけます。 1) meta-imx-fastboot - lf-6.12.20-2.0.0-secure - Github_Link 2) ソースにこのメタデータを追加しました - Github_Link 3) そして、 AN14641文書。 4) 私が従ったBitbakeコマンド: bitbake -c clean linux-imx && bitbake -c clean imx-boot && bitbake -c clean u-boot-imx && bitbake -c clean imx-atf && bitbake -c clean imx-image-core bitbake -c compile linux-imx && bitbake -c compile imx-boot && bitbake -c compile u-boot-imx && bitbake -c compile imx-atf && bitbake -c compile imx-image-core bitbake linux-imx && bitbake imx-boot && bitbake u-boot-imx && bitbake imx-atf && bitbake imx-image-core 5) CASE 1: sudo ./uuu-b emmc_all imx-image-core-imx8mpevk.rootfs-20260617095251.wic NXP IMXチップ用uuu(Universal Update Utility) -- libuuu_1.5.243-5-g124d086 成功 0 失敗 0 1:2-152E1000 1/1 [=================100%=================] SDPS: boot -scanterm -f /home/smurugan8/YOCTO/LWT/image/imx-image-core-imx8mpevk.rootfs-20260617095251.wic -scanlimited 0x800000 CASE 2: sudo ./uuu-b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evkimx-image-core-imx8mpevk.rootfs-20260617095251.wic NXP IMXチップ用uuu(Universal Update Utility) -- libuuu_1.5.243-5-g124d086 成功 0 失敗 1 1:2-152E1000 1/1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f imx-boot-imx8mpevk-sd.bin-flash_evk-scanlimited 0x800000 重要:Falcon対応OSをeMMCにフラッシュする必要があります Re: Falcon Mode Enablement - iMX8MP_EVK IMX95FRDMで以下のコマンドを確認しましたが、問題はありませんでした。ログを参照してください。 C:\ユーザー\nxa22585>C:\ユーザー\nxa22585\Downloads\i.mx95\uuu.exe -lsusb uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 コネクテッド Known USBデバイス Path Chip Pro vid pid bcdバージョンSerial_no ==================================================================== 2:4 MX95 SDPS:0x1FC9 0x015D 0x0002 61F49AAB2DCB4DDF C:\Users\nxa22585>C:\Users\nxa22585\Downloads\i.mx95\uuu.exe -b emmc_all C:\Users\nxa22585\Downloads\i.mx95\imx-boot-imx95-15x15-lpddr4x-frdm-sd.bin-flash_all C:\Users\nxa22585\Downloads\i.mx95\core-image-minimal-imx8mnevk.rootfs.wic NXP IMXチップ用uuu(Universal Update Utility)-- libuuu_1.5.243-0-g230f1b1 成功 1 失敗 0 1:2-61F49AAB 8/8 [完了] FB: 完了 2:4-61F49AAB 3/3 [==================100%=================] SDPV: ジャンプ -scanlimited 0x800000 C:\Users\nxa22585> Re: Falcon Mode Enablement - iMX8MP_EVK 助けてください、この部分で詰まってしまいました Re: Falcon Mode Enablement - iMX8MP_EVK uuuはeMMCにイメージを書き込むためだけに使用され、イメージの内容をチェックする機能はありませんのでご注意ください。 uuuコマンド自体に問題があるのではないかと思います。 uuuはどこでダウンロードしましたか? 最新のUUUは、 https://github.com/nxp-imx/mfgtools/releasesからダウンロードしてください。 検証を行うには、Windows版のUUUをダウンロードしてください。 Re: Falcon Mode Enablement - iMX8MP_EVK こんにちは、イーピンワン Windows上でUUUツールも試してみましたが、結果は同じで、eMMCの書き込みはやはりうまくいきません。UUUログを添付しました。 しかし、同じFalcon対応OSをSDカードに書き込むと、正常に起動して動作します。これは、画像自体とFalconの構成が有効であることを裏付けています。 私の質問は次のとおりです。 SDカードからは同じイメージが書き込めるのに、なぜFalcon対応のイメージをeMMCに書き込むことができないのでしょうか? FALCON対応OSをeMMCにフラッシュする代わりに、UUUを使う以外に推奨される方法はありますか? この場合、eMMCをフラッシュするためのサポートされている、または信頼できる手順についてアドバイスいただけますか? Screenshot 2026-06-22 122141.png Re: Falcon Mode Enablement - iMX8MP_EVK どうか助けてください。 Re: Falcon Mode Enablement - iMX8MP_EVK お使いのWindowsのバージョンがUUUの場合、以下のコマンドを実行し、その結果を私に送ってください。さらに調査を行います。 uuu.exe -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evkimx-image-core-imx8mpevk.rootfs-20260617095251.wic Re: Falcon Mode Enablement - iMX8MP_EVK 以下のコマンドをお試しください。 uuu.exe -b emmc_all  C:\Users\vvdn\Sanjiv\Falcon\imx-boot-imx8mpevk-sd.bin-flash_evkC:\Users\vvdn\Sanjiv\Falcon\imx-image-multimedia-imx8mpevk.rootfs-20260624074743.wic そして、その結果をもう一度私に送ってください。 Re: Falcon Mode Enablement - iMX8MP_EVK Screenshot 2026-06-22 171137.png 上記の通り、UUUのログが見つかります。 Command=> .\uuu.exe -b emmc C:\Users\vvdn\Sanjiv\Falcon\imx-boot-imx8mpevk-sd.bin-flash_evk C:\Users\vvdn\Sanjiv\Falcon\imx-image-multimedia-imx8mpevk.rootfs-20260624074743.wic しかし、eMMCでは動作しません。同じイメージはSDカードでは動作します。 Re: Falcon Mode Enablement - iMX8MP_EVK こちらで出力を見ることができます。 PS C:\Users\vvdn\Sanjiv\uuu_source-uuu_1.5.243\uuuu-uuu_1.5.243\uuuu> .\uuu.exe -b emmc_all C:\Users\vvdn\Sanjiv\Falcon\imx-boot-imx8mpevk-sd.bin-flash_evkC:\Users\vvdn\Sanjiv\Falcon\imx-image-multimedia-imx8mpevk.rootfs-20260624074743.wic uuu(Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 成功 0 失敗 1 1:3-152E1000 1/1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f C:\Users\vvdn\Sanjiv\Falcon\imx-b... Re: Falcon Mode Enablement - iMX8MP_EVK IMX8MP_EVKターゲットボードで検証したところ、eMMCのプログラミングに問題はありませんでした。以下のログを参照してください。 C:\Users\nxa22585>C:\Users\nxa22585\Downloads\i.mx95\uuu.exe -b emmc_all C:\Users\nxa22585\Downloads\i.mx95\imx-boot-imx8mpevk-sd.bin-flash_evk C:\Users\nxa22585\Downloads\i.mx95\core-image-minimal-imx8mnevk.rootfs.wic NXP IMXチップ用uuu(Universal Update Utility)-- libuuu_1.5.243-0-g230f1b1 成功 1 失敗 0 2:4-0F0B9800 8/8 [完了] FB: 完了 C:\Users\nxa22585> 添付ファイルから私の画像を抽出し、以下のコマンドのみを実行してください。 uuu.exe -b emmc imx-boot-imx8mpevk-sd.bin-flash_evk それでも失敗する場合は、ターゲットボード上のeMMC自体に問題があるようです。 以下のemmcコマンドを使って、u-bootでemmcに何かを書き込めるか確認できます。 使用法: mmc読み取りアドレスブロック#cnt mmc書き込みアドレスブロック#cnt mmc erase blk# cnt Re: Falcon Mode Enablement - iMX8MP_EVK UUUでemmcにデフォルトのブートイメージを書けるかどうかだけ試してください。 Re: Falcon Mode Enablement - iMX8MP_EVK @yipingwang さん、質問があります。これは Falcon 対応の画像ですか? Re: Falcon Mode Enablement - iMX8MP_EVK 助けてください。 @yipingwang Re: Falcon Mode Enablement - iMX8MP_EVK はい、 @yipingwang 、 ビルドにmeta-imx-fastbootレイヤーを含めると、フラッシュ処理が停止してしまいます。しかし、meta-imx-fastbootレイヤーを削除すると、イメージをeMMCに正常に書き込むことができます。 Re: Falcon Mode Enablement - iMX8MP_EVK イメージを再構築するには、bld-xwaylandビルドフォルダを削除してください。 $ rm -RF BLD-Xwayland $ MACHINE=imx8mpevk DISTRO=fsl-imx-xwayland source ./imx-setup-release.sh -b bld-xwayland $ bitbake-layers add -layer ../sources/meta-imx-fastboot bld-xwayland/conf/local.conf に以下の行を追加してください。 FALCON_KERNEL_BOOTARGS:mx8mp-generic-bsp = "console=ttymxc1,115200 root=/dev/mmcblk2p2 rootwait rw quiet" 次にイメージを再構築します。 $ bitbake imx-boot $ bitbake core-image-minimal uuu.exe -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evkcore-image-minimal-imx8mpevk.rootfs.wic uuu.exe -b emmc imx-boot-imx8mpevk-sd.bin-flash_evkimx-boot-imx8mpevk-sd.bin-flash_evk_falcon 私の検証ログを参照してください。 U-Boot SPL 2025.04-g9383f8387dc7-dirty(2025年6月4日 - 09:48:20 +0000) DDRINFO: DRAM initを起動 DDRINFO:DRAMレート4000MTS DDRINFO:ddrphyのキャリブレーション完了 DDRINFO: ddrmix設定完了 第0節:RNGのインスタンス化 ノーマルブート MMC2からの起動を試みています ノードが見つからなかった!、えっと:-11! ノードが見つからなかった!、えっと:-11! 注意:JR0はHABで使用可能なのでNSにリリースしないでください 通知:BL31: v2.12.0(リリース):lf-6.12.20-2.0.0-dirty 通知:BL31:建設日:2025年5月9日 08:15:07 [ 0.324123] imx8mp-ldb ldb-ディスプレイコントローラ: 32e90000.LCDコントローラ とのデバイスリンク(0x180)作成に失敗 [ 0.395104] : mipi_csis_imx8mp_phy_reset、リモコンパッドは見つかりませんでした! [ 0.514210] imx8mp-ldb ldb-display-コントローラ: 1-004cとデバイスリンク(0x180)を作成できませんでした [ 0.576883] imx8mp-ldb LDB-display-コントローラ: 1-004cとデバイスリンク(0x180)を作成できませんでした [ 0.625848] ov5640 1-003c: ov5640_write_reg: error: reg=3008, val=42 [ 0.632862] ov5640 1-003c: ov5640_write_reg: エラー: reg=3103, val=11 [ 0.639669] ov5640 1-003c: ov5640_read_reg: エラー: reg=3108 [ 0.645268 ov5640 1-003C: 電源オン失敗 [ 0.661389] imx8mp-ldb ldb-display-コントローラ: phy-lvdsでデバイスリンク(0x180)を作成できませんでした [ 0.694937] [drm:drm_bridge_attach] *エラー* /soc@0/bus@32c00000/mipi_dsi@32e60000 のブリッジをエンコーダDSI-41に接続できませんでした: -19 [ 0.706570 imx_sec_dsim_drv 32e60000.mipi_dsi:ブリッジの接続に失敗しました: 32e60000.mipi_dsi [ 0.714859] imx_sec_dsim_drv 32e60000.mipi_dsi:sec dsim ブリッジのバインドに失敗しました: -19 NXP i.MX リリース ディストリビューション 6.12-walnascar imx8mpevk ttymxc1 imx8mpevk ログイン: root root@imx8mpevk:~# Re: Falcon Mode Enablement - iMX8MP_EVK こんにちは、 @Sanjiv_Mns Falcon Modeのイメージは、SDカードとeMMCの両方で動作します。eMMC/SDにFalconイメージを書き込むには、以下の手順が必要です。 1.デフォルトのブートローダーを作成します。クリーンなYocto環境では、 bitbake imx-bootを実行してください。この手順では、meta-imx-fastbootレイヤーが追加されないようにしてください。 これによりtmp/deploy/images/imx8mp-lpddr4-evk/imx-boot-imx8mp-lpddr4-evk-sd.bin-flash_evk デフォルトのブートローダー。 2. Falcon モードのブートローダーと Falcon モードのイメージをビルドします。meta-imx-fastbootレイヤーをBBLAYERSに追加してください。 ファルコンモードのブートローダーをコンパイルするには、以下を実行します。 bitbake imx-boot このコマンドはtmp/deploy/images/imx8mp-lpddr4-evk/imx-boot-imx8mp-lpddr4-evk-sd.bin-flash_evk_dual_bootloaderを生成します。 ファルコンブートローダー。このブートローダーにはSPLのみが含まれており、U-Boot本体は含まれていません。meta-imx-fastbootレイヤーが追加されると、*_dual_bootloaderが生成されます。layer.conf を参照してください。 ファルコンモードイメージをコンパイルするには、以下を実行します。 bitbake imx-image-multimedia これによりtmp/deploy/images/imx8mp-lpddr4-evk/imx-image-multimedia-imx8mp-lpddr4-evk.rootfs.wic.zst イメージが生成されます。 3. UUUを使用してeMMCにイメージを書き込みます。UUUは、eMMCにイメージを書き込むために利用できる唯一のツールです。 uuu -b emmc_all imx-boot-imx8mp-lpddr4-evk-sd.bin-flash_evk imx-image-multimedia-imx8mp-lpddr4-evk.rootfs.wic.zst uuu -b emmc imx-boot-imx8mp-lpddr4-evk-sd.bin-flash_evk imx-boot-imx8mp-lpddr4-evk-sd.bin-flash_evk_dual_bootloader Re: Falcon Mode Enablement - iMX8MP_EVK UUUを使用してターゲットボードにイメージをプログラムするには、以下のコマンドを使用してください。 unzstd <image_name>-[secure-boot]-<machine_name>.rootfs.wic.zst uuu -b emmc_all <default_bootloader> <image_name>-<machine_name>.rootfs.wic uuu -b emmc <default_bootloader> <falcon_mode_bootloader> 最初のパラメータはデフォルトのブートローダーであり、ファルコンモードのブートローダーは、2 番目の uuu コマンドの 2 番目のパラメータでのみ指定されます。 Re: Falcon Mode Enablement - iMX8MP_EVK こんにちは@yipingwang 前の返信でいたコマンドは実行しました。こちらでコマンドログとブートログを見つけることができます コマンドログ: sudo ./uuu -b emmc_all /ホーム/smurugan8/Yocto/LWT/image/default/imx-boot-imx8mpevk-sd.bin-flash_evk /ホーム/smurugan8/Yocto/LWT/image/default/imx-image-multimedia-imx8mpevk.rootfs-20260622071640.wic uuu(Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-5-g124d086 成功 1 失敗 0 1:1-152E1000 8/8 [完了] FB: 完了 sudo ./uuu -b emmc /home/smurugan8/YOCTO/LWT/image/default/imx-boot-imx8mpevk-sd.bin-flash_evk /home/smurugan8/YOCTO/LWT/image/falcon_mode/imx-boot-imx8mpevk-sd.bin-flash_evk NXP IMXチップ用uuu(Universal Update Utility) -- libuuu_1.5.243-5-g124d086 成功 1 失敗 0 1:1-152E1000 7/7 [完了] FB: 完了 ブートログ: U-Boot SPL 2025.04-g44898b9f3cfe-dirty(2025年9月3日 09:56:50 +0000) DDRINFO: DRAM初期化を開始します DDRINFO: DRAMレート 4000MTS DDRINFO: DDRHYキャリブレーション完了 DDRINFO: ddrmix 設定完了 SEC0: RNGインスタンス化 通常起動 MMC2から起動しようとしています spl_load_image_fat: イメージ kernel-atf-dtb.itb の読み込みエラー、エラー - -5 spl_load_image_fat: イメージ u-boot-atf.itb の読み込みエラー、エラー - -5 エラー: -2 SPL: すべてのブートデバイスからの起動に失敗しました # ## ERROR ## # ボードをリセットしてください ### Re: Falcon Mode Enablement - iMX8MP_EVK 添付ファイルをご確認ください。 Re: Falcon Mode Enablement - iMX8MP_EVK /home/smurugan8/YOCTO/LWT/image/falcon_mode/imx-boot-imx8mpevk-sd.bin-flash_evk を私に送ってください。 対象基板上で検証を行います。 Re: Falcon Mode Enablement - iMX8MP_EVK こんにちは、 @Sanjiv_Mns Meta-secure-bootのYoctoレイヤーは6.12.20 BSPには実装されていません。meta-imx-fastboot レイヤーは meta-secure-boot に依存しているため、lf-6.12.20-2.0.0-secure ブランチではセキュアブートは実装されていません。 Linuxでイーサネットインターフェースを使う必要がある場合は、0001-imx8m-reset-ethernet-phy-in-spl.patchパッチが必須です。これはPHYをリセットし、これがなければLinuxドライバーはインターフェースを初期化できません。 Re: Falcon Mode Enablement - iMX8MP_EVK こんにちは、@yipingwangさん@elena_popa  サポート、本当にありがとうございます
記事全体を表示
モデルのサイズが1MBに制限されているのはなぜですか? MIMRT700(NPUモデル)上で、サンプルtflm_cifar10のモデルを実行しました。プログラムを作成する際、モデルのサイズとそれに対応する領域のサイズを確認することができました。 多くの場合、領域のサイズは1MBです。私の理解では、モデルのサイズは1MBに制限されています。それで合っていますか? nnxxpp_0-1781495142659.png この点が理解できませんでした。MIMRT700 EVKに関する情報は以下のとおりです。 nnxxpp_2-1781495429888.png MIMRT700 EVKのどこにモデルが保存されているのか分かりません。では、領域サイズとして1MBというのはどこにあるのでしょうか?これはモデルサイズの実際の制限ですか?あるいは、いくつかの方法でモデルのサイズを大きくすることもできます。 この問題について何かご意見はありますか?1MBを超えるより大きなモデルをデプロイしようとしているからです。ご返信をお待ちしております。ありがとう。 Re: Why model size is limited at 1 MB? @mayliu1 どうもありがとう。領域サイズを設定することで、モデルのサイズを大きくできるということが分かりました。 nnxxpp_0-1781514247437.png または、外部メモリでより大きなモデルを実行したい場合は、こちらのドキュメントを参照してください。https://docs.nxp.com/bundle/AN14700/page/topics/external_memory.html Re: Why model size is limited at 1 MB? こんにちは、 @nnxxpp さん。 弊社製品にご関心をお寄せいただき、また弊社のコミュニティをご利用いただき、誠にありがとうございます。 Q: MIMRT700 EVK のどこにモデルが保存されているのか分かりません。では、領域サイズとして1MBというのはどこにあるのでしょうか?これはモデルサイズの実際の制限ですか?あるいは、いくつかの方法でモデルのサイズを大きくすることもできます。 この問題について何かご意見はありますか?1MBを超えるより大きなモデルをデプロイしようとしているからです。 A:modeldataに表示されている1MBは、RT700のハードウェア上の制限ではありません。 これはサンプルプロジェクトで使用されているデフォルトのリンカー割り当てにすぎません。 より大型のモデルの場合、この割り当てはプロジェクト設定で調整でき、さらにストレージが必要な場合は外部XSPIフラッシュを使用することもできます。 より詳細な情報については、AN14700を参照してください。 https://docs.nxp.com/bundle/AN14700/page/topics/introduction.html mayliu1_0-1781507645284.png つまり、RT700は本来1MBモデルに限定されるものではない。より大規模なNPUモデルは、モデルデータメモリの割り当てを増やすか、適切な変換オプションを使用してモデルを外部XSPIフラッシュに配置することによってサポートされます。 お役に立てれば幸いです。 よろしくお願いいたします。 メイ・リウ Re: Why model size is limited at 1 MB? @mayliu1 この話題をもう一度開きたいと思います。今はRT700でより大きなモデルを展開しようとしています。下の画像は、小型モデルでプログラムを構築する際にキャプチャしたものです。 メモリ領域が4つあることが分かりました。 - QSPI_flash: 外部メモリ - SRAM: chatgpt に問い合わせたところ、プログラム実行時のデータ (.data、.bss、スタック、ヒープ)。それは正しいですか? - NCACHE_REGION: 入力、中間出力、出力すべてにおいて、同じktensorArenaを使用します。 - モデルデータ:モデルの重みを節約するため SDKの例をインポートするとメモリ構成で確認できます。これは、SRAM、NCACHE_REGION、およびSRAMからのモデルデータ(7.5 MB)を意味します。 NCACHE_REGIONとモデルデータは 0x2000_0000 から 0x2058_0000(5.5MB)に配置されるべきで、NPUがアクセス可能な最適なSRAM領域を得ることができます。 しかし、SRAM(SRAMと命名)の位置は0x20080000 (2番目の画像)です。==> また、 0x2000_0000から0x2058_0000の範囲にもあります。デフォルトでは約2.5MBに設定されています。つまり、 NCACHE_REGION + modeldata は(5.5 - 2.5) = 3 MB 未満でなければならないということです。 私のモデルサイズは約3.5MBです。それに加えて、モデルを外部メモリ上で特定できる(推論時間が長くなります)が、NPUがアクセスできるメモリ領域(3.5MB)にモデルを配置する方法はどうすればいいのでしょうか? 画像1、2の「SRAM」領域を縮小できるのか、それとも別のRAMエリア(7.5 - 5.5 = 2 MB - 画像3の最後の領域)に移動できるのか気になっています。 そして「SRAM」領域の大きさをどうやって推定すればいいのでしょうか?下の画像では15560 Bです。 質問が長くてすみません。 nnxxpp_0-1782205318606.png nnxxpp_1-1782205742121.png nnxxpp_2-1782206037185.png Re: Why model size is limited at 1 MB? こんにちは、 @nnxxpp さん。 返信が遅くなり申し訳ありません。 もしよろしければ、新しい問題のために新しいケースを作成してもらえますか? ご理解とご協力ありがとうございます。 よろしくお願いいたします。 5月 Re: Why model size is limited at 1 MB? @mayliu1 おはよう。 もしかしたら、私が上に投稿した新しい質問を見逃したのかもしれませんね。 Re: Why model size is limited at 1 MB? @mayliu1 はい、わかりました。新しい課題を作成させてください。ありがとう。 Re: Why model size is limited at 1 MB? 問題が解決したとのこと、よかったです。 返信が遅くなり申し訳ありません。ご理解いただきありがとうございます。 Re: Why model size is limited at 1 MB? @mayliu1 問題は解決しました。NPU用のSRAMは5.5MBの範囲から特定できます。modeldataとkTensorArenaを5.5MBの領域に配置したところ、うまくいきました。推論時間は良好です。 でも、もし私の質問に答えていなければ、SO私はすぐに仕事を終わらせるCAN。ありがとう。 Re: Why model size is limited at 1 MB? はい。良い一日を。
記事全体を表示
S32 Design Studio 3.6.8 更新问题 我已经在我的 ubuntu 22.0 linux 系统上安装了 S32 Design Studio,但是即使添加了 RTD 软件包的更新站点,我也无法在 “扩展和更新” 选项卡中看到实时驱动程序包。另外,今天我打开它时,它自动检查了更新,并出现了如图所示的错误: varunpenumudi_0-1781236748272.png 错误信息如下: " 无法完成安装,因为找不到一个或多个必需的项目。 正在安装的软件:Remote Services 12.5.0.202603111352(org.eclipse.remote.feature.group 12.5.0.202603111352) 缺失的组件:Eclipse 远程开发文档插件 12.5.0.202603111352(org.eclipse.remote.doc.isv 12.5.0.202603111352)requires 'osgi.bundle';org.eclipse.help [3.10.500,4.0.0),但未找到该依赖项 无法满足依赖关系: 来源:远程服务 12.5.0.202603111352(org.eclipse.remote.feature.group 12.5.0.202603111352) 收件人:org.eclipse.equinox.p2.iu; org.eclipse.remote.doc.isv [12.5.0.202603111352,12.5.0.202603111352] " 请帮我解决这个问题 Re: Problem with updating the S32 Design Studio 3.6.8 你好, 遗憾的是,RTD 在 Linux 操作系统上不受支持。它可以通过 .zip 文件安装。该文件已存档,但未经测试,并且由于操作系统(Linux)区分大小写而存在一些已知的限制。
記事全体を表示
s32k142 LPUART0 singleWire mode cannot send data I am using LPUART0 in multiplexed UART mode, with an external 10K resistor pulling up to 3.3V. After configuring it as a single-wire UART, I am unable to send data. Please help me troubleshoot this issue. void LPUART0_init(void) {     PCC->PCCn[PCC_LPUART0_INDEX] &= ~PCC_PCCn_CGC_MASK;        PCC->PCCn[PCC_LPUART0_INDEX] |= PCC_PCCn_PCS(0b010) | PCC_PCCn_CGC_MASK;       LPUART0->BAUD = LPUART_BAUD_OSR(15) | LPUART_BAUD_SBR(52);     uint32_t ctrl_value = 0;     ctrl_value |= LPUART_CTRL_LOOPS_MASK;   // LOOPS = 1     ctrl_value |= LPUART_CTRL_RSRC_MASK;    // Rsrc=1     ctrl_value |= LPUART_CTRL_TE_MASK;      // TE = 1     ctrl_value |= LPUART_CTRL_RE_MASK;      // RE = 1     ctrl_value |= LPUART_CTRL_RIE_MASK;     // RIE = 1(如需要)   LPUART0->CTRL = ctrl_value;  // 一次性赋值   }   PB1配置为: PORTB->PCR[1] = PORT_PCR_MUX(2);   发送时,先将TXDIR置位,发送完成再复位: LPUART0->CTRL |= LPUART_CTRL_TXDIR_MASK; 发送数据 LPUART0->CTRL &= ~LPUART_CTRL_TXDIR_MASK; Re: s32k142 LPUART0 singleWire mode cannot send data Capture the I2C bus waveform and modify the pull up resistor to 4.7K may helps as well Re: s32k142 LPUART0 singleWire mode cannot send data Hi @sssPPP  According to the code you shared, the configuration of the LOOPS and RSRC bits is correct: LPUART0->CTRL |= LPUART_CTRL_LOOPS_MASK; /* Enable loop/single-wire mode */ LPUART0->CTRL |= LPUART_CTRL_RSRC_MASK; /* Select single-wire mode */ However, before modifying these bits, it is important to ensure that both the transmitter and receiver are disabled: LPUART0->CTRL &= ~(LPUART_CTRL_TE_MASK | LPUART_CTRL_RE_MASK); Then, before starting the transmission, you should set the direction to transmit and enable the transmitter: LPUART0->CTRL |= LPUART_CTRL_TXDIR_MASK; /* Set transmit direction */ LPUART0->CTRL |= LPUART_CTRL_TE_MASK; /* Enable transmitter */ Finally, after writing data to the DATA register, ensure that you wait for the Transmission Complete flag (TC), not only the Transmit Data Register Empty flag (TDRE), before switching the pin back to receive mode. This to prevent the LPUART from releasing the single-wire line before the byte has been fully transmitted. This has also been discussed in the thread S32K344 Single Wire UART mode, where the correct timing of the TXDIR signal is critical to ensure proper transmission. BR, VaneB
記事全体を表示
Power consumption management Given that the energy prices are now through the roof and in the next few months they are aiming to reach the Sun, there is a question what can be done to minimise the impact. I am sure many of you are also in the same position as I am where at the company the "policy" or rather custom was so far to keep everything switched on all the time, for system maintenance, remote access or for any other reasons. Today morning, after reading an article about "High percentage of companies may not make it due to the energy prices" it occurred to me we can proactively do something about it by setting strict power management policies across the company. So now I wonder, what are you all doing about this, and if you did manage this before, what did you find the best way of going with this? Power settings group policies? A third party application/system? Ask the users nicely to turn everything off when they leave for the day and then enforce it with regular beatings? Any insights from those who are already doing this for a long time? Power solution Re: Power consumption management This topic is outside the scope of NXP product support. I recommend discussing this in a general IT or facilities management forum.
記事全体を表示
在 SPC563 (e200z3) 上集成 ERIKA RTOS 时出现链接器错误 亲爱的团队 我目前正在使用 CodeWarrior 2.9 开发 SPC563XX(Power Architecture e200Z3),该处理器相当于 MCP563xx 微控制器。 在尝试整合 MCP56xx 系列的 ERIKA RTOS 时,我遇到了以下链接器错误: mwldeppc:未定义:'EE_hal_terminate_savestk'  mwldeppc:引自 ee_tstub.o 中的 “ee_oo_thread_stub” 经调查,我发现函数 EE_hal_terminate_savestk() 定义在一个汇编 (.S) 文件中,而该文件似乎并未被纳入编译过程。 为了解决这个问题,我对 default.mk 脚本进行了如下更新: EE_CASM_SRCS += SW/ERIKA/pkg/cpu/e200zx/src/ee_oo.S  EE_SRCS += $(call asm_to_c_filename,$(EE_CASM_SRCS)) 但是,工具链仍未在版本中包含此文件,并且链接器错误仍然存在。 请问能否指导一下如何正确引用此程序集文件并解决编译问题? 感谢您的支持。 此致, Nagendra Pothula,SW 架构师 AVL ITC 印度 Re: Linker Error While Integrating ERIKA RTOS on SPC563 (e200Z3) 链接器错误表明,函数 EE_hal_terminate_savestk 未被链接,因为相应的汇编文件(.S)实际上并未被汇编器编译。将其添加到 Makefile 中是正确的,但你还需要确保它由汇编器(而非 C 编译器)进行处理,并且生成的目标文件被包含在链接步骤中。将 .S 文件重命名为 .c 文件或将其视为 .c 文件,都不是可行的方法。 请注意,ERIKA Enterprise是第三方开源实时操作系统(类似于OSEK/AUTOSAR),不是恩智浦的产品,因此其集成和构建设置不在恩智浦的范围内,需要由您自己处理。 作为参考,以下文档可能会对你有所帮助: 飞思卡尔 PPC e200 (mPC56xx) 支持页面:https://erika.tuxfamily.org/wiki/index.php?title=Freescale_PPC_e200_%28MPC_56xx% 29 感谢您的理解。
記事全体を表示
VIT Speech-to-Intent (S2I) Support on i.MX RT700 EVK Hello NXP Team, I am evaluating the VIT Speech-to-Intent (S2I) solution for implementing natural language voice control on the i.MX RT700 EVK. While reviewing the VIT S2I documentation and supported device information, I noticed that the i.MX RT700 is not explicitly listed among the supported devices/examples for the S2I natural language model. However, the RT700 includes a HiFi4 DSP and NPU, which appear suitable for voice AI applications. Could you please clarify the following? Is the VIT Speech-to-Intent (S2I) engine officially supported on the i.MX RT700 EVK? If yes, are there any reference examples, SDK packages, or porting guidelines available for RT700? If S2I is not currently supported on RT700, are there plans to add support in the future? What alternative NXP-supported natural language understanding (NLU) or speech-to-intent solutions would you recommend for the i.MX RT700 platform? Currently, I can see that VIT Wake Word and Voice Command technology supports several i.MX RT devices, but I am specifically interested in natural language / intent-based voice control rather than fixed command recognition. Thank you for your guidance. Re: VIT Speech-to-Intent (S2I) Support on i.MX RT700 EVK Hi @suhas1503, For speech-to-intent solutions, the recommended software package is VIT. For further information about supported devices and general inquiries on VIT speech-to-intent, please contact your local NXP representative or email [email protected]. Best Regards, Pablo
記事全体を表示
s32k142 LPUART0 シングルワイヤモードではデータを送信できません 私はLPUART0をマルチプレックスUARTモードで使用しており、外部の10KΩ抵抗で3.3Vまでプルアップしています。シングルワイヤUARTとして設定した後、データを送信できなくなりました。この問題の解決にご協力ください。 void LPUART0_init(void) { PCC->PCCn[PCC_LPUART0_INDEX] &= ~PCC_PCCn_CGC_MASK;    PCC->PCCn[PCC_LPUART0_INDEX] |= PCC_PCCn_PCS(0b010) | PCC_PCCn_CGC_MASK;   LPUART0->BAUD = LPUART_BAUD_OSR(15) | LPUART_BAUD_SBR(52); uint32_t ctrl_value = 0; ctrl_value |= LPUART_CTRL_LOOPS_MASK; // LOOPS = 1 ctrl_value |= LPUART_CTRL_RSRC_MASK; // Rsrc=1 ctrl_value |= LPUART_CTRL_TE_MASK; // TE = 1 ctrl_value |= LPUART_CTRL_RE_MASK; // RE = 1 ctrl_value |= LPUART_CTRL_RIE_MASK; // RIE = 1(必要に応じて)   LPUART0->CTRL = ctrl_value; // 一次性赋值   }   PB1の構成: PORTB->PCR[1] = PORT_PCR_MUX(2);   送信時、先にTXDIR位置を設定し、送信完了再位置: LPUART0->CTRL |= LPUART_CTRL_TXDIR_MASK; データを送信する LPUART0->CTRL &= ~LPUART_CTRL_TXDIR_MASK; Re: s32k142 LPUART0 singleWire mode cannot send data I2Cバス波形をキャプチャし、プルアップ抵抗を4.7Kに変更すると、さらに改善される可能性があります。 Re: s32k142 LPUART0 singleWire mode cannot send data こんにちは@sssPPP あなたが共有してくれたコードによると、LOOPSビットとRSRCビットの設定は正しいようです。 LPUART0->CTRL |= LPUART_CTRL_LOOPS_MASK; /* Enable loop/single-wire mode */ LPUART0->CTRL |= LPUART_CTRL_RSRC_MASK; /* Select single-wire mode */ ただし、これらのビットを変更する前に、トランスミッタとレシーバの両方が無効になっていることを確認することが重要です。 LPUART0->CTRL &= ~(LPUART_CTRL_TE_MASK | LPUART_CTRL_RE_MASK); 次に、送信を開始する前に、送信方向を設定し、トランスミッタを有効にする必要があります。 LPUART0->CTRL |= LPUART_CTRL_TXDIR_MASK; /* Set transmit direction */ LPUART0->CTRL |= LPUART_CTRL_TE_MASK; /* Enable transmitter */ 最後に、DATAレジスタにデータを書き込んだ後、送信完了フラグ(TC)が点灯するまで待ってから、送信データレジスタ空フラグ(TDRE)だけでなく、ピンを受信モードに戻してください。これは、バイトが完全に送信される前にLPUARTが単線ラインを解放するのを防ぐためです。 この件については、 S32K344 シングルワイヤ UART モードのスレッドでも議論されており、適切な送信を保証するためには TXDIR 信号の正しいタイミングが重要です。 BR、VaneB
記事全体を表示