Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
i.MX95 上的显示输出问题 - LVDS 连接不起作用 大家好 我们已经成功地为恩智浦 i.mx95LPD5EVK-19cm 板构建并刷新了 Yocto 镜像。根据《快速入门指南》,应使用 IMX-MIPI-HDMI 适配器通过 J14 MIPI-DSI 接口连接显示器。不过,我们目前只能使用 IMX-LVDS-HDMI 适配器,我们以前曾在恩智浦 i.MX8 平台上使用过这种适配器。 我们注意到 i.MX95 板包含两个 LVDS 连接器。我们尝试使用两者连接显示器,但板似乎无法识别连接的监测。(我们附上了照片以供参考。) 我们的主要问题是:i.MX95 板 是否支持 LVDS 显示输出,还是在当前设备树配置中可能禁用此功能?或者,MIPI 是否是该板唯一支持的显示界面,要求我们获取 IMX-MIPI-HDMI 适配器? 如能提供任何指导或说明,将不胜感激。 致以最诚挚的问候, Dušan Re: Display Output Issue on i.MX95 – LVDS Connection Not Working 你好@DusanStanisic99, 我尝试了你提到的步骤,并将 DTB 更新为 imx95-19x19-evk-it6263-lvds1.dtb。但是,我现在在启动过程中面临以下问题: root @imx95a1evk:~# dmesg | grep it6263 [3.514817] it6263 2-004c:使用驱动程序 it6263 的探测失败,出现错误 -5 根 @imx95a1evk:~# dmesg | grep drm [3.611604] imx95-ldb 4b0c0000.syscon: ldb @4: [drm:ldb_init_helper] *ERROR* 无效通道节点地址:1 [ 6.837909] systemd[1]:Starting Load Kernel Module drm... root@imx95a1evk:~# ls /sys/class/drm/ version 你有什么建议可以解决这个探测失败和 DRM 通道节点错误吗? 预先感谢您的帮助! Re: Display Output Issue on i.MX95 – LVDS Connection Not Working 嗨,@卡比尔、 我们设法解决了这个问题,但还没有在网上更新帖子。解决办法是将加载的默认 DTB 改为:imx95-19x19-evk-it6263-lvds1.dtb 你可以使用串行通信在 U-启动 上停止执行,然后运行: setenv fdtfile imx95-19x19-evk-it6263-lvds1.dtb saveenv 启动 更改后,显示输出将永久设置为 LVDS。 希望对您有所帮助!           Re: Display Output Issue on i.MX95 – LVDS Connection Not Working 你好@DusanStanisic99, ,我在使用 i.MX95 LVDS 显示输出时也遇到了同样的问题。请告诉我您是否解决了这个问题,如果是,您是如何解决的? 预先表示感谢。 Re: Display Output Issue on i.MX95 – LVDS Connection Not Working 你好、 由于我们使用的是HMI-LVDS-HDMI 适配器,因此通过使用 dtb (imx95-19x19-evk-it6263-lvds-dual.dtb) 和 overlay (imx95-19x19-evk-it6263-lvds-dual.dtbo) 组合而非 默认组合,我们成功地将输出重定向到标准 HDMI 显示器的全高清分辨率 。 但是,当我们插入基于使用情况的 1920x720 分辨率 HDMI 显示器时,我们的驱动程序出现了故障(将添加图片),Weston 服务也出现了故障(将提供日志)。 这说明默认情况下可能不支持某些自定义分辨率。您能否为我们提供一些指导,告诉我们应该研究什么,或者应该在哪里进行修改? Weston 服务日志: root@imx95-19x19-lpddr5-evk:~# cat /run/user/0/weston.log 日期:2025-05-21 UTC [12:03:24.176] Weston 12.0.4 https://wayland.freedesktop.org 错误报告请发送至: https://gitlab.freedesktop.org/wayland/weston/issues/ 版本:10.0.0-1228-gc3c1f9ff+ [12:03:24.177] 命令行:/usr/bin/weston--log=/run/user/0/weston.log--modules=systemd-notify.so [12:03:24.177] 操作系统:Linux,6.6.36-lts-next-g27c987054d68,#1 SMP PREEMPT 9 月 4 日星期三 08:2254d68 UTC 2024 年:45,aarch64 [12:03:24.177] 飞行记录器:启用 [12:03:24.177] 使用配置文件 "/etc/xdg/weston/weston.ini"[12:03: 24. 177] 输出重绘窗口最大为 16 毫秒。 [12:03:24.177] 正在加载模块"/usr/lib/libweston-12/drm-backend.so"。 [12:03:24.193] 初始化 drm 后台 [12:03:24.193] 尝试 libseat 启动器... [12:03:24.193] [c/debug/seatd/0.8.0/libseat/backend/seatd.c:64] 无法连接到套接字 /run/seatd.sock:没有此类文件或目录 [12:03:24.193] [c/debug/seatd/0.8.0/libseat/libseat.c:76] 后端 "seatd "打开 seat 失败,跳过。 [12:03:24.199] [c/debug/seatd/0.8.0/libseat/libseat.c:73] 使用后端 "logind "打开席位 [12:03:24.199] libseat:已授予会话控制权 [12:03:24.205] 使用 /dev/dri/card0 [12:03:24.205] DRM:支持原子模式设置 [12:03:24.205] DRM:支持 GBM 修改器 [12:03:24.205] DRM:不支持异步翻页 [12:03:24.205] DRM:支持图片宽高比 [12:03:24.205] 正在加载模块"/usr/lib/libweston-12/g2d-renderer.so [12:03:24.236] event0-scmi_dev.11:被 udev 标记为:键盘 [12:03:24.236] event0-scmi_dev.11:设备是键盘[12:03:24.243] event6- WM8962 蜂鸣发生器:未标记为支持的输入设备 [12:03:24.244] event6-不使用输入设备 “/dev/input/event6” [12:03:24.254] event1-罗技 USB 键盘:被 udev 标记为:键盘[12:03:24.254] event 1-罗技 USB 键盘:设备 是 键盘 [ 12:03:24.264] event2-罗技 USB 键盘消费者控制:被 udev 标记为:键盘 [12:03: 24.265] event2-罗技 USB 键盘消费者控制:设备是键盘 [12:03:24.274] event3-罗技 USB 键盘系统控制:被 udev 标记为:键盘[12:03:24.274] event3-罗技 USB 键盘系统控制:设备是键盘 [12:03:24.284] event4-罗技 USB 光电鼠标:被 udev 标记为 :鼠标 [12:03:24.285] event4- 罗技 USB 光电鼠标:设备是指针[12:03:24.359] event5-HID 0712:000 a:被 udev 标记为:触摸屏 [12:03:24.360] event5-HID 0712:000 a:设备是触摸设备 [12:03:24.379] libinpu t:配置设备 " scmi_dev .11 "。 [12:03:24.379] libinput:配置设备 " 罗技 USB 键盘 ". [12:03:24.379] libinput:配置设备 " 罗技 USB 键盘消费者控制 ". [12:03:24.379] libinput:配置设备 " 罗技 USB 键盘系统控制 ". [12:03:24.379] libinput:配置设备 " 罗技 USB 光电鼠标 ". [12:03:24.379] 触摸屏-HID 0712:000 a-/sys/devices/Platform/soc/4c200000.usb/CI_HDRC.0/USB1/1-1/1-1.3/1-1.3:1.03:0712:000A.0005/input/input11/Event5 [12:03:24.379] libinput:配置设备 " HID 0712:000 a "。 [12:03:24.379] 输入设备 event5 没有关联的已启用输出(未命名),暂时跳过校准。 [12:03:24.469] DRM:找到 "HDMI-A-1 "头,已连接 40 号连接器,EDID 制作为 "KTC",型号为 "WaveShare",序列号为 "1"。 支持 EOTF 模式:SDR [12:03:24.470] 注册了大小为 40 的插件 API "weston_drm_output_api_v1"。 [12:03:24.470] 颜色管理器:无操作 [12:03:24.470] 正在加载模块 '/usr/lib/libgbm.so'. [12:03:24.470] 加载模块失败:/usr/lib/libgbm.so: 无法打开共享对象文件:No such file or directory [12:03:24.471] no available modes for HDMI-A-1 (this is related to the picture above) [12:03:24.471] Cannot configure an output using weston_drm_output_api. [12:03:24.472] event0-scmi_dev.11:设备已移除 [12:03:24.474] event1-罗技 USB 键盘:设备已移除 [12:03:24.476] event2-罗技 USB 键盘消费者控制:设备移除 [12:03:24.480] event4-罗技 USB 键盘系统控制:设备移除 [12:03:24.480] event4-罗技 USB 键盘事件 4-罗技 USB 键盘系统控制光电鼠标:设备已移除 [12:03:24.481] event5-HID 0712: 000 a:设备已移除 此致 杜尚 Re: Display Output Issue on i.MX95 – LVDS Connection Not Working 你好 要让 LVDS 在 MX95 上运行,需要对 dtb 进行一些修改,但是最新的 linux 电路板支持包中包含了它,请查看一下。 您的故障更像是缺少 GPU,请使用 yocto 中的完整图像,看看会发生什么。 此致 Re: Display Output Issue on i.MX95 – LVDS Connection Not Working 下面是一些来自 dmesg 的其他日志: root@imx95evk:~# dmesg -w | grep drm [ 2.977422][drm:drm_bridge_attach] *ERROR* 将桥接器 /soc/dsi@4acf0000 连接到编码器失败 None-39: -19 [ 2.987370][drm:drm_bridge_attach] *ERROR* 将网桥 /soc/syscon@4b010000/bridge@8/ports/port@0 连接到编码器失败 None-39: -19 [ 3.006505][drm:drm_bridge_attach] *ERROR* 将网桥 /soc/bridge@4b0d0000/channel@0 连接到编码器失败 None-39: -19 [ 3.006520]imx95-dpu 4b400000.display-controller:[drm] *ERROR* 未能将桥接器连接到 stream0 的编码器: -19 [ 6.895845]systemd[1]:Starting Load Kernel Module drm... ^C root@imx95evk:~# dmesg -w | grep gpu [ 2.412169]Mali 4d900000.Gpu:内核 DDK 版本 r50p0-00eac0 [ 2.419577]Mali 4d900000.Gpu:为 GPU 存档初始化寄存器 LUT 000a0a00 0x000a0c07 [ 2.433046]Mali 4d900000.Gpu:在硬件问题表中未找到 r0p0 状态 1; [ 2.445219]Mali 4d900000.Gpu:回退到最接近的匹配:R0P0 状态 0 [ 2.461651]Mali 4d900000.Gpu:通过后备匹配正常执行 [ 2.469057]Mali 4d900000.Gpu:GPU 标识为 0x4 arch 10.12.7 r0p0 status 0 [ 2.481551]Mali 4d900000.Gpu:CSF_GPU_RESET_TIMEOUT 上限从 12400ms 降至 4500ms [ 2.489391]Mali 4d900000.Gpu:KBASE_PRFCNT_ACTIVE_TIMEOUT 上限为 24000ms 至 4500ms [ 2.489396]Mali 4d900000.Gpu:KBASE_AS_INACTIVE_TIMEOUT 的上限从 24000ms 降为 4500ms [ 2.511041]Mali 4d900000.Gpu:CSF_FIRMWARE_STOP_TIMEOUT 的上限从 24000ms 调整为 4500ms [ 2.519312]Mali 4d900000.Gpu:未配置优先级控制管理器 [ 2.526015]Mali 4d900000.Gpu:编译时已禁用大型页面支持! [ 2.526042]Mali 4d900000.Gpu:未配置内存组管理器 [ 2.526060]Mali 4d900000.Gpu:受保护的内存分配器不可用 [ 2.557911]Mali 4d900000.Gpu:使用配置的功率模块 mali-tvax-powermodel 和备用的 mali-simple-power-model [2.575151]Mali 4d900000.Gpu:OPP 0 : opp_freq=1000000000 core_mask=1 [ 2.589295]Mali 4d900000.Gpu:OPP 1 : opp_freq=800000000 core_mask=1 [ 2.589301]Mali 4d900000.Gpu:OPP 2 : opp_freq=500000000 core_mask=1 [ 2.596639]Mali 4d900000.Gpu:* MALI kbase_mmap_min_addr 编译为 CONFIG_DEFAULT_MMAP_MIN_ADDR,无法进行运行时更新!* [ 2.635192]Mali 4d900000.Gpu:被检测为 mali0 [ 3.772845]debugfs:目录 "gpu "的父目录 "pm_genpd "已经存在!  
View full article
MBDT BMS Pkg アドオンと S32k3xx v1.5.0 の互換性、または v1.4.0 の並行インストール S32K3xx MBDT v1.4.0 で正式にサポートされている MBDT 用の NXP_Support_Package_BMS アドオンを使用しようとしています。 私のシステムには、進行中の他のプロジェクト用にすでに MBDT v1.5.0 がインストールされていますが、アドオンはこの新しいバージョンでは動作しないようです。 現在、BMS 開発には S32K396 POC ボードを使用しています。 ありますか: アドオンをv1.5.0と互換性を持たせる方法、または 競合なく、同じ MATLAB インストールまたはシステム上で、v1.4.0 と v1.5.0 の両方を並行してインストールして実行する方法はありますか? 並行インストールが可能な場合は、正しいセットアップ手順を教えてください。 Re: Compatibility of MBDT BMS Pkg Add-On with S32k3xx v1.5.0 or Parallel Installation of v1.4.0 こんにちは、 BMS 用のモデルベース デザイン ツールボックスは現在、S32K3 1.4.x 用の MBD ツールボックスとのみ互換性があります。現時点では、MBD Toolbox for S32K3 1.5.0 と互換性を持たせる方法はありません。 次に、同じ MATLAB インストールに v1.4.0 と v1.5.0 の両方を並行してインストールすることはできません。唯一の実行可能な代替手段は、別の MATLAB をインストールし (ライセンスで許可されている場合)、そこにツールボックスの 1 つをインストールすることです。 よろしくお願いいたします。 ソリン・バンチラ
View full article
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 希望这能帮到您, 埃里希
View full article
RW612 ROM 引导加载程序卡在 ISP 模式,无法从外部闪存加载 MCUBoot 问题描述 我在使用恩智浦 RW612 时遇到了一个持续的问题,即无论使用哪种二进制结构或配置,ROM 引导加载程序总是进入 ISP 模式,而不是从外部闪存启动。 症状 一致的 ISP 模式:设备始终以相同的寄存器值进入 ISP 模式 PC 寄存器:0x1302B460(ROM 引导程序地址) 神奇数字R1=0x5AC33CA5, R3=0x5AC33CA5, R6=0x55AACC33, R7=0x33CCAA55, R8=0x5AA55AA5, R10=0xC33CA55A, R11=0x55AACC33 性能:所有测试配置完全相同 我的测试结果 自定义 McuBoot 版本: 已签名和未签名的二进制文件 不同的 FCB 配置(带/不带 CMML) 各种偏移配置(0x400、0x1000) 官方 Zephyr 样品: frdm_rw612 板配置 rd_rw612_bga 板配置 sysbuild 和标准版本 用 imgtool 签名 二进制结构已验证: 偏移量 0x0000 处的 MCUBoot 头魔法 (0x3DB8F396) FCB 签名 (FCFB),偏移量 0x0400 带有 LUT 条目的完整 FlexSPI 配置 适当的 IVT/MBI 标头 当前设置 板:采用 RW612 的定制板 外部闪存:Fidelix 存储器(IRIS-W106-30B 模块) 工具链:Zephyr 4.1.0使用 Zephyr SDK 0.17.0 编程通过 SWD 接口连接 J-Link 社区问题 启动顺序要求:RW612 ROM 引导加载程序成功从外部闪存启动的确切要求是什么?是否有我遗漏的特定硬件配置要求? FCB 格式验证:ROM 引导加载程序期望的 FCB 格式是什么?是否有必须满足的验证要求或特定参数? 硬件配置:外部闪存熔丝所需的特定跳线设置、引脚配置或启动设置是否未记录在案? 已知问题:RW612 ROM 引导加载程序和外部闪存启动是否存在已知问题?有人成功从外部闪存启动过吗? 工作示例:有没有人有在 RW612 上成功从外部闪存启动的工作示例?您使用的是什么配置? 替代方法:如果外部闪存启动存在局限性,那么推荐的生产部署替代方案是什么? 调试步骤:你建议采取哪些调试步骤来确定 ROM 引导加载程序拒绝 FCB 的原因? 补充背景 事实上,即使是官方 Zephyr 样本(frdm_rw612 和 rd_rw612_bga)也会导致相同的 ISP 模式行为,这表明这可能是其中任何一种模式的根本问题: ROM 引导加载程序的实现 硬件配置要求 我们对启动过程的理解 如能提供任何指导或工作实例,将不胜感激! Re: RW612 ROM Bootloader Stuck in ISP Mode and not loading MCUBoot from external flash 你好,@dstarck。 为了获得更好的模块支持,我建议您直接联系模块制造商(uBlox),以获取与您的模块相关的各种文档。 如果您还有其他问题,请告诉我。 Re: RW612 ROM Bootloader Stuck in ISP Mode and not loading MCUBoot from external flash 谢谢,我看到了我想,当我实施它时,它没有工作...我需要回去再看一遍。 此外,我最近还发现 Segger(例如我的 jLink Pro)没有加载器可以正确刷新包含 RW612 芯片的 IRIS-W106-30B 模块使用的 Fidelix 型内存的二进制文件... 所以我也必须弄清楚(除非你有我能使用的加载器)。 Re: RW612 ROM Bootloader Stuck in ISP Mode and not loading MCUBoot from external flash 你好,@dstarck。 感谢您提供最新的测试结果。关于闪存锁定,请参阅 "如何解决 FRDM-RW612 闪存问题(闪存锁定)"帖子,只需注意在创建新工作区时选择模块专用内存即可。 如果您能解锁闪光灯,请告诉我。 Re: RW612 ROM Bootloader Stuck in ISP Mode and not loading MCUBoot from external flash 仅供参考...我能够实现这些变化。 目前,我的定制板已经锁定了闪存,我正在努力在刷新和测试之前将其解锁。 Re: RW612 ROM Bootloader Stuck in ISP Mode and not loading MCUBoot from external flash 是的,我知道了,并做了修改。 我正在使用一款带有 IRIS-W106-30B 模块(包含 RW612)的定制板。我将在周末进行测试。谢谢。 如果有问题,我会联系他们,并汇报我的进展情况。 Re: RW612 ROM Bootloader Stuck in ISP Mode and not loading MCUBoot from external flash 你好,@dstarck。 关于您需要签名/身份验证的启动映像的问题,请参阅 UM11865 第 78 页,其中详细介绍了启动过程的验证,如果您没有使用安全启动 ROM,则镜像不需要签名。 此外,请确认您是否遵循了我从应用程序代码中心分享的指南/示例。 如果这些信息有用,请告诉我您的发现。 Re: RW612 ROM Bootloader Stuck in ISP Mode and not loading MCUBoot from external flash 顺便说一下...昨天深夜我找到了 UM11865 用户手册...我还将查看您发布的文件......以下是我今天上午的调查摘要: IRIS-W106-30B 模块(基于 RW612)的 ROM 引导加载程序仍停留在 ISP 模式(PC = 1302B460),而不是从外部闪存切换到 MCUBoot 引导加载程序。 调查结果 ✅ 已确认的工作元器件: -通过 FCB(闪存配置块)访问 FlexSPI 外部闪存-FCB 签名:42464346 位于 0x08000400 -IVT(图像矢量表)签名:0x08001040 处的 402000D1 -Arm Cortex-M33 矢量表:0x08001400 处的有效堆栈指针 3000B320-外部闪存编程和验证成功 -ROM 引导加载程序可读取的所有启动结构 ❌ 已确定根本原因: -IVT boot_data_ptr (0x08001060) 指向包含全零的位置-链接 器未将启动数据结构正确放置在闪存中 -ROM 引导加载程序会验证启动结构,但在验证阶段拒绝映像 主要技术细节: - 内存布局:FCB@0x400 → IVT@0x1040 → ARM_vectors@0x1400 - IVT 指针:boot_data_ptr=0x08001060,self_ptr=0x08001040 - ROM 引导加载程序成功初始化 FlexSPI 并读取闪存内容 - 问题发生在映像验证期间,而非闪存访问期间 版本配置: -将 Zephyr RTOS 与 mcuBoot 一起使用-config_nxp_rw6xx_boot_header=Y -config_trusted_execution_nonsecure=Y-适用于 IRIS-W106-30B 的自定义 IVT 标头和 FCB 恩智浦社区的剩余问题 RW612 ROM 引导加载程序是否需要签名/经过身份验证的启动映像才能移交 给外部闪存引导加载程序? ROM 引导加载程序似乎可以正确验证所有启动结构,但拒绝 移交。缺少启动数据结构表明: 1.链接器脚本问题导致无法在 Flash 2 中正确放置启动数据。即使是移交引导加载程序,ROM 引导加载程序也需要签名映像(HAB/安全启动)3. 其他验证要求(我将查看文档) 如果您对 RW612 专用 ROM 引导加载程序的验证要求有更多了解,我们将不胜感激。 非常感谢你们的帮助! Re: RW612 ROM Bootloader Stuck in ISP Mode and not loading MCUBoot from external flash 非常感谢,我会去看看,并向您汇报。 我认为问题的根源在于 ROM 引导加载程序无法验证闪存中的 MCUBoot 引导加载程序...我将在今天晚些时候向您汇报 Re: RW612 ROM Bootloader Stuck in ISP Mode and not loading MCUBoot from external flash 你好,@dstarck,希望你一切都好。 请查看 产品页面 上的 UM11865-RW61x 用户手册的第 11 章- 非安全启动 ROM ,其中包含有关 RW61x 启动模式以及 FCB 配置和结构的信息。 此外,请参阅从 FRDM-RW612 到第三方模块存储器的迁移指南,其中提供了配置 IRIS-W106-30B 特定闪存的指南和示例。 注意:你提到你曾尝试将 RD-RW612-BGA 二进制文件加载到 EVK 中,此过程可能会导致闪存锁定而无法写入闪存,如果你看到这种行为,请查看以下关于如何解决问题的文章:如何解决 FRDM-RW612 中的闪存问题(闪存锁)。 如果这些资源对你有帮助,请告诉我。
View full article
适用于 S32K 的独立组网 (SA) 恩智浦 GCC 工具链 我找到了下载工具链的位置。看来我想要的是: NXP_GCC11-4_eARMv7_gf703eb2-LINUX 但它说这是一个 .bin 文件但当我使用"bash file.bin" 或"chmod +x file.bin 运行它时;./file.bin"我收到以下错误信息。 为什么 Java 会参与其中?是否有这些工具的压缩包版本。GCC工具有一个 tarball,但我认为这不是改编自恩智浦的编译器(我需要它来版本 RTD)。 准备安装 从安装程序存档中提取安装资源... 为本系统环境配置安装程序... 无法从 PATH 环境变量中找到 Java 虚拟机。在 运行该程序之前,您必须安装一个虚拟机。
View full article
IMX8MP uboot configured with dual channel lvds, showing the presence of colored vertical lines Background: Currently according to the patch <8MP_LVDS_patch > configure uboot's lvds display, using 1280x800 single-channel screen display is normal; based on this basis need to realize 1920x1080 dual-channel display, has been configured as follows: 1. Configure the screen reference of lvds: timing_lvds: timing_lvds { clock-frequency = <141140000>; hactive = <1920>; vactive = <1080>; hfront-porch = <94>; hback-porch = <92>; hsync-len = <2>; vback- porch = <18>; vfront-porch = <16>; vsync-len = <2>; hsync-active = <1>; vsync-active = <1>; de-active = <1>; } ; 2. Write the register configuration of ldb: //CH1 #define CH1_DATA_WIDTH_24BIT (1 << 7) #define CH1_BIT_MAPPING_JEIDA (1 << 😎 #define CH1_BIT_MAPPING_SPWG (0) << 😎 media_blk_write(priv, LDB_CTRL, LDB_CH0_MODE_EN_TO_DI0 | CH0_DATA_WIDTH_24BIT | CH0_BIT_MAPPING_JEIDA | LDB_CH1_MODE_EN_TO_DI0 | CH1_DATA_WIDTH_24BIT | CH1_BIT_MAPPING_JEIDA); media_blk_write(priv, LDB_CTRL, LDB_CH0_MODE_EN_TO_DI0 | CH1_DATA_ WIDTH_24BIT | CH1_BIT_MAPPING_JEIDA). 3. According to the formula, calculate the PLL value: PLL_1443X_RATE(987980000U, 823, 5, 2, 20971), the uboot_lvds_1920x1080.jpg There is a logo screen displayed, but the screen shows the presence of colored vertical lines, what could this be, please help troubleshoot, thanks; looking forward to your reply! i.MX 8M | i.MX 8M Mini | i.MX 8M Nano i.MX8ULP Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hi @dadaxin Since the bmp display in kernel and uboot is not the same function, so for now I suspect that there is something wrong with the bmp display related function, please try to replace the video_bmp_display function. int video_bmp_display(struct udevice *dev, ulong bmp_image, int x, int y, bool align) { struct video_priv *priv = dev_get_uclass_priv(dev); int i, j; uchar *start, *fb; struct bmp_image *bmp = map_sysmem(bmp_image, 0); uchar *bmap; unsigned long width, height; unsigned long pwidth = priv->xsize; unsigned colours, bpix, bmp_bpix; enum video_format eformat; struct bmp_color_table_entry *palette; int hdr_size; int ret; if (!bmp || !(bmp->header.signature[0] == 'B' && bmp->header.signature[1] == 'M')) { printf("Error: no valid bmp image at %lx\n", bmp_image); return -EINVAL; } video_bmp_get_info(bmp, &width, &height, &bmp_bpix); hdr_size = get_unaligned_le16(&bmp->header.size); debug("hdr_size=%d, bmp_bpix=%d\n", hdr_size, bmp_bpix); palette = (void *)bmp + 14 + hdr_size; colours = 1 << bmp_bpix; bpix = VNBITS(priv->bpix); eformat = priv->format; if (bpix != 1 && bpix != 8 && bpix != 16 && bpix != 32) { printf("Error: %d bit/pixel mode, but BMP has %d bit/pixel\n", bpix, bmp_bpix); return -EINVAL; } /* * We support displaying 8bpp and 24bpp BMPs on 16bpp LCDs * and displaying 24bpp BMPs on 32bpp LCDs */ if (bpix != bmp_bpix && !(bmp_bpix == 8 && (bpix == 16 || bpix == 24 || bpix == 32)) && !(bmp_bpix == 24 && (bpix == 16 || bpix == 32))) { printf("Error: %d bit/pixel mode, but BMP has %d bit/pixel\n", bpix, colours); return -EPERM; } debug("Display-bmp: %d x %d with %d colours, display %d\n", (int)width, (int)height, (int)colours, 1 << bpix); unsigned long bmp_stride_bytes = ((width * bmp_bpix + 31) / 32) * 4; unsigned long dst_bytes_per_pixel = bpix / 8; if (!dst_bytes_per_pixel) dst_bytes_per_pixel = 1; if (align) { video_splash_align_axis(&x, priv->xsize, width); video_splash_align_axis(&y, priv->ysize, height); } if ((x + width) > pwidth) width = pwidth - x; if ((y + height) > priv->ysize) height = priv->ysize - y; bmap = (uchar *)bmp + get_unaligned_le32(&bmp->header.data_offset); start = (uchar *)(priv->fb + (y + height) * priv->line_length + x * (bpix / 8)); /* Move back to the final line to be drawn (BMP 自下而上存储) */ fb = start - priv->line_length; switch (bmp_bpix) { case 1: case 8: { unsigned long src_bpp_bytes = 1; unsigned long dst_line_bytes = width * (bpix / 8); if (!dst_line_bytes) dst_line_bytes = width; for (i = 0; i < height; ++i) { schedule(); for (j = 0; j < width; j++) { write_pix8(fb, bpix, eformat, palette, bmap); bmap++; fb += (bpix / 8) ? (bpix / 8) : 1; } bmap += bmp_stride_bytes - width * src_bpp_bytes; fb -= dst_line_bytes + priv->line_length; } break; } case 16: if (CONFIG_IS_ENABLED(BMP_16BPP)) { unsigned long src_bpp_bytes = 2; for (i = 0; i < height; ++i) { schedule(); for (j = 0; j < width; j++) { *fb++ = *bmap++; *fb++ = *bmap++; } bmap += bmp_stride_bytes - width * src_bpp_bytes; fb -= width * 2 + priv->line_length; } } break; case 24: if (CONFIG_IS_ENABLED(BMP_24BPP)) { unsigned long src_bpp_bytes = 3; for (i = 0; i < height; ++i) { for (j = 0; j < width; j++) { if (bpix == 16) { /* 16bit 565RGB format */ *(u16 *)fb = ((bmap[2] >> 3) << 11) | ((bmap[1] >> 2) << 5) | (bmap[0] >> 3); bmap += 3; fb += 2; } else if (eformat == VIDEO_X2R10G10B10) { u32 pix; pix = (u32)(*bmap++) << 2U; pix |= (u32)(*bmap++) << 12U; pix |= (u32)(*bmap++) << 22U; *fb++ = pix & 0xff; *fb++ = (pix >> 8) & 0xff; *fb++ = (pix >> 16) & 0xff; *fb++ = pix >> 24; } else if (eformat == VIDEO_RGBA8888) { u32 pix; pix = (u32)(*bmap++) << 8U; /* blue */ pix |= (u32)(*bmap++) << 16U; /* green */ pix |= (u32)(*bmap++) << 24U; /* red */ *fb++ = (pix >> 24) & 0xff; *fb++ = (pix >> 16) & 0xff; *fb++ = (pix >> 8) & 0xff; *fb++ = 0xff; } else { *fb++ = *bmap++; *fb++ = *bmap++; *fb++ = *bmap++; *fb++ = 0; } } bmap += bmp_stride_bytes - width * src_bpp_bytes; fb -= priv->line_length + width * (bpix / 8); } } break; case 32: if (CONFIG_IS_ENABLED(BMP_32BPP)) { unsigned long src_bpp_bytes = 4; for (i = 0; i < height; ++i) { for (j = 0; j < width; j++) { if (eformat == VIDEO_X2R10G10B10) { u32 pix; pix = (u32)(*bmap++) << 2U; pix |= (u32)(*bmap++) << 12U; pix |= (u32)(*bmap++) << 22U; pix |= ((u32)(*bmap++) >> 6) << 30U; *fb++ = pix & 0xff; *fb++ = (pix >> 8) & 0xff; *fb++ = (pix >> 16) & 0xff; *fb++ = pix >> 24; } else if (eformat == VIDEO_RGBA8888) { u32 pix; pix = (u32)(*bmap++) << 8U; /* blue */ pix |= (u32)(*bmap++) << 16U; /* green */ pix |= (u32)(*bmap++) << 24U; /* red */ bmap++; /* alpha (忽略) */ *fb++ = (pix >> 24) & 0xff; *fb++ = (pix >> 16) & 0xff; *fb++ = (pix >> 8) & 0xff; *fb++ = 0xff; /* opacity */ } else { *fb++ = *bmap++; *fb++ = *bmap++; *fb++ = *bmap++; *fb++ = *bmap++; } } bmap += bmp_stride_bytes - width * src_bpp_bytes; fb -= priv->line_length + width * (bpix / 8); } } break; default: break; }; /* Find the position of the top left of the image in the framebuffer */ fb = (uchar *)(priv->fb + y * priv->line_length + x * (bpix / 8)); ret = video_sync_copy(dev, start, fb); if (ret) return log_ret(ret); return video_sync(dev, false); } Best Regards, Zhiming Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hi, @zhiming Good morning, sorry for the late reply due to a lot on my hands! I tried gateworks.bmp, the display is not very good; as shown in the following logo.png; check the uboot driver does not have the VIDEO_FONT_16X32 configuration option; I did a verification, with a 1920x1080 logo image, made into a 1280x800 logo, respectively, placed in uboot and kernel I did a verification with a 1920x1080 logo image, made into a 1280x800 logo, and put it on uboot and kernel respectively, uboot has a jagged situation of cutting diagonal angle; while kernel display is completely normal; thank you for following up the problem! uboot_logo_H.jpg Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hi @dadaxin The problem is still related to the resolution of the material, if you increase the resolution of the material, the jaggedness will be much less. The logo in the attachment is 296x72, but in reality it is not 296x72 pixels on the screen, so it will be stretched. You can try tools/logos/gateworks.bmp (600x93) in the same directory and see if the horizontal jaggedness is much less. For fonts, try turning on the option VIDEO_FONT_16X32, which is more suitable for high resolution screens. Zhiming_Liu_0-1762826615066.png Best Regards, Zhiming Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hi @DADAXIN Can you upload a copy of the logo image you're currently using (the one in the right image above)? Is the default NXP logo also displayed in dual channel 1080p? Best Regards, Zhiming Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hi, thanks for the reply! The situation is as follows: 1, the default NXP logo display also has a jagged effect, as shown in the attachment 2, there is a replacement of 1920x1080 logo image, in uboot tilted part of the presence of jagged, the rest of the display is normal; in the kernel under the file is too large, can not be displayed 3, converted to 1280x800 logo image, the effect is still the same in uboot, kernel display Normal 4, switch to 1280x800 single channel screen, uboot and kernel display are normal Single-channel display is normal, but dual-channel replacement of the logo image, uboot display will be abnormal 3.jpg 4.jpg Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hi @DADAXIN Did you have a problem with the default logo display as well as the fonts before you replaced the logo? I took a closer look at the image above and it looks like the resolution of the clip itself doesn't match the screen, I wonder if you have a higher resolution image displayed there to test and see what's going on with the higher resolution? Also, is it the same if the kernel stage shows the same logo material? Best Regards, Zhiming Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 早上好,zhiming        按照内核的lvds寄存器写入;我在uboot中也进行了配置;但效果没有改善:logo倾斜部分还是存在锯齿;请问还有其余操作可以优化吗;期待你的回复! uboot_lvds.png lvds_define.png Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hi @dadaxin Corresponds to this section of the kernel's configuration, which is not in the uboot patch because only a single channel was tested at that time. You need to write the value to the lvds_ctrl register in the uboot patch. https://github.com/nxp-imx/linux-imx/blob/lf-6.12.y/drivers/phy/freescale/phy-fsl-imx8mp-lvds.c#L113 Zhiming_Liu_0-1762475137940.png Zhiming_Liu_1-1762475147603.png Best Regards, Zhiming Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Thanks for the follow up, the logo graphic phenomenon is shown below: there are jaggies involving the slanted part of the fonts and the pattern. 2.jpg 1.jpg Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hello, uboot did not find the corresponding phy file: "fsl,imx8mp-lvds-phy ", in which place should be written to the registers it; <8MP_LVDS_patch>patch does not have this driver file either. Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hi @dadaxin You can refer to the settings in the linux lvds phy driver, set these three bits of LVDS_CTRL and the drive capability should be much better. phy_write(phy, priv->devdata->lvds_ctrl, CC_ADJ(0x2) | PRE_EMPH_EN | PRE_EMPH_ADJ(0x3)); Best Regards, Zhiming Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Thanks for the reply! The logo image is also partially jagged, switching to a 1280x800 single-channel screen, the logo display is normal; I have adjusted various panel clocks and PLL values, but none of them can be improved; any suggestions, please? Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hi, Is there any exception in the LOGO section? If it's a word, it should have nothing to do with the lvds controller and everything to do with display font optimization in uboot. Best Regards, Zhiming Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hello, lvds screen display logo there is a phenomenon: logo part of the letter there is jagged phenomenon, how to optimize it; look forward to your reply! Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Thanks for the guidance, it's the point of the question Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hi, There is this line in the code, val |= CH_EN, here only channel0 is enabled, BIT0, while BIT2 needs to be set. Zhiming_Liu_0-1762150737457.png Best Regards, Zhiming Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hi, thanks for the reply; change LDB_CH1_MODE_EN_TO_DI0 to LDB_CH1_MODE_EN_TO_DI1, the display still works! Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hi @DADAXIN You try changing LDB_CH1_MODE_EN_TO_DI0 to LDB_CH1_MODE_EN_TO_DI1 Best Regards, Zhiming Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hi,Zhiming     感谢您的回复以及对问题的跟进,最近工作比较繁忙,回复比较晚请见谅;我进行了替换操作 1、当前5.10.72对应的uboot2021版本,替换后会报没有video_format定义;而在6.6.52对应的uboot2024版本是有的,我同步了这部分配置: +++ b/include/video.h @@ -56,6 +56,15 @@ enum video_log2_bpp { VIDEO_BPP32, }; + +enum video_format { + VIDEO_UNKNOWN, + VIDEO_RGBA8888, + VIDEO_X8B8G8R8, + VIDEO_X8R8G8B8, + VIDEO_X2R10G10B10, +}; + 2、进一步编译,报这一部分的错,不清楚怎么解决;希望能得到你的进一步回复,感谢!! DADAXIN_0-1765003767987.png Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 HI @DADAXIN @Zhiming_Liu Hello, I have the same phenomenon as you ( jaggedness ), may I ask, after modifying this function (video_bmp_display), the display is messed up, may I ask where else did you modify it? Re: IMX8MP uboot下配置双通道lvds,显示存在彩色竖线 Hi, sorry, I didn't notice the message. The jagged edges haven't been improved.
View full article
SWO Data Trace functionallity (on MCXA156) Hello NXP Community, I have been experimenting with the Debug functionalities of the MCXA156 Controller and its respective development board. My setup: (FRDM-MCXA156) as well as MCXA156 in a custom board. MCUXpresso IDE v25.6 [Build 136] [2025-06-27] MCU Link pro Debugger So far with various examples from the NXP Expresso SDK I was able to cover most of debugging needs. (Breakpoints, Datawatch points, ITM printf redirect, Interrupt tracing etc.) Somehow I am stuck with usage of Data Watch Trace/Stream over SWO. I am at a point where I think I have misunderstood the capabilities of the MXCA156 debugging feature. To my understanding the MCXA156 supports ITM and DWT. With this it should be possible to add read/write data comperators and stream/trace out the appropriate data over the SWO pin. With my setup it seems I cant get to work the "SWO Data" window to work even if all other tracing feature seems to work fine. I am on the right track with my setup or does the MCUXpresso IDE simply not supporting my use-case yet? Best regards Alex Re: SWO Data Trace functionallity (on MCXA156) Hello @AlexRu  To use SWO, you can follow the provided step guide. Hardware Requirements: Ensure that the chip’s SWO pin is connected to the debugger’s SWO interface. (This is FRDM-MCXN947 board) Software Configuration: When creating a new project, select “Redirect printf/scanf to ITM” to redirect printf/scanf output to ITM. 2. Configure the Trace Clock: CLOCK_AttachClk(kTRACE_DIV_to_TRACE); /*! Switch TRACE to TRACE_DIV */ /*! Set up dividers */ CLOCK_SetClkDiv(kCLOCK_DivTraceClk, 3U); /*! Set TRACECLKDIV divider to value 3 */ 3. Configure ITM Console View in MCUXpresso IDE: Open SWO ITM Console. Configure the corresponding Core Clock and Trace Clock in both the IDE settings and your code    . 4. View the Output Results. For details on SWO and DWT usage, please refer to MCUXpresso_IDE_25.06_Instruction_Trace_Guide.pdf. You can find this guide under MCUXpresso IDE install path.  BR Alice   Re: SWO Data Trace functionallity (on MCXA156) Hi Alice, thank you very much for your detailed visualisations on how to setup the SWO Tracing. In my case I already verified the electrical connection of the SWO pin (MXCA-156 PCB) to my MCU-Link Pro Debug Probe. The PDF you mentioned has indeed more detailed information and extends my knowledge. Nevertheless it does not really explain/disprove my assumutions of DWT usage. In my setup I already see data from Interrupt returns and Interrupt entry points in the "SWO Interrupts" windows: (this is live data from my SW! Meaningfull data and correct timing information.) With this information I verfied that my electrical connection via SWO pin is working, trace clocks are enabled and frequency is as expected in my SWO Trace Config. What I am missing (or maybe there is a misunderstanding on my side?) is the function to trace Data via a Data Watch comparator (DWT) to the SWO trace pin in window "SWO Data". After enabeling the "play" button I dont receive any trace information:  I even veriefied that with my config of MXCA156 the data watchpoints are limited to 2 comparators, so the IDE seems to be able to set them and warns about too many Data Watch points set (I did it intentionally to check the plausibility): So my question is: Does the IDE support this method of debugging or is there a misunderstanding on my side and the DWT does not provide this kind of Data tracing capabilities at all? Re: SWO Data Trace functionallity (on MCXA156) Hello @AlexRu  Thanks for your reply. Could you please let me know which data you want to use DWT to watch? Also, please share a project that can reproduce the issue and provide a video showing all the steps you took. I will use this information to reproduce and check the issue on my side. Thank you! BR Alice Re: SWO Data Trace functionallity (on MCXA156) Hello @Alice_Yang , I did prepare a minimalistic Project based on the SDK Example (LED Blinky) for the FRDM-MCXN236 Demonstration Board. (demo_apps -> LED_BLINKY_PERIPHERAL) The MCXN236 Board setup seems to show the same effect as the MCXA156 Board I used before. I just wanted to confirm this behaviour on another Board. Pin config set P0_2 -> Output SWO (Default in this example) Enabled the TRACECLK and TRACECLKDIV (1) as this example uses BOARD_BootClockFRO12M() Added following code to see some action on glocal ram variables: volatile uint32_t debug_cnt = 0; void SysTick_Handler(void) { /* Toggle pin connected to LED */ GPIO_PortToggle(BOARD_LED_GPIO, 1u << BOARD_LED_GPIO_PIN); debug_cnt++; //<- added for demonstration purpose }  Attachments: Zip with demo project, video of my debug session. You can see that "SWO Data" does not show any tracing data. Global variables window shows the increment of debug_cnt in SysTick_Handler cycle of ~1s. Also "SWO Interrupts" shows the entry and exit of SysTick_Handler() reliably so the electrical connection of SWO trace seems to work correctly. Let me know if I can provide more info to narrow down this issue. I would also be happy if you could confirm whether my expectation of tracing a global/static RAM variable with DWT is possible. Or I have a misunderstanding. Re: SWO Data Trace functionallity (on MCXA156) Hi Alice, thank you for your effort. So it seems that MCUXpresso does not support the "data trace" debugging currently. Is it possible to request this for future releases? From my outsider perspective it seems that there is not much missing to make it work. SWO Interrupt seems to work just finde and extends to advanced debugging functionalities. SWO Data tracing whould further extend the possibilities for Debugging in NXPs Xpresso Toolchain. Best regards Alex Re: SWO Data Trace functionallity (on MCXA156) Hello @AlexRu  I tested on my side. This cannot output the variable’s value in real time. It can only check the variable’s value when debugging is paused. BR Alice Re: SWO Data Trace functionallity (on MCXA156) Hello @AlexRu  Thank you for your reply. I will forward this request to the MCUXpresso development team and keep you updated on any progress. Thank you.   BR Alice Re: SWO Data Trace functionallity (on MCXA156) Hello @Alice_Yang @AlexRu  I am currently working with the FRDM-MCXA156 development board and have been facing an issue with SWO (Serial Wire Output) while debugging. Although the application debugs successfully, I am unable to receive any data in the SWO Trace windows, including: SWO Data SWO Profile SWO Interrupt Trace ITM Console  To troubleshoot the issue, I have already verified the following: The SWO pin has been correctly configured using Config Tools. The TRACE clock is enabled and configured to 96 MHz, matching the MCU core clock (MCXA156 runs at 96 MHz). The project is being debugged using LinkServer with the on-board MCU-Link probe. Despite these configurations, all the SWO trace windows remain empty during debugging. For reference, I have attached screenshots of the SWO Trace Configuration, SWO Data, SWO Profile, and SWO Interrupt Trace windows. I would greatly appreciate any guidance or suggestions on what might be causing this issue or if there are any additional configuration steps required to enable SWO trace on the FRDM-MCXA156. Thank you for your time and assistance. Re: SWO Data Trace functionallity (on MCXA156) Hello @sidsal  I'm sorry for the delayed response. we may not see your follow-up questions in a timely manner. To ensure faster support, please create a new ticket next time. Regarding your current question, we have identified an issue related to MCUXpresso. If the issue is still not resolved, could you please create a private ticket at:Home Thank you. BR Alice
View full article
SDRAMのSEMC構成 こんにちは、 私はカスタム NXP RT1176 ボードを使用していますが、SDRAM の SEMC インターフェースでは、ハードウェアはアドレス ライン A0 ~ A11 のみを提供します。この構成では、最大 16MB の SDRAM にアクセスできます。 ただし、32MB を使用したいSO、64MB SDRAM 部品 (Alliance AS4C32M16SB) を選択し、A12 アドレス ラインをフローティングのままにしました。私の意図は、デバイスの下位 32MB を使用することです。 私は SEMC を 64MB に設定し、メモリ範囲を 0x80000000 から 0x80FFFFFF にマッピングしました。この領域では、特定のアドレスで 16 ビットの読み取り/書き込み障害が発生しています。 興味深いことに、0x81000000 から 0x81FFFFFF (上位 32MB) までのメモリにアクセスすると、正常に動作します。 設定に使用したコードを添付しました。これをCAN確認して、改善が必要かどうか、またはこの種のセットアップ (A12 フローティングを使用) が有効であり、SEMC でサポートされているかどうかをお知らせください。 よろしくお願いします、 パバナクマールAG Re: SEMC Configuration for SDRAM A12 は SDRAM 側で低く保持する必要があります (製造元に確認することをお勧めします)。 BR、 オマール Re: SEMC Configuration for SDRAM @Omar_Anguiano さん、返信ありがとうございます。 当社のボードでは、A12 はコントローラ側と SDRAM 側の両方でフローティングになっています。おっしゃるとおり、A12 は既知のロジック レベルに保持される必要があります。以下を明確にしていただけますか: このCASE、A12 にはどのロジック レベル (HIGH または LOW) を使用すればよいですか? 両側で A12 を同じ既知のレベルに駆動する必要がありますか、それとも SDRAM 側でのみ設定すれば十分ですか? Re: SEMC Configuration for SDRAM フローティングラインを避けてください。理想的には、A12 を浮いたままにせず、既知のロジック レベルに接続して下位半分にアクセスできるようにします。 BR、 オマール
View full article
JTAG RT1176経由の非XIP このアプリケーションノート ( https://www.nxp.com/docs/en/application-note/AN14069.pdf ) によると、NON XIP イメージは UART および USB 経由の MCU ブート ユーティリティでのみロードできます。 MCUXpresso IDE 内で MCU リンクまたは Jlink を介して XIP イメージをフラッシュにロードする方法がないことを確認したいのですが。 MCU リンクを使用する必要がある場合、これらが以下の正しい UART ピンにルーティングされているかどうかを確認したいと思います。データシートにUSB経由でのブートのオプションが表示されません: https://www.nxp.com/docs/en/data-sheet/IMXRT1170AEC.pdf(見逃していたらごめんなさい)。USB 経由のブートは USB を同じ UART ピンに接続するだけであるとオンラインで言及しているものをいくつか見ました。 ありがとうございます アンテオ Re: NON XIP via JTAG RT1176 こんにちは@AnteoJ 、 NXP MIMXRTシリーズにご興味をお持ちいただきありがとうございます。 SD カードから起動されるような非 XIP イメージは、MCUBootUtility または NXP の公式 MCUXpresso Secure Provisioning ツールを使用してフラッシュする必要があります。 イメージが XIP の場合、JLink/DAP などのデバッガーでフラッシュするようにプログラムCAN。MCUXpressoIDE や他の IDEs でも簡単に実行できます。 RT1170-EVK/EVKB を使用している場合、ボード上に搭載デバッガーである MCU-Link があることがわかります。これにより、お客様は外部デバッガーを使用せずに、搭載デバッガーを介して直接プログラムをフラッシュし、デバッグすることができます。さらに、異なるファームウェアをプログラミングすることで、MCU-Link を JLink または CMSIS-DAP デバッガーに変更できます。 詳細については、EVK/EVKB ハードウェア回路図をCAN確認してください。 よろしくお願いします、 ギャビン
View full article
S32G: BSP43 ATF 和 linux 能否在不支持任何 uboot 的情况下为 scmi nvmem 工作? 专家们好 客户:福特 平台:S32G2 软件/模块:BSP43 SCMI 客户正在尝试启用 nvmem scmi 读取 soc_major& soc_minor。它们使用 BSP43 ATF 和 linux,但使用自己的引导加载器。他们在内核启动期间看到了一些错误。 客户的问题是:BSP43 ATF 和 linux 能否在不支持任何 uboot 的情况下使用 scmi nvmem? 提前感谢您的专业支持。 顺祝商祺! 狮子座 Linux BSP Re: S32G: Could BSP43 ATF and linux work for scmi nvmem without any uboot support? 你好@ghennadi_procopciuc 谢谢您的回答。 那么,我可以这样理解吗? 客户没有在 M7 端启用 SRM,而 ATF 和 Linux 都能正常工作,就像启用了 SMR 一样。 BR、 狮子座 Re: S32G: Could BSP43 ATF and linux work for scmi nvmem without any uboot support? 你好@LeoLiAP、 从提供的日志中可以明显看出,福特是在没有SRM的情况下启动他们的平台,如以下行所示:注意:BL31:SR M禁用版本。这意味着不需要 SCMI NVMEM,因为 TF-A 不会处理该协议。 由此产生的错误在意料之中: 错误:代理 1 协议 0x82 消息 0x0:不支持 [0.333763] arm-scmi 固件:scmi:无法 获取版本 [0.334178] scmi-nvmem scmi_dev.6:无法检索 SCMI NVMEM 操作 [0.334658] scmi-nvmem:对 scmi_dev.6 的探测失败 ,错误- 95 福特使用的似乎是混合设置--FF-A 没有配置 SRM,因此 SCMI 命令在本地处理,而不是转发到 M7 内核。但是,Linux仍然希望通过设备树支持SCMI NVMEM,这会导致不匹配。 最简单的解决方法是更新 Linux 设备树以使用 SIUL2 NVMEM,而不是依赖 SCMI NVMEM。 此致, 根纳迪 Re: S32G: Could BSP43 ATF and linux work for scmi nvmem without any uboot support? 错误日志如下。
View full article
P1.27(下降沿)上的 ADC 硬件触发信号在 LPC1768 硬件上不起作用 你好 我正在尝试使用 P1.27 作为带下降沿检测的触发信号源,在 LPC1768 上测试 ADC 硬件 触发信号。在仿真中,当我在 P1.27 上生成下降沿时,ADC 会正确开始转换 ,但在实际硬件上,ADC 无法开始 转换。 我的 ADC 配置为在 P1.27 上触发信号硬件,通道已启用,ADC 已 通电。 我想知道在 LPC1768 硬件上使用 P1.27 作为 ADC 触发信号 是否存在任何限制 ? 如能提供任何说明或指导,将不胜感激。 谢谢! Re: ADC Hardware Trigger on P1.27 (falling edge) not working on LPC1768 hardware 你好@AkshayNaik1907 是的——LPC176x上有一个已知的勘误表,它会影响使用P1.27作为ADC外部触发信号。在实际硬件上,ADC 可能会错过 P1.27(和 P2.10)上的边沿,因此即使模拟器显示转换正常,也无法可靠地启动转换。失误率取决于 ADC 外围时钟。 您可以参考 errta ES_LPC176x 勘误表 BR 哈利
View full article
FRDM-RW612とチップツールのマター試運転失敗に関するお問い合わせ NXPサポート様 現在、FRDM-RW612 ボードと NXP マター SDK を使用してマターをテストしています。しかし、チップツールを使用するとコミッショニングが失敗するという問題が発生しました。 環境 ハードウェア: FRDM-RW612、USB Type-Cケーブル、Windows 11 (64bit) PC ソフトウェア: WSL2 (Ubuntu 22.04.5 LTS) SEGGER J-Link (Windows、Linux) マターソース: project-chip/connectedhomeip (最新リリース) 建てる: chip_enable_wifi=true で examples/all-clusters-app/nxp/rt/rw61x をビルドしました JLink + GDB経由でボードをプログラムしました 実行された手順 FRDM-RW612のフラッシュに成功し、起動を確認しました chip-tool pairing ble-wifi を実行しました 問題 次のエラーが発生して試運転が失敗します。   src/platform/Linux/BLEManagerImpl.cpp:695: Ble Error 0x00000401: BLE adapter unavailable bluetoothctl を実行すると、WSL2 内で Bluetooth が使用できないことも示されます。 質問 BLE が利用できないため、WSL2 ではチップツールを使用したコミッショニングができないというのは正しいですか? WSL2 ではなくネイティブ Linux (Ubuntu) 環境に切り替えた場合、PC から BLE コミッショニングでチップツールを使用することは可能でしょうか? このマターにつきましてご確認とご指導を賜りますようお願い申し上げます。 よろしくお願いします、 林直樹 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Nokhysh 新しい問題「 FRDM-RW612 の「フラッシュ消去」ステップで「イメージの書き込み」が失敗する」は、弊社の同僚が対処しています。彼があなたに解決策を提供CANと信じています。 その問題が解決したら、この現在のCASEを引き続き検証してください。 このCASEに関してまだ私の助けが必要な場合はお知らせください。 よろしくお願いいたします。 Christine。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Christine_Li 。 ご提供いただいた設定でボードをコネクテッドし、リセットを実行しました。 しかし、UART には何も出力されません。 送信された SREC ファイルを J-Link を使用して書き込もうとしたところ、次のエラーが発生して失敗しました。 ****** エラー: アドレス 0x08000000 での検証に失敗しました。フラッシュのプログラミング中にエラーが発生しました: 検証に失敗しました。 下記サイトの手順に従ってエラーの解決を試みましたが、フラッシュを消去できないようです。 https://community.nxp.com/t5/Wi-Fi-Bluetooth-802-15-4/FRDM-RW612-flash-lock のフラッシュの問題の解決方法/ta-p/2058965 この問題に関しては別途投稿を作成します。 解決策を教えていただけますか? https://community.nxp.com/t5/MCUXpresso-Secure-Provisioning/quot-Write-Image-quot-fails-at-quot-Erase-Flash-quot-step-in/mp/2170514#M680 よろしくお願いします、 直樹。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Nokhysh 前回の返信を確認してください。FRDM-RW612 を使用して USB を UART アダプターに接続する方法を示す写真があります。 また、UART1 でコマンドを入力することもCANます。このポートは、TYPE-C ケーブルで PC に直接コネクテッドされます。また、このポートでは J-LINK Commander を使用しています。このポートを使用すると、「>」を確認でき、このポートを使用して「matterfactoryreset」コマンドを入力することもCAN。 UART2 の出力をCAN。このポートはデュポン ラインを使用して USB-TO-UART に接続し、PC に接続します。 ご参考までに、再度写真を貼り付けておきます。 USB-TO-UART側: FRDM-RW612側: VCC-------------------J5 PWM 送信 ---------------------受信 RX----------------------TX GND--------------------GND それでも UART2 ポートに出力がない場合は、SW1 ボタン (リセット ボタン) を押して FRDM-RW612 ボードをリセットCAN。 ボードをリセットした後も失敗する場合は、私の.srecをCAN試してみてください。ファイル。問題がコンパイル側からなのか、接続側からなのかをCAN確認するのに役立ちます。 また、chip-tool で正常に試運転した後、ソースコードをデバッグして動作を確認することは可能ですか? ==>例は参考までに示しており、WSL または Linux 上でビルドしているので、デバッグする場合は、VS コード用の MCUXpresso を使用するか、貼り付けたリンクのように MCUXpresso を直接使用するのが良いでしょう。 よろしくお願いいたします。 Christine。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Christine_Li アドバイスありがとうございます。 マター CLI を matterfactoryreset コマンドを使用するように設定しました。 しかし、Tera Term から CLI にコマンドを入力することができません。 (「>」プロンプトも表示されません。) 接続または設定にエラーがある可能性がありますか? RW612: 送信、GND USB から UART: RXD、GND https://www.amazon.co.jp/dp/B01CYBHM26? また、chip-tool で正常に試運転した後、ソースコードをデバッグして動作を確認することは可能ですか? https://github.com/NXP/matter/tree/v1.4.0.1.1/examples/all-clusters-app/nxp/rt/rw61x よろしくお願いします、 直樹。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Nokhysh 質問1: デバイス3840が見つかりませんでした: 委託前に matterfactoryreset を実行したことがありますか? コミッション前に matterfactoryreset を実行してから再度コミッションを実行して、この問題がまだ再現するかどうかを確認してください。 RW612 FRDM 評価ボードのコンソールを接続し、リセットするコマンドを入力します。 >マターファクトリーリセット このコマンドは、FRDM-RW612 が保存されたパラメータをリセットするのに役立ちます。 2. 質問2: QRコードが見えませんでした: 出力は別の UART にあります。 リンク内の例のテスト部分を参照してください: マター/docs/platforms/nxp/nxp_rw61x_guide.md(v1.4.0.2.1) · NXP/マター · GitHub 例のテスト UARTの詳細 CLI を有効にして例をテストするには、UART1 と UART2 に接続する必要があります。RW61x プラットフォームの詳細については、以下を参照してください。 UART1:  Flexcomm3 。この UART の出力を表示するには、USB ケーブルを接続できます。 UART2:  Flexcomm0 。このUARTの出力を表示するには、ピンを  USB to UART adapter 。 [ NXP RD-RW612-BGA ] ボードの場合はコネクタを使用します  HD2 pin 03 。 [ NXP FRDM-RW612 ] ボードの場合は、  J5 pin 4  ( mikroBUS : TX)。 ローカルでテストしたところ、CAN出力でき、ブラウザにコピーすると QR コードが表示されます。 よろしくお願いいたします。 Christine。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Christine_Li 追加の質問で申し訳ありません。 以下のリンクにあるビデオのパート 1 を確認した後、このビデオでは、Android デバイス上の CHip-tool アプリを使用して、TeraTerm で出力された QR コードをスキャンして、デバイスのコミッショニングを試行します。 これは正しい試運転方法でしょうか? https://www.nxp.jp/company/about-nxp/smarter-world-blog/BL-MATTER-ECOSYSTEM-FRDM-RW612-FRDM-MCXW71 私の環境では、RESETボタンを押してもUARTに何も出力されません。 私が使用している設定は正しいと思います。 よろしくお願いします、 直樹。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Christine_Li デバイスをフラッシュする手順を示していただきありがとうございます。 手順に従って、chip-rw61x-all-cluster-example.hex の名前を chip-rw61x-all-cluster-example.srec に変更し、J-Link Commander v8.54 (J-Link) を使用してロードすることができました。 RW612 の SW2 ボタンを押して広告を有効にした後、Chip-Tool がインストールされた Android タブレットで試運転プロセスを開始しました。ただし、「BLE デバイス 3840 が見つかりません」というメッセージが表示されて失敗します。 手順に間違いや不足しているステップはありますか? よろしくお願いします、 野明。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Nokhysh ご返信ありがとうございます。 J-Link を使用してフラッシュするには、次の手順に従います。 reset halt loadfile chip-rw61x-all-cluster-example.srec reset go 手順をよりよく理解するには、以下のスクリーンショットを参照してください。 そして: 私のビルド プロセスでは、 chip-rw61x-all-cluster-exampleおよびchip-rw61x-all-cluster-example.hexファイルのみが生成されました。 chip-rw61x-all-cluster-example.hexを別の形式で使用するには、ファイル拡張子を.hexから.srecに変更します。新しいファイル名は次のようになります: chip-rw61x-all-cluster-example .srec 次に、loadfile コマンドを使用して、j-Link 経由で FRDM-RW612 ボードにフラッシュします。 このCASEに関して他に何か懸念事項があるかどうかお知らせください。 よろしくお願いいたします。 Christine。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Christine_Li 試運転プロセスへのサポートありがとうございます。 コミッショニングは、chip-rw61x-all-cluster-example.srec ファイルでのみCANか? 私のビルド プロセスでは、chip-rw61x-all-cluster-example.bin ファイルと chip-rw61x-all-cluster-example.hex ファイルのみが生成されました。 参考までに、J-Link Commander を使用してボードをフラッシュする際に使用した手順を共有していただけますか? WSL環境でchip-toolを実行しています。私が使用しているコマンドは次のとおりです: ./out/chip-tool/chip-toolペアリング ble-wifi 0x11 20202021 3840 また、CHIP Tool アプリがインストールされた Android スマートフォンでプロセスの検証を試みましたが、試運転は失敗しました。動作することが分かっている別の RW612 ボードでもう一度試してみます。 BLE アダプターは WSL 環境では使用できないことがわかりました。 ご説明ありがとうございます。 よろしくお願いします、 直樹。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Nokhysh 更新情報をありがとうございます。 私は Android フォン (CHIP-Tool アプリケーションをインストール) と FRDM-RW612 (J-Link Commander V7.96 で chip-rw61x-all-cluster-example.srec をフラッシュ) を使用して試してみましたが、正常にコミッショニングできました。 チップツールはどこで使っていますか?WSL 上ですか? Linux 上ですか? それとも RW612 上ですか? このコマンドには何を入力しますか: chip-tool pairing ble-wifi このコマンドでは、 委託されているノードのユーザー定義 ID です。 そして Wi-Fiの認証情報です そして デバイス固有のキー Android スマートフォンで Chip Tool アプリケーションを使用しているため、混乱しています。 FRDMRW612 で試運転を行う場合は、Android スマートフォン (CHIP Tool App をインストール) を使用する必要があります。 このチップツールは、IW612 (Linux プラットフォーム上) などのマターをサポートする Linux で使用され、ユーザー側に表示されるエラーは、 BLE アダプターが WSL で使用できないことを意味し、BLE が FRDM-RW612 側で使用できないことを意味するものではないと思います。 よろしくお願いいたします。 Christine。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Christine_Li  更新情報をありがとうございます。 実行バイナリを送信したいのですが、残念ながらファイルが大きすぎるためこの電子メールに添付できません。 ファイル共有サービスなどを使用して直接送信できるメールアドレスを教えていただけますか? また、.srecを生成していないことに注意してください。ファイル。必要であればお知らせください。 ご理解のほどよろしくお願いいたします。 よろしくお願いします、 直樹。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Nokhysh ご返信ありがとうございます。 最近、コンパイルが終了し、テストを始めました。 しかし、loadfile my: chip-rw61x-all-cluster-example.srec を FRDM-RW612 に実行した後、コンソールに何も表示されませんでした。私の側に何か問題があるのではないかと疑っています。 私の側で試してみたいので、chip-rw61x-all-cluster-example.srec ファイルと chip-rw61x-all-cluster-example ファイルを共有していただけますか? 私の側で何が起こったのかはまだ追跡中です。コンパイルは成功し、フラッシュも成功しました。 よろしくお願いいたします。 Christine。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Christine_Li  もう1つのRW612を使用してBLEサンプルの動作を確認します。 ベスト・ラガード、 野明。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Christine_Li  申し訳ございませんが、現時点では RW612 を検証することが困難です。 RW612 で BLE サンプルをテストしているときに、フラッシュに書き込めないという問題が発生しました。 この問題は他のサンプルでも発生し、続行できなくなります。 MCUXpresso IDE リポジトリに関しては、マター リポジトリを選択できなかったため、代わりに J-Link を使用してデバイスをフラッシュしました。 以下のサイトに記載されている方法はWSL環境では機能しません。 SO私は調査を行い、次の手順でデバイスをフラッシュしました。 マター/docs/platforms/nxp/nxp_rw61x_guide.md(v1.4.0.2.1) · NXP/マター · GitHub Windowsの場合 FRDM-RW612をUSB-Type CケーブルでPCに接続します。 J-Link リモート サーバーを起動します。 USBオプションを確認してください。 サーバーは接続を待機することになります。 WSL2 (Windows Subsystem for Linux 2) の場合 次の手順は WSL2 ターミナルで実行されます。 Windows ホストの IP アドレスを見つけます (たとえば、CMD で ipconfig を使用するか、ネットワーク設定を確認します)。 JLinkGDBServer を起動します。-select ip 起動オプションを使用すると、USB 経由でコネクテッドされた J-Link ではなく、ホスト IP アドレスで実行されている J-Link リモート サーバーに接続します。   JLinkGDBServer -select ip= -if swd -device RW612 ホスト上の J-Link リモート サーバーは、クライアントがコネクテッドされたことを示します。次の出力が表示されます。 SEGGER J-Link GDB Server V8.54 Command Line Version JLinkARM.dll V8.54 (DLL compiled Jul 23 2025 12:23:37) Command line: -select ip= -if swd -device RW612 -----GDB Server start settings----- GDBInit file: none GDB Server Listening port: 2331 SWO raw output listening port: 2332 Terminal I/O port: 2333 Accept remote connection: yes Generate logfile: off Verify download: off Init regs on start: off Silent mode: off Single run mode: off Target connection timeout: 0 ms ------J-Link related settings------ J-Link Host interface: IP J-Link script: none J-Link settings file: none ------Target related settings------ Target device: RW612 Target device parameters: none Target interface: SWD Target interface speed: 4000kHz Target endian: little Connecting to J-Link... J-Link is connected. Firmware: J-Link MCU-Link V1 compiled Jul 8 2025 10:15:43 Hardware: V1.00 S/N: 1060644884 Checking target voltage... Target voltage: 3.30 V Listening on TCP/IP port 2331 Connecting to target... Halting core... Core security extensions: Implemented Connected to target Waiting for GDB connection... GDBで接続してフラッシュする GDBからJLinkGDBServerに接続します。ビルドによって生成された出力ファイルを引数として指定します。 cd ~/connectedhomeip/examples/all-clusters-app/nxp/rt/rw61x/out/debug/ arm-none-eabi-gdb chip-rw61x-all-cluster-example GDB プロンプトで次のコマンドを実行してサーバーに接続します (ログに示されているように、リスニング ポートは 2331 です)。 (gdb) target remote localhost:2331 これにより、GDB が J-Link に接続され、デバッグが可能になります。 GDB を使用してアプリケーションをフラッシュするには、次のコマンドを実行します。 (gdb) load (gdb) info files​ ベスト・ラガード、 野明。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Nokhysh ちなみに、サンプル アプリをフラッシュするのに J-Link を使用していますか?あるいはMCUXpresso IDEを使用してフラッシュしますか? JLink でフラッシュするには、以下のガイドを参照してください。この問題がまだ存在するかどうかを確認します。 マター/docs/platforms/nxp/nxp_rw61x_guide.md(v1.4.0.2.1) · NXP/マター · GitHub まだ同じ問題がある場合はお知らせください。 よろしくお願いいたします。 Christine。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Nokhysh BLE の例はあなたの側でも CAN ますか? 私は自分の側で試してみましたが、この手順を参照するとき、どのリポジトリを選択するかを知りたいと思います。 「 MCUXpresso IDE に connectedhomeipリポジトリをMakefile プロジェクトとしてインポートします。使用 なし として インデクサー設定のツールチェーン: ” よろしくお願いします、 Christine。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Christine_Li 以下のリンクにある GitHub ReadMe に従って動作を確認しました: https://github.com/NXP/matter/tree/v1.4.0.1.1/examples/all-clusters-app/nxp/rt/rw61x 理解した。FRDM-RW612ボードでNXPについてBLEサンプルをテストします。 お手数をおかけしますがご確認いただけますと幸いです。 よろしくお願いします、 林直樹君。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Nokhysh 返信が遅くなり申し訳ありません。私は優先的にCASEを扱っています。 SDKのバージョンは何ですか?私のほうで確認してみます。 同時に、まずBLE機能が動作するかどうかを確認してください。 マター は BLE 機能に応答します。BLE が機能しない場合、マター は正常にコミッショニングできません。 まず FRDM-RW612 の BLE の例をチェックして、BLE が正常に動作することを確認CAN。 BLE が期待どおりに動作しなかった場合は、どの例が動作しなかったかをお知らせいただき、失敗したログを共有してください。 よろしくお願いいたします。 Christine。 Re: Inquiry about Matter commissioning failure with FRDM-RW612 and chip-tool こんにちは、 @Nokhysh できるだけ早く確認して返信します。 よろしくお願いいたします。 Christine。
View full article
I2C master not working Hello , I'm trying to test I2C master on S32K324 but i'ts not working. Actually I have no I2C slave connected to I2C master but I don't see any transition on PTD13 (LPI2C_SDA) or PTD14 (LPI2C_SCL), the two pins are ever HIGH. I expect to see start condition like attached file. Attached there is the project. Regards, Francesco. Re: I2C master not working Hi @francescovico, It does work on my side - I have tested your code. If it does not work on you side, explain in details what does not work.  Make sure the DBGEN bit is set at the time the transfer is called. Have you tested it with CM7_1 running? Do you use external pull-up resistors? Regards, Daniel Re: I2C master not working Hi Daniel, It still not working well . Regards, Francesco. Re: I2C master not working HI @francescovico, Enable it after the Init function. Otherwise, the Init function will clear the bit. Regards, Daniel Any support, information, and technology (“Materials”) provided by NXP are provided AS IS, without any warranty express or implied, and NXP disclaims all direct and indirect liability and damages in connection with the Material to the maximum extent permitted by the applicable law. NXP accepts no liability for any assistance with applications or product design. Materials may only be used in connection with NXP products. Any feedback provided to NXP regarding the Materials may be used by NXP without restriction. Re: I2C master not working Hello Daniel, sorry but putting: IP_LPI2C_0->MCR |= LPI2C_MCR_DBGEN_MASK; The I2C still not working. Attached my project. Regards, Francesco. Re: I2C master not working Hi @francescovico, When CM7_1 is halted, the MCU enters debug mode. To ensure LPI2C continues functioning, either set the DBGEN bit in LPI2C_MCR to allow operation during debugging, or Keep CM7_1 running. BR, Daniel Re: I2C master not working Hello Daniel, Thank you, it's true I forgot to initialize interrupt. Also with interrupt enabled the I2C it's not working. Attached there is the project with interrupt enabled. Do you have other suggestions? Regards. Re: I2C master not working Hello Francesco, I haven't tested the code, but I see that you did not enable the LPI2C interrupt. Add IntCtrl_Ip driver with LPI2C0_Master_Slave_IRQHandler. And initialize the driver in the code. Regards, Daniel
View full article
S32 汽车平台:先进控制系统的性能 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 燃烧和发动机控制正在转向计算密集型技术。了解 S32 汽车平台如何利用 Arm ® NEON 和数学加速来支持这一趋势。 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 燃烧和发动机控制正在转向计算密集型技术。了解 S32 汽车平台如何利用 Arm ® NEON 和数学加速来支持这一趋势。
View full article
Sensors_Multimarkets_may16.pdf <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
View full article
iMX6 IPU TVIN 应用说明 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 附件是 iMX6 TVIN 用例的应用说明,已进行一些内部审查。 2016-10-08,将其更改为pdf文件。
View full article
NET-N1906 高性能小型基站解决方案,助力实现无处不在的高速互联网 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 随时随地的高速互联网是我们面临的挑战。小型基站提供了填补常规基站基础设施覆盖空白的解决方案。本讲座展示了恩智浦高性能射频解决方案,涵盖小型基站的发射端和接收端。 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 随时随地的高速互联网是我们面临的挑战。小型基站提供了填补常规基站基础设施覆盖空白的解决方案。本讲座展示了恩智浦高性能射频解决方案,涵盖小型基站的发射端和接收端。 智能网络
View full article
示例 MPC5748G SMPU 初始化 + 进程 ID 测试 GHS614 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ******************************************************************************** * 详细说明: *此示例初始化 SMPU_0 和 SMPU_1 以覆盖所有内存资源 * 所有大师。 * 本例进行简单测试:初始化后,SMPU_1 * 配置已更改为禁用对最后 4kB RAM 的写入访问 * 进程 ID 1。允许进程 ID 0 进行写访问。 * 如果在进程 ID 为 1 的情况下 CPU 写入该区域,则将引发异常 * 由于访问冲突而发生。 * ---------------------------------------------------------------------------------------------- * 测试硬件:MPC574XG-324DS Rev.A + MPC574XG-MB Rev.C * 微控制器: PPC5748GMMN6A 1N81M * 系统频率:160 MHz PLL * 调试器:Lauterbach Trace32 * 目标:internal_FLASH * ******************************************************************************** 概述
View full article
Boundary Devices - Crank Storyboard demo on i.MX7 Nitrogen7 This video shows how the Crank Storyboard application framework is well suited to run on our i.MX7 Nitrogen7 board. Demo details This demonstration is based on the following: Nitrogen7 board​​ 800×480 LCD display​ Resistive touch Yocto Jethro release Linux kernel 3.14.52 Crank Software details Crank Software Inc. is an innovator in embedded graphical user interface (GUI) solutions. Their products and services enable R&D teams and UI Designers to quickly and collaboratively develop rich animated user interfaces for resource-constrained embedded. The demo above relies on the Crank Storyboard Engine which is: Multi-platform Supported on Linux, Android, QNX, WindowsCE among others Built for embedded Storyboard Embedded Engine scales from low-end to high-end processors 3D optimized For higher end products embedding a GPU For more information, please visit: https://boundarydevices.com/crank-software-demo-on-nitrogen7/ General
View full article
i.MX v24.12 配置工具现已推出 我们很高兴地宣布,i.MX v24.12 的配置工具现已推出。 下载与链接 如需下载适用于所有平台的安装程序,请通过以下链接登录我们的下载网站: https://www.nxp.com/design/designs/config-tools-for-i-mx-applications-processors:CONFIG-TOOLS-IMX 有关安装和快速入门指南,请参考文档。 如需了解有关 DDR 配置和验证的更多信息,请访问此 博客文章。 发布说明 发布的完整详细信息(功能、已知问题……) • DDR 工具 – 增加了对自定义系统管理器图像导入的支持。 – 启用 i.MX 95 高级测试:用于 DQ 的 Vref 和用于 CA 优化的 Vref • SerDes 工具 – 添加了 i.MX 95 的 GUI 上的 TX 配置附加参数(摆动、裕度、均衡)。 – PCIe Gen1/Gen2/Gen3 开启模式生成。 •时钟 – 支持模块化时钟初始化。 – 初始化模式在时钟图和详细信息视图中可见。 – 创建了新的模块初始化视图,用于配置初始化模式和模块的核心选择。 •球座 – 支持对相同地址和不同地址空间的区域进行配置和概览。 – 可以为全局选项组切换代码生成。 – 支持在设置 TRDC 之前释放 ELE 加密货币的流程。 •别针 – 添加了各种 Pins 配置选项的杂项选项卡。 – 添加了路由对话框的过滤。
View full article