Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
How to create observation variables I programmed it with simulink, burned it to MPC5744, and observed it with Free Master, but the variable I wanted to observe didn't exist. I wonder how to create observation variables in Simulink Re: How to create observation variables Hi @Renjie-Wang , Hope this helps you. https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Sending-data-via-UART-and-monitoring-signa... Alternatively, you can also set your variables to Volatile through Simulink -> Apps -> Embedded Coder -> Code Maapings-C -> Data Stores You can monitor variables through FreeMaster.
查看全文
i.MX8MP 允许 HDMI 输出 1920x1080-59.94Hz 的频率 你好 我目前正在使用 i.MX8MP 处理器进行一个视频播放项目,但遇到了一个问题:我无法让 HDMI 以1920x1080-59.95Hz 的频率输出。我不需要动态刷新率切换 - 我只需要在固定刷新率下的稳定输出。 我正在使用的硬件平台基于 SolidRun 的 HummingBoard Pulse: https://developer.solid-run.com/knowledge-base/hummingboard-pulse-getting-started/ 我运行的是Yocto 4.0 Kirkstone,使用的是 NXP Embedded Linux 5.15.71-2.2.0。 我以前在 SolidRun 论坛上发过帖子,但没有成功解决这个问题。 我还发现了与此话题相关的类似讨论,例如: https://community.nxp.com/t5/i-MX-Processors/imx8mp-programming-hdmi-phy-pll-timings/td-p/1498162 如果有人在此平台上配置固定的 HDMI 输出时序方面有经验,或者可以向我推荐相关的设备树修改或驱动程序更改,我将不胜感激。 谢谢! i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 你好@RU_Callum imx8MP HDMI 像素时钟的时钟源是 IMX8MP_CLK_24M。 B.R Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz @pengyong_zhang 你好、 感谢您的帮助。作为实现这个时钟速率的最后一次尝试,你能否告诉我使用哪个特定的时钟作为创建 HDMI 输出的参考。 我们正在考虑在PCB设计中用慢0.1%的时钟参考来代替这个时钟,这将允许148.352MHz的输出 顺祝商祺! Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz hI@RU_Callum 很抱歉,i.MX8MP 不支持 148.352MHz。像素时钟输出。 B.R Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz @pengyong_zhang 你好、 感谢您的回复,有没有办法在 i.MX8MP 上强制使用 148.352MHz 像素时钟频率? 我之所以需要这种模式,是为了符合 NTSC(国家电视系统委员会)标准。 如能得到任何帮助,我们将不胜感激。 非常感谢! Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 你好@RU_Callum 我已经在我的 i.MX8MP evk 板上测试了大约 [email protected],我们不支持148.352MHz 像素时钟。而且我无法通过您的链接获取面板像素时钟。您需要查看数据表文件。我们可以支持 148.5MHz 的像素时钟。 B.R Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz @pengyong_zhang 你好、 我很感激你已经问了两次这个问题,我之所以回避这个问题,是因为它已经在几台不同的广播监测上进行了测试。 以下是我目前正在使用的监测的规格: 监测:https://lilliputdirect.com/A11 规格表: https://drive.google.com/file/d/1fhSdyPbVu6ukpm33yqDd64ruyZZABC1y/view 信号格式表: https://drive.google.com/file/d/1th2s5CekSFQxn5pyLvvqshyA9tPOu_ut/view 非常感谢。 Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz hI@RU_Callum 我已经问了你两次问题,你的面板像素时钟是多少? 请提供面板的数据表文件。 如果我们不支持您的面板像素时钟,您的面板将无法正常显示 B.R Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz @pengyong_zhang 你好、 我修改了 weston.ini 文件,但默认频率似乎仍然是 60Hz。 HDMI 输出正被馈入 HDMI 转 3G/HD-SDI 变流器:https://aivion.com/wp-content/uploads/DS_A_NA1012B_ET_V1.0.2.pdf 该变流器预计将通过 HDMI 连接向其提供以下时钟速率: HDMI/DVI TMDS 输入时钟要求为: 3G 模式: 148.5MHz 或 148.5 MHz/1.001 +/- 60ppm 高清模式: 74.25MHz 或 74.25MHz/1.001+/-80 ppm 我们已经测试了变流器,以及它何时接收 148.5/ 的时钟速率MHz/1.001 时,播放频率为 59.94Hz。这表明 i.MX8MP 并没有以这种速率输出,即使更改 weston.ini 也是如此。 有没有办法在 i.MX8MP 上强制使用这种时钟频率? 非常感谢 Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 你好@RU_Callum 更改 /etc/xdg/weston 位置的 westom.ini 文件、 在 [output] 部分中更改您想要的分辨率输出]部分。 顺便问一下:您的面板像素时钟是多少?共享面板的数据表文件。 B.R Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 你好@pengyong_zhang 这些补丁说明似乎解决了这个问题,但我一直无法对我的板进行任何更改来解决这个问题。希望对您有所帮助: https://lore.kernel.org/linux-arm-kernel/[email protected]/ 谢谢! Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 完整日志: root @imx8mpsolidrun:~# 模式测试 尝试打开设备 “i915”... 尝试打开设备 “amdgpu” 失败... 尝试打开设备 “radeon” 失败... 尝试打开设备 “nouveau” 失败... 尝试打开设备 “vmwgfx” 失败... 尝试打开设备 “omapdrm” 失败... 尝试打开设备 “exynos” 失败... 尝试打开设备 “exynos” 失败... 尝试打开设备 “exynos” 失败... 尝试打开设备 “exynos” 失败 ccd '... 尝试打开设备' msm '失败... 尝试打开设备' sti '失败... 尝试打开设备' tegra '失败... 尝试打开设备' tegra '失败... 尝试打开设备失败' imx-drm'... done 编码器: id crtc 类型可能的 crtc 可能的克隆 40 0 DSI 0x00000001 0x00000001 42 39 TMDS 0x00000004 0x00000002 连接器: id 编码器状态 名称 尺寸 (mm) 模式 编码器 41 0 断开 HDMI-A-1 0x0 0 40 props: 1 EDID: flags: immutable blob blobs: value: 2 DPMS: flags: enum enums:On=0 Standby=1 Suspend=2 Off=3 value: 0 5 link-status: flags: enum enums:Good=0 Bad=1 value: 0 6 non-desktop: flags: immutable range values:0 1 value: 0 4 TILE: flags: immutable blob blobs: 值: 43 42 连接的 HDMI-A-2 710x400 14 42 模式: 索引名称 刷新 (Hz) hdisp hss hse htot vdisp vss vse vtot #0 1920x1080 60.00 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver #1 1920x1080 59.94 1920 2008 2052 2200 1080 1084 1089 1125 148352 flags: phsync, pvsync; type: driver #2 1920x1080 50.00 1920 2448 2492 2640 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver #3 1920x1080 30.00 1920 2008 2052 2200 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver #4 1920x1080 29.97 1920 2008 2052 2200 1080 1084 1089 1125 74176 flags: phsync, pvsync; type: driver #5 1920x1080 25.00 1920 2448 2492 2640 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver #6 1920x1080 24.00 1920 2558 2602 2750 1080 1084 1089 1125 74250 flags: phsync, pvsync; type: driver #7 1920x1080 23.98 1920 2558 2602 2750 1080 1084 1089 1125 74176 flags: phsync, pvsync; type: driver #8 1280x720 60.00 1280 1390 1430 1650 720 725 730 750 74250 flags: phsync, pvsync; type: driver #9 1280x720 59.94 1280 1390 1430 1650 720 725 730 750 74176 flags: phsync, pvsync; type: driver #10 1280x720 50.00 1280 1720 1760 1980 720 725 730 750 74250 flags: phsync, pvsync; type: driver #11 720x576 50.00 720 732 796 864 576 581 586 625 27000 标志:nhsync、nvsync;类型:驱动程序 #12 720x480 60.00 720 736 798 858 480 489 495 525 27027 标志: nhsync、nvsync;类型:驱动程序 #13 720x480 59.94 720 736 798 858 480 489 495 525 27000 标志:nhsync、nvsync;类型:驱动程序 props: 1 EDID: 标志:不可变 blob blobs: 值: 00ffffffffffff002301000001000000 0a190103804728960adaffa3584aa229 17494b00000001010101010101010101 010101010101011d8018711c1620582c 2500c48e2100009e011d007251d01e20 6e285500c48e2100001e000000fc0042 4d442048444d490a20202020000000fd 00173c1f440f000a20202020202001c1 020321774d858487949396a0a1a29f90 0312230f040783ff000066030c000000 008c0aa01451f01600267c4300138e21 000098011d80d0721c1620102c2580c4 8e2100009e011d00bc52d01e20b82855 40c48e2100001e8c0aa0205120181018 7e2300138e21000098011d803e73382d 407e2c4580c48e2100001e0000000034 2DPMS: flags: enum enums:On=0 Standby=1 Suspend=2 Off=3 value: 0 5 link-status: flags: enum enums:Good=0 Bad=1 value: 0 6 non-desktop: flags: immutable range values:0 1 value: 0 4 TILE: flags: immutable blob blobs: 值: 44 max bpc: 标志: 范围 值:8 16 值:0 CRTCs: id fb pos size 33 0 (0,0) (0x0) #0 nan 0 0 0 0 0 0 0 0 flags: ; type: props: 24 VRR_ENABLED: flags: range values:0 1 value: 0 36 0 (0,0) (0x0) #0 nan 0 0 0 0 0 0 0 0 flags: ; type: props: 24 VRR_ENABLED: flags: range values:0 1 value: 0 39 49 (0,0) (1920x1080) #0 1920x1080 60.00 1920 2008 2052 2200 1080 1084 1089 1125 148500 flags: phsync, pvsync; type: driver props: 24 VRR_ENABLED: flags: range values:0 1 值:0 平面: id crtc fb CRTC x,y x,y gamma size possible crtcs 31 0 0 0,0 0,0 0 0 0x00000001 formats:XR24 AR24 RG16 XB24 AB24 AR15 XR15 props: 8 type: flags: immutable enum enums:Overlay=0 Primary=1 Cursor=2 value: 1 32 zpos: flags: immutable range values:0 0 值:0 34 0 0,0,0 0 0 0x00000002 格式:XR24 AR24 RG16 XB24 AB24 AR15 XR15 props: 8 type: flags: immutable enum enums:Overlay=0 Primary=1 Cursor=2 value: 1 35 zpos: flags: immutable range values:0 0 值:0 37 39 49 0,0,0 0 0 0x00000004 格式:XR24 AR24 RG16 XB24 AB24 AR15 XR15 props: 8 type: flags: immutable enum enums:Overlay=0 Primary=1 Cursor=2 value: 1 38 zpos: flags: immutable range values:0 0 值:0 帧缓冲区: id 大小引脚间距 使用 Weston,我可以获取以下信息: [13:12:40.811]输出 HDMI-A-2(CRTC 39)视频模式: [email protected]:9,电流,148.5 MHz [email protected]:9、148.4 MHz [email protected]:9、148.5 MHz [email protected]:9、74.2 MHz [email protected]:9、74.2 MHz [email protected]、74.2 MHz [email protected]:9、74.2 MHz [email protected]、74.2 MHz [email protected]:9、74.2 MHz [email protected]:9、74.2 MHz [email protected]、74.2 MHz [email protected]:9, 74.2 MHz [email protected] 16:9, 27.0 MHz [email protected] 16:9, 27.0 MHz [email protected] 16:9, 27.0 MHz 但是,当我将 Weston 设置为以[email protected]的频率输出时,它又默认为 60Hz 非常感谢。 Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 你好@RU_Callum 请共享完整的结果日志文件。另外,您的 Panle 像素时钟是多少?如果是,请共享您的 Panle 数据表文件。 B.R Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 嗨 @pengyong_zhang, 感谢您的快速回复, root @imx8mpsolidrun:~# modetest-C 尝试打开设备 “i915”... 尝试打开设备 “amdgpu” 失败... 尝试打开设备 “radeon” 失败... 尝试打开设备 “nouveau” 失败... 尝试打开设备 “vmwgfx” 失败... 尝试打开设备 “omapdrm” 失败... 尝试打开设备 “exynos” 失败... 尝试打开设备 “tilcdc” 失败... 尝试打开设备 “msm” 失败... 尝试打开设备 “sti” 失败... 失败 尝试打开设备 “tegra”... 尝试打开设备 “imx-drm” 失败... 完成了 我不知道这是否有帮助,但我正在使用 Weston 合成器来显示视频回放。 Re: i.MX8MP allow HDMI to output 1920x1080-59.94Hz 你好@RU_Callum 请输入 modetest -C 命令并分享结果? B.R
查看全文
在 CTIMER 元器件中使用输入捕获模式 这次我发布的是答案而不是问题,因为已经有四年多没有人指出没有关于在 SDK CTIMER 驱动程序中使用输入捕获模式的演示或解释了。我想它现在已经被遗忘了。 首先,所有可用的 CTimer_inPN 输入都可以使用任何 CTimer_inPN 输入作为其触发源。如果使用 "引脚 "工具,它可以为您配置引脚多路复用。否则,您需要使用 INPUTMUX。不管 SDK 手册中怎么说, /boards/ /driver_examples/inputmux 中没有提供任何示例(至少不适用于我的任何板),所以你可以自己去那里。 接下来,使用 clock_attachCLK () 连接源时钟,然后可选 ctimer_getDefaultConfig () 获取默认配置并进行修改,或者自己设置参数,然后使用参数调用 ctimer_init ()。 使用 CTIMER_RegisterCallBack()注册一个将被定时器 ISR 调用的回调函数。请注意,即使定义的是单个回调,存储的也只是指向数组的指针,因此请确保传递给寄存器函数的数组会在内存中持续存在。是的,单个回调函数地址可以放在同一个指针中,但驱动程序不是这样编写的。这是一个有趣的细节,却从来没有人愿意记录下来。 接下来,调用 CTIMER_SetupCapture() 来选择捕获源和边缘类型,最后调用 CTIMER_StartTimer() 来设置计时器运行,除非你想在回调函数中这样做来测量两条边之间的间隔。无论定时器是否在运行,您都会在相应的边沿获得中断。 该软件开发工具包没有提供访问捕获值的机制,因此您需要直接访问 CTIMERn->CR[c] 才能读取该值。ctimer_reset () 将重置计数器值。 与 2018 年的线程所说的相反,您不需要在回调中清除任何状态标志,这是由驱动程序完成的。传递给回调函数的 "flags "参数来自 CTIMERn->IR,即中断寄存器。同样,这也是 SDK 手册完全没有提及的问题之一。 这就是一个完美的例子,说明了 SDK 最终会如何"比什么都没有还糟糕" - 如果没有适当的文档,使用它的唯一方法就是自己仔细阅读数据表,弄清需要做什么,然后阅读驱动程序代码,弄清实际情况。 总之,这就是我目前的发现。希望这能省去别人从头开始摸索的麻烦。 Scott Re: Using input capture mode with the CTIMER component 谢谢你花时间写了这篇文章,对我帮助很大!
查看全文
CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? I was using CW v2.10 in windows 7. But when i am trying to install setup file in windows 10, It is not working.Error scrrenshot is as shown. Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows I use MacBook Air M1 (OS: Sonoma 14.7.5 (23H527)) with Wine v10.6 to running CodeWarrior 2.10 for coding. It works super fast. Of course debugging is impossible because luck of PEMicro Apple silicon drivers/support. But on this step I don't need it. Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 1) stay with CodeWarrior for MPC55xx/56xx v2.10   I can't use cw 2.10 in Windows 10, and the debug window keeps popping up an undetected disconnected/connected USB cable. I used it https://www.pemicro.com/faqs/faq_view.cfm?ID=29 The method of webpage cannot solve the problem. In Firmware update, the firmware can be recognized and upgraded normally, and the latest version of the driver has been installed. The driver can also be found in Device Manager. I just can't debug. Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? There are Qorivva sample under CW install: C:\Freescale\CW MCU v11.0\MCU\CodeWarrior_Examples\Qorivva_Examples If you need more assistance, please submit a ticket as Stan suggested. Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? Hi Stan, Thank you for your response. I followed the steps mentioned in option 1. But it is not working for me. I also tried option 2. However, getting many errors in the code warrior IDE. (compiler errors) Any document describing the steps to migrate from old project in CW v2.1 to new project in CW v11.1 ? Is there any sample project for MPC5668G with CW v11.1 ? Regards, Sukruth Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? Hi Sukruth, Unfortunately project importer does not support MPC5xxx projects (it is dedicated to DSCs only) in CodeWarrior for MCUs 10.x Anyway, there are essentially two options: 1) stay with CodeWarrior for MPC55xx/56xx v2.10 Althought Windows 10 is officially not supported I've verified it is possible to use it with Windows 10 64bit (IDE + build tools + debugger) I'd suggest you to try: * to run the installer as an administrator. * enter installation path outside of "Program Files" folder (use e.g. "C:\NXP\CW for MPC55xx and MPC56xx 2.10") * run the installer with compatibility mode set to Windows 7 if the suggestions above do not work. * If you install it correctly please download the latest Pemicro Drivers (PEmicro | Experts in Embedded tools for Flash Programming and Development ) 2) migrate your project into CodeWarrior for MCUs v11.0 You will have to create a new project, add your source files and cofigure the project manually. See attached document AN4094 to migrate the build tools settings - CW v2.10 vs. CodeWarrior for MCUs (Eclipse) The advantage of option #2 is you will get the latest compiler version with many issues addressed. If you experience any issues while migrating project we can assist you (in such a case please submit a support ticket for a private support channel: How to submit a new question for NXP Support  Hope it helps. Stan Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? Installed and trying to import our old project file . Getting the below error. Is it possible to port project created in CW2.1 to this version? Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? yes, when you create a new project with CodeWarrior11, you will see MPC5668G here Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? Hi Jun, Are Qorivva® 56xx and POWERPC 5668G both are same? Because in this tool, I didn’t find an option to select the target from POWERPC. Regards, Sukruth Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? Sukruth Please use this eclipse version, which can support MPC56xx on win10 CodeWarrior® for Microcontrollers-Eclipse IDE 11.1 | NXP  Have a great day, Jun Zhang   ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you!   - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? Hi Jun, Unfortunately we don't have an option to use windows 7 in our organization. Do you suggest any alternatives to use CW2.1 for windows 10 ? Regards, Sukruth Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? Sukruth I checked MPC5668g. Unfortunately, for this chip, we only have CW2.1. no other newer version. Please use CW2.1 on our recommended windows platform. Sorry for the inconvenience. Have a great day, Jun Zhang   ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you!   - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? Hi Jun, Thank you for your reply. I am using MPC5668g (POWERPC controller). Please suggest me the suitable CW version for this target. Regards, Sukruth Re: CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 is supported in windows 10? CodeWarrior® Development Studio for MPC55xx/MPC56xx (Classic IDE) v2.10 can support below windows platform.  Microsoft® Windows® XP Windows Vista™, 32-bit or 64-bit edition Windows 7, 32-bit or 64-bit edition CW2.1 was released before win10 launching time, so win10 is not on CW2.1 supporting list. What's your chip part number? I can help you check if there is related CW eclipse version that can support your target. Have a great day, Jun Zhang   ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you!   - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
查看全文
关于 ASR、TTS 和变压器的建议 你好,我正在 i.MX 93 EVK 上开发一个应用程序。 对于在设备上运行时计算要求相对较低的以下建议,我将不胜感激。我使用的是 i.MX 93 双核 1.7GHz。 我在寻找以下方面的建议 在设备上运行时,ASR 引擎具有合理的精度。例如:轻声细语 TTS 模型 设备上的变压器型号,例如Llama 3B。 任何诸如性能比较和建议之类的信息将不胜感激。谢谢 Re: Recommendations for ASR, TTS and Transformer 嘿 Laurent_P您能分享一下如何在 i.MX93 的 NPU 上实现 Whisper tiny.en TFLite 模型吗?我一直在找这个东西,它对我的开发工作大有帮助。我能够将模型转换为 TFLite INT8,但 NPU 并不完全支持所有 Whisper 操作,因此我必须在 CPU 上使用 float32 模型。 谢谢 Re: Recommendations for ASR, TTS and Transformer 你好@QuantumPath 在 i.MX93 上,我们启用了 Whisper ASR(微型、基本型、小型)和 Moonshine ASR(微型和基本型)。 我们将于 7 月中旬首先通过 GStreamer 提供 Whisper ASR 语音插件。 对于 TTS,我们启用了 ViTS TTS。对于 LLM,我们可以运行小型 LLM,如多瑙河 0.5B。 同时,我们在 i.MX95 上运行了完整的 eIQ Gen Al 流程管道(唤醒词、ASR、LLM、RAG、TTS): https://github.com/nxp-appcodehub/dm-eiq-genai-flow-demonstrator?tab=readme-ov-file
查看全文
配置工具 v26.06 你好,恩智浦、 我将配置工具从 v25.3 升级到了 v25.6。 当我运行 DDR 测试时,出现了以下错误。如果我使用 v25.3 版进行测试,就不会有问题。如何用最新版本 25.6 解决这个问题? 谢谢! 西蒙 ################### Result for: phy_init ###### Run 1 #############################################Microsoft Windows [版本 10.0.26100.4652] (c) 微软公司。保留所有权利。 C:\nxp\i.MX_CFG_25.06\bin>prompttest-prefix : test-prefix :"C:/nxp/i.MX_CFG_25.06/bin/python3/python""C:/nxp/i.MX_CFG_25.06/bin/python3/memtool/memtool_entry.py"-t"runtest" -d"C:/ProgramData/NXP/mcu_data_25.06/processors/MIMX9596xxxxN/ksdk2_0/mem_validation/ddrc"-p"C:/Users/eg_fw/AppData/Local/Temp/mem_validation/phy_training_phy_test_0_0_.log"-l INFO"C:/Users/eg_fw/AppData/Local/Temp/mem_validation/connect.json" " C:/Users/eg_fw/AppData/Local/Temp/mem_validation/test.json""C:/Users/eg_fw/AppData/Local/Temp/mem_validation/phy.json""C:/Users/eg_fw/AppData/Local/Temp/mem_validation/ddrc_registers.json""C:/Users/eg_fw/AppData/Local/Temp/mem_validation/ddrc_config.json""C:/Users/eg_fw/AppData/Local/Temp/mem_validation/ddrc_config_in.json" INFO memtool.utils.helper *****C:/Users/eg_fw/AppData/Local/Temp/mem_validation/connect.json INFO memtool.utils.helper *****C:/Users/eg_fw/AppData/Local/Temp/mem_validation/test.json INFO memtool.utils.helper *****C:/Users/eg_fw/AppData/Local/Temp/mem_validation/phy.json INFO memtool.utils.helper *****C:/Users/eg_fw/AppData/Local/Temp/mem_validation/ddrc_registers.json INFO memtool.utils.helper *****C:/Users/eg_fw/AppData/Local/Temp/mem_validation/ddrc_config.json INFO memtool.utils.helper *****C:/Users/eg_fw/AppData/Local/Temp/mem_validation/ddrc_config_in.json INFO memtool.processor.imx9.imx9_processorXls 映射加载时间 0.037542 INFO memtool.processor.imx9.imx9_processor配置时间 0.000289 INFO memtool.processor.imx9.imx9_processorDS 文件时间 0.281771 INFO memtool.phyinit.phy_init为 2024.09\lpddr5 运行 phyinit INFO memtool.comm.serial_channel使用串行COM27 ERROR memtool.common.base_test应用程序加载结束时出现异常:由于配置错误,下载未完成! Re: Config Tools v26.06 你好@simonng 对于最新的 25.06 版配置工具,我们只支持 B0 版本的 imx95 芯片,我认为您的芯片也是 A1 或 A0 版本,您需要使用之前版本的工具运行 i.MX95 的 DDR 相关测试。 B.R
查看全文
i.MX8/9 上的 Apple CarPlay Ultra 你好 i.MX8 或 i.MX9 系列处理器是否计划支持 Apple CarPlay Ultra? 如果是,预计的时间表是什么? i.MX 8 系列 | i.MX 8QuadMax (8QM) | 8QuadPlus Re: Apple CarPlay Ultra on i.MX8/9 这是我从专业支持团队获得的信息。此外,这是专业支持团队的一位成员告诉我的有关 Apple CarPlay Ultra 的信息: "我们现在不支持它,我也不知道将来是否有支持它的计划。这是要与安娜-沃西开始讨论的问题。"
查看全文
Imx93 调试 IR Imx93 调试 IR,原理图如下,支持 IR 吗?如果是,如何调试? Re: Imx93 debugging IR @xiang_1001, 请参考支持红外的 imx8mm。前段时间,我进行了测试,并写了一篇技术博客 -在 iMX8MM EVK 上启用红外接收器 - 恩智浦社区 原理保持不变,即一个 GPIO 将用于红外接收器。在博客中,我提到了驱动程序和启用它的 dtsi。你也许可以从这里开始调试。 Re: Imx93 debugging IR 你好,有结果了吗? Re: Imx93 debugging IR 我会为您确认,请稍候。
查看全文
Verifying images in HAB in Linux or OPTEE Hi, I'm trying to work on an update procedure on an IMX6UL that checks to see if an image will pass the HAB check before updating the images. I'm having trouble accessing the boot ROM from OPTEE so I need to re-implement the authentication function in as a TA in OPTEE or failing that as a regular Linux application, similar to the uboot command hab_auth_img. Is there any code available for this? Is there a way to make the CST do this? i.MX6UL Security Re: Verifying images in HAB in Linux or OPTEE We also have the requirement to perform kernel signature verification within OP-TEE. Could you provide the methodology and an implementation (code) for this? thanks Re: Verifying images in HAB in Linux or OPTEE @gcornacchia  Hello,   There is no the hab checking in  userspace. Regards, Yuri. Re: Verifying images in HAB in Linux or OPTEE Hi Yuri, I'm trying to use hab checking function for imxull in kernel userspace is there any implementation? Can you share your considerations? What I would like to achive is a signature checking thank you Re: Verifying images in HAB in Linux or OPTEE Hello,     I've sent You directly some considerations. Have a great day, Yuri     ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored   Please open a new thread and refer to the closed one, if you have a related question at a later point in time. Re: Verifying images in HAB in Linux or OPTEE Hi, is there any solution this? This seems like a fairly common use case that will stop people bricking their devices.
查看全文
MPC5604P 代码闪存读取受保护 你好 如何配置受保护代码闪存?无法读取闪存代码,它可以保护我的代码。是否有读取代码闪存保护配置的示例代码? Re: MPC5604P code flash read protected https://community.nxp.com/t5/MPC5xxx-Knowledge-Base/Example-MPC5604B-Shadow-Flash-Reprogramming/ta-p/1119903 我发现这个例子可以写阴影块,非常感谢。 Re: MPC5604P code flash read protected 你好 我的代码在 ram 中运行,我不知道如何将数据写入阴影块。如何配置将数据写入阴影块? Re: MPC5604P code flash read protected 你好 我不熟悉您的应用程序,但希望您不是在执行闪存中的编程程序: 了解阴影 Flash 布局: 审查配置存储在闪存块 0 中,特别是阴影行中。 这包括检查员控制字 (CWORD) 和检查员密码。 准备从 RAM 运行应用程序: 在修改闪存(包括阴影闪存)时,不能执行闪存中的代码。 将审查例程复制到 RAM 中,然后在 RAM 中执行。 使用链接器脚本将函数放入 .ramfunc 部分。 顺祝商祺! Peter Re: MPC5604P code flash read protected have write Shadow block code example? *(uint32_t *) 0x00203DD8 = 0xBABADEDA; *(uint32_t *) 0x00203DDC = 0xAABBCCDD; *(uint32_t *) 0x00203DE0 = 0x55AA1111; *(uint32_t *) 0x00203DE4 = 0x55AA1111; 这种方式无法生效。我无法写入。 Re: MPC5604P code flash read protected 你好 要保护闪光灯,您需要使用 "审查 "功能。 密码机制旨在授予合法用户访问非易失性存储器的权限。 请参阅参考手册中描述的详细程序:34.7 审查 下面是劳特巴赫调试器审查和取消审查 uC 的示例。 致以最诚挚的问候, Peter
查看全文
MPC5746C 中的时钟监控单元 我想在运行期间测量 FIRC& SIRC 时钟监控,如果我使用while(CMU.CSR.B.SFM ==1U){} 因此,考虑到单片机的老化因素和使用寿命,完成 SIRC 和 FIRC 测量的预期时间是多少?在此,我添加了每 10ms 运行一次的逻辑。     uint8 时钟监控运行时间(void) { 静态 ClockMonitorSt at e 状态 = FIRC_MONITOR_INIT; /* 两台监测的状态变量 */ 静态 uint32 时间 = 0U; /* 超时时间跟踪器 */ 静态 uint32 测量时间 = 0U; /* 测量持续时间 */ 静态 uint8 结果 = CLK_IN_RANGE; /* 表示进度的默认结果 */ 开关(状态)     { 案例 firc_monitor_init: 测量时间 = 0x8FFFU;/* 设置 FIRC 测量持续时间 */ CMU.CSR.B.CKSEL1 = 0x00U;/* 选择 FIRC 时钟或 CLKMT0_RMN */ CMU.MDR.B.MD = 测量时间;/* 设置测量持续时间 */ CMU.CSR.B.SFM = 0x01U;/* 开始 FIRC 测量 */ elapsed_time = 0U; /* 重置经过的时间 */ 状态 = firc_monitor_wait; 打破; 案例 firc_monitor_wait: 如果(CMU.CSR.B.SFM == 0U) { /* 完成 FIRC 测量 */ FIRC_MeaFreq = CMU.FDR.B.FD; Firc_MonitoredClk =((float32)FXOC_CLK /(float32)FIRC_MeaFreq) *(浮点32)测量时间; 如果((Firc_MonitoredClk >=(float32)Min_FIRC_Freq) && (Firc_MonitoredClk <=(float32)Max_FIRC_Freq)) { 结果 = CLK_IN_RANGE;/* FIRC 时钟在范围内 */ 状态 = sirc_monitor_init;/* 移至 SIRC 监控 */          } 不然 { 结果 = CLK_OUT_RANGE;/* FIRC 时钟超出范围 */ 状态 = firc_monitor_init;/* 再次进入 FIRC 监控 */          }                        } 不然       { /* 递增已用时间(每次调用 10 毫秒) */ 经过时间 += 10U; 如果(时间 >= 100U)/* 100 毫秒后超时 */ { 结果 = CLK_OUT_RANGE;/* 发生超时 */ 状态 = MONITOR_DONE;/* 跳转到完成状态 */          }        } 打破; } Re: Clock Monitoring unit in MPC5746C 你好 没有记录CMU_MDR的严格最小值,但是: 太小的值(如< 0x1000)可能会导致测量不稳定或不准确,特别是对于 SIRC 这样的低频时钟。 为确保可靠的频率检测,建议 SIRC 的最小值通常≥ 0x2000,FIRC 的最小值通常≥ 0x8000。 请仔细阅读 AN 对 CMU 的解释: https://www.nxp.com/docs/en/application-note/AN12080.pdf 顺祝商祺! Peter Re: Clock Monitoring unit in MPC5746C 可以在 CMU_MDR(测量持续时间寄存器)中配置用于时钟监控的最小值是否有任何限制? 具体来说,我配置了以下测量持续时间: FIRC:CMU_MDR = 0x8FFF SIRC:CMU_MDR = 0x2020 这些值对准确可靠的频率测量有效吗? 或者说,是否有一个推荐的最低阈值需要遵循,以确保测量的稳定性和正确性? Re: Clock Monitoring unit in MPC5746C 你好 完成 SIRC 和 FIRC 测评预计需要多长时间? CMU 使用测量持续时间寄存器 (CMU_MDR) 来定义测量所需的时间。 该持续时间以 IRCOSC 时钟周期(通常为 16 MHz)为单位。 寄存器宽 20 位,最大持续时间可达 1 048 575 个周期 典型测量时间: 如果设置 CMU_MDR = 0xFFFFF(最大值),则测量持续时间为 对于较短的持续时间(例如 CMU_MDR = 0x10000),时间将是: 顺祝商祺! Peter
查看全文
[i.MX8Mmini]请问如何更改 SDIO 速度? 我们使用 LF_v6.6.52-2.2.0_images_IMX8MMEVK 在 i.MX8Mmini-EVK 上运行。 在这种环境下,我们通过 SDIO 连接 WLAN 模块。 我们遇到过 SDIO 通信在高温和低温环境下失效的问题。 为了避免这个问题,我们希望将 SDIO 速度从 "SDR104 模式 (208 MHz) (1.8V)" 至 "DDR50 模式(50 MHz)(1.8V)" 或"HS 模式(25 MHz)(3.3V)". 请问如何更改 SDIO 速度? 顺祝商祺! Re: [i.MX8Mmini] Could you please advise how to change the SDIO speed? 很高兴听到这个消息,此主题将很快关闭,如有其他问题,请再次联系我们。 Re: [i.MX8Mmini] Could you please advise how to change the SDIO speed? 亲爱的 joanxie 先生 对不起,我们的答复逾期了。 在您的建议下,我们改变了 SDIO 的速度。 我们证实了预期的行为。 感谢您的支持。 顺祝商祺! Re: [i.MX8Mmini] Could you please advise how to change the SDIO speed? 亲爱的 joanxie 先生 感谢您的支持。 我们将按照您的建议进行尝试。 顺祝商祺! Re: [i.MX8Mmini] Could you please advise how to change the SDIO speed? 我不知道为什么回复没了,我再发一次 您可以参考此尝试在 dts 文件中添加 sd-uhs-sdr50,并在 dts 中设置最大频率。 https://github.com/nxp-imx/linux-imx/blob/b586a521770e508d1d440ccb085c7696b9d6d387/Documentation/devicetree/bindings/mmc/mmc-controller.yaml 还可以尝试在 dts 中设置 sdhci-caps-mask =<0x00000003 0x00000000>; 以强制模式为 DDR50
查看全文
关于 S32K144 控制器中的 UART 通信问题 您好 , 目前项目使用 S32K144 控制器,面临 UART 接收问题。在没有断点的情况下,软件正常运行,UART 正常接收所有数据。但一旦应用断点,UART 接收就会停止。在此期间,中断也不会被触发。 使用的控制器:S32K144 SDK 栈:LPUART2 出现这种情况的原因是什么,如何解决? 回调函数如下、 uint8_t rxbyte = 0U; void vidRxUARTCallback(void *driverState, uart_event_t event, void *userData) { /* 检查事件类型 */ if (event == UART_EVENT_RX_FULL) { LPUART_DRV_SetRxBuffer(INST_LPUART1,&rxbyte, 1U); } } Re: Regarding the UART communication issue in S32K144 controller 你好,@Avinash_PAZHAMALAI、 调试器也可以访问 DATA 寄存器中的 RX 数据,在读取时会自动清除相应的标记。为防止意外清除标志,请确保任何访问 DATA 寄存器的寄存器或内存视图都已关闭。 BR,丹尼尔
查看全文
imxRT1064 VIT こんにちは、NXPの専門家さん。 VIT についていくつか質問があり、助けていただきたいです。ありがとうございます! 私はimxRT1064 EVKを使用して音声関連の開発に取り組んでおり、「maestro_record」デモを参考にしたいと考えています。しかし、最新バージョンの「SDK_25_06_00_EVK-MIMXRT1064」や他のバージョンではこのデモを見つけることができませんでした。最終的に、バージョン「SDK_2_11_1_EVK-MIMXRT1064」の「maestro_record」デモを見つけました。 最初の質問は、このデモをサポートしていないバージョンは VIT をサポートするかどうかです。もしそうなら、音声に関するどのような例を参照できますか? 2つ目の質問は、NXPのウェブサイト「 https://docs.nxp.com/bundle/VITIUG/page/topics/untitled9.html 」の紹介によると、VIT は「MultiTurn 音声 command」をサポートしています。しかし、バージョン「SDK_2_11_1_EVK-MIMXRT1064」では実装できませんでした。コマンド検出後に別途「VIT_VOICECMD_ENABLE」モードに設定するとエラーが発生します。では、VIT は「MultiTurn 音声 コマンド」をサポートしていますか?どのバージョンの SDK がサポートしていますか? i.MXRT 106x Re: imxRT1064 VIT こんにちは、ハビブさん。 詳しいご回答ありがとうございます。 Re: imxRT1064 VIT こんにちは@qiuyingzhangさん あなたの質問にお答えします: このデモをサポートしていないバージョンはVITをサポートしていますか?もしサポートしている場合、どのような音声関連の例を参照できますか? はい、最新の SDKs バージョンは VIT をサポートしています。以下の画像に示すように、 SDK ビルダーでの SDK 構成中に適切なオプションを選択することで、これを有効にできます。 ただし、最新のSDKには、VIT統合を示す例が含まれていません。独自のプロジェクトに VIT ライブラリを手動で組み込むCAN。 VIT の例が含まれていた最後の SDKs バージョンは SDKs 2.14 でした。アクセスするには: 1.SDK ビルダーで、maestro_record を選択して例をフィルタリングします。 2. RT1064-EVK ボードを選択し、SDK をビルドします。 これにより、VIT 機能を含むサンプル プロジェクトが提供されます。 SO、VIT は「MultiTurn 音声 コマンド」をサポートしていますか?どのバージョンの SDKs がサポートしていますか? はい、共有していただいたドキュメントによると、VIT は MultiTurn 音声コマンドをサポートしています。この機能を有効にするには、コードを正しく変更していることを確認してください。 SDK 2.14では、VIT_ExAPP.cにMultiTurn音声コマンドを実装するための関連セクションがあります。ファイル、具体的には 571 行目付近: BR ハビブ
查看全文
LPC55 sprintf 浮点数值 大家好, ,我正试图设置 sprintf 将浮点数打印为字符串。 我尝试了我找到的所有方法,更换了图书馆,但都没有成功。 在尝试打印负浮点数值时,要么结果不正确,要么出现故障。 实际处理器 LPC5506 浮点单元 fpv5-SP-D16 Hard ABI 设置 当前库设置 Redlib semihost 我正在使用 UART0 打印 预处理器设置 CPU _LPC5506JBD64 CPU_lpc5506jbd64_cm33 SDK_OS_BAREMETAL SDK_DEBUGCONSOLE=2 SERIAL_PORT_TYPE_UART=1 PRINTF_FLOAT_ENABLE=1 SCANTF_FLOAT_ENABLE=1 SCANTF_FLOAT_ENABLE=1 SCANF_OS_BAREMETAL SDK_DEBUGCONSOLE=2 F_FLOAT_ENABLE=1 PRINTF_ADVANCED_ENABLE=1 SCANF_ADVANCED_EN ABLE=1 __MCUXPRESSO __ USE_CMSIS 调试 DISABLEFLOAT16 __REDLIB__ 试用以下代码 浮点数P_Value = 3.123456f; 浮点数I_Value = 123.4567f; 浮点数D_Value = 0.654321f; sprintf(g_txBuffer,"rpm=%d, P_Value =%f, I_Value =%f, D_Value =%f \r",rpm_ist, P_Value, I_Value, D_Value); 没有警告或错误 而结果是 rpm = 206, P_Value = -0.000000、I_Value = -0.000000、D_Value = -0.000000 有没有办法让sprintf打印正确的值,包括负值,还是我必须自己编写变流器? 我看不到什么? 预先致谢 概述 LPC55xx Re: LPC55 sprintf float values 你好@SvenAsbach 请确保项目定义的符号和浮空点设置如下: 希望这能帮到您, 张俊 Re: LPC55 sprintf float values 包含并使用 Stdio.h。 在哪里可以检查现有项目是否使用了正确的 printf 版本? 我的预处理器设置已经发给你了。 版本中未使用 CR_INTEGER_PRINTF 使用完成版本 arm-none-eabi-gcc-DCPU_LPC5506JBD64-dcpu_lpc5506jbd64_cm33-DSDK_OS_BAREMETAL-DSDK_DEBUGCONSOLE=2-DSERIAL_PORT_TYPE_UART=1-DPRINTF_FLOAT_ENABLE=1-DPRINTF_FLOAT_ENABLE=1-DPRINTF_FLOAT_ENABLE=1-DPRINTF_FLOAT_ENABLE=1-DPRINTF_FLOAT_ENABLE=1-DPRINTF_FLOAT__ADVANCED_ENABLE=1-DSCANF_ADVANCED_ENABLE=1-D __MCUXPRESSO -D__ USE_CMSIS-DDEBUG-DDISABLEFLOAT16-D __REDLIB__ xxxx-O0-fno-common-gdwarf-4-Wall-c-c-function-sections-fno-fdata-sections-fno-builtin-fmerge-constants-fmacro-prefix-map= ".../cmsis/dsp/source/BayesFunctions/ " =-mcpu=cortex-m33-mfpu=fpv5-sp-d16-mfloat-abi=hard-mthumb-D __REDLIB__-fstack-usage-specs=redlib.specs-M MD-MP Re: LPC55 sprintf float values 你好@SvenAsbach 您是否将"stdio.h" 包括在内?我们需要确保包含这个头文件。 我刚刚用你的代码测试了 sprintf,我这边没有问题。参见所附视频。 还请确保使用浮空点版本的 printf。 能否请您参照我的截图和测试视频检查一下您的问题? 顺祝商祺! 张俊 Re: LPC55 sprintf float values 感谢您的快速回复,但这无济于事。 您提出的所有建议都已设定并尝试过,但没有成功。 编译器使用 arm-none-eabi-gcc-DCPU_LPC5506JBD64-dcpu_lpc5506jbd64_cm33-DSDK_OS_BAREMETAL-DSDK_DEBUGCONSOLE=2-DSERIAL_PORT_TYPE_UART=1-DPRINTF_FLOAT_ENABLE=1-DPRINTF_FLOAT_ENABLE=1-DPRINTF_FLOAT_ENABLE=1-DPRINTF_FLOAT_ENABLE=1-DPRINTF_FLOAT_ENABLE=1-DPRINTF_FLOAT__ADVANCED_ENABLE=1-DSCANF_ADVANCED_ENABLE=1-D __MCUXPRESSO -D__ USE_CMSIS-DDEBUG-DDISABLEFLOAT16-D __REDLIB__-I " D:\Software\FC5706P_workspace\FC5706P101B001\drivers "-I " D:\Software\FC5706P_workspace\FC5706P101B001\device"-I " D:\Software\FC5706P_workspace\FC5706P101B001\component\serial_manager "-I " D:\Software\FC5706P_workspace\FC5706P101B001\utilities "-I " "-I " D:\Software\FC5706P_workspace\FC5706P101B001\component\uart D:\Software\FC5706P_workspace\FC5706P101B001\CMSIS"-I " D:\Software\FC5706P_workspace\FC5706P101B001\component\lists "-I " D:\Software\FC5706P_workspace\FC5706P101B001\CMSIS_driver\Include "-I " "-I " D:\Software\FC5706P_workspace\FC5706P101B001\CMSIS\DSP\Include D:\Software\FC5706P_workspace\FC5706P101B001\CMSIS\DSP\PrivateInclude"-I " D:\Software\FC5706P_workspace\FC5706P101B001\CMSIS\DSP\Source\DistanceFunctions "-I " D:\Software\FC5706P_workspace\FC5706P101B001\CMSIS\NN\Include "-I " "-I "\ D:\Software\FC5706P_workspace\FC5706P101B001\board D:\Software\FC5706P_workspace\FC5706P101B001来源 "-O0-fno-common-g3-gdwarf-4-Wall-c-function-sections-function-sections-fdata-sections-fno-builtin-fmerge-constants-fmacro-prefix-map= ".../cmsis/dsp/source/basicMathFunctions/ " =-mcpu=cortex-m33-mfpu=fpv5-sp-d16-mfloat-abi=hard-mthumb-D __REDLIB__-fstack-usage-specs=redlib.specs-mmd-MP " cmsis/dsp/Source/basicMathFunctions/basicMathFunctions/basicMathfunctions/basicMathFunctionsF16.D "-MT"CMSIS/DSP/Source/BasicMathFunctions/BasicMathFunctionsF16.o"-MT"CMSIS/DSP/Source/BasicMathFunctions/BasicMathFunctionsF16.d"-o"CMSIS/DSP/Source/BasicMathFunctions/BasicMathFunctionsF16.o""./CMSIS/DSP/Source/BasicMathFunctions/BasicMathFunctionsF16.c" Re: LPC55 sprintf float values 你好@SvenAsbach 如果你使用 SDK 演示,请尝试启用浮空支持 确保已定义的符号 printf float 已启用。 这对你有用吗? 顺祝商祺! 张俊 Re: LPC55 sprintf float values 通常,问题在于 CR_INTEGER_PRINTF 仍定义在 -D 选项列表中。 请务必完全 “清理” 版本,然后重试。 这是我的定义和链接器设置(工作状态): __REDLIB__ CPU_LPC55S69JBD100 CPU_LPC55S69JBD100_cm33 CPU_LPC55S69JBD100_cm33_core0 SDK_DEBUGCONSOLE=1 PRINTF_FLOAT_ENABLE=1 SERIAL_PORT_TYPE_UART=1 __MCUXPRESSO __ USE_CMSIS DEBUG 希望这能帮到您, 埃里希
查看全文
所谓的 FS2630_GUI APPLICATION 在哪里? 我正在尝试启动 KITFS26AEEVM 板。我对它完全陌生。我正在按照所附文件的说明进行操作。 到目前为止,我能够刷新 Freedom 板。 现在,我需要按照第 11 页的说明,找到并上传"nxp-gui-fw-frdmkl25z-usb_hid-fs2630_vX.Y.bin" 这个我一直找不到的文件。 更重要的是,我需要按照第 13 页的说明安装 FS2630_GUI APPLICATION。该页面暗示,制作手册所使用的版本是 3.1.450。我找到的唯一资料在这里: https://www.nxp.com/design/design-center/software/analog-expert-software-and-tools/nxp-gui-for-automotive-pmic-families:PMIC-GUI-SW 下载的版本是 10.0.0,与手册显示的完全不一样。10.0.0 版只需解压程序文件目录中的 PDF 手册。没有图形用户界面,没有 SDK,没有集成开发环境。顺便附上安装手册。 我想知道我是否应该改为在这里下载并安装其中一个代码包: https://www.nxp.com/design/design-center/software/development-software:DEVELOPMENT_TOOLS 但是,哪个......?还有,我在哪里可以找到前面提到的 .bin手册要求的文件? 这一切都是在我开始玩我想评估的模拟设备之前。 如能得到任何帮助或指点,将不胜感激。我需要图形用户界面应用程序和 .bin锉刀 谢谢! Re: Where is the so-called FS2630_GUI APPLICATION? 它在工作! tldr:在 Windows 11 中没有完成安装,但在 Windows 10 中顺利完成了安装。 我直接在我的原帖上回复,省得大家看我这篇无聊的帖子。我在原帖中没有说明,我是在 Windows 11 电脑上做的所有恶作剧。另外,直到很久以后,我才意识到10.0版的安装软件包在解压缩文件后突然结束,没有迹象或确认安装过程已成功完成,应用程序现已安装。 我注意到整个文档中都没有提到 Windows 11,而是调用了 Windows 10 和 Windows 7(!),于是我搬到一台较旧的 Win 10 电脑上,下载了安装文件并运行,结果一试就成功了。 我不确定是 Windows 11 出了问题,还是我的普通电脑有其他怪癖。也许是杀毒软件什么的?但现在它正在运行,我可以在我的旧机器上使用它。 感谢您的阅读。 Re: Where is the so-called FS2630_GUI APPLICATION? 顺便说一下,安装程序似乎在解压完文件后就突然结束了。这是应该发生的吗?或者在解压缩后还需要其他步骤吗? 我以普通用户和管理员身份运行了安装程序,结果都一样。 Re: Where is the so-called FS2630_GUI APPLICATION? 感谢您提供 .BIN 文件! 下载 10.0 版并解压缩后,我得到了以下安装文件夹(截图 1.jpg): ~Downloads\NXPGUI_PR_10.0.0\1 - NXP_GUI_Setup 当我运行它时,它会在我的 c:\Program Files (x86)\NXPGUI 中解压一堆文件(截图2.jpg): C:/Program Files (x86)/NXPGUI 注意这里没有可执行文件。 我注意到 "开始 "菜单中有一个指向(截图 3)的快捷方式: "C:\Program Files (x86)\NXPGUI\NXP_GUI.exe" 但该文件似乎并不存在。 我可能做错了什么? Re: Where is the so-called FS2630_GUI APPLICATION? 请获取附件 nxp-gui-fw-frdmkl25z-usb_hid-fs2630_V0.15。 所有这些文件都在 FS26 GUI 下载设置文件夹中。 Re: Where is the so-called FS2630_GUI APPLICATION? 抱歉,截图 1 应该是这张。 Re: Where is the so-called FS2630_GUI APPLICATION? https://www.nxp.com/design/design-center/development-boards-and-designs/KITFS26AEEVM 这个链接让我看到了希望,因为它提供的软件标有"SIMULATION AND MODELING TOOLS" ,但令人失望的是,它只把我带回了 https://www.nxp.com/design/design-center/software/analog-expert-software-and-tools/nxp-gui-for-automotive-pmic-families:PMIC-GUI-SW。 在这里,实际下载的是标有"APPLICATION EXAMPLE SOTWARE" 的压缩文件 Rev. 10.0,我已经下载过好几次了,里面没有任何软件。 截图附后。 Re: Where is the so-called FS2630_GUI APPLICATION? 非常好,谢谢。 UM11812 第 7 页"4.4 点软件" 引导我访问<http://www.nxp.com/NXP汽车 PMIC 系列 GUI > 无需进一步参考或规格即可下载所谓的 " 软件 "。该链接的目标只有一款软件可供下载,名为 " 恩智浦汽车 PMIC 系列用户界面 " 版本 10.0,被描述为 " 应用程序示例软件 "。我下载并安装了这个软件,它的作用就是解压程序文件目录下的 PDF 文件。没有图形用户界面,没有集成开发环境,没有 SDK,也没有可执行文件。 在第 9 页第 5.2 点,有一张我本应找到软件的文件夹截图,但与链接中的文件不符。下一张截图显示的是 NXP_GUI 7.1.0、这也与可供下载的文件不符,据称是 10.0。 UM11812 是修订版 3 - 2024 年 7 月 24 日的文件。 UM11503 根本没有提及软件,但它确实参考了 http://www.nxp.com/KITFS26AEEVM。我想这和您提供的链接是一样的。 我一直在这些网页上转圈,找不到软件。 此外,我显然需要"nxp-gui-fw-frdmkl25z-usb_hid-fs2630_vX.Y.bin" 这个文件,但我也找不到。 如有任何帮助,我们将不胜感激。 Re: Where is the so-called FS2630_GUI APPLICATION? 我建议你下载 EVB 用户手册以供参考。 KITFS26AEEVM FS26 功能安全 SBC 评估板 | 恩智浦半导体 下载 UM11812 UM11503,这里有关于这个主题的详细安装步骤介绍,希望这能帮助你!
查看全文
S32K344 基本セキュアブート例 フラッシュ書き込みタグ失敗 私はS32K3_HSE_DemoExamples_1_0_0\S32K3_HSE_DemoExamples\Secure_Boot\S32K344_Basic_SecureBootにあるS32K388 EVBでBasic_SecureBootサンプルを実行しています。 Flash_write() ステップで、ステータス = 0x2c100、「生成された TAG を FLASH 内のアプリケーションの末尾に書き込みます。生成された TAG を FLASH 内のアプリケーションの末尾に書き込みます。」で失敗しました。 HSE_FW_INSTALL -> CQC_DEMO (プログラム ADKP) -> PEmicro 認証を実行しました。 Flash_write() を有効にするには他に何をすればよいですか? Re: S32K344 Basic SecureBoot Example Flash write TAG failed こんにちは@PaulHu このコードを S32K388 で変更せずに実行すると、フラッシュ レイアウトが異なるため動作しません。 コード内に次のCANがあります: S32K344 では、S32K344_SecureBootBlinky がこのブロックに強制されるため、ブロック 1 の最初のセクターがプログラムされます。 しかし、S32K388 には 2MB のブロックがあります。SO、ここでは異なります。 まだブロック 0 です。SO、別のブロックとセクターのロックを解除する必要があります。 さらにもう 1 つ、書き込み中の読み取り (RWW) はブロック間でのみサポートされていることに注意してください。ブロック 0 がプログラムされている場合、コードは別のフラッシュ ブロックまたは RAM から実行する必要があります。 よろしくお願いいたします。 ルーカス
查看全文
KW45 SYS_LDO 输出电压规格和射频跌落问题 亲爱的团队, 我正在使用KW45开发定制板,输入电压-1.6-3.3V纽扣电池。 我们面临着射频掉线问题,因此我们开始使用评估板来识别问题。 我们正在使用 EVAL 板和 0dBm 配置扩展 BLE TX,有效载荷约为 248 字节。 我们的做法 -为 J8 引脚供电。并进行了必要的引脚配置,以便使用相同的引脚提供电源。板配置为 DCDC 降压模式和旁路模式,行为相同。电压逐级降低 1V。LDO_CORE 产生 1V 电压。 我观察到的情况是:当我们从 J8 供电并降低电压时,一切正常,但一旦达到 2.1 伏,射频就会下降。 我还检查了直到 2.2V,SYS_LDO 会产生 1.8V 的输出,但是一旦我们达到 2.1V,LDO 就会产生 1.7V 的输出。 其他详细信息- 我查看了硬件推荐指南,它显示 SYS_LDO 为系统功能域供电。在这两种情况下均为 DCDC 和旁路。 LDO_SYS 输出表明,在正常驱动时,它可以输出 1.71 至 1.98V 的电压。 此外,当电压达到 1.98 V 时,它还能自动穿越。 系统功能域规范-系统功能域规范规定,在正常模式下,它需要1.8V至1.98V的VDD_SYS。 问题- 当我给出的输入电压为 2.1V 时,SYS_LDO 输出约为 1.7V,低于系统功能域的要求,而且由于我的直通只有在电压达到约 1.98V 时系统功能域无法获得足够的电压来工作?是这样吗? 我想知道为什么我的 RF 值从 2.2 ->2.1 V 时总是下降。 我们是不是弄乱了 SW 的某些设置?最初我们以为一定是定制电路板的问题,但是当通过J8供电时,我们在EVK板上遇到了同样的问题,同时将步进电压降低到100mV/ 1V。 RD-KW45-LOCALIZATION KW45B41Z-EVK KW45 Kinetis K系列MCU Re: KW45 SYS_LDO Output voltage spec and RF Drop Issue 你好@luis_maravilla, 我使用的是 IOT ToolBox 应用程序,我认为 WUART 只能在同一程序上工作。对于在手机上使用的其他应用程序,我们使用自定义代码 TX 数据。 我将在一段时间内回答其他问题以供参考。 我们在定制板上发现了这个问题,看来VDD_SYS和VDD_CORE上的解耦电容是根本原因,因为考虑到电源是由低压差线性稳压器提供的,我们还没有安装那些。 关于恩智浦开发板——评估板,我还是不确定它为什么会断开连接。 现在我将关闭此 Ticket,非常感谢你们的及时回复。 BR, Ankit Re: KW45 SYS_LDO Output voltage spec and RF Drop Issue 你好,托马-安基特、 您能否帮助我们确认使用恩智浦物联网工具箱是否也会遇到同样的断线问题? 能否与我们分享您在 EVK [使用旁路和降压模式的跳线-硬件配置修改] 中的配置?如果您能提供一张照片,我们将不胜感激。 对于旁路模式和降压模式,您可以检查电源模式的配置,KW45B41Z-EVKUM 第 2.1.2 章对此进行了介绍 您能帮我指出您所指的 JP32 是哪一个吗? 请帮我确认跳线 JP42 是否打开,因为KW45B41Z-EVKUM表 8 中提到了这一点。 所有标准的BLE我的都基于通用属性我的 [GATT],必须遵守该我的才能正常运行,GATT规定了如何通过BLE连接交换所有我的和用户数据;使用移动电话NRF Connect应用程序或第三方应用程序可能会影响恩智浦在SDK示例中使用的自定义我的,从而影响断开连接,因为该应用程序没有适当的GATT客户端和服务器属性进行通信。 顺祝商祺! 路易斯 Re: KW45 SYS_LDO Output voltage spec and RF Drop Issue 你好@luis_maravilla, 除了我提到的额外测试之外, 我还进行了一些测试, 1. 根据硬件设计建议,对所有电源(如 VDD_IO、VDD_RF 等)进行单独供电测试,但在所有情况下,射频都在 2.1-2.2V 时下降。 2.我发现一旦按照硬件建议指南中提到的 PMIC 模式运行 KW45 - 在所有 4 个电源中采用独立的工作台电源,我就会发现射频在 1.8V 之前没有下降,而这正是 KW45 规格所期望的。 再一次,我会通知我正在运行的代码- 1。使用 DLE 将代码自定义为 TX202 字节的数据。 2。KW45 SDK 提供的 WUART 代码 行为在两种情况下都是相同的。 等待查询结果。 rd-kw45-localization kw45b41z-evk kw45 ble-nfc Re: KW45 SYS_LDO Output voltage spec and RF Drop Issue 你好@luis_maravilla, 我想再添加一些测试行为,我使用的是 BLE WUART 示例代码。旁路模式 - 1.我用自己的其他电源提供了 SYSTEM 功能域,但结果是一样的。 2. 我为 VDD_RF 提供了 1.8V 的外部电源。 3. 我为 LDO_CORE 提供了 1.1V 的外部电源、一旦 J8 引脚上的电源低于 2.1(精确到 2V),射频就会断开。 Re: KW45 SYS_LDO Output voltage spec and RF Drop Issue 嗨 @luis_maravilla, 请用蓝色找到我的答案-你 能帮我们分享一下你的射频下降是什么意思的详细信息吗?这是传输中断,数据包丢失?有多个问题,我的意思是电压下降-在 2.2-> 2.1V 1 。射频完全停止(即使在频谱分析仪上也没有 Adv 或 BLE)-主要发生 2.仅限 RF Adv 开启,无法连接 3.射频开启,高级开启,连接正常,但未收到任何数据 如果你能详细说明电压是如何调节的,那么不胜感激的是使用外部台式电源提供 电压——CV 模式——电压从 3.2V 一直下降到 1.8V。电流设置为 500mA。 使用连接到台式电源装置的台式电源 链路上的旋钮降低电压-https://www.metravi.com/product/rps-3005-dc-regulated-power-supply/ 是否 有任何其他元器件连接到板上,这些元器件可能会消耗电流或影响电源轨? 不你 能帮我们分享一下你在 KW45B41Z-EVK 板上进行测试的跳线配置和安装描述吗?除了-> JP5 设置为 1,2 和 JP32 设置为 3,4 或 5,6 之外的所有跳线配置都将起作用。 使用 J8 引脚提供的电源输入。 测试代码用于提供虚拟数据。使用的接收器-> 手机 NRF 连接应用程序。 我还尝试了另一项测试,我们在JP40引脚1的VDD_SYS上从其他电源(接地公用)常数中提供了1.8V,1.9V的电压,结果是一样的,没有变化。 如果您需要更多信息,请告诉我。 BR,Ankit RD-KW45-LOCALIZATION KW45B41Z-EVK KW45 Re: KW45 SYS_LDO Output voltage spec and RF Drop Issue 你好,托马、 我会检查您的问题 您能帮我们详细介绍一下 RF Drop 的含义吗?是传输丢失,还是数据包丢失? 如果您能提供有关如何调节电压的详细信息,我们将不胜感激。 板上是否有任何其他元器件可能消耗电流或影响电源轨? 你能帮我们分享一下你在 KW45B41Z-EVK 板上进行测试的跳线配置和安装描述吗? 顺祝商祺! 路易斯
查看全文
eTPU crank, cam, injections and Ignitions on S32K3 Hello, I need to implement drivers to actuate Injections and ignitions phased with crank and cam signals. I need to understand which is the best solution to implement this drivers. My doubt are: 1) The API provided by AN4907SW.zip are compatible with eTPU present in S32K3xx? 2)If no, it's a good solution adapt this API for S32K3xx or the best solution it's use ConfigTool ? There is an example for S32K3xx about this application? Regards, Francesco. Re: eTPU crank, cam, injections and Ignitions on S32K3 Hi @francescovico  Converting data from big-endian to little-endian involves reversing the byte order by adjusting bit shifts and masks according to the data type size. GCC provides built-in functions to simplify this process, for example: uint32_t __builtin_bswap32 (uint32_t x). You can find more details in the GCC documentation: 7.2.3 Byte-Swapping Builtins Re: eTPU crank, cam, injections and Ignitions on S32K3 Hi @VaneB , if I understood well , the Automotive functions (CRANK, SPARK...), are made for big endian microcontrollers. To use eTPU with Automotive functions on S32K364 (little endian), I need to download a function set selecting : And change the functions: uint32_t *fs_memcpy32(uint32_t *dest,uint32_t *source,uint32_t size); void fs_memset32(uint32_t *start,uint32_t value,int32_t size); to swap each 32 bit values to read/write little endian code and parameters, it's true? Regards, Francesco. Re: eTPU crank, cam, injections and Ignitions on S32K3 Hi @francescovico  The S32K39/37/36 Microcontrollers for Electrification Applications, includes eTPU. However, there is currently no dedicated documentation or demo similar to the MPC5634's AN4907 available for these devices. That said, the AN4907 document, demo, and microcode are suitable for the S32K39/37/36 family, but please note that these devices use a little-endian architecture. Therefore, you will need to modify the memory access API. You can refer to the motor control-related modules in the CodeWarrior eTPU Function Selector, which has been updated to little-endian. BR, VaneB Re: eTPU crank, cam, injections and Ignitions on S32K3 Thanks for pointing this out! There was an endianity conversion issue. As a result, the missing tooth mask was not configured correctly and it counted 350 deg per rev resp 700 deg per cycle. Now, the demo app in the original post is fixed. Re: eTPU crank, cam, injections and Ignitions on S32K3 Hi @MilanBrejl , Now I'm trying to use Fuel Cyl 1 etpu driver. It seem that  the driver use s24AngleNormalEnd as "start angle" and stop all injections at s24AngleStop. The duration u24InjectionTime it's never respected. It's possible? Attached there is a .rar file that contain  picoscope acquisition of "fuel cyl 1" where the injector parameter are: Etpu_Fuel_Ip_ConfigType fuel_1_config = { .s24AngleNormalEnd = DEG2TCR2(-180), .s24AngleStop = DEG2TCR2(-360), .s24AngleOffsetRecalc = DEG2TCR2(-30), .u24InjectionTime = USEC2TCR1(1200), .u24CompensationTime = USEC2TCR1(0), .u24InjectionTimeMinimum = USEC2TCR1(0), .u24OffTimeMinimum = USEC2TCR1(0), .eGenerationDisable = ETPU_FUEL_GENERATION_ALLOWED }; In the picoscope acquisition it's visible start of injection exactly at 180° , stop of injection at 360° and injection duration of 30 ms (it should be 1,2ms). Regards, Francesco. Re: eTPU crank, cam, injections and Ignitions on S32K3 Hi @MilanBrejl  , Now I'm trying to use Fuel Cyl 1 etpu driver. It seem that  the driver use s24AngleNormalEnd as "start angle" and stop injection ever at s24AngleStop. The duration u24InjectionTime it's never respected. It's possible? Attached there is a .rar file that contain  picoscope acquisition of "fuel cyl 1" where the injector parameter are: Etpu_Fuel_Ip_ConfigType fuel_1_config = { .s24AngleNormalEnd = DEG2TCR2(-180), .s24AngleStop = DEG2TCR2(-360), .s24AngleOffsetRecalc = DEG2TCR2(-30), .u24InjectionTime = USEC2TCR1(1200), .u24CompensationTime = USEC2TCR1(0), .u24InjectionTimeMinimum = USEC2TCR1(0), .u24OffTimeMinimum = USEC2TCR1(0), .eGenerationDisable = ETPU_FUEL_GENERATION_ALLOWED }; In the picoscope acquisition it's visible start of injection exactly at 180° , stop of injection at 360° and injection duration of 30 ms (it should be 1,2ms). Regards, Francesco. Re: eTPU crank, cam, injections and Ignitions on S32K3 Hi @MilanBrejl , You are right, the s24AngleOffsetRecalc must be a positive number, but putting: s24AngleOffsetRecalc = DEG2TCR2(30) The result it's the same (. I'm using S32K364 that have 2 ETPU (A and B) with 16 channels. Using fuel driver on ETPUA the driver work correctly, but I need to use ETPUB channel 0. My necessity it's to share TCR1 and TCR2 from ETPUA to ETPUB, using STAC registers. It's possible that STAC registers are not correctly initialized? Regards, Francesco. Re: eTPU crank, cam, injections and Ignitions on S32K3 Hi @francescovico, this is how to configure STAC_ENG1 and STAC_ENG2 registers to share TCR1 and TCR2 from eTPU1 to eTPU2: Let me know if it helps.  Regards, Milan Re: eTPU crank, cam, injections and Ignitions on S32K3 Hi @MilanBrejl , my registers are exactly the same of your suggestion: But the problem it's still present. In the attached picoscope acquisition you can see the spark generated with ETPU A in BLU and spark generated with ETPU B in RED. Both sparks have end angle 180 degree and dwell time 8000 us. Regards, Francesco.   Re: eTPU crank, cam, injections and Ignitions on S32K3 Hi @francescovico, I duplicated your issue on my site and found the root cause. It is not enough to share TCR1/TCR2 time/angle buses between both eTPU engines. Spark and Fuel functions do time to angle transformation, based on the actual engine speed. It uses TRR (Tick Rate Register). This register is part of the Angle Clock logic and it is maintained by Crank eTPU function, running on eTPU A. Hence, TRR has the correct value on eTPU A only. Then, time to angle transformation on eTPU B, using eTPU B TRR, returns a wrong result. This is pretty fundamental, I probably never met anybody running engine control over both eTPU engines and hence this has not been solved. And especially with the new S32K3 devices limited to 16+16 channels this becomes important. Thanks for bringing up this use-case and thanks for your patience. The attached demo application is based on the previous one (in this thread) and adds the following changes: Spark 2 channel is moved from eTPU engine A to eTPU engine B Channel masks are updated accordingly Channel links need to support usage of both engines (use macro ETPU_IP_CHANNEL_TO_LINK) pin configuration is updated, interrupt configuration updated And now new features of Crank eTPU FW: eTPU FW image is updated. The Crank function can run on both engines and update the TRR value also for the other eTPU engine.  This new feature requires to set one new parameter to the Crank configuration where I hope this helps.  Regards, Milan Re: eTPU crank, cam, injections and Ignitions on S32K3 Hi @MilanBrejl , Now It's working perfectly. Thank you very much for the support! Regards, Francesco. Re: eTPU crank, cam, injections and Ignitions on S32K3 Hello, I'm also researching the K396 board and want to use ETPU for crankshaft, camshaft, and oil injectors. Could we discuss this further?
查看全文
ex_ecc with -DPTMW_SE05X_Auth=ECKey_PlatfSCP03 I'm using Plug & Trust middleware (v04.05.03) from  github plug-and-trust. Built ex_ecc with CMake flags: -DPTMW_Applet=SE05X_C -DPTMW_HostCrypto=OPENSSL -DPTMW_SE05X_Auth=ECKey_PlatfSCP03 Configured /tmp/SE05X/plain_scp.txt: Running ./ex_ecc /dev/i2c-0 fails with: SE ECDSA Public Key is not Provisioned!!! and sss_session_open failed. Full log: App :INFO :PlugAndTrust_v04.05.03_20240502 App :INFO :Running //tmp/ex_ecc App :INFO :Using PortName='/dev/i2c-0' (CLI) ... App :WARN :Using SCP03 keys from:'/tmp/SE05X/plain_scp.txt' App :ERROR:Unknown key type ... sss :INFO :atr (Len=35) ... sss :INFO :Newer version of Applet Found sss :INFO :Compiled for 0x70200. Got newer 0x70216 ... sss :ERROR:SE ECDSA Public Key is not Provisioned!!! App :ERROR:sss_session_open failed ... How do I provision the ECDSA public key for ECKey_PlatfSCP03 auth? Smart Cards Re: ex_ecc with -DPTMW_SE05X_Auth=ECKey_PlatfSCP03 Hi @carlos_o  Thanks for the previous guidance. I resolved the "SE ECDSA Public Key is not Provisioned" issue with the following steps on SE052F: Set default session login to SSS_HAVE_SE05X_AUTH_PLATFSCP03. Run the se05x_Delete_and_test_provision example to perform AddAttestationKeys and ReInitializeTestSample (all succeeded with kSE05x_Result_SUCCESS). Switch default session login to SSS_HAVE_SE05X_AUTH_ECKEY_PLATFSCP03. After this, ex_sss_boot_open succeeds, and ./ex_ecc /dev/i2c-0 runs without errors. Can you confirm if this workflow:SSS_HAVE_SE05X_AUTH_PLATFSCP03 -->provision --> SSS_HAVE_SE05X_AUTH_ECKEY_PLATFSCP03 is correct and recommended? Re: ex_ecc with -DPTMW_SE05X_Auth=ECKey_PlatfSCP03 Hi @KiteJLKo  Could you try to update to SE-PLUG-TRUST-MW_04.07.01?  Re: ex_ecc with -DPTMW_SE05X_Auth=ECKey_PlatfSCP03 Hi @carlos_o , My Env: yocto Linux  Re: ex_ecc with -DPTMW_SE05X_Auth=ECKey_PlatfSCP03 Hi @KiteJLKo  Could you please provide in which environment are you building the code? (Windows, linux, specific microcontroller)
查看全文