Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
I get an undefine value 0x00000033 when I read the DCMLCC register Hello When I read the DCMLCC register of the S32K314, the returned value is 0x00000033, DCMRLC:0b011, DCMCLC:0b011. The datasheet does not provide definitions for these values. What do these values mean? I tried obtaining the value of DCMLCS and got 0x06186084. Does this mean my chip has simply not been pushed to any lifecycle stage and is a normal value? DCMCLC.jpeg DCMRLC.jpeg Lika Re: I get an undefine value 0x00000033 when I read the DCMLCC register Okay, thank you very much. Re: I get an undefine value 0x00000033 when I read the DCMLCC register Hi Lika, We apologize for any inconvenience this may cause. This issue has been reported to the documentation department. 0b011 means CUST_DEL Best Regards, Robin
記事全体を表示
Gui-guider 2.0的一些建议 希望Gui-guider 2.0在设置中增加一个选项来控制开启或者关闭生成的文件中时间戳. 然后生成的每一个页面(screen)都会有相应的gg_event_screen.c,哪怕我的页面没有使用注册任何事件, 希望在没有注册任何事件的时候不要生成事件的任何内容. 另外希望能有一个机制能选择把一些没有显示的图片或者资源打包进项目,虽然目前可以在幽灵页上放图片和字体的方式包含进工程项目,但是不太优雅. 关于字体,目前在设置中有一个控制所有字体的默认生成范围的设置,希望未来能控制所有字体的生成的范围. 致谢 回复: Gui-guider 2.0的一些建议 Hi @Xu_556678 , 非常感谢您的反馈,这些建议对我们非常宝贵,我们将在未来release中考虑进行相应的优化和改进。 希望GUI Guider 能够帮助到您的工作,未来如有任何问题和建议都欢迎您反馈。 Best Regards, Wenbin Re: Gui-guider 2.0的一些建议 嗨@Xu_556678 , 我想就您的一些请求,特别是关于图像和字体的生成,提供一些变通方案。 虽然将它们添加到虚拟页面中理论上可以让 GUI Guider 自动生成图像和字体,但您也可以将它们添加到“资源”面板,然后单击“转换”: EdwinHz_1-1789494348483.png 此图像变流器功能允许您为任何受支持的图像生成输出文件。默认路径设置为“自定义”文件夹,但您可以将其更改为自动生成其他图像的同一文件夹,以便将它们全部放在一起。虽然这在技术上是一个手动过程,但其优点是您可以选择多个图像并一次性全部转换,因此如果您一次性处理所有图像,则只需执行此过程一次。这样,你就可以跳过目前这种变通方法,即创建一个幽灵屏幕,这种方法只会为根本不会使用的屏幕添加额外的代码。 EdwinHz_2-1789494766306.png 此外,可以通过字体转换器对单个字体的生成范围进行精细控制。按照上述步骤操作,只是将图像替换为字体。弹出的窗口面板将显示一个选项,用于指定所选字体的范围,从而可以针对特定字体生成特定范围。 EdwinHz_3-1789494865236.png 希望这些信息对您当前的 GUI 引导程序开发有所帮助。 如果您还有任何疑问或要求,请务必与我们联系! BR, 埃德温。
記事全体を表示
I get an undefine value 0x00000033 when I read the DCMLCC register 您好 当我读取S32K314的 DCMLCC register时,返回的值为0x00000033,DCMRLC:0b011, DCMCLC:0b011,手册中并未给出这些值的定义,请问这个值代表什么意思。我尝试获取了DCMLCS的值,得到0x06186084,这是否说明我的芯片只是未被推进到任何生命周期,属于一个正常值? DCMCLC.jpeg DCMRLC.jpeg Lika Re: I get an undefine value 0x00000033 when I read the DCMLCC register 好的,非常感谢 Re: I get an undefine value 0x00000033 when I read the DCMLCC register Hi Lika, 抱歉给您带来不便。 这个问题已经上报文档部门了。 0b011 意味着 CUST_DEL  Best Regards, Robin
記事全体を表示
ドライバードキュメントの未確認ヘッダー情報 私はS32DS内でS32K116向けのプロジェクトを開発しています。 今ではRTDがIPドライバとMCAL/AUTOSARの区別でどのように機能するかを理解しました。 リソースの制約があるため、今のところプロジェクトはIPドライバに限定します。 また、コンポーネントビュー内でIPドライバーコンポーネントを右クリックするとドキュメントが見つかることもわかりました。 しかし、説明された関数を使う際に各ドライバにどのヘッダーを含めるべきかはドキュメント内に記載されていません。 どうやってその情報を知ることができるんですか?これについて明記されている別の文書やリストはありますか? Re: driver documentation missing header information こんにちは 通常、各IPドライバーのトップレベルのパブリックヘッダーは命名規則 _Ip.hに従います(例えば。Flexcan_Ip.h、Lpspi_Ip.h、Clock_Ip.h、Adc_Sar_Ip.h)。そのヘッダーはソースアプリケーションコードに含めるものです。 また、RTD内の例を参照して、どのヘッダーファイルを含めるべきかを確認できます: Julin_AragnM_1-1789513358457.png FlexCAN -> FlexCAN_Ip.h プラットフォーム/割り込みコントローラ -> IntCtrl_Ip.h Port/Siul2 -> Siul2_Port_Ip.h ディオ/シウル2 -> Siul2_Dio_Ip.h RTDのインストールパス内で以下のヘッダーファイルを探せます:「C:\NXP\S32DS.3.x.x\S32DS\software\PlatformSDK_S32K1_S32M24\RTD\ _TS_...\include\」 よろしくお願いします、 ジュリアン
記事全体を表示
MX95: raw video write throughput limited to ~50MB/s Hi, we're seeing a throughput/frame-rate issue when writing raw camera frames to a file: the actual capture rate drops well below the target frame rate once we write frames to storage, even though pure capture (without writing) runs at full frame rate. We'd like to understand the cause. The following is our environment configuration. - Board: i.MX95 19x19 LPDDR5 EVK - BSP: TechNexion Yocto 5.3 (Whinlatter), kernel 6.18.2 - Camera: TechNexion TEVS-AR0234 (MIPI CSI-2) - Capture device confirmed via media-ctl: tevs → csidev-4ad30000.csi → formatter@20 → crossbar → mxc_isi.0 → /dev/video0 ## Test 1: Capture only, no write (baseline) Sensor locked to 30fps via: v4l2-ctl -d /dev/v4l-subdev19 --set-subdev-fps pad=0,stream=0,fps=30 gst-launch-1.0 -e libcamerasrc ! video/x-raw,width=1920,height=1080,format=YUY2,framerate=30/1 ! fpsdisplaysink video-sink=fakesink text-overlay=false sync=false Result: stable 29.98fps, no dropped frames. ## Test 2: Write raw frames to file gst-launch-1.0 -e libcamerasrc ! video/x-raw,width=1920,height=1080,format=YUY2,framerate=30/1 ! filesink location=/tmp/test.yuv Result: ~11.7fps (measured by file size / capture duration), with GStreamer logs showing repeated warnings: WARN NxpNeoPipe neo_pipeline.cpp:3175 Image0 frame loss! expected X received Y where the gap between expected/received grows over time when fps is not locked, but stays small (1-2 frames) once sensor fps is locked to match the target. Same test repeated with `v4l2src device=/dev/video0` instead of `libcamerasrc`: same ~11.7-11.8fps result. Same test repeated at 1280x720: ~28.8fps (~53 MB/s), which converts to a similar MB/s ceiling as the 1920x1080 test above (~52 MB/s). We would like to know if a write speed limit of approximately 50 MB/s—when writing raw frames captured from `/dev/video0` (mxc-isi) to storage—is expected behavior for the current BSP/kernel version, or if we might be missing a configuration setting. We are happy to provide full logs, `media-ctl` topology output, and device tree information if needed. Yocto Project Re: MX95: raw video write throughput limited to ~50MB/s Hi,  @JosephAtNXP thank you for your prompt response. I’d like to confirm whether the root cause lies in the following factor. Additionally, would using Real-Time Yocto be helpful in this case? The captured frames are stored in a DMA buffer allocated via the Contiguous Memory Allocator (CMA). DMA writes from the ISP hardware to this memory have never been a bottleneck (local tmpfs write speeds reached up to 819 MB/s using dd, ruling out storage media limitations). The bottleneck occurs during the step where the CPU reads the contents of this buffer. This is further corroborated by the fact that the VPU hardware encoder can directly read the same buffer via DMA without any performance impact. This strongly indicates that the bottleneck stems from the memory's cache attribute configuration or the cost of maintaining cache coherency (e.g., cache invalidation) during each buffer dequeue operation, rather than bus bandwidth or storage device speed limitations. Re: MX95: raw video write throughput limited to ~50MB/s Hi, Thank you for your interest in NXP Semiconductor products, This is expected behavior as you can see in Linux Users Guide. In addition, writing frames to the file system generates a huge amount of data that is not absorbable in real time. In that case, because of the delay induced on the application to recycle its buffers, periodic frame loss is expected to occur. A workaround could be to use hardware video encoding before storing the captured frames. Regards
記事全体を表示
RW612 / Murata Type 2FR EVK – 启动后 SRAM 驻留代码损坏。 您好,NXP团队, 我正在调试一台Murata Type 2FR EVK (RW612)开发板,应用程序已成功写入外部 QSPI 闪存,但无法正常运行。 硬件: Murata Type 2FR EVK (LBES0ZZ2FR) MCU:RW612 Cortex-M33 外置闪存:Winbond W25Q128,16 MB 调试器:SEGGER J-Link,S/N 69657567 100 kHz 的短波放电 板通过 USB-C 供电。 SWD:J11 引脚 2 = SWDIO,引脚 4 = SWCLK,引脚 3 = GND J-Link 成功检测到 RW612 并对外部闪存进行编程,没有出现任何错误。 软件: MCUXpresso IDE 25.6.136 RW612 SDK 从 rdrw612bga_wifi_cli 示例开始。 修改了 W25Q128 的 FlexSPI 闪存配置,并将 QSPI 链接器大小从 8 MB 更改为 16 MB。 构建完成,未发现任何错误/警告。 问题: 启动后,CPU最终会停止运行:   PC = 0x20005840 ip4_input() at lwip/src/core/ipv4/ip4.c:556   函数 ip4_input() 位于 SRAM 的 0x200056D4 地址,但其内容似乎已损坏:   0x200056D4: 0x4007EEBE 0xBC640C88 ...     但是,QSPI闪存中的相应代码似乎是有效的。 链接器映射显示 .data包含驻留内存的代码:   LMA: 0x080F674C VMA: 0x20000000 Size: 0x1A0E4   启动部分表格规定:   0x080F674C → 0x20000000, length 0x1A0E4   ResetISR() 会调用 SystemInit(),然后调用 data_init() 来执行此初始化操作。 我还通过调试器确认了 SRAM 本身是可读/可写的。 我的主要问题是:为什么即使 QSPI 源映像看起来有效,RAM 驻留代码也会损坏? 这是否与RW612 启动/RAM 初始化、FlexSPI 配置、缓存/MPU 配置、启动配置或 Type2FR 特定内存配置有关? 另外,使用SEGGER J-Link 而不是 MCU-Link Pro是否会对启动/调试流程造成任何问题? 我可以提供.map文件,链接器脚本,startup_rw612.c,flash_config.c,如有需要,请提供调试日志。 谢谢! 评估板 Re: RW612 / Murata Type 2FR EVK – SRAM-resident code corrupted after boot 嗨,丹尼尔, 谢谢你的回复。 我们之前使用的是 SDK 26.06,但我们的项目配置的是 rdrw612bga 板,而不是您推荐的 FRDM-RW612 配置。 关于迁移指南,是的,我们已经看过了: [NXP FRDM-RW612 模块迁移指南]( https://github.com/NXP-APPCODEHUB/an-frdmrw612-module-migration-guide ) 我们遵循 Murata Type 2FR 的迁移方法,包括更新 W25Q128 (16 MB) 的闪存配置和相应的链接器配置。 但是,我们遇到了一个问题,即应用程序成功启动并开始执行,但最终在 `ip4_input()` 的 `0x20005840` 处停止。我们还发现,原本打算从 SRAM 执行的代码似乎已损坏,而 QSPI 闪存中的相应代码似乎有效。 根据您的建议,我们现在将使用 **26.06 SDK 和 FRDM-RW612 配置**,并按照该基线进行迁移。我们将在此帖中更新我们的结果。 再次感谢您的指导。 问候, 萨克希 Re: RW612 / Murata Type 2FR EVK – SRAM-resident code corrupted after boot 您好, 请问您使用的是哪个SDK版本? 我建议你使用 FRDM-RW612 的 26.06 版本,而不是 RD 版本。 对了,你已经调查过这个问题了吗? 问候, 丹尼尔。
記事全体を表示
MX95:原始视频写入吞吐量限制在约 50MB/s。 您好,我们在将原始相机帧写入文件时遇到了吞吐量/帧速率问题:一旦我们将帧写入存储设备,实际捕获速率就会远低于目标帧速率,即使纯粹的捕获(不写入)以全帧速率运行。我们想了解原因。以下是我们的环境配置。 - 主板:i.MX95 19x19 LPDDR5 EVK - BSP:TechNexion Yocto 5.3 (Whinlatter),内核 6.18.2 - 摄像头:TechNexion TEVS-AR0234 (MIPI CSI-2) - 通过 media-ctl 确认捕获设备:tevs → csidev-4ad30000.csi → formatter@20 → crossbar → mxc_isi.0→ /dev/video0 ## 测试 1:仅捕获,不写入(基线) 传感器通过以下方式锁定为 30fps: v4l2-ctl -d /dev/v4l-subdev19 --set-subdev-fps pad=0,stream=0,fps=30 gst-launch-1.0-e libcamerasrc!video/x-raw,width=1920,height=1080,format=YUY2,framerate=30/1 !fpsdisplaysink video-sink=fakesink text-overlay=false sync=false 结果:稳定29.98fps,无丢帧。 ## 测试 2:将原始帧写入文件 gst-launch-1.0-e libcamerasrc!video/x-raw,width=1920,height=1080,format=YUY2,framerate=30/1 !文件接收器位置=/tmp/test.yuv 结果:帧率约为 11.7fps(按文件大小/捕获持续时间计算),GStreamer 日志显示反复出现警告: 警告 NxpNeoPipe neo_pipeline.cpp:3175图像0帧丢失!预期 X 实际收到 Y 当帧率未锁定时,预期帧率与实际帧率之间的差距会随着时间的推移而增大;但一旦传感器帧率锁定以匹配目标帧率,该差距就会保持较小(1-2 帧)。 使用 `v4l2src device=/dev/video0` 代替 `libcamerasrc` 重复相同的测试:结果相同,约为 11.7-11.8fps。 在 1280x720 分辨率下重复相同的测试:~28.8fps(~53 MB/s),这转换为与上述 1920x1080 测试类似的 MB/s 上限(~52 MB/s)。 我们想知道,当从 `/dev/video0` (mxc-isi) 捕获的原始帧写入存储时,写入速度限制约为 50 MB/s 是否是当前 BSP/内核版本的预期行为,或者我们是否可能缺少配置设置。如有需要,我们很乐意提供完整的日志、`media-ctl`拓扑输出和设备树信息。 Yocto Project Re: MX95: raw video write throughput limited to ~50MB/s 您好, @JosephAtNXP,感谢您的及时回复。 我想确认一下,根本原因是否在于以下因素。另外,在这种情况下使用实时 Yocto 是否会有帮助? 捕获的帧存储在通过连续内存分配器 (CMA) 分配的 DMA 缓冲区中。从 ISP 硬件到此内存的 DMA 写入从未成为瓶颈(使用 dd 命令,本地 tmpfs 写入速度高达 819 MB/s,排除了存储介质的限制)。 瓶颈出现在CPU 读取此缓冲区内容的步骤中。VPU 硬件编码器可以通过 DMA 直接读取同一个缓冲区,而不会对性能造成任何影响,这一事实进一步证实了这一点。这有力地表明,瓶颈源于内存缓存属性配置或每次缓冲区出队操作期间维护缓存一致性的成本(例如,缓存失效),而不是总线带宽或存储设备速度的限制。 Re: MX95: raw video write throughput limited to ~50MB/s 您好, 感谢您对恩智浦半导体产品的关注, 这是预期行为,您可以在 Linux 用户指南中看到相关说明。 此外,将帧写入文件系统会产生大量无法实时吸收的数据。在这种情况下,由于应用程序回收缓冲区需要时间,因此会出现周期性丢帧现象。 一种变通方法是在存储捕获的帧之前使用硬件视频编码。 此致
記事全体を表示
驱动程序文档缺少标题信息 我正在为 S32DS 中的 S32K116 开发一个项目。 到现在为止,我已经弄清楚了 RTD 在 IP 驱动程序与 MCAL/AUTOSAR 之间的工作原理。 由于资源可能有限,我目前将项目范围限定在 IP 驱动程序上。 我还发现,在“组件”视图中右键单击 IP 驱动程序元器件,就可以找到有关该元器件的文档。 但是,我发现文档中并没有列出在使用所描述的功能时,每个驱动程序应该包含哪些标头。 我怎么可能知道这些信息?是否有其他文件或清单对此有明确规定? Re: driver documentation missing header information 你好 通常,每个 IP 驱动程序的顶级公共标头都遵循以下命名约定: _Ip.h(例如。Flexcan_Ip.h,Lpspi_Ip.h,Clock_Ip.h,Adc_Sar_Ip.h)。该头部信息需要包含在您的应用程序源代码中。 您还可以查看 RTD 中提供的示例,了解需要包含哪些头文件: Julin_AragnM_1-1789513358457.png FlexCAN -> FlexCAN_Ip.h 平台/中断控制器 -> IntCtrl_Ip.h Port/Siul2 -> Siul2_Port_Ip.h Dio/Siul2 -> Siul2_Dio_Ip.h 您可以在 RTD 安装路径中查找这些头文件:"C:\NXP\S32DS.3.x.x\S32DS\software\PlatformSDK_S32K1_S32M24\RTD\ _TS_...\include\" 此致, 朱利安
記事全体を表示
driver documentation missing header information I am developing a project for a S32K116 inside S32DS. By now I figured out how the RTD works regarding to IP Drivers vs MCAL/AUTOSAR. I will limit my project to the IP Drivers for now due to possible resource constraints. I also figured out that I can find documentation about an IP Driver component by rightclicking on it inside the Components view.  However, I found that it is not listed inside the documentation which headers to include for each driver when using one of the described functions. How am I supposed to know that information? Is there a different document or list where this is specified? Re: driver documentation missing header information Hello  USually, the top-level public header for each IP driver follows the naming convention _Ip.h (e.g. Flexcan_Ip.h, Lpspi_Ip.h, Clock_Ip.h, Adc_Sar_Ip.h). That header is what you include in your source application code. You can also look at the examples provided inside the RTD for which header files to include: Julin_AragnM_1-1789513358457.png FlexCAN -> FlexCAN_Ip.h Platform/Interrupt Controller -> IntCtrl_Ip.h Port/Siul2 -> Siul2_Port_Ip.h Dio/Siul2 -> Siul2_Dio_Ip.h You can look for these header files inside the RTD installation path: "C:\NXP\S32DS.3.x.x\S32DS\software\PlatformSDK_S32K1_S32M24\RTD\ _TS_...\include\" Best regards, Julián
記事全体を表示
Some suggestions for Gui-guider 2.0 I hope Gui-guider 2.0 will add an option in the settings to control whether timestamps in the generated files are enabled or disabled. Then each generated page (screen) will have a corresponding gg_event_screen.c file, even if my page does not register any events. We want to prevent any event content from being generated when no events are registered. Additionally, I would like a mechanism to selectively include some images or resources that are not currently displayed in the project. Although it is possible to include images and fonts from the ghost page into the project, it is not very elegant. Regarding fonts, there is currently a setting in the settings to control the default generation range of all fonts. Hopefully, in the future, we can control the generation range of all fonts. Acknowledgments 回复: Gui-guider 2.0的一些建议 Hi @Xu_556678 , Thank you very much for your feedback. These suggestions are invaluable to us, and we will consider making corresponding optimizations and improvements in future releases. We hope the GUI Guider will be helpful to your work. Please feel free to provide any feedback or suggestions you may have in the future. Best Regards, Wenbin Re: Gui-guider 2.0的一些建议 Hi @Xu_556678, I would like to add an input about a workaround regarding some of your requests, specifically regarding the generation of images and fonts. While adding them to a ghost page technically works to enable GUI Guider to automatically generate the images and fonts, you can also add them to the "resource" panel, and click convert: EdwinHz_1-1789494348483.png This Image Converter feature allows you to generate an output file for any supported images. The default path is set to the 'custom' folder, but you can change it to the same one where other images are automatically generated to keep them all together. Even though this is technically a manual process, the advantage is that you can select multiple images and convert them all at once, so if you do so with all of your images at once, you would only need to do this process once. This way, you can skip the current workaround of doing a ghost screen that only adds extra code for screens that won't even be used. EdwinHz_2-1789494766306.png Additionally, for the granular control over the generation range of individual fonts, this can be controlled with the Font Converter. When doing the same process described above, just with a font instead of an image. The prompted window panel will show an option to specify the range of the selected font, allowing for the generation of specific ranges on specific fonts. EdwinHz_3-1789494865236.png Hopefully this input helps on your current GUI Guider development. If you have any further inquiries or requests, definitely let us know! BR, Edwin.
記事全体を表示
How to burn HAB firmware on IMX6ULL about USB  We use IMX6ULL and want to implement the secure boot function. The current SD boot mode has been run through, the development board has written SRK, and the firmware has also been signed. Then we also executed the close operation (echo 0x02>HW_OCOTP_CFG5). After burning, the normal print information is as follows: Secure boot enabled HAB Configuration: 0xcc, HAB State: 0x99 However, when the same firmware was placed in the mfgtools tool and burned using USB, it was found that the board could not enter the burning system. The tool stops running, and the debug serial port does not have any print information. rxq_0-1789457007595.png The firmware in the red box,% board_file%/u-boot.imx and firmware/zImage are signed firmware. MfgTool.log records that the firmware has been imported. After the normal process Jumping to OS image, it should be the firmware that was started to import, but in fact, there is no print information on the debug serial port rxq_1-1789457333755.png Why is it normal for SD card to start, but not for USB? What should we do to support USB burning? The attachment is the secure boot production process started by our SD
記事全体を表示
如何使用 USB 将 HAB 固件烧录到 IMX6ULL 上 我们使用 IMX6ULL,并且想要实现安全启动功能。 当前 SD 卡启动模式已运行完毕,开发板已写入 SRK,固件也已签名。然后我们还执行了关闭操作(echo 0x02>HW_OCOTP_CFG5)。 刻录完成后,正常的打印信息如下: 已启用安全启动 HAB 配置:0xcc,HAB 状态:0x99 然而,当将相同的固件放入 mfgtools 工具并使用 USB 进行烧录时,发现电路板无法进入烧录系统。 工具停止运行,调试串口没有任何打印信息。 rxq_0-1789457007595.png 红色方框中的固件、%board_file%/u-boot.imx 和 firmware/zImage 都是已签名的固件。 MfgTool.log 记录显示固件已导入。正常跳转到操作系统镜像后,应该开始导入固件,但实际上,调试串口上没有任何打印信息。 rxq_1-1789457333755.png 为什么SD卡可以正常启动,而USB却不行? 我们应该如何做才能支持U盘刻录?附件是我们SD启动的安全启动生产流程。
記事全体を表示
EL2 Monitor: Simplifying Software Partitioning for Automotive Safety Systems The automotive industry is undergoing a fundamental architectural shift. Where vehicles once relied on dozens of dedicated ECUs — one function, one controller — modern designs are consolidating multiple software functions onto a single, powerful processor. This consolidation reduces cost, weight, and complexity, but it introduces a critical challenge: how do you run a safety-critical AUTOSAR brake control application on the same chip as a less-critical body control stack, and guarantee they can never interfere with each other? Full hypervisors are one answer — but they come with significant drawbacks. They are complex to integrate, expensive to license, difficult to certify to ISO 26262, and introduce latency that real-time systems cannot tolerate. NXP's EL2 Monitor (EL2M) was designed to solve exactly this problem: delivering robust, hardware-enforced software isolation with the simplicity, determinism, and safety pedigree that automotive programs demand. What Is EL2 Monitor? EL2 Monitor is a partitioning hypervisor that runs at Exception Level 2 (EL2) — the hypervisor privilege level defined by the Arm® architecture — on Arm® Cortex®-R52 cores. It sits between the hardware and the application software, acting as a lightweight isolation layer that enforces strict boundaries between software partitions running on the same processor. In simple terms: EL2 Monitor takes a single physical processor and divides it into independent, isolated software environments — called R52 partitions — each running its own RTOS instance with exclusive access to its assigned resources. A fault, crash, or security breach in one partition cannot affect any other. Unlike a full hypervisor, EL2 Monitor does not perform CPU scheduling, device virtualization, or dynamic resource management. Its scope is deliberately narrow: isolate partitions, protect shared hardware resources, and do so in a way that is statically configured, deterministic, and certifiable to ASIL D. This focused design philosophy is what makes it practical for production automotive programs. The Core Problem: The Shared GIC Distributor To understand why EL2 Monitor exists, it helps to understand a specific hardware constraint of the Arm Cortex-R52 architecture. In an R52-based Real-Time Unit (RTU), every two or four cores share a single GIC (Generic Interrupt Controller) Distributor — the hardware block that routes interrupts to cores. Without protection, any software running on one core has direct access to the GIC Distributor and could — accidentally or maliciously — reroute or disable interrupts belonging to another core's partition. This makes true isolation impossible without a dedicated software layer at EL2. EL2 Monitor fills this gap. It intercepts all GIC Distributor accesses from partitions and virtualizes them, giving each partition its own exclusive Virtual GIC Distributor while the real hardware GIC remains protected. How It Works: Two Virtualization Modes   Trap & Emulate GIC Distributor accesses from EL1 software are automatically trapped to EL2, where EL2 Monitor validates and emulates them. The EL1 application is completely unaware of the virtualization — it behaves as if it has exclusive hardware access. Access operations complete in < 3 µs, making this mode suitable for standard AUTOSAR applications that require zero code changes.   Paravirtualization For performance-sensitive applications, EL2 Monitor provides ready-to-use Arm CMSIS GIC Driver APIs. The EL1 software calls these APIs directly instead of accessing GIC hardware registers. This cooperative approach achieves < 1.5 µs latency — half that of full emulation — while also reducing memory usage and development time. Hardware-Enforced Memory Protection Beyond GIC virtualization, EL2 Monitor uses the EL2 Memory Protection Unit (MPU) to enforce strict memory boundaries between partitions in hardware. Each partition is assigned its own memory regions at configuration time. Even if an EL1 guest OS is compromised, it cannot access memory belonging to another partition. This is complemented by NXP's XRDC (Extended Resource Domain Controller) silicon feature, creating a layered hardware + software protection architecture that is unique to NXP's S32 platform. MRU Channel Isolation EL2 Monitor also virtualizes MRU (Messaging Resource Unit) channels within each R52 partition. Each software entity running at a lower privilege level accesses the MRU through its own dedicated virtualized instance — inter-core communication channels cannot be accessed or corrupted by other software entities. MRU handlers are serviced in < 1.5 µs. Static, Deterministic Configuration All partition assignments — CPU cores, memory regions, peripherals, interrupt routing — are defined at build time using the EB Tresos or S32CT configuration plugins. There is no runtime reconfiguration, no dynamic scheduling, and no hidden shared state. This static model makes system behavior fully predictable, simplifies safety analysis, and keeps the trusted computing base small and auditable. Safety and Quality EL2 Monitor is qualified to ASIL D per ISO 26262:2018 — the highest automotive functional safety integrity level. Development follows NXP's Software Development Process, which is Automotive SPICE 3.1 · IATF 16949:2016 · ISO 26262:2018 · ISO 21434:2021 · ISO 9001:2015 compliant. The complete package delivered to customers includes: Quality Package: SW Traceability Matrix (Req → Design → Code → Tests), Test Specs & Reports at all levels, MISRA/CERT-C/CWE Static Analysis, Code Coverage, Benchmark & Memory Reports Safety Package: Safety Manual, FMEA Software Package: Source code, Release Notes, User Manual, SBOM Development teams do not need to perform their own safety analysis of the partitioning layer — NXP provides the complete collateral, significantly reducing the certification effort for the overall system. Developer Experience: Fits Into Your Existing Workflow EB Tresos and S32CT plugins for AUTOSAR-based configuration S32 Design Studio (S32DS) for build, debug, and deployment Multi-compiler support for toolchain flexibility Sample application included to accelerate first-time integration Available via the NXP software distribution portal (Flexera) 6 on-demand training videos on nxp.com: Hello World, Configuration & Build, RTOS Integration, Download & Install, Tools & Compilers, Support Channels Supported Platforms Why EL2 Monitor — and Why Now? The industry trend toward software-defined vehicles and centralized compute is accelerating. Zonal and domain controllers are replacing distributed ECU networks, and the software running on these controllers is growing in both complexity and safety criticality. The need for a reliable, certified, and cost-effective partitioning solution has never been more urgent. ASIL D certified — highest automotive safety integrity level, full collateral included Simpler than a full hypervisor — static, deterministic, minimal trusted computing base Unique NXP HW+SW stack — XRDC hardware isolation + EL2 Monitor software protection Sub-1.5 µs performance — paravirtualized GIC access Production-ready — full safety collateral, AUTOSAR toolchain integration, multi-platform Explore EL2 Monitor and discover how NXP's partitioning software can help you consolidate your automotive software architecture — safely, simply, and at no additional cost. Learn more about EL2 Monitor on nxp.com » Daniel Hermenczi Product Owner, EL2 Monitor — System Services, Automotive & Edge Solutions, NXP Semiconductors Daniel is a software project manager and product owner for EL2 Monitor and IPCF at NXP Semiconductors, driving roadmap execution and customer deliveries for automotive partitioning and inter-platform communication software. He is based in Sibiu, Romania. As vehicles consolidate more software onto fewer chips, keeping safety-critical functions truly isolated is no longer optional. EL2 Monitor delivers hardware-enforced partitioning for Arm® Cortex®-R52 — without the complexity of a full hypervisor.
記事全体を表示
USB init failed: -22 Hi , I have been trying to flash my wic.b2z image to an emmc using uuc tool through a usb port.While flashing an USB init failed: -22 error occured.I am using an imx8mp porcessor. Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi; Hit any key to stop autoboot: 0 ## Checking Image at 43800000 ... Unknown image format! Run fastboot ... USB init failed: -22 u-boot=>     i.MX 8 Family | i.MX 8QuadMax (8QM) | 8QuadPlus Re: USB init failed: -22 Hello,  Please share the complete process and the boot config of your board to analyze what can cause the issue.   Re: USB init failed: -22 U-Boot SPL 2024.04-lf_v2024.04+g6c4545203d1+p0 (Nov 15 2024 - 04:02:13 +0000) DDRINFO: start DRAM init DDRINFO: DRAM rate 4000MTS DDRINFO:ddrphy calibration done DDRINFO: ddrmix config done SEC0:  RNG instantiated Normal Boot Trying to boot from BOOTROM Boot Stage: USB boot Find img info 0x48022fa0, size 1064 Need continue download 1024 NOTICE:  Do not release JR0 to NS as it can be used by HAB NOTICE:  BL31: v2.10.0  (release):automotive-15.0.0_1.1.0 NOTICE:  BL31: Built : 08:52:12, Nov  4 2024 U-Boot 2024.04-lf_v2024.04+g6c4545203d1+p0 (Nov 15 2024 - 04:02:13 +0000) CPU:   i.MX8MP Lite[4] rev1.1 1600 MHz (running at 1200 MHz) CPU:   Industrial temperature grade (-40C to 105C) at 35C Reset cause: POR Model: NXP i.MX8MPlus LPDDR4 EVK board DRAM:  6 GiB tcpc_init: Can't find device id=0x50 setup_typec: tcpc port2 init failed, err=-19 tcpc_init: Can't find device id=0x50 setup_typec: tcpc port1 init failed, err=-19 Core:  284 devices, 36 uclasses, devicetree: separate MMC:   FSL_SDHC: 1, FSL_SDHC: 2 Loading Environment from nowhere... OK [*]-Video Link 0adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c fail to probe panel device adv7535@3d fail to get display timings probe video device failed, ret -19         [0] lcd-controller@32e80000, video         [1] mipi_dsi@32e60000, video_bridge         [2] adv7535@3d, panel adv7535_mipi2hdmi adv7535@3d: Can't find cec device id=0x3c fail to probe panel device adv7535@3d fail to get display timings probe video device failed, ret -19 In:    serial Out:   serial Err:   serial SEC0:  RNG instantiated MMC: no card present Detect USB boot. Will enter fastboot mode! Net:   Could not get PHY for FEC0: addr 1 Could not get PHY for FEC0: addr 1 eth1: ethernet@30bf0000 [PRIME] Fastboot: Normal Boot from USB for mfgtools *** Warning - Use default environment for                                mfgtools , using default environment Run bootcmd_mfg: run mfgtool_args;if iminfo ${initrd_addr}; then if test ${tee} = yes; then bootm ${tee_addr} ${initrd_addr} ${fdt_addr}; else booti ${loadaddr} ${initrd_addr} ${fdt_addr}; fi; else echo "Run fastboot ..."; fastboot 0; fi; Hit any key to stop autoboot:  0 ## Checking Image at 43800000 ... Unknown image format! Run fastboot ... USB init failed: -22 u-boot=> Re: USB init failed: -22 Hello,  Please try again flashing the last pre-build image (Linux 6.18.20_2.0.0) and the last version of the uuu tool.  Regards. 
記事全体を表示
S32K344 – HSE_BファームウェアをインストールしたアプリケーションでPFLASH Block 2が利用可能ですか? こんにちは、 S32K344 (HSE_FW_S32K344_0_2_55_0、0.2.55.0 ビルド pb150130 (2025 年 1 月 30 日)) を中心とした配電ユニットを開発中です。タイプ:標準FW構成)デュアルバンクブートローダーとセキュアファームウェアアップデート付き。Flashレイアウトのある一点で行き詰まっており、明確な回答をいただけると幸いです。 問題点 NVMの設定領域(アプリケーションが書き込むランタイムパラメータ)は現在、実行中のコードと同じブロック内のPFLASHブロック0に存在しています。実行時にそれらに書き込むと、コア上で書き込み中の読み取り停止が発生し、プログラム/消去操作の間、ユニットがフリーズします。これは私たちのアプリケーションには受け入れられません(PDUはセーフティに関わる負荷を駆動します)。 最も簡単な解決策は、これらの領域を実行コードを含まないブロックに移動することです。ブロック2(0x600000–0x6FFFFF、セクター368–381)が自然な候補です。アプリケーションバンクでは使用されておらず、HSEがデータを保存するブロックでもありません。 これまでに確認したこと – S32K3xxリファレンスマニュアルにはPFLASHブロック構造が説明されていますが、HSE予約については何も触れていません。 – 公開されているHSE Basic FW FAQによると、ブロック0と1はアプリケーションに対して保証されており、HSEファームウェアはブロック3の一部(FULL_MEM構成で176KB)を予約しています。ブロック2については全く言及されていません。 – 私たちが検討したHSEデモアプリケーションやRTDの例もBlock 2を使用していないため、そこから何も推測できません。 – HSEファームウェアリファレンスマニュアルv2.4のNDA/DocStoreアクセス申請を提出しましたが、この内容はこの内容をカバーしていると理解しています。リクエストは保留中です。 質問 HSE_Bファームウェアをインストールした場合、Block 2はFULL_MEM設定のアプリケーション(コードとデータ)に完全に利用可能でしょうか?AB_SWAPについてはどうでしょうか? アプリケーションコアから実行時にブロック2を消去・プログラミングすることに関して、HSE関連の制限はありますか?HSE、SBAF、またはセキュアブートによってロックまたは監視されているセクター)? HSEファームウェア、SBAF、アプリケーション間のPFLASHブロックの完全な割り当てを説明した公開文書はありますか?もしなければ、NDA申請が処理される間にHSEファームウェア リファレンス・マニュアルへのアクセスを手伝ってもらえませんか? 確定的な答えが出るまでは、設計は意図的にブロック0と1に限定されており、そのため読み書きの問題が残ります。 ご協力ありがとうございます。 Re: S32K344 – Is PFLASH Block 2 available to the application with HSE_B firmware installed? 共有していただきありがとうございます 😉 Re: S32K344 – Is PFLASH Block 2 available to the application with HSE_B firmware installed? こんにちは、 @manu_fenixecu さん、 A1。はい、ブロック2は完全にユーザーフラッシュです。 S32K344、S32K314、およびS32K324のフラッシュメモリのレイアウトについては、HSE-B FW RM v2.7の図33(FULL_MEM)および図34(AB_SWAP)を参照してください。 A2.HSE-B FW RM v2.7、セクション14.6.4.2(HSE_CONFIG_GPR3)— アプリケーションはビット27を読み取るべきです。 A3。公開されている唯一の参考資料は、S32K3xx RM rev12、表198(「HSE_Bファームウェア使用機能フラグが有効になっている場合の構成の詳細」)です。HSE-B FW RMはNDAなしに共有できません。HSE関連のサポートについては、この公開コミュニティではなくサポートチケットを使用してください。 よろしくお願いいたします。 ダニエル
記事全体を表示
NFCチップの書き込み方法 iPhone 12 Pro Maxを使ってNFC 215チップに書き込みを試みています。私はNXPタグライターアプリを使用しています。NXPタグライターアプリで「新規」→「Webサイト」をクリックし、URIタイプとURIデータとともに説明情報を入力します。次に「保存して書き込む」をクリックすると、「NDEF 記録がデータセットに正常に保存されました」という通知が表示されます。アプリを閉じてチップをタップしても何も反応しません。別の電話でも試してみましたが、やはりうまくいきませんでした。何かアイデアや提案はありますか? nfc error.PNGnfcエラー.PNG Re: How to write nfc chip こんにちは、@Erik3さん 「データセットに保存されました」というメッセージは、データがアプリ内にローカルに保存されただけで、まだチップに書き込まれていないことを意味します。お試しください: TagWriterで「My Datasets」に行き、エントリを選択して「Write」→タップ→ 書き込み確認が表示されるまで、iPhoneをチップに近づけてください また、NFC TagInfoアプリを使ってチップをスキャンし、その現在の内容や状態を確認できます。
記事全体を表示
S32K322 LCU/Emios I would like to understand the encoder implementation and principle differences between the S32K144 and S32K322. With the S32K144, the initial angle is communicated through the PWM and then provided to the count to the ABI interface for further processing. We also have a fault-detection mechanism to detect A, B, and I signal/wire disconnections using the quadrature decoder functionality through FTM. However, with the S32K322, the same logic is not working as expected, particularly because we are currently unable to detect the direction correctly. For example, when the I-pulse wire is disconnected, the absolute count becomes zero. This results in incorrect switching, after which the absolute count gradually varies and eventually reaches 4095 pulses. In the S32K144, even when the I-pulse is disconnected, the A and B signals with a single output are still able to provide the proper count, allowing us to detect the fault. Could you please provide examples or clarify the expected behavior for the following cases? A-pulse wire disconnected B-pulse wire disconnected I-pulse wire disconnected A and B pulse wires disconnected A, B, and I pulse wires disconnected It would also be helpful if you could explain how the encoder count and direction are expected to behave in each of these scenarios for both the S32K144 and S32K322. Regards, Thiru S32K3 S32K1 BRUSHLESS-DC-MOTOR-CONTROL  Re: S32K322 LCU/Emios Hi, The S32K322 does not include the FTM peripheral that is present on the S32K144. On the S32K3 family, the quadrature encoder functionality is built around the cooperation of the LCU, TRGMUX, and eMIOS modules. This is a fundamentally different architecture from the FTM-based quadrature decoder available on S32K144. On S32K322, PHA and PHB are decoded by the LCU into separate CW and CCW pulse streams, which are counted by two eMIOS channels. The application obtains the incremental position from the difference between these counters. A useful starting point for the S32K3 quadrature decoder design is Application Note AN13767, specifically Section 4.2.5, which describes the LUT truth table used for direction detection, TRGMUX routing, and eMIOS edge-counter configuration. Additional information can be found on the S32K344 motor-control kit page and in the related community discussion: AN13767: Application Note AN13767 S32K344 Motor Control Kit: S32K344 BLDC/PMSM Development Kit Community discussion: Quadrature decoder on S32K344 Based on the LCU LUT implementation, if either the A or B signal is disconnected, the remaining channel can still generate transitions that produce CW or CCW pulses at the LCU output. As a result, the corresponding eMIOS counter continues counting and direction information may still be available. However, the pulse rate is reduced, resulting in approximately four times fewer counts per revolution compared to normal operation. If both A and B signals are disconnected, no valid quadrature transitions are present at the LCU inputs. Consequently, neither CW nor CCW pulses are generated and the eMIOS counters remain unchanged. Regarding the index (I) signal, the NXP motor-control kit implementation does not use the index signal. Position and direction are derived solely from the A and B quadrature signals, while the position offset is calibrated during rotor alignment. Furthermore, the index signal is not connected to the MCU in this implementation. Therefore, the behavior observed when disconnecting the I signal appears to be application-specific. BR, Petr Re: S32K322 LCU/Emios I could not fully understand the LCU LUT logic described in the application note. I have the following questions: 1. Detection of A/B signal disconnection: I understand that detecting A or B signal disconnection based only on the absolute count may not be reliable, since the absolute count can remain at 0 or 4095 when either the A or B signal is disconnected. At the same time, defining a fixed threshold based on the CW/CCW counter also seems difficult because the rotor can rotate forward and backward, causing the counter to roll over. The CW/CCW counter can therefore exceed 4095 and continue up to 65535 (uint16), depending on the rollover condition. In this scenario, what would be the recommended logic or threshold for detecting A/B signal disconnection? Could you please suggest a suitable diagnostic approach for this scenario, considering the counter rollover condition?
記事全体を表示
IW416 Wi-Fi RF Test Mode – PN9 / Payload Pattern for EN 300 328 Hello, We are evaluating IW416 for EN 300 328 regulatory testing using AN14114 Rev.7.0 Our certification laboratory has requested continuous modulated transmission using a PN9 data sequence. However, in the Wi-Fi TX continuous command, AN14114 only describes a fixed payload pattern: echo "tx_continuous= " and gives this example: echo "tx_continuous=1 0 0xAAA 0 3 0x8" Could you please confirm: 1. Does IW416 Wi-Fi RF Test Mode support direct PN9/PRBS9 generation? 2. If not, what payload pattern does NXP recommend for EN 300 328 testing? 3. Can 0xAAA be used as the recommended alternative to PN9 for Continuous Packet Mode? 4. Are these settings correct for continuous modulated transmission? - transmit mode = 0 - cs mode = 0 - active subchannel = 3 Thank you.
記事全体を表示
フラッシュドライブ # 今 マーケット で一番良いフラッシュドライブはどれか ## どうか教えて Re: Flash Drives こんにちは、@ reedjhn9 あなたの質問の意味がよく分かりませんでした。具体的に、使用している製品と知りたい具体的な問題について教えていただけますか?
記事全体を表示
S32K344 – 安装 HSE_B 固件的应用程序是否可以使用 PFLASH Block 2? 你好, 我们正在围绕 S32K344 (HSE_FW_S32K344_0_2_55_0, 0.2.55.0 版本 pb150130 (2025 年 1 月 30 日)) 开发配电单元。类型:标准固件配置)具有双库引导加载程序和安全固件更新。我们在 Flash 布局的某一点上遇到了困难,希望能得到一个明确的答案。 问题 我们的 NVM 配置区域(应用程序写入的运行时参数)目前位于 PFLASH 块 0 中,与正在执行的代码位于同一块中。在运行时向它们写入数据会触发内核的读写停顿,从而在编程/擦除操作期间冻结单元。对于我们的应用来说,这是不可接受的(PDU 驱动与功能安全相关的负载)。 显而易见的解决方法是将这些区域移动到不包含已执行代码的块中。块 2(0x600000–0x6FFFFF,扇区 368–381)是自然的候选者:它没有被我们的应用程序银行使用,而且它也不是 HSE 存储其数据的块。 我们目前已核查的内容 – S32K3xx 参考手册描述了 PFLASH 块结构,但没有提及 HSE 预留。 – 公开的 HSE 基本固件常见问题解答指出,第 0 和 1 块保证供应用程序使用,并且 HSE 固件保留了第 3 块的一部分(在 FULL_MEM 配置中为 176 KB)。它完全没有提到第二区。 – 我们看到的 HSE 演示应用程序和 RTD 示例也没有使用 Block 2,因此我们无法从中推断出任何信息。 – 我们已提交 HSE 固件参考手册 v2.4 的 NDA / DocStore 访问请求,据我们了解,该手册涵盖了此内容。请求正在处理中。 问题 安装 HSE_B 固件后,在 FULL_MEM 配置下,Block 2 是否完全可供应用程序(代码和数据)使用?AB_SWAP 呢? 在运行时从应用程序核心擦除/编程 Block 2 是否存在任何与 HSE 相关的限制(例如,(由 HSE、SBAF 或安全启动锁定或监测的扇区)? 是否有公开文档描述了 HSE 固件、SBAF 和应用程序之间完整的 PFLASH 块分配情况?如果不行,能否请哪位好心人帮我们在保密协议申请处理期间获取 HSE 固件参考手册? 在得到确切答案之前,我们的设计特意限制在模块 0 和 1 内,这就给我们留下了边读边写的问题。 提前感谢您的帮助。 Re: S32K344 – Is PFLASH Block 2 available to the application with HSE_B firmware installed? 谢谢分享 😉 Re: S32K344 – Is PFLASH Block 2 available to the application with HSE_B firmware installed? 你好@manu_fenixecu , A1. 是的,Block 2 完全是用户闪存。 有关 S32K344、S32K314 和 S32K324 的闪存布局,请参阅 HSE-B FW RM v2.7 中的图 33(FULL_MEM)和图 34(AB_SWAP)。 A2. HSE-B FW RM v2.7,第 14.6.4.2 节 (HSE_CONFIG_GPR3) — 应用程序应读取第 27 位。 A3.唯一公开的参考资料是 S32K3xx RM rev12,表 198(“启用 HSE_B 固件使用功能标志时的配置详细信息”)。没有签署保密协议,HSE-B FW RM 不能共享。如需 HSE 相关支持,请使用支持工单,而不是在此公共社区中提问。 此致, 丹尼尔
記事全体を表示