Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
88w9098:当使用无效密码通过 wpa_supplicant 连接时,mwifiex 驱动程序处于异常状态 您好@weidong_sun /NXP 技术支持 希望你一切都好。 我们正在使用来自NXP网站的88w9098的PCI驱动程序/固件: https://github.com/nxp-imx/mwifiex/tree/lf-6.18.2_1.0.0 基于 x86-64 的系统,运行嵌入式 Linux 6.12.101 问题:当使用 wpa_supplicant 命令且配置文件中存在无效密码时,Wi-Fi 驱动程序会在一段时间后崩溃,并且所有网络接口都会被移除。之后,不重启电源就无法恢复 Wi-Fi 模块。 Linux 驱动程序/固件加载日志 wlan:正在加载 MWLAN 驱动程序 wlan:注册成为总线司机... wlan_pcie 0000:06:00.0:启用设备(0140 -> 0142) PCI 内存映射 Virt0:000000003cb916fe PCI 内存映射 Virt2:00000000365fd988 连接 moal 手柄操作,卡接口类型:0x206 rps 设置为 f(来自模块参数) PCIE9098:从用户配置文件获取初始化模块参数 卡类型:PCIE9098,配置块:0 cfg80211_wext=0xf max_vir_bss=1 max_uap_bss = 2 cal_data_cfg=none init_hostcmd_cfg=nxp/ed_mac.bin cntry_txpwr = 1 ps_mode = 2 auto_ds = 2 drv_mode = 7 wfd_name=wfd sta_name=mlan uap_name=uap host_mlme=启用 fw_name=nxp/pcieuart9098_combo_v1.bin rx_work=1 cpu_num=4 启用 moal_recv_amsdu_packet 附加 mlan 适配器操作。card_type 为 0x206。 请求固件:nxp/pcieuart9098_combo_v1.bin 释放 initrd 内存:193348K 固件下载完成,大小为 754708 字节 WLAN 固件已激活 on_time 为 1196059107 VDLL 映像:长度=147136 fw_cap_info=0xc87cefa3,dev_cap_mask=0xffffffff max_p2p_conn = 8,max_sta_conn = 48 设置 int_sel_mask=0x2020001 请求固件:nxp/ed_mac.bin 尝试下载 country_power_tble:nxp/txpower_WW.bin 请求固件:nxp/txpower_WW.bin 注册 NXP 802.11 适配器 mlan0 wlan:uap%d 设置 max_mtu 为 2000 注册 NXP 802.11 适配器 uap0 wlan:uap%d 设置 max_mtu 为 2000 注册 NXP 802.11 适配器 uap1 注册 NXP 802.11 适配器 wfd0 wlan: 版本 = PCIE9098--17.92.1.p149.84--MM6X17542.p8-GPL-(FP92) wlan_pcie 0000:06:00.1:启用设备(0140 -> 0142) PCI 内存映射 Virt0:000000002728cc1b PCI 内存映射 Virt2:000000000541f874 连接 moal 手柄操作,卡接口类型:0x206 rps 设置为 f(来自模块参数) PCIE9098:从用户配置文件获取初始化模块参数 卡类型:PCIE9098,配置块:1 cfg80211_wext=0xf max_vir_bss=1 max_uap_bss = 2 cal_data_cfg=none init_hostcmd_cfg=nxp/ed_mac.bin cntry_txpwr = 1 ps_mode = 2 auto_ds = 2 drv_mode = 7 wfd_name=mwfd sta_name=mmlan uap_name=muap host_mlme=启用 fw_name=nxp/pcieuart9098_combo_v1.bin rx_work=1 cpu_num=4 启用 moal_recv_amsdu_packet 附加 mlan 适配器操作。card_type 为 0x206。 请求固件:nxp/pcieuart9098_combo_v1.bin WLAN固件已在运行!跳过固件下载 WLAN 固件已激活 on_time 为 1236174962 VDLL 映像:长度=147136 fw_cap_info=0x487cefa3,dev_cap_mask=0xffffffff max_p2p_conn = 8,max_sta_conn = 48 设置 int_sel_mask=0x2020001 请求固件:nxp/ed_mac.bin 尝试下载 country_power_tble:nxp/txpower_WW.bin 请求固件:nxp/txpower_WW.bin 注册 NXP 802.11 适配器 mmlan0 wlan: muap%d 设置 max_mtu 为 2000 注册 NXP 802.11 适配器 muap0 wlan: muap%d 设置 max_mtu 为 2000 注册 NXP 802.11 适配器 muap1 注册 NXP 802.11 适配器 mwfd0 wlan: 版本 = PCIE9098--17.92.1.p149.84--MM6X17542.p8-GPL-(FP92) wlan:已完成向总线司机注册 wlan:驱动程序已成功加载 cat wpa_supplicant-2.4G.conf 国家=美国 更新配置=1 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev 网络={ scan_ssid=1 ssid="NXP-2.4G-SSID" psk="NXPWRONGPassword" key_mgmt=WPA-PSK } cat wpa_supplicant-5G.conf 国家=美国 更新配置=1 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev 网络={ scan_ssid=1 ssid="NXP-5G-SSID" psk="NXPWRONGPassword" key_mgmt=WPA-PSK } 重现问题的步骤: 步骤 1: wpa_supplicant -D nl80211 -i mlan0 -c "wpa_supplicant-5G.conf" -N -D nl80211 -i mmlan0 -c "wpa_supplicant-2.4G.conf" 等待 1-2 分钟,然后按如下方式终止 wpa_supplicant 进程,并重新运行上述命令。 步骤 2: killall wpa_supplicant 步骤 3: wpa_supplicant -D nl80211 -i mlan0 -c "wpa_supplicant-5G.conf" -N -D nl80211 -i mmlan0 -c "wpa_supplicant-2.4G.conf" 步骤四:等待 1-2 分钟(如果未重现,请重复 1-4 次) 驱动程序崩溃的内核日志 内核:无线局域网:mlan0 开始扫描 内核:无线局域网:mmlan0 开始扫描 内核:WLAN:扫描完成:已扫描接入点数量=43 内核:WLAN:扫描完成:已扫描接入点数量=34 内核:wlan:HostMlme mlan0 向 bssid 12:XX:XX:XX:3c:5e 发送认证请求 内核:mlan0: 内核:mmlan0: 内核:wlan:从 12:XX:XX:XX:3c:5e 收到 HostMlme 身份验证 内核:wlan:从 12:XX:XX:XX:3c:5e 收到 HostMlme 身份验证 内核:wlan:HostMlme mmlan0 向 bssid e2:XX:XX:XX:c9:dc 发送认证请求 内核:wlan:HostMlme mlan0 已成功连接到 bssid 12:XX:XX:XX:3c:5e 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:无线局域网:mmlan0 开始扫描 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:WLAN:扫描完成:已扫描接入点数量=33 内核:wlan:HostMlme mmlan0 向 bssid e2:XX:XX:XX:c9:dc 发送认证请求 内核:mmlan0: 内核:wlan:从 e2:XX:XX:XX:c9:dc 收到 HostMlme 身份验证 内核:无线局域网:HostMlme mmlan0 已成功连接到 bssid e2:XX:XX:XX:c9:dc 内核:mmlan0: 内核:无线局域网:向 e2:XX:XX:XX:c9:dc 发送 EAPOL 数据包 内核:mmlan0: 内核:无线局域网:向 e2:XX:XX:XX:c9:dc 发送 EAPOL 数据包 内核:woal_cfg80211_set_rekey_data 返回:gtk_rekey_offload 已禁用 内核:WLAN:收到来自 mlan0 的解除关联请求,原因:3 内核:无线局域网:原因:(解除认证)发送 STA 正在离开(或已离开)IBSS 或 ESS。 内核:无线局域网:mlan0 开始扫描 内核:WLAN:扫描完成:已扫描接入点数量=35 内核:无线局域网:mlan0 开始扫描 内核:WLAN:扫描完成:已扫描接入点数量=30 内核:wlan:HostMlme mlan0 向 bssid 12:XX:XX:XX:3c:5e 发送认证请求 内核:mlan0: 内核:wlan:从 12:XX:XX:XX:3c:5e 收到 HostMlme 身份验证 内核:wlan:HostMlme mlan0 已成功连接到 bssid 12:XX:XX:XX:3c:5e 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:mlan0: 内核:无线局域网:HostMlme 已断开连接:子类型=12 12:XX:XX:XX:3c:5e 内核:无线局域网:mlan0 开始扫描 内核:WLAN:扫描完成:已扫描接入点数量=26 内核:无线局域网:mlan0 开始扫描 内核:WLAN:扫描完成:已扫描接入点数量=30 内核:wlan:HostMlme mlan0 向 bssid 12:XX:XX:XX:3c:5e 发送认证请求 内核:mlan0: 内核:wlan:从 12:XX:XX:XX:3c:5e 收到 HostMlme 身份验证 内核:wlan:HostMlme mlan0 已成功连接到 bssid 12:XX:XX:XX:3c:5e 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:WLAN:收到 mmlan0 上的解除关联请求,原因:3 内核:无线局域网:原因:(解除认证)发送 STA 正在离开(或已离开)IBSS 或 ESS。 内核:WLAN:收到来自 mlan0 的解除关联请求,原因:3 内核:无线局域网:原因:(解除认证)发送 STA 正在离开(或已离开)IBSS 或 ESS。 内核:无线局域网:mlan0 开始扫描 内核:无线局域网:mmlan0 开始扫描 内核:WLAN:扫描完成:已扫描接入点数量=40 内核:WLAN:扫描完成:已扫描接入点数量=37 内核:wlan:HostMlme mlan0 向 bssid 12:XX:XX:XX:3c:5e 发送认证请求 内核:mlan0: 内核:wlan:从 12:XX:XX:XX:3c:5e 收到 HostMlme 身份验证 内核:mmlan0: 内核:wlan:从 12:XX:XX:XX:3c:5e 收到 HostMlme 身份验证 内核:wlan:HostMlme mmlan0 向 bssid e2:XX:XX:XX:c9:dc 发送认证请求 内核:mmlan0: 内核:wlan:从 e2:XX:XX:XX:c9:dc 收到 HostMlme 身份验证 内核:无线局域网:HostMlme mlan0 已成功连接到 bssid 12:XX:XX:XX:3c:5e 内核:无线局域网:HostMlme mmlan0 已成功连接到 bssid e2:XX:XX:XX:c9:dc 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:mmlan0: 内核:无线局域网:向 e2:XX:XX:XX:c9:dc 发送 EAPOL 数据包 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:mmlan0: 内核:无线局域网:向 e2:XX:XX:XX:c9:dc 发送 EAPOL 数据包 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:mmlan0: 内核:无线局域网:向 e2:XX:XX:XX:c9:dc 发送 EAPOL 数据包 内核:mlan0: 内核:无线局域网:向 12:XX:XX:XX:3c:5e 发送 EAPOL 数据包 内核:mmlan0: 内核:无线局域网:向 e2:XX:XX:XX:c9:dc 发送 EAPOL 数据包 内核:mlan0: 内核:无线局域网:HostMlme 已断开连接:子类型=12 12:XX:XX:XX:3c:5e 内核:WiFi 重置差异 877022236 内核:由于 EAPOL 超时,WiFi 重置 cnt 6 内核:进程开始挂起 内核:异常阻塞 woal_cfg80211_del_key 驱动状态 内核:设置待清理 内核:在异常驱动程序状态下阻止 woal_cfg80211_del_key 内核:在异常驱动程序状态下阻止 woal_cfg80211_del_key 内核:在异常驱动程序状态下阻止 woal_cfg80211_del_key 内核:mmlan0: 内核:在异常驱动程序状态下阻止 woal_cfg80211_del_key 内核:在异常驱动程序状态下阻止 woal_cfg80211_del_key 内核:无线局域网:HostMlme 已断开连接:子类型=12 e2:XX:XX:XX:c9:dc 内核:woal_send_disconnect_to_system:设置扫描时间失败 内核:在异常驱动程序状态下阻止 woal_cfg80211_del_key 内核:设置待清理 内核:在异常驱动程序状态下阻止 woal_cfg80211_del_key 内核:在异常驱动程序状态下阻止 woal_cfg80211_del_key 内核:在异常驱动程序状态下阻止 woal_cfg80211_del_key 内核:在异常驱动程序状态下阻止 woal_cfg80211_del_key 内核:WIFI 自动固件重载:固件重载=6 内核:在异常驱动程序状态下阻止 woal_cfg80211_del_key 内核:========开始带内RESET=========== 内核:在异常驱动程序状态下阻止 woal_cfg80211_scan 内核:woal_reset_adma:ADMA 重置失败(值:97) 内核:woal_reset_intf:获取 bss 信息失败 内核:设置待清理 内核:在异常驱动程序状态下阻止 woal_cfg80211_scan 内核:wlan_pcie 0000:06:00.0 mlan0(注销):已退出所有组播模式 内核:wlan_pcie 0000:06:00.0 uap0(注销):已退出所有组播模式 内核:wlan_pcie 0000:06:00.0 uap1(注销):已退出所有组播模式 内核:wlan_pcie 0000:06:00.0 wfd0(注销):已退出所有组播模式 内核:woal_reset_intf:获取 bss 信息失败 内核:设置待清理 内核:wlan_pcie 0000:06:00.1 mmlan0(注销):已退出所有组播模式 内核:wlan_pcie 0000:06:00.1 muap0(注销):已退出所有组播模式 内核:wlan_pcie 0000:06:00.1 muap1(注销):已退出所有组播模式 内核:wlan_pcie 0000:06:00.1 mwfd0(注销):已退出所有组播模式 内核:PCIE触发固件带内复位成功。 内核:释放模块参数 内核:rps 从模块参数设置为 f 内核:PCIE9098:从用户配置文件初始化模块参数 内核:card_type:PCIE9098,配置块:0 内核:cfg80211_wext=0xf 内核:max_vir_bss=1 内核:max_uap_bss = 2 内核:cal_data_cfg=none 内核:init_hostcmd_cfg=nxp/ed_mac.bin 内核:cntry_txpwr = 1 内核:ps_mode = 2 内核:auto_ds = 2 内核:drv_mode = 7 内核:wfd_name=wfd 内核:sta_name=mlan 内核:uap_name=uap 内核:host_mlme=启用 内核:fw_name=nxp/pcieuart9098_combo_v1.bin 内核:rx_work=1 cpu_num=4 内核:启用 moal_recv_amsdu_packet 内核:连接 mlan 适配器操作。card_type 为 0x206。 内核:请求固件:nxp/pcieuart9098_combo_v1.bin 内核:prog_fw:获取命令完成中断失败,重试次数 = 10001 内核:固件未能及时激活! 内核:wlan_dnld_fw 失败 ret=0xffffffff 内核:WLAN:固件下载失败,nowwait:0 内核:配置空间寄存器: 内核:寄存器:0x00 值=0x2b431b4b 内核:寄存器:0x04 值=0x00100546 内核:寄存器:0x10 值=0x82d0000c 内核:寄存器:0x18 值=0x82e0000c 内核:寄存器:0x2c 值=0x2b431b4b 内核:寄存器:0x3c 值=0x000001ff 内核:寄存器:0x44 值=0x00000008 内核:寄存器:0x50 值=0x018b7005 内核:寄存器:0x60 值=0xfffffffe 内核:寄存器:0x64 值=0x00000000 内核:寄存器:0x80 值=0x10120042 内核:寄存器:0x98 值=0x00000000 内核:寄存器:0x170 值=0x0001001e 内核:固件擦除寄存器: 内核:寄存器:0x1c90 值=0xfedcba00 内核:寄存器:0x1c98 值=0x0 内核:寄存器:0x1c9c 值=0x0 内核:寄存器:0x1c98 值=0x0 内核:寄存器:0x1c9c 值=0x0 内核:从偏移量 0x1c98 到 0x1c9f 的接口寄存器转储 内核:PCIE 寄存器,偏移量从 0x1c20 到 0x1c9c: 内核:00000000 00000002 0000004f 00000000 ffffffff 00000002 00000000 00000000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 内核:ffece0e0 00000000 00000010 00000000 008047e3 c8701424 00000000 00000000 内核: 00000000 00000000 00000000 00000000 fedcba00 00000000 00000000 00000000 核心: 内核:ADMA 发送/接收/事件/命令/命令响应寄存器: 内核:ADMA 寄存器转储,偏移量从 0x10000 到 0x10068 内核:00100000 ffece0e0 00000000 c010ad64 00000000 00000000 00000000 00000000 内核:00000000 00000001 00000000 00000000 00000000 00000000 00000000 0000f002 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002 内核:80000948 00000000 00808c8c 内核:ADMA 寄存器转储,偏移量从 0x10800 到 0x10868 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000f000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002 内核:80000948 00000000 00808c8c 内核:ADMA 寄存器转储,偏移量从 0x10880 到 0x108e8 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002 内核:80000948 00000000 00000000 内核:ADMA 寄存器转储,偏移量从 0x11000 到 0x11068 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000f000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002 内核:80000948 00000000 00808c8c 内核:ADMA 寄存器转储,偏移量从 0x11080 到 0x110e8 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002 内核:80000948 00000000 00000000 内核:woal_request_fw 失败 内核:固件初始化失败 内核:配置空间寄存器: 内核:寄存器:0x00 值=0x2b431b4b 内核:寄存器:0x04 值=0x00100546 内核:寄存器:0x10 值=0x82d0000c 内核:寄存器:0x18 值=0x82e0000c 内核:寄存器:0x2c 值=0x2b431b4b 内核:寄存器:0x3c 值=0x000001ff 内核:寄存器:0x44 值=0x00000008 内核:寄存器:0x50 值=0x018b7005 内核:寄存器:0x60 值=0xfffffffe 内核:寄存器:0x64 值=0x00000000 内核:寄存器:0x80 值=0x10120042 内核:寄存器:0x98 值=0x00000000 内核:寄存器:0x170 值=0x0001001e 内核:固件擦除寄存器: 内核:寄存器:0x1c90 值=0xfedcba00 内核:寄存器:0x1c98 值=0x0 内核:寄存器:0x1c9c 值=0x0 内核:寄存器:0x1c98 值=0x0 内核:寄存器:0x1c9c 值=0x0 内核:从偏移量 0x1c98 到 0x1c9f 的接口寄存器转储 内核:PCIE 寄存器,偏移量从 0x1c20 到 0x1c9c: 内核:00000000 00000002 0000004f 00000000 ffffffff 00000002 00000000 00000000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 内核:ffece0e0 00000000 00000010 00000000 008047e3 c8701424 00000000 00000000 内核: 00000000 00000000 00000000 00000000 fedcba00 00000000 00000000 00000000 核心: 内核:ADMA 发送/接收/事件/命令/命令响应寄存器: 内核:ADMA 寄存器转储,偏移量从 0x10000 到 0x10068 内核:00100000 ffece0e0 00000000 c010ad64 00000000 00000000 00000000 00000000 内核:00000000 00000001 00000000 00000000 00000000 00000000 00000000 0000f002 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002 内核:80000948 00000000 00808c8c 内核:ADMA 寄存器转储,偏移量从 0x10800 到 0x10868 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000f000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002 内核:80000948 00000000 00808c8c 内核:ADMA 寄存器转储,偏移量从 0x10880 到 0x108e8 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002 内核:80000948 00000000 00000000 内核:ADMA 寄存器转储,偏移量从 0x11000 到 0x11068 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 0000f000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002 内核:80000948 00000000 00808c8c 内核:ADMA 寄存器转储,偏移量从 0x11080 到 0x110e8 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 内核: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000002 内核:80000948 00000000 00000000 内核:释放模块参数 这是已知的驱动程序/固件问题吗? 有什么办法可以解决这个问题吗? 如有其他需要提供的信息,请告知。 此致, 卡尔佩什 射频 Re: 88w9098: mwifiex driver in abnormal state when wpa_supplicant is used with Invalid password 您好, NXP技术支持团队, 请问您能否就上述问题提供反馈意见? 谢谢! 卡尔佩什 Re: 88w9098: mwifiex driver in abnormal state when wpa_supplicant is used with Invalid password 亲爱的@kbpanchal005 , 感谢您提供如此详细的信息。 请您执行以下测试,以帮助缩小问题范围? =============================================== 请将以下示例 BSSID 和频率设置替换为您的 AP 使用的实际 BSSID 和工作信道。 1. 单通道测试 --2.4G 国家=美国 更新配置=1 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev 网络={ scan_ssid=1 ssid="NXP-2.4G-SSID" bssid=e2:xx:xx:xx:c9:dc # 将其更改为您的 AP 的 2.4G MAC 地址。 psk="NXPWRONGPassword" key_mgmt=WPA-PSK 频率列表=2437 } --5G 国家=美国 更新配置=1 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev 网络={ scan_ssid=1 ssid="NXP-5G-SSID" bssid=12:xx:xx:xx:3c:5e # 将其更改为您的 AP 的 5G MAC 地址。 psk="NXPWRONGPassword" key_mgmt=WPA-PSK 频率列表=5180 } 2. 有限频道测试 --2.4G 国家=美国 更新配置=1 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev 网络={ scan_ssid=1 ssid="NXP-2.4G-SSID" bssid=e2:xx:xx:xx:c9:dc # 将其更改为您的 AP 的 2.4G MAC 地址。 psk="NXPWRONGPassword" key_mgmt=WPA-PSK 频率列表=2412 2437 2462 } --5G 国家=美国 更新配置=1 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev 网络={ scan_ssid=1 ssid="NXP-5G-SSID" bssid=12:xx:xx:xx:3c:5e # 将其更改为您的 AP 的 5G MAC 地址。 psk="NXPWRONGPassword" key_mgmt=WPA-PSK 频率列表=5180 5200 5220 5240 } 3. 扫描活动减少测试 --2.4G。 国家=美国 更新配置=1 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev 网络={ scan_ssid=1 ssid="NXP-2.4G-SSID" bssid=e2:xx:xx:xx:c9:dc # 将其更改为您的 AP 的 2.4G MAC 地址 psk="NXPWRONGPassword" key_mgmt=WPA-PSK 频率列表=2437 # 选项 A(推荐) # RSSI > -70 dBm:每 300 秒进行一次后台扫描 # RSSI <= -70 dBm:每 30 秒进行一次后台扫描 bgscan="simple:30:-70:300" # 选项 B # 完全禁用后台扫描 # 将上述行替换为: # bgscan="" } --5G 国家=美国 更新配置=1 ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev 网络={ scan_ssid=1 ssid="NXP-5G-SSID" bssid=12:xx:xx:xx:3c:5e # 将其更改为您的 AP 的 5G MAC 地址 psk="NXPWRONGPassword" key_mgmt=WPA-PSK 频率列表=5180 # 选项 A(推荐) # RSSI > -70 dBm:每 300 秒进行一次后台扫描 # RSSI <= -70 dBm:每 30 秒进行一次后台扫描 bgscan="simple:30:-70:300" # 选项 B # 完全禁用后台扫描 # 将上述行替换为: # bgscan="" } [笔记] 这些测试的目的是评估扫描活动是否会对问题重现产生任何影响。 测试 1 将扫描限制在单个通道内。 测试 2 允许跨多个通道进行扫描。 测试 3:进一步尝试使用 bgscan 配置来减少扫描活动。 请注意,bgscan 主要用于连接成功后的漫游场景。根据 wpa_supplicant 版本和平台集成情况的不同,其在身份验证失败场景中的有效性可能会有所不同。 在这些测试中,AP BSSID 和频率列表是故意固定的,以减少重现过程中 AP 选择和信道选择的变量。 =============================================== 谢谢! 顺祝商祺! 卫东
View full article
KITPF09FRDMPGM – Wrong Board Included? I ordered a KITPF09FRDMPGM. The delivery included the KITPF09FRDMPGM and a separate FRDM-KL25Z board. However, I don't think the two boards are compatible, or at least I don't see how they are supposed to be connected. For example, the J21 header on the FRDM-KL25Z is mechanically in the way. In addition, the pin headers required to plug the KITPF09FRDMPGM into the FRDM-KL25Z are missing. Could somone please confirm whether the correct board was included with the kit? Shouldn't it look similar to the board supplied with the KITPF7100FRDMPGM? PMIC for i.MX Re: KITPF09FRDMPGM – Wrong Board Included? Hello, The board included with the KITPF09FRDMPGM is the correct board. The KITPF09FRDMPGM and the FRDM-KL25Z are supplied as separate boards and are compatible when assembled as intended. The required pin headers are not included pre-installed and must be purchased separately and soldered onto the boards. Once the appropriate headers are installed, the boards can be connected correctly. I have tested the KITPF09FRDMPGM board without any problems, so the board itself is correct and functional. Hope this helps! Re: KITPF09FRDMPGM – Wrong Board Included? I’m still surprised that it’s supposed to fit. The outline is different, and connector J21 interferes with the board. Should I desolder it? Shouldn't the controller board look more like this?    Re: KITPF09FRDMPGM – Wrong Board Included? Okay, I’ve thought about it again. J21 is probably just a jumper and won't interfere with the top board if the pin headers are installed. I'll give it a try. Re: KITPF09FRDMPGM – Wrong Board Included? I have now soldered on the headers. However, nothing happens when I try to connect the kit using the NXP_GUI. I also found an old kit for the PF8100 with an older FRDM-KL25Z; that one is detected. What could be wrong? Re: KITPF09FRDMPGM – Wrong Board Included? Perhaps I bricked the firmware. Can you tell me if this the correct firmware: OpenSDA/PEMicro/2016-02-08/MSD-DEBUG-FRDM-KL25Z_Pemicro_v118.SDA at master · savoca/OpenSDA · GitHub ...or can you give me the link to the correct firmware? Re: KITPF09FRDMPGM – Wrong Board Included? Hello @ErikaC, as I am a colleague from d_j: Can you please check his question and provide us with information, which firmware is needed for this board? We both can not establish the connection as the "start" button is inactive. We both use Win11, not Win10 as suggested by the documentation. Thank you in advance. Best regards, Florian Re: KITPF09FRDMPGM – Wrong Board Included? @ErikaC can you continue with the support? Re: KITPF09FRDMPGM – Wrong Board Included? Hello @ErikaC, can you please give us any hint or ask other colleagues? Thank you in advance. Best regards, Florian Re: KITPF09FRDMPGM – Wrong Board Included? Hello @d_j @florian_arndt  Let me check and see if I can send you a video! Re: KITPF09FRDMPGM – Wrong Board Included? Please solder female headers onto the KL25 side. Re: KITPF09FRDMPGM – Wrong Board Included? Hello @d_j @florian_arndt  I don’t think a video is necessary at this point. First, please note that connector J21 does not interfere with the PF09 board. Second, please find attached the firmware for the PF09 board. I tested it on my side, and it is working correctly. Hope this helps! Best regards, Erika Re: KITPF09FRDMPGM – Wrong Board Included? Hi Erika, thank you for your answer! Here are my steps: 1. I've checked J21 and can confirm, there ist no contact to the upper board 2. I've downloaded your firmware file 2. I've pressed reset button and connected USB to the OpenSDA connector 3. I've copied the firmware file in the explorer drive BOOTLOADER 4. I've connected USB to KL25Z USB connector Unfortunately, the status in the NXP GUI still keeps switching between "NOT CONNECTED" and "DISCONNECTED," and the Start button remains grayed out.
View full article
i.MX8QM A53/A72 L1 缓存保护 你好, 请问i.MX8QM的Cortex-A53和Cortex-A72集群中实际实现了哪些L1缓存保护机制? i.MX8QM 参考手册似乎描述了其 L1 保护的不同方面:   CPU L1 指令缓存 L1 数据缓存 皮质-A53 第 11.1.2.1.2 条中没有明确规定保护措施。 §11.1.2.1.2指定 32 KB,带 SECDED Cortex-A72 §11.1.3.1 规定了 48 KB 带奇偶校验 第 11.1.3.1 条中没有明确规定保护措施。 我理解,未列出的功能描述并不一定意味着硬件缺少该功能。因此,我想确认一下完整的配置信息。 Arm TRM 提供了更多信息: Cortex-A53 r0p4:表 8-1 将 L1 指令缓存奇偶校验和 L1 数据缓存 ECC/奇偶校验放在同一个CPU_CACHE_PROTECTION实现选项下。L2CTLR_EL1[22]报告 CPU 缓存保护,尽管其值仅描述为“无 ECC”和“有 ECC”。 Cortex-A72 r0p1: L2CTLR_EL1[22]报告同时支持 L1 数据缓存 ECC 和 L1 指令缓存奇偶校验;位[21]控制已实现的 ECC/奇偶校验保护的启用。 请问您能否澄清一下: 对于每个集群,L1 指令缓存数据/标签 RAM 和 L1 数据缓存数据/标签 RAM 分别实施了哪些保护措施?具体而言: i.MX8QM A53 L1 指令缓存是否具有奇偶校验保护? i.MX8QM A72 L1 数据缓存 是否具有 ECC 保护? 谢谢! Re: i.MX8QM A53/A72 L1 cache protection 是的。i.MX8QM Cortex-A72 L1 指令缓存未实现奇偶校验,L1 数据缓存未实现 ECC。因此,L2CTLR_EL1[22]=0 是预期的硅行为,而不是勘误。 A72 的 L2 ECC 功能是独立的:观察到的值表示支持 L2 ECC,而启用则由 L2CTLR_EL1[21] 独立控制。 因此,应更正或澄清 IMX8QMRM §11.1.3.1。它声称 A72 L1 指令缓存具有奇偶校验保护,但这对于 i.MX8QM 而言并不成立;它似乎反映的是通用 Cortex-A72 TRM 中描述的可选的保护,而不是 i.MX8QM 的实际实现。 建议更正:“对于 i.MX8QM Cortex-A72 集群,未实现 L1 缓存奇偶校验/ECC;ECC 仅适用于共享的 L2 缓存。” Re: i.MX8QM A53/A72 L1 cache protection 谢谢你的解释。 根据Cortex-A72 技术参考手册 (TRM),L1 数据缓存 ECC 和 L1 指令缓存奇偶校验要么都受支持,要么都不受支持,如 L2CTLR_EL1[22] 所述。它们并未被描述为可独立选择的实现选项。 因此,如果 i.MX8QM 对 A72 集群使用仅 L2 保护配置,则意味着既不实现 L1 数据缓存 ECC,也不实现 L1 指令缓存 奇偶校验。 然而, IMX8QMRM §11.1.3.1 明确地将 A72 L1 指令缓存描述为具有奇偶校验保护。 请问 i.MX8QM A72 L1 指令缓存 是否真的具有奇偶校验保护功能,以及参考手册是否需要更正? Re: i.MX8QM A53/A72 L1 cache protection A53 L1 指令缓存奇偶校验:是 A72 L1 数据缓存 ECC:否 — i.MX8QM 对 A72 集群使用仅 L2 保护配置。
View full article
The version of the IPCF software package corresponding to the RTD package of S32G2 could not be foun When I was developing the multi-core communication for the S32G2, I found that I couldn't locate the version of the IPCF software package corresponding to the RTD package of the S32G2. The version of the M core RTD package of my S32G2 is SW32G_RTD_4.4_4.0.2_HF02. Could you provide me with the website address of the corresponding IPCF package version? Thank you. Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be This website refused my download due to export control. Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be Hi, Please try to this link:  Automotive Software Package Manager | NXP Semiconductors , and download it from GoldVIP SW package. BR Joey Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be Thank you for your reply. However, when I opened the download website of IPCF, I found that I couldn't access the "Previous" option. Moreover, I couldn't download anything within the vehicle software management tool. Could you please tell me how to solve this problem? Can I use IPCF 4.9.0 as a substitute? Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be Hi,qrsljx Thank you for contacting us. Refer to the GoldVIP-S32G3-1.12.0, you can use the IPCF version of 4.10.0 with the RTD 4.0.2 HF02. You can try to download the relevant Goldvip SW package by this link: Automotive Software Package Manager | NXP Semiconductors Or separately download the IPCF 4.10.0. BR Joey Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be Hi,qrsljx 1. Please log in to the website using your company's email and try to download. 2. Check if your colleague can download this software using their account. It might be an issue with the permissions of your account. BR Joey
View full article
S32G2のRTDパッケージに対応するIPCFソフトウェアパッケージのバージョンは、発信できませんでした S32G2のマルチコア通信を開発していた際、IPCFソフトウェアパッケージのRTDパッケージに対応するバージョンを見つけられませんでした。私のS32G2のMコアRTDパッケージのバージョンはSW32G_RTD_4.4_4.0.2_HF02です。対応するIPCFパッケージのウェブサイトアドレスを教えていただけますか?ありがとう。 Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be このウェブサイトは輸出規制のため、私のダウンロードを拒否しました。 Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be こんにちは、 こちらのリンクをお試しください。 自動車ソフトウェアパッケージマネージャー |NXP半導体 そしてGoldVIP SWパッケージからダウンロードしてください。 BR ジョーイ Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be お返事ありがとうございます。しかし、IPCFのダウンロードサイトを開くと、「以前に」オプションにアクセスできませんでした。さらに、車載ソフトウェアマネジメントツール内で何もダウンロードできませんでした。この問題をどう解決すればいいのか教えていただけますか?IPCF 4.9.0を代わりに使うことはできますか? Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be こんにちは、 qrsljx お問い合わせいただきありがとうございます。 GoldVIP-S32G3-1.12.0を参照してください。RTD 4.0.2と合わせてIPCFバージョン4.10.0を利用できますHF02。 このリンクから関連するGoldvip SWパッケージをダウンロードしてみてください: 自動車ソフトウェアパッケージマネージャー |NXP半導体 または、IPCF 4.10.0を別途ダウンロードしてください。 BR ジョーイ Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be こんにちは、 qrsljx 1. 会社のメールアドレスを使ってウェブサイトにログインし、ダウンロードを試みてください。 2. 同僚が自分のアカウントでこのソフトをダウンロードできるか確認してください。アカウントの権限設定に問題がある可能性があります。 BR ジョーイ
View full article
IMX95LPD5EVK-10でのECCテスト こんにちは、 EDACが正しく動作していることを確認するために、メモリにビットエラーを意図的に発生させたい。 local.confで以下のオプションを設定することにより、IMX95LPD5EVK-19ボードでECCを有効にしました。 UBOOT_CONFIG = "sd-ecc" カーネルログにはEDACメモリコントローラがあることが示されています: bash-5.3# dmesg | grep EDAC [ 1.082799] EDAC MC: Ver: 3.0.0 しかし、edac-utilプログラムの出力にはEDACメモリコントローラがないことが示されています: bash-5.3# edac-util -rfull edac-util: Error: No memory controller data found. EDACドライバを手動で読み込もうとしましたが、メモリコントローラーがまだ存在しないためうまくいきませんでした: bash-5.3# modprobe layerscape_edac_mod bash-5.3# edac-util --status edac-util: EDAC drivers loaded. No memory controllers found bash-5.3# ls /sys/devices/system/edac/mc/ power subsystem uevent メモリコントローラがないため、ECCで修正されたビットエラーの情報が得られないので、ECCが動作しているか確認する方法はありますか? ECCのシングルビットおよびマルチビットエラーインジェクションのテスト方法の例を示した記事を見つけましたが、例の.cファイルがコンパイルできなかったため、コンパイルできませんでした。コードにはDDRCのような定義されていない変数があり、コード内で参照されます:AN14438: ECC on i.MX 93/91/95/943/952/937およびそのSoC派生 |NXP半導体 // startAddr: desired SoC start address for error injection (ex. 0x80000000) // sbeOrMbe: 0 for single-bit error injection // sbeOrMbe: 1 for multi-bit (2-bit) error injection uint32_t run_data_err_inj_test(uint32_t startAddr, uint32_t sbeOrMbe) { // For ECC testing, ECC is applied on 64-bits volatile uint32_t *memSrc; volatile uint32_t addrOffset; uint32_t TEST_BYTE_CNT = 0U; uint32_t sbetOriginal; // variable for restoring SBE threshold as it gets // changed during testing uint32_t sbetForTest = 0x2U; // change SBET to low value for testing in // order to trigger on SBE detection uint32_t failCount = 0U; // Prior to running SBE testing, first need to set SBE threshold // By default it is 0 meaning an SBE will not trigger a status error // Save sbet and restore at end of testing sbetOriginal = ((DDRC->ERR_SBE) >> 16U) & 0xFFU; // set SBET to a low value to allow trigger of SBE error DDRC->ERR_SBE = (sbetForTest << 16); // Set test size to 1MB as it is the min protected size and to speed up // testing TEST_BYTE_CNT = 1024U * 1024U; // DDR memory map starting address memsrc=(uint32_t *)startAddr; // Clear (w1c) ERR_DETECT flags to keep test honest for next corrupted // ECC test DDRC->ERR_DETECT = 0xFFFFFFFFU; // INJECT SBE ECC ERROR // Write 1-bit to either DATA_ERR_INJECT_LO or DATA_ERR_INJECT_HI // Writing 1 to a bit in this field causes the corresponding // data-path bit to be inverted on memory bus writes DDRC->DATA_ERR_INJECT_LO = 0x00000001U; // for MBE, write 1-bit to the other DATA_ERR_INJECT register if (sbeOrMbe==1U) // MBE error injection { printf("Perform MBE test\n\r"); DDRC->DATA_ERR_INJECT_HI = 0x80000000U; } else // SBE error injection { printf("Perform SBE test\n\r"); printf(" SBE threshold: %d\n", sbetForTest); } // Configure ERR_INJECT for determining the number of errors to // inject and to enable error injection // Configure Number Of ECC Errors Injected, NUM_ECC_INJ. A few // options list below, uncomment to select: // BSET32(ERR_INJECT, 0x00001000); // NUM_ECC_INJ=1 (4 errors injected) // BSET32(ERR_INJECT, 0x00002000); // NUM_ECC_INJ=2 (8 errors injected) DDRC->ERR_INJECT |= 0x00002000U; // NUM_ECC_INJ=2 (8 errors injected) // Enable error injection, EIEN=1 DDRC->ERR_INJECT |= 0x00000100U; // set Error Injection Enable printf(" Number of errors to inject: %d\n", ((DDRC->ERR_INJECT) >> 12)*4); // Data Synchronization Barrier ensures the completion of memory accesses __DSB(); // Fill (write) memory with known data for injection testing, errors are // injected per above programming for (addrOffset = 0U; addrOffset < TEST_BYTE_CNT/4U; addrOffset++) { *(memSrc + addrOffset) = (uint32_t)(memSrc + addrOffset); } // Data Synchronization Barrier ensures the completion of memory accesses __DSB(); // Clear ERR_INJECT register (after writes are complete) to disable // all error inject features // Basically, write back the default value of this register DDRC->ERR_INJECT = 0x00000000U; // Data Synchronization Barrier ensures the completion of memory accesses __DSB(); // Now read the addr to trigger an ECC injection error if (sbeOrMbe == 1U) // MBE error injection { // Use the MTCR to trigger an MBE; this will not cause a data abort // exception. However, an AXI read will cause a data abort. Write // the MTCR register to use a read-only DRAM test // set MT_TYP=0x2 (only reads) DDRC->DDR_MTCR = 0x02000200U; // now set MT_EN to trigger MTCR reads DDRC->DDR_MTCR = 0x82000200U; // wait till MT_EN clears indicating read-test is complete while(((DDRC->DDR_MTCR) & 0x80000000U) == 0x80000000U); printf("- MTCR read-only test complete \n\r"); // Read ERR_DETECT to see if status ECC error status flag is set if (((DDRC->ERR_DETECT) & 0x8U) != 0x8U) { printf("**FAIL! Multi bit error test failed \n\r"); printf(" ERR_DETECT: 0x%08X\n\r", (DDRC->ERR_DETECT)); failCount++; } else { printf("- ERR_DETECT: 0x%08X \n\r", (DDRC->ERR_DETECT)); printf("Data error injection ECC MBE detect test passed! \n\r"); } } else { // Read memory to trigger an ECC error and verify data is corrected for (addrOffset = 0U; addrOffset < TEST_BYTE_CNT/4U; addrOffset++) { if (*(memSrc + addrOffset) != (uint32_t)(memSrc + addrOffset)) { printf("**FAIL! Memory read failed!\n\r"); printf(" data: 0x%x\n\r", *(memSrc + addrOffset)); failCount++; break; } } // Data Synchronization Barrier ensures the completion of memory // accesses __DSB(); if (failCount == 0U) { //printf(" Memory reads passed \n\r"); // uncomment for debug } // Read ERR_DETECT to see if status ECC error status flag is set if (((DDRC->ERR_DETECT) & 0x4U) != 0x4U) { printf("**FAIL! Single bit error test failed \n\r"); printf(" ERR_DETECT: 0x%08X\n\r", (DDRC->ERR_DETECT)); printf(" ERR_SBE: 0x%08X \n\r", (DDRC->ERR_SBE)); failCount++; } else { printf("- ERR_DETECT: 0x%08X \n\r", (DDRC->ERR_DETECT)); printf("Data error injection ECC SBE detect test passed! \n\r"); } } // Clear (w1c) ERR_DETECT flags to keep test honest for next corrupted // ECC DDRC->ERR_DETECT = 0x8000000DU; if ((DDRC->ERR_DETECT) != 0x0U) { printf("**FAIL! ERR_DETECT not properly cleared\n\r"); printf("ERR_DETECT=0x%08X\n\r", (DDRC->ERR_DETECT)); failCount++; } // Restore SBET to original value DDRC->ERR_SBE = (sbetOriginal << 16U); // Clear DATA_ERR_INJECT_LO and DATA_ERR_INJECT_HI DDRC->DATA_ERR_INJECT_LO = 0x00000000U; DDRC->DATA_ERR_INJECT_HI = 0x00000000U; // Perform write-only MTCR to write back corrected data to prevent // further MBEs DDRC->DDR_MTCR = 0x01000200U; // set MT_TYP=0x1 (only writes) DDRC->DDR_MTCR = 0x81000200U; // set MT_EN and MT_TYP=0x1 (only writes) // wait till MT_EN clears indicating read-test is complete while(((DDRC->DDR_MTCR) & 0x80000000U) == 0x80000000U); printf("- MTCR write-only test complete \n\r"); return failCount; } プログラムのコンパイルができるように欠けている変数の定義を誰か教えていただけるとありがたいです。また、ECCを検証する別の方法を教えていただけると助かります。 Re: Testing ECC on IMX95LPD5EVK-19 こんにちは、 @luislicea さん。 ECCのテストおよび検証機能に関して、DDR設定ツールはまだリリースされていません。 以下の記事は、i.MX 93のECC検証に関するもので、ECCのサンプルテストプログラムも含まれています。 https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-test-the-ECC-feature-on-the-i-MX93-EVK-board/ta-p/2131352 ただし、ソースコードはまだ公式に公開されていないため、お伝えできません。 B.R
View full article
对 IMX95LPD5EVK-19 进行 ECC 测试 您好, 我想在内存中引入位错误,以验证 EDAC 是否正常工作。 我在IMX95LPD5EVK-19 开发板上启用了 ECC,方法是在 local.conf 文件中设置以下选项: UBOOT_CONFIG = "sd-ecc" 内核日志显示存在 EDAC 内存控制器: bash-5.3# dmesg | grep EDAC [ 1.082799] EDAC MC: Ver: 3.0.0 然而,edac-util 程序的输出显示没有 EDAC 内存控制器: bash-5.3# edac-util -rfull edac-util: Error: No memory controller data found. 我尝试手动加载 EDAC 驱动程序,但由于内存控制器仍然缺失,所以加载失败: bash-5.3# modprobe layerscape_edac_mod bash-5.3# edac-util --status edac-util: EDAC drivers loaded. No memory controllers found bash-5.3# ls /sys/devices/system/edac/mc/ power subsystem uevent 由于没有内存控制器,我无法获取有关 ECC 纠正的位错误的信息,那么有什么方法可以验证 ECC 是否正常工作呢? 我找到一篇文章,其中给出了如何测试 ECC 单比特和多比特错误注入的示例,但我无法编译该示例,因为示例文件是 .c 格式。代码中存在未定义的变量,例如 DDRC,这些变量在代码中被引用: AN14438:i.MX 93/91/95/943/952/937 及其 SoC 衍生产品的 ECC | NXP 半导体 // startAddr: desired SoC start address for error injection (ex. 0x80000000) // sbeOrMbe: 0 for single-bit error injection // sbeOrMbe: 1 for multi-bit (2-bit) error injection uint32_t run_data_err_inj_test(uint32_t startAddr, uint32_t sbeOrMbe) { // For ECC testing, ECC is applied on 64-bits volatile uint32_t *memSrc; volatile uint32_t addrOffset; uint32_t TEST_BYTE_CNT = 0U; uint32_t sbetOriginal; // variable for restoring SBE threshold as it gets // changed during testing uint32_t sbetForTest = 0x2U; // change SBET to low value for testing in // order to trigger on SBE detection uint32_t failCount = 0U; // Prior to running SBE testing, first need to set SBE threshold // By default it is 0 meaning an SBE will not trigger a status error // Save sbet and restore at end of testing sbetOriginal = ((DDRC->ERR_SBE) >> 16U) & 0xFFU; // set SBET to a low value to allow trigger of SBE error DDRC->ERR_SBE = (sbetForTest << 16); // Set test size to 1MB as it is the min protected size and to speed up // testing TEST_BYTE_CNT = 1024U * 1024U; // DDR memory map starting address memsrc=(uint32_t *)startAddr; // Clear (w1c) ERR_DETECT flags to keep test honest for next corrupted // ECC test DDRC->ERR_DETECT = 0xFFFFFFFFU; // INJECT SBE ECC ERROR // Write 1-bit to either DATA_ERR_INJECT_LO or DATA_ERR_INJECT_HI // Writing 1 to a bit in this field causes the corresponding // data-path bit to be inverted on memory bus writes DDRC->DATA_ERR_INJECT_LO = 0x00000001U; // for MBE, write 1-bit to the other DATA_ERR_INJECT register if (sbeOrMbe==1U) // MBE error injection { printf("Perform MBE test\n\r"); DDRC->DATA_ERR_INJECT_HI = 0x80000000U; } else // SBE error injection { printf("Perform SBE test\n\r"); printf(" SBE threshold: %d\n", sbetForTest); } // Configure ERR_INJECT for determining the number of errors to // inject and to enable error injection // Configure Number Of ECC Errors Injected, NUM_ECC_INJ. A few // options list below, uncomment to select: // BSET32(ERR_INJECT, 0x00001000); // NUM_ECC_INJ=1 (4 errors injected) // BSET32(ERR_INJECT, 0x00002000); // NUM_ECC_INJ=2 (8 errors injected) DDRC->ERR_INJECT |= 0x00002000U; // NUM_ECC_INJ=2 (8 errors injected) // Enable error injection, EIEN=1 DDRC->ERR_INJECT |= 0x00000100U; // set Error Injection Enable printf(" Number of errors to inject: %d\n", ((DDRC->ERR_INJECT) >> 12)*4); // Data Synchronization Barrier ensures the completion of memory accesses __DSB(); // Fill (write) memory with known data for injection testing, errors are // injected per above programming for (addrOffset = 0U; addrOffset < TEST_BYTE_CNT/4U; addrOffset++) { *(memSrc + addrOffset) = (uint32_t)(memSrc + addrOffset); } // Data Synchronization Barrier ensures the completion of memory accesses __DSB(); // Clear ERR_INJECT register (after writes are complete) to disable // all error inject features // Basically, write back the default value of this register DDRC->ERR_INJECT = 0x00000000U; // Data Synchronization Barrier ensures the completion of memory accesses __DSB(); // Now read the addr to trigger an ECC injection error if (sbeOrMbe == 1U) // MBE error injection { // Use the MTCR to trigger an MBE; this will not cause a data abort // exception. However, an AXI read will cause a data abort. Write // the MTCR register to use a read-only DRAM test // set MT_TYP=0x2 (only reads) DDRC->DDR_MTCR = 0x02000200U; // now set MT_EN to trigger MTCR reads DDRC->DDR_MTCR = 0x82000200U; // wait till MT_EN clears indicating read-test is complete while(((DDRC->DDR_MTCR) & 0x80000000U) == 0x80000000U); printf("- MTCR read-only test complete \n\r"); // Read ERR_DETECT to see if status ECC error status flag is set if (((DDRC->ERR_DETECT) & 0x8U) != 0x8U) { printf("**FAIL! Multi bit error test failed \n\r"); printf(" ERR_DETECT: 0x%08X\n\r", (DDRC->ERR_DETECT)); failCount++; } else { printf("- ERR_DETECT: 0x%08X \n\r", (DDRC->ERR_DETECT)); printf("Data error injection ECC MBE detect test passed! \n\r"); } } else { // Read memory to trigger an ECC error and verify data is corrected for (addrOffset = 0U; addrOffset < TEST_BYTE_CNT/4U; addrOffset++) { if (*(memSrc + addrOffset) != (uint32_t)(memSrc + addrOffset)) { printf("**FAIL! Memory read failed!\n\r"); printf(" data: 0x%x\n\r", *(memSrc + addrOffset)); failCount++; break; } } // Data Synchronization Barrier ensures the completion of memory // accesses __DSB(); if (failCount == 0U) { //printf(" Memory reads passed \n\r"); // uncomment for debug } // Read ERR_DETECT to see if status ECC error status flag is set if (((DDRC->ERR_DETECT) & 0x4U) != 0x4U) { printf("**FAIL! Single bit error test failed \n\r"); printf(" ERR_DETECT: 0x%08X\n\r", (DDRC->ERR_DETECT)); printf(" ERR_SBE: 0x%08X \n\r", (DDRC->ERR_SBE)); failCount++; } else { printf("- ERR_DETECT: 0x%08X \n\r", (DDRC->ERR_DETECT)); printf("Data error injection ECC SBE detect test passed! \n\r"); } } // Clear (w1c) ERR_DETECT flags to keep test honest for next corrupted // ECC DDRC->ERR_DETECT = 0x8000000DU; if ((DDRC->ERR_DETECT) != 0x0U) { printf("**FAIL! ERR_DETECT not properly cleared\n\r"); printf("ERR_DETECT=0x%08X\n\r", (DDRC->ERR_DETECT)); failCount++; } // Restore SBET to original value DDRC->ERR_SBE = (sbetOriginal << 16U); // Clear DATA_ERR_INJECT_LO and DATA_ERR_INJECT_HI DDRC->DATA_ERR_INJECT_LO = 0x00000000U; DDRC->DATA_ERR_INJECT_HI = 0x00000000U; // Perform write-only MTCR to write back corrected data to prevent // further MBEs DDRC->DDR_MTCR = 0x01000200U; // set MT_TYP=0x1 (only writes) DDRC->DDR_MTCR = 0x81000200U; // set MT_EN and MT_TYP=0x1 (only writes) // wait till MT_EN clears indicating read-test is complete while(((DDRC->DDR_MTCR) & 0x80000000U) == 0x80000000U); printf("- MTCR write-only test complete \n\r"); return failCount; } 如果有人能帮我定义缺失的变量以便我编译程序,或者给我提供另一种验证 ECC 的方法,我将不胜感激。 Re: Testing ECC on IMX95LPD5EVK-19 嗨@luislicea 关于ECC的测试和验证功能,DDR配置工具尚未发布。 您可以参考我下面关于 i.MX 93 的 ECC 验证的文章,其中包含 ECC 的示例测试程序。 https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-test-the-ECC-feature-on-the-i-MX93-EVK-board/ta-p/2131352 但是,我无法向您提供源代码,因为它尚未正式版本。 B.R
View full article
Testing ECC on IMX95LPD5EVK-19 Hi, I would like to introduce bit errors into memory to verify EDAC is working. I  enabled ECC on the IMX95LPD5EVK-19 board by setting the following option in local.conf: UBOOT_CONFIG = "sd-ecc" The kernel log shows there is an EDAC memory controller:  bash-5.3# dmesg | grep EDAC [ 1.082799] EDAC MC: Ver: 3.0.0 However, the output of the edac-util programs says there is no EDAC memory controller: bash-5.3# edac-util -rfull edac-util: Error: No memory controller data found. I tried to manually load the EDAC driver, but it didn't work because the memory controller is still missing: bash-5.3# modprobe layerscape_edac_mod bash-5.3# edac-util --status edac-util: EDAC drivers loaded. No memory controllers found bash-5.3# ls /sys/devices/system/edac/mc/ power subsystem uevent Since there is no memory controller, I can't get information about bit errors corrected by ECC, so is there a way to verify that ECC is working? I found an article that gives an example on how to test ECC single-bit and multi-bit error injection, but I couldn't compile the example because the example .c code has undefined variables, such as DDRC, that get referenced in the code: AN14438: ECC on i.MX 93/91/95/943/952/937 and their SoC derivatives | NXP Semiconductors // startAddr: desired SoC start address for error injection (ex. 0x80000000) // sbeOrMbe: 0 for single-bit error injection // sbeOrMbe: 1 for multi-bit (2-bit) error injection uint32_t run_data_err_inj_test(uint32_t startAddr, uint32_t sbeOrMbe) { // For ECC testing, ECC is applied on 64-bits volatile uint32_t *memSrc; volatile uint32_t addrOffset; uint32_t TEST_BYTE_CNT = 0U; uint32_t sbetOriginal; // variable for restoring SBE threshold as it gets // changed during testing uint32_t sbetForTest = 0x2U; // change SBET to low value for testing in // order to trigger on SBE detection uint32_t failCount = 0U; // Prior to running SBE testing, first need to set SBE threshold // By default it is 0 meaning an SBE will not trigger a status error // Save sbet and restore at end of testing sbetOriginal = ((DDRC->ERR_SBE) >> 16U) & 0xFFU; // set SBET to a low value to allow trigger of SBE error DDRC->ERR_SBE = (sbetForTest << 16); // Set test size to 1MB as it is the min protected size and to speed up // testing TEST_BYTE_CNT = 1024U * 1024U; // DDR memory map starting address memsrc=(uint32_t *)startAddr; // Clear (w1c) ERR_DETECT flags to keep test honest for next corrupted // ECC test DDRC->ERR_DETECT = 0xFFFFFFFFU; // INJECT SBE ECC ERROR // Write 1-bit to either DATA_ERR_INJECT_LO or DATA_ERR_INJECT_HI // Writing 1 to a bit in this field causes the corresponding // data-path bit to be inverted on memory bus writes DDRC->DATA_ERR_INJECT_LO = 0x00000001U; // for MBE, write 1-bit to the other DATA_ERR_INJECT register if (sbeOrMbe==1U) // MBE error injection { printf("Perform MBE test\n\r"); DDRC->DATA_ERR_INJECT_HI = 0x80000000U; } else // SBE error injection { printf("Perform SBE test\n\r"); printf(" SBE threshold: %d\n", sbetForTest); } // Configure ERR_INJECT for determining the number of errors to // inject and to enable error injection // Configure Number Of ECC Errors Injected, NUM_ECC_INJ. A few // options list below, uncomment to select: // BSET32(ERR_INJECT, 0x00001000); // NUM_ECC_INJ=1 (4 errors injected) // BSET32(ERR_INJECT, 0x00002000); // NUM_ECC_INJ=2 (8 errors injected) DDRC->ERR_INJECT |= 0x00002000U; // NUM_ECC_INJ=2 (8 errors injected) // Enable error injection, EIEN=1 DDRC->ERR_INJECT |= 0x00000100U; // set Error Injection Enable printf(" Number of errors to inject: %d\n", ((DDRC->ERR_INJECT) >> 12)*4); // Data Synchronization Barrier ensures the completion of memory accesses __DSB(); // Fill (write) memory with known data for injection testing, errors are // injected per above programming for (addrOffset = 0U; addrOffset < TEST_BYTE_CNT/4U; addrOffset++) { *(memSrc + addrOffset) = (uint32_t)(memSrc + addrOffset); } // Data Synchronization Barrier ensures the completion of memory accesses __DSB(); // Clear ERR_INJECT register (after writes are complete) to disable // all error inject features // Basically, write back the default value of this register DDRC->ERR_INJECT = 0x00000000U; // Data Synchronization Barrier ensures the completion of memory accesses __DSB(); // Now read the addr to trigger an ECC injection error if (sbeOrMbe == 1U) // MBE error injection { // Use the MTCR to trigger an MBE; this will not cause a data abort // exception. However, an AXI read will cause a data abort. Write // the MTCR register to use a read-only DRAM test // set MT_TYP=0x2 (only reads) DDRC->DDR_MTCR = 0x02000200U; // now set MT_EN to trigger MTCR reads DDRC->DDR_MTCR = 0x82000200U; // wait till MT_EN clears indicating read-test is complete while(((DDRC->DDR_MTCR) & 0x80000000U) == 0x80000000U); printf("- MTCR read-only test complete \n\r"); // Read ERR_DETECT to see if status ECC error status flag is set if (((DDRC->ERR_DETECT) & 0x8U) != 0x8U) { printf("**FAIL! Multi bit error test failed \n\r"); printf(" ERR_DETECT: 0x%08X\n\r", (DDRC->ERR_DETECT)); failCount++; } else { printf("- ERR_DETECT: 0x%08X \n\r", (DDRC->ERR_DETECT)); printf("Data error injection ECC MBE detect test passed! \n\r"); } } else { // Read memory to trigger an ECC error and verify data is corrected for (addrOffset = 0U; addrOffset < TEST_BYTE_CNT/4U; addrOffset++) { if (*(memSrc + addrOffset) != (uint32_t)(memSrc + addrOffset)) { printf("**FAIL! Memory read failed!\n\r"); printf(" data: 0x%x\n\r", *(memSrc + addrOffset)); failCount++; break; } } // Data Synchronization Barrier ensures the completion of memory // accesses __DSB(); if (failCount == 0U) { //printf(" Memory reads passed \n\r"); // uncomment for debug } // Read ERR_DETECT to see if status ECC error status flag is set if (((DDRC->ERR_DETECT) & 0x4U) != 0x4U) { printf("**FAIL! Single bit error test failed \n\r"); printf(" ERR_DETECT: 0x%08X\n\r", (DDRC->ERR_DETECT)); printf(" ERR_SBE: 0x%08X \n\r", (DDRC->ERR_SBE)); failCount++; } else { printf("- ERR_DETECT: 0x%08X \n\r", (DDRC->ERR_DETECT)); printf("Data error injection ECC SBE detect test passed! \n\r"); } } // Clear (w1c) ERR_DETECT flags to keep test honest for next corrupted // ECC DDRC->ERR_DETECT = 0x8000000DU; if ((DDRC->ERR_DETECT) != 0x0U) { printf("**FAIL! ERR_DETECT not properly cleared\n\r"); printf("ERR_DETECT=0x%08X\n\r", (DDRC->ERR_DETECT)); failCount++; } // Restore SBET to original value DDRC->ERR_SBE = (sbetOriginal << 16U); // Clear DATA_ERR_INJECT_LO and DATA_ERR_INJECT_HI DDRC->DATA_ERR_INJECT_LO = 0x00000000U; DDRC->DATA_ERR_INJECT_HI = 0x00000000U; // Perform write-only MTCR to write back corrected data to prevent // further MBEs DDRC->DDR_MTCR = 0x01000200U; // set MT_TYP=0x1 (only writes) DDRC->DDR_MTCR = 0x81000200U; // set MT_EN and MT_TYP=0x1 (only writes) // wait till MT_EN clears indicating read-test is complete while(((DDRC->DDR_MTCR) & 0x80000000U) == 0x80000000U); printf("- MTCR write-only test complete \n\r"); return failCount; } I would appreciate it if someone could help me define the missing variables so I can compile the program, or give me a different method for verifying ECC. Re: Testing ECC on IMX95LPD5EVK-19 Hi @luislicea  Regarding the test and verification functionality for ECC, the DDR Config tool has not yet been released.  You can refer to my article below on ECC verification for the i.MX 93, which includes a sample test program for ECC. https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-test-the-ECC-feature-on-the-i-MX93-EVK-board/ta-p/2131352 However, I cannot provide you with the source code, as it has not yet been officially released. B.R
View full article
找不到与S32G2的RTD软件包对应的IPCF软件包版本。 在为 S32G2 开发多核通信时,我发现找不到与 S32G2 的 RTD 软件包对应的 IPCF 软件包版本。我的 S32G2 的 M 核心 RTD 软件包版本为 SW32G_RTD_4.4_4.0.2_HF02。请问能否提供对应 IPCF 软件包版本的网站地址?谢谢。 Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be 由于出口管制,该网站拒绝了我的下载请求。 Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be 您好, 请尝试点击此链接: 汽车软件软件包管理器 | 恩智浦半导体 并从 GoldVIP 软件套装中下载。 BR 乔伊 Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be 感谢你的回复。但是,当我打开 IPCF 的下载网站时,我发现我无法访问“上一页”选项。此外,我无法在车辆软件管理工具中下载任何内容。请问如何解决这个问题?我可以使用 IPCF 4.9.0 作为替代方案吗? Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be 你好, qrsljx 感谢您与我们联系。 请参考 GoldVIP- S32G3-1.12.0 ,您可以将 IPCF 版本 4.10.0 与 RTD 4.0.2 配合使用。HF02。 您可以尝试通过此链接下载相关的 Goldvip 软件软件包: 汽车软件软件包管理器 | 恩智浦半导体 或者单独下载 IPCF 4.10.0。 BR 乔伊 Re: The version of the IPCF software package corresponding to the RTD package of S32G2 could not be 你好, qrsljx 1. 请使用贵公司邮箱登录网站并尝试下载。 2. 检查你的同事是否可以使用他们的帐户下载此软件。这可能是您的账户权限问题。 BR 乔伊
View full article
AB_SWAPモードでのHSE_bファームウェアのインストールに関するその他の質問 前のスレッドの続きですが、まだ答えのない質問がいくつかあります。 正しいファームウェアバイナリを入手できましたか?私たちはデモアプリのバイナリ(バージョン0.2.50.0)を使用しています。同じソースのFULL_MEMファームウェアは問題なく動作し、IVTとMUインターフェースの両方の方法でインストールできました。MD5ダイジェストは以下のとおりです。 MD5 (s32k3x6_hse_fw_1.15.0_2.50.0_pb241126.bin.pink)= cd85d261edf3b8c6afe23348bc734ad2  HSEファームウェアのインストール方法として、以前にHSEファームウェアがインストールされていなかったユニットに初回インストールする場合にはどのような方法が適用されますか? MUインターフェースとIVTによるファームウェアインストールを試みたところ、JTAGでユニットが応答しなくなりました。 他に何も設定されていない場合、HSEはJTAGリカバリーモードに移行するのでしょうか、それとも明示的に設定する必要があるのでしょうか? JTAGリカバリーモードになっている場合、JLinkユニットを使用して接続するにはどうすればよいでしょうか? ダウンロードしたソフトウェアからファームウェアをインストールする方法のさらなる例はありますか?デモアプリには.cmmファイルしか含まれていません。また、Lauterbachデバッガを本番環境で使えるかどうかも分かりません。 Re: Further questions regarding HSE_b firmware install in AB_SWAP mode こんにちは、 @Emma_G-gbgさん 同僚のデイビッドは現在不在なので、質問にお答えさせてください。 1. はい、ピンクファイルで有効なMD5です。 2. すべての方法が使え、制限はありません。 3. デバイスがリカバリーモードに移行するのは、次の場合です。 - IVTが存在しないか、破損しています。 - 連続して8回以上の機能リセットまたは破壊リセットが行われた。 - アプリケーションイメージのセキュアブート認証に失敗。 リカバリーモードはデフォルトで有効になっています。有効なIVTが存在しない場合、デバイスはリカバリーモードに移行します。 デバイスがJTAGリカバリモードにある場合、デバッガーを接続することに問題はないはずです。実際、リカバリーモードが実装されているのはまさにこのため、つまりデバッガーを簡単に接続できるようにするためです。 4. こちらの投稿をご覧ください。 https://community.nxp.com/t5/S32K/HSE-Firmware-install-in-S32k322-microcontroller/mp/2416136/highlight/true#M61185 よろしくお願いいたします。 ルーカス Re: Further questions regarding HSE_b firmware install in AB_SWAP mode よろしくお願いします。 もう一つ質問があります。SBAFのファームウェアバージョンがAB_SWAPファームウェアのインストールに影響する可能性はありますか?もしそうなら、どのユニットが古いファームウェアで出荷されたかご存知ですか? Re: Further questions regarding HSE_b firmware install in AB_SWAP mode S32K396は他のS32K3デバイスよりも後に発売されたため、古いSBAFバージョンについては問題ありません。SBAF 0.15.0または0.16.4のいずれかになります。どちらもHSE FW 0.2.50.0と互換性があります。 Re: Further questions regarding HSE_b firmware install in AB_SWAP mode リリースノートの解釈が正しければ、バージョン0.16.4と0.15.0は、それぞれバージョンマーカー00 0F 00 00 00 10 04 01と00 0F 00 00 00 0F 00 07に対応するはずです。現在テスト中のユニット(他の故障したユニットについては確認していません)のバージョンマーカーは00 0F 00 00 00 0B 00 02です。 ハードウェアパートナーがS32K396が正式にリリースされる前にいくつかのユニットを組み立てていたと聞いていますが、もっと早いSBAFファームウェアを入手できた可能性はありますか? Re: Further questions regarding HSE_b firmware install in AB_SWAP mode ありがとうございます!おかげさまで、ついにAB_SWAPファームウェアをインストールできました! 私はまさにこの回避策を使いました。オフィスにあるすべてのユニットはおそらく同じプロトタイプバッチのCPUを搭載しているため、私たちにとっては有効な手段です。 Re: Further questions regarding HSE_b firmware install in AB_SWAP mode SBAFバージョン00 0F 00 00 00 00 0B 00 02のMCUは非常に古いデバイスのように見えます。これは量産品ではなく、初期の試作品の一つです。最初に公開されたEARバージョン0.2.7.0のHSE FWリリースノートに、関連する注記を見つけることができました。 デバイスが多ければ、前述の回避策を使えます。ただし、これは試作版のデバイスであるため、より新しいSBAFバージョンを搭載した製品版デバイスを使用することをお勧めします。部品番号を確認してデバイスの状態を確認することもできます。以下のご注文情報に示すように、最初の文字は製品の状態を示します。「P」は試作機を示し、「S」は適格な注文部品番号を示します。
View full article
Further questions regarding HSE_b firmware install in AB_SWAP mode Following up from previous thread, I have a number of unanswered questions. Do we have the correct firmware binary? We are using the binary from the demo app (version 0.2.50.0). The FULL_MEM firmware from the same source works without any issues, and we were able to install it using both IVT and MU interface methods. MD5 digest is as follows: MD5 (s32k3x6_hse_fw_1.15.0_2.50.0_pb241126.bin.pink) = cd85d261edf3b8c6afe23348bc734ad2  Which methods of installing HSE firmware are applicable for initial install on a unit that did not previously have any HSE firmare installed? After attempting firmware install by MU interface and IVT, the units became unresponsive on JTAG. Will the HSE go into JTAG recovery mode if nothing else has been configured, or do we need to set this up explicitly? If it is in JTAG recovery mode, how would we go about connecting to it using a JLink unit? Are there further examples of how to install firmware from a downloaded software? The demo app only has a .cmm-file, and I'm not sure if we can use a Lauterbach debugger in production. Re: Further questions regarding HSE_b firmware install in AB_SWAP mode Hi @Emma_G-gbg  My colleague David is out of office now, so let me answer the questions. 1. Yes, that’s correct pink file and valid MD5. 2. All methods can be used, there’s no limitation. 3. The devices goes to recovery mode when: - IVT is not present or corrupted. - There are more than 8 consecutive functional or destructive resets. - Secure boot authentication of application image failed. Recovery mode is enabled by default. If there’s no valid IVT, the device will go to recovery mode. There should be no problem to connect a debugger when the device is in JTAG recovery mode. Actually, this is exactly the reason why recovery mode is implemented – to be able to easily connect a debugger. 4. Please take a look at this post: https://community.nxp.com/t5/S32K/HSE-Firmware-install-in-S32k322-microcontroller/m-p/2416136/highlight/true#M61185 Regards, Lukas Re: Further questions regarding HSE_b firmware install in AB_SWAP mode Thank you. I have another question: Could the SBAF firmware version affect our ability to install an AB_SWAP firmware? And if so, do you know which units were shipped with an older firmware? Re: Further questions regarding HSE_b firmware install in AB_SWAP mode Since the S32K396 was released later than some other S32K3 devices, older SBAF versions are not a concern. It will have either SBAF 0.15.0 or 0.16.4, both of which are compatible with HSE FW 0.2.50.0. Re: Further questions regarding HSE_b firmware install in AB_SWAP mode The MCU with SBAF version 00 0F 00 00 00 0B 00 02 appears to be a very old device. This is not a production device, but rather one of the early prototypes. I was able to find a related note in the HSE FW Release Notes for the first published EAR version 0.2.7.0: If you have more devices, you can use mentioned workaround. However, since this is a prototype version of the device, I would still recommend using a production device, which will have a newer SBAF version. You can also check the part number to confirm the device status. As shown in the ordering information below, the first character indicates the product status: “P” identifies a prototype device, while “S” identifies a qualified ordering part number: Re: Further questions regarding HSE_b firmware install in AB_SWAP mode Thank you, I was able to finally install an AB_SWAP firmware! I used exactly this workaround, it's worthwhile to us because all the units we have at the office are likely to have CPUs from the same prototype batch. Re: Further questions regarding HSE_b firmware install in AB_SWAP mode If my reading of the release notes are correct, version 0.16.4 and 0.15.0 should correspond to version markers 00 0F 00 00 00 10 04 01 and 00 0F 00 00 00 0F 00 07 respectively. The unit I'm testing at the moment (we did not think to check on the other ones we've bricked) has version marker 00 0F 00 00 00 0B 00 02 I know our hardware partner assembled some units before the S32K396 was officially released, could we have gotten a much earlier SBAF firmware?
View full article
S32K314 は 0x00588210 への書き込みに失敗しました こんにちは、 アドレス0x00588210にデータを書き込もうとしたところ、書き込み操作が失敗しました。このとき、MCRSレジスタは0x00008100という値を返しました。このアドレスより前の領域への書き込みは問題なく動作し、0x00588210を含むセクタの消去も問題なく動作しました。 問題の原因を特定する方法を知りたい。 回复: S32K314在写入0x00588210处失败 別のプログラマを使用してPFLASH全体を0xFFに復元した後、以前書き込みに失敗したセクタは消去して書き直すことができます。しかし、その他のランダムなセクタは消去できません。消去処理に問題があるのでしょうか? -ドメインIDを確認する - erase_addr を PFCPGM_PEADR_L レジスタに書き込みます (アドレスは 0x00580000 から 0x00588210 です)。 -PROGRAM_DATAに0xFFFFFFFFを書き込みます -MSR[ERS]を0b1に設定します -set theMSR[EHV] to 0b1 -MCRS[DONE]を読み取り、1に設定されるまで処理を続行します(消去完了後、アドレス0x00580000のMCRS値は0x0000C100になります)。 - MCRSエラービットを確認してください -クリアMCRS[EHV] -MCRS[ERS]をクリアする 回复: S32K314在写入0x00588210处失败 障害が発生する前に、一度はデータの書き込みに成功しました。2回目の書き込み失敗の原因は消去失敗でした。私の説明は十分正確ではありませんでした。2回目の書き込みが失敗したのは、0x00588210 にあるセクタが正しく識別されなかったためです。0x00400000 から PFLASH の末尾まで、予約バイトをスキップして、毎回 128 バイトずつ書き込みました。毎回、バッファリングなしで SWD デバッグを介してプログラム データを直接書き込みました。C40 API を呼び出して RTD バージョンを確認するにはどうすればよいでしょうか? 書き込みプロセス全体は自分でシミュレートしました。フラッシュ メモリ アルゴリズムは使用しておらず、ログもありません。 回复: S32K314在写入0x00588210处失败 我々が理解している限りでは、フラッシュ書き込み操作がアドレス0x00588210で失敗しています。このアドレスは、S32K314のプログラムフラッシュメモリの範囲内です。 アドレスは32バイトのフラッシュページの16バイト目に位置するため、書き込み長によってはページ境界を越える可能性があります。書き込み長、ソースバッファアドレス、正確なC40 API戻り値、およびRTDバージョンをお知らせください。 書き込み前に、対応するフラッシュセクターが消去されていることを確認してください。外部デバッガ/プログラマが使用されている場合は、プログラミングログと選択されたフラッシュアルゴリズムを提供してください。 回复: S32K314在写入0x00588210处失败 物理的なフラッシュメモリの故障ではないことを確認しました。 1. チップはS32K314HVS1P55ACTAZ2234Bです。 2. 問題がないかどうかを確認するために、私自身のSWDデバッグプロセスをテストしています。 3. いくつかの理由により、具体的なタイミングの順序を示すことはできません。一般的なプロセスのみをお伝えできます。 a. セクター保護を解除する b. PFLASHの対応するセクターを消去します -ドメインIDを確認する - erase_addr を PFCPGM_PEADR_L レジスタに書き込みます (アドレスは 0x00580000 から 0x00588210 です)。 -PROGRAM_DATAに0xFFFFFFFFを書き込みます -MSR[ERS]を0b1に設定します -set theMSR[EHV] to 0b1 -MCRS[DONE]を読み取り、1に設定されるまで処理を続行します(消去完了後、アドレス0x00580000のMCRS値は0x0000C100になります)。 - MCRSエラービットを確認してください -クリアMCRS[EHV] -MCRS[ERS]をクリアする 私の消去手順に何か問題がありますか? 4. 消去後、0x00588210 の値は 0xF1 であり、これは以前にテストして書き込んだ値です。 5. 他のデバッガーを使用して内容が検証済みです。 6. このアドレスより前のセクターは正常に消去できることが確認できます。 7. すべての操作は、私がSWDを介してレジスタを直接操作することによって実行されました。 8. デバイスにはAB SWAPファームウェアがプログラムされ、書き込まれています。 回复: S32K314在写入0x00588210处失败 我々が理解している限りでは、プログラミングはアドレス0x00588210で失敗します。このアドレスを含むセクターの消去は完了するが、消去後、そのセクターには0xFFだけが含まれているようには見えない。したがって、物理的なフラッシュ障害が疑われ、実際の原因を特定したいと考えている。この理解が正しいかどうか確認してください。 提供された情報だけでは、これが物理的なフラッシュメモリの問題かどうかを判断するには不十分です。以下をご提供ください: S32K314の部品番号とマスクセット一式。 ソフトウェアパッケージとフラッシュドライバーのバージョンが使われています。 消去および書き込みの正確な手順(コマンドと影響を受けるアドレス範囲を含む)。 各操作の前後における、関連するステータスフラグを事前にクリアした後の、完全なMCRS値。 消去後に0xFF以外の値となる正確なアドレスと値。 消去されたコンテンツがどのように検証されるか、例えばCPU読み取り、デバッガー、ブランクチェック、ドライバー検証などです。 フラッシュルーチンがRAMから実行されるかどうか、また操作中にターゲットのフラッシュブロックへの割り込みやその他のアクセスが無効化されるかどうかも判断されます。 使用したデバッガ/プログラマーと、完全なプログラミングログ。 問題が常に同じアドレスで再現されるか、また複数のデバイスで発生するか。 そのデバイスが以前にHSEファームウェアでプログラム、保護、または構成されていたかどうか。 原因としては、誤ったフラッシュ操作順序、未クリアのステータスフラグ、動作中のターゲットフラッシュブロックへのアクセス、ECC関連の読み取りや検証の問題、または実際の物理的なフラッシュ故障などがあります。 まず最初の比較として、サポートされているデバッガのフラッシュアルゴリズムを使用して、該当領域を消去およびプログラムしてください。同一デバイス上で消去が正常に完了した後も、同じ場所で繰り返しエラーが発生する場合は、発生したログとメモリダンプを提供してください。 回复: S32K314在写入0x00588210处失败 消去後、このセクターのデータが0xFFではなくなっていることに気づきましたが、消去処理の最後にMCRSは0x0000C100を返しました。これは物理的な不良セクターでしょうか?
View full article
FS2643D at a regulated 24.0 V for 24/7, 10+ year operation? Following the thread “Suitable SBC for S32K3 with 24V supply”: we design an S32K376 + FS26 controller for stationary battery storage that runs 24/7 for 10+ years (~87,600 h). The FS26 is supplied from a regulated DIN-rail PSU set to 24.0 V (never above), with a cabinet temperature ≤ 40 °C (Tj ≈ 80 °C max). Is the MFS2643HMDA0AD (FS2643D) within the FS26 mission profile for this duty, or does the FS85/FS86 recommendation apply even at a regulated 24.0 V? If not: is an FS2633D behind a 24 → 12 V pre-regulator suitable for the same profile, or would you recommend the MC33FS8510DR for S32K3 at 24 V? Thank you! Re: FS2643D at a regulated 24.0 V for 24/7, 10+ year operation? Hi Jonas Thanks for your interest in NXP products. 1: FS26 is not designed for 24V system directly, you can see below picture from FS26 safety manual, it's originally used for 12V automotive application. You can refer to below mission profile for FS26: Yes,FS85/FS86 recommendation apply  at a regulated 24.0 V, also FS27 is recommend. 2:is an FS2633D behind a 24 → 12 V pre-regulator suitable for the same profile, or would you recommend the MC33FS8510DR for S32K3 at 24 V? [gw]Yes, front pre regulator can be used in 24V system together with FS26,also as similar answer with questions1 FS85/FS27 can be recommend in 24V application. Re: FS2643D at a regulated 24.0 V for 24/7, 10+ year operation? Thank you so much for the response.  I add a 24 VDC --> 12 VDC converter in a similar way as you have implemented it on the SCH-91654.pdf   I probbably have 1-2 months left of work within schematics and placment/Routing but as I understand it I must use a 3rd party to verify it and help with firmware.  What is the best process to start with that part in parallel to my work and maybe get a couple of 8h days of EE inspection during my process to minimize the risk of a larger error that could have been stopped earlier on?  I'm living and working in NYC on Green card but the main market for will be Sweden and Norway.  Thank you.  Re: FS2643D at a regulated 24.0 V for 24/7, 10+ year operation? I think it would be helpful to share with the software engineer the SPI communication mechanism, as well as the usage of FCCU, FS0B, FS1B, and RSTB. Basically, the key point is to explain how the functional safety signals are connected and interact with the MCU, and how the corresponding functional safety logic should be implemented on the MCU side.
View full article
KW47: Is it necessary to wait for gAdvertisingStateChanged_c before calling Gap_StartAdvertising? Hello, I am implementing advertising control on the KW47. To stop advertising, I use Gap_StopAdvertising(). However, there are cases where I would like to start advertising again before receiving the gAdvertisingStateChanged_c event after issuing the stop request. In this situation, is it safe to call Gap_StartAdvertising() while the Gap_StopAdvertising() operation is still in progress? Specifically, which of the following sequences is recommended? --- Gap_StopAdvertising() ↓ Wait for gAdvertisingStateChanged_c ↓ Gap_StartAdvertising() ---- or --- Gap_StopAdvertising() ↓ Gap_StartAdvertising() --- Does the SDK handle the state transition internally, or is it necessary to wait for the gAdvertisingStateChanged_c event that indicates advertising has stopped before calling Gap_StartAdvertising()? Thank you for your support. Best regards. Protocol: Bluetooth Re: KW47: Is it necessary to wait for gAdvertisingStateChanged_c before calling Gap_StartAdvertising Hello @hyama, Could you provide a more context on the scenario where you would like to restart advertising before receiving the gAdvertisingStateChanged_c event? The recommended approach is to wait for the gAdvertisingStateChanged_c event to verify that the advertising state transition has completed successfully. While Gap_StopAdvertising() initiates the procedure, the callback confirms the result of the operation. For example, instead of receiving a gAdvertisingStateChanged_c event, the application may receive a gAdvertisingCommandFailed_c event indicating that the requested operation could not be completed. BR Habib Re: KW47: Is it necessary to wait for gAdvertisingStateChanged_c before calling Gap_StartAdvertising Thank you for the clarification. We asked this question because we expected the SDK might internally handle the stop and start requests in sequence, even if Gap_StartAdvertising() was called before receiving the gAdvertisingStateChanged_c event. Since waiting for the gAdvertisingStateChanged_c event is the recommended approach, we will modify our implementation accordingly. Thank you for your support.
View full article
NXP layoffs? Apparently a lot of people were laid off yesterday and more layoffs are coming this week and next. Anyone know anything about this? Re: NXP layoffs? Hello, We appreciate you reaching out through the NXP Community. Questions regarding NXP's workforce, organizational changes or employment matters are outside the scope of technical product support and cannot be addressed through this channel. For accurate and official information about NXP, we encourage you to refer to NXP's official corporate communications, investor relations announcements or press releases available at nxp.com. NXP employees may direct HR-related inquiries through their internal HR channels. BRs, Tomas
View full article
关于在 AB_SWAP 模式下安装 HSE_b 固件的更多问题 承接之前的帖子,我还有一些问题没有得到解答。 我们是否拥有正确的固件二进制文件?我们使用的是演示应用程序(版本 0.2.50.0)中的二进制文件。来自同一来源的 FULL_MEM 固件运行没有任何问题,我们能够使用 IVT 和 MU 接口方法安装它。MD5 编码结果如下: MD5 (s32k3x6_hse_fw_1.15.0_2.50.0_pb241126.bin.pink)= cd85d261edf3b8c6afe23348bc734ad2  对于之前未安装过 HSE 固件的设备,首次安装 HSE 固件时,适用哪些安装方法? 通过 MU 接口和 IVT 尝试安装固件后,设备在 JTAG 上无响应。 如果未进行任何其他配置,HSE 是否会进入 JTAG 恢复模式,还是我们需要显式地进行设置? 如果它处于 JTAG 恢复模式,我们该如何使用 JLink 设备连接到它? 还有其他通过下载软件安装固件的例子吗?演示应用程序仅包含一个 .cmm 文件。我不确定我们是否可以在生产环境中使用 Lauterbach 调试器。 Re: Further questions regarding HSE_b firmware install in AB_SWAP mode 嗨@Emma_G-gbg 我的同事大卫现在不在办公室,所以让我来回答这些问题。 1. 是的,那是正确的粉色文件,MD5 值有效。 2. 所有方法都可以使用,没有限制。 3. 设备在以下情况下进入恢复模式: - IVT 不存在或已损坏。 - 连续发生超过 8 次功能性或破坏性 RESET。 应用程序映像的安全启动认证失败。 恢复模式默认启用。如果没有有效的 IVT,设备将进入恢复模式。 当设备处于 JTAG 恢复模式时,连接调试器应该没有问题。实际上,这正是恢复模式存在的意义——能够轻松连接调试器。 4. 请查看这篇文章: https://community.nxp.com/t5/S32K/HSE-Firmware-install-in-S32k322-microcontroller/mp/2416136/highlight/true#M61185 问候, 卢卡斯 Re: Further questions regarding HSE_b firmware install in AB_SWAP mode 谢谢! 我还有个问题:SBAF 固件版本是否会影响我们安装 AB_SWAP 固件的能力?如果是这样,您知道哪些设备出厂时预装的是较旧的固件吗? Re: Further questions regarding HSE_b firmware install in AB_SWAP mode 由于 S32K396 的发布时间晚于其他一些 S32K3 设备,因此较旧的 SBAF 版本不会造成影响。它将搭载 SBAF 0.15.0 或 0.16.4 版本。两者都与 HSE FW 0.2.50.0 兼容。 Re: Further questions regarding HSE_b firmware install in AB_SWAP mode 如果我对发行说明的理解正确,版本 0.16.4 和 0.15.0 应该分别对应于版本标记00 0F 00 00 00 10 04 01和00 0F 00 00 00 0F 00 07 。我目前正在测试的这台设备(我们当时没想到要检查其他已经损坏的设备)的版本标记是00 0F 00 00 00 0B 00 02 我知道我们的硬件合作伙伴在 S32K396 正式发布版本之前组装了一些设备,我们是否有可能获得更早的 SBAF 固件? Re: Further questions regarding HSE_b firmware install in AB_SWAP mode SBAF 版本为 00 0F 00 00 00 0B 00 02 的 MCU 似乎是一个非常老旧的设备。这不是量产设备,而是早期原型机之一。我在 HSE FW 首个发布的 EAR 版本 0.2.7.0 的发行说明中找到了相关说明: 如果您有多个设备,可以使用上述解决方法。但是,由于这是该设备的原型版本,我仍然建议使用量产设备,量产设备将配备更新的 SBAF 版本。您还可以查看零件编号以确认设备状态。如下面的订购信息所示,第一个字符表示产品状态:“P”表示原型设备,“S”表示合格的订购部件号: Re: Further questions regarding HSE_b firmware install in AB_SWAP mode 谢谢,我终于成功安装了AB_SWAP固件! 我正是采用了这种变通方法,这对我们来说很有价值,因为我们办公室的所有设备很可能都使用了同一批次原型机的 CPU。
View full article
Pantorドライバー用マリファームウェア こんにちは、皆さん。 私はPantherドライバを使ってIMX95 GPUをシングルドライバーモードで駆動しようとしています。そのためにはGPU用のARMファームウェアが必要です。mali-imxのレシピでファームウェアが利用可能だと見かけましたが、mali-imxレシピ内に含まれているmali_cffw.binを使う必要があるのか、それともARMが上流のLinuxファームウェアで提供しているものをここで使ってもいいのか気になっています。 https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/arm/mali お使いのバージョンには、ベンダー固有の変更点はありますか? Re: Mali firmware for panthor driver こんにちは@APir  NXPはYoctoの linux-firmware-mali-csffw パッケージのファームウェアを使ってPanthorドライバを内部でテストしています。NXPは、Panthorで使用されているファームウェアにベンダー固有の変更を一切加えていません。 よろしくお願いします、 志明
View full article
EB tresos Studio 28.2 和 S32 Design Studio for S32 Platform 3.5 无法激活 1、 https://nxp.flexnetoperations.com/control/frse/download?element=13118607 使用最新的激活码无法正常激活。#S32K3 #EB 2、 https://nxp.flexnetoperations.com/control/frse/dload_serialNum?item_key=13592207&plne=712807&certNum=317665591 适用于 S32 平台 3.5 的 S32 设计工作室也无法激活。 激活 | 安装 | 许可 | 安装程序下载 SDK Re: EB tresos Studio 28.2 & S32 Design Studio for S32 Platform 3.5 Unable to activate 抱歉,这个问题我已经解决了。原来是我误将“FlexNet 许可证服务”设置为了禁用状态。改成自动模式后,一切恢复正常。 Re: EB tresos Studio 28.2 & S32 Design Studio for S32 Platform 3.5 Unable to activate @jiri_kral @petervlna @Robin_Shen @danielmartynek 请问各位能否帮帮我?这对我来说非常重要。非常感谢大家!
View full article
S32K396 locked after HSE FW MU install: RESET_RECOVERY_MODE clarification Following up on an unanswered thread (https://community.nxp.com/t5/S32K/S32K396-device-locked-asks-for-ADKP-after-HSE-FW-install-over-MU/m-p/2402535) about an S32K396 asking for ADKP after an HSE FW install over MU. I noticed my BCW didn't have the RESET_RECOVERY_MODE bit set. The RM758227-RM00286 HSE-B Firmware Reference Manual - V2.7 has specific wording that I need help deciphering: Table 119 states RESET_RECOVERY_MODE is used to disable entry into recovery mode because of consecutive resets. Section 2.6.1.3.3 states entry into recovery mode requires RESET_RECOVERY_MODE == 1 AND DCMRWP1 bits (SBAF_REC_DIS_FRST or SBAF_REC_DIS_DRST) == 0. Could you clarify: Does setting RESET_RECOVERY_MODE to 1 explicitly enable or disable recovery mode? Could leaving it at 0 completely prevent recovery mode, explaining why my device remains locked and asking for the ADKP? What is the recommended BCW and DCMRWP1 configuration for MU installations to ensure a recovery path is kept open? Best regards, Marcus Re: S32K396 locked after HSE FW MU install: RESET_RECOVERY_MODE clarification 1) Setting RESET_RECOVERY_MODE = 1 enables entry into recovery mode after consecutive functional or destructive resets, provided the corresponding SBAF_REC_DIS_FRST or SBAF_REC_DIS_DRST bit is 0. 2) Leaving it at 0 disables only this reset-triggered recovery mechanism. It does not provision ADKP, advance the lifecycle, or lock the device. The earlier ADKP prompt may have been caused by the abnormal device state, since J-Link later reported Device is not locked and HSE firmware not installed, followed by a DAP error. 3) Use RESET_RECOVERY_MODE = 1 and keep the applicable SBAF_REC_DIS_FRST/DRST bits at 0. The reset source should also be controlled during the HSE FW installation. Could you confirm whether you changed the device lifecycle, whether an ADKP was provisioned and is known, whether the FS26 watchdog was disabled during installation, and whether J-Link still reports the same DAP error? Re: S32K396 locked after HSE FW MU install: RESET_RECOVERY_MODE clarification Answering for the last two units that I tried to install: Nothing in the code should have touched any lifecycle or ADKP settings. None of the softwares had LCW set in the IVT and no HSE services were used during install attempts. FS26 was held in debug mode for all these tests (DEBUG pin bridged to VBOS). We get identical results whenever we try to connect via JLink. Re: S32K396 locked after HSE FW MU install: RESET_RECOVERY_MODE clarification Hello I'm Marcus' coworker who bricked the last two units. The first one had no software written to either active or passive partition, and due to a logic error on my part the core never requested a swap and instead performed a functional reset 4 seconds after transferring firmware address. The second one had an application written to the upper partition before installing, but I then lost contact with the unit immediately after transferring firmware address. Our hardware has an FS26 watchdog, but this was shunted into debug mode for these tests. Could this still be affecting anything, even though it's held in debug mode? My reading of the manual is that it should go into JTAG recovery mode if nothing else is set explicitly, is this correct? When I try to connect with JLink Commander it seems to indicate the debugger is password-locked, but as I understand it that should not be possible as we have never advanced lifecycle. If it is in JTAG recovery mode, what are the exact steps to get debugger access and erase / program memory? And can this be done with a JLink? We have a Trace32 at the office, but it's currently plugged into a different test bench and I'd prefer to use the JLink. Re: S32K396 locked after HSE FW MU install: RESET_RECOVERY_MODE clarification We are now at four units that seem to be totally unresponsive over JTAG, after attempting to install AB_SWAP HSE firmware over MU interface. To reiterate, is there any special procedure to access JTAG recovery mode? Are we even using the correct firmware? We're using a file with MD5 sum cd85d261edf3b8c6afe23348bc734ad2. Is there any demo example of a program that installs HSE firmware on a new unit? The only example I was able to find was a Trace32 script. Re: S32K396 locked after HSE FW MU install: RESET_RECOVERY_MODE clarification Hello This issue was resolved in this thread, it turned out our prototypes contain chips from a pre-production batch that had a much older SBAF firmware loaded. Re: S32K396 locked after HSE FW MU install: RESET_RECOVERY_MODE clarification Your case appears to be a separate repeated installation failure affecting four devices. Before attempting the procedure on another device, please provide: 1) Complete HSE firmware filename and version, not only the MD5 value. 2) Confirmation that the file is the S32K396 AB_SWAP Pink image. 3) SBAF version, complete BCW value, IVT dump, and DCMRWP1 value. 4) Pink image address and storage location. 5) Complete MU communication log, J-Link log, and the relevant installation source code. The firmware image and installation sequence should be verified before another device is used. The RESET_RECOVERY_MODE setting may explain why recovery was unavailable, but it does not explain why the installation itself failed. Is there any demo example of a program that installs HSE firmware on a new unit? - There are HSE Demo Examples (containing HSE framework) that are bare metal sample codes for HSE services for ease of use and understanding. These are just demo codes: https://www.nxp.com/webapp/Download?colCode=S32K3_HSE_DemoExamples You may port following example code to S32396, it is still the same principle, but you must download FW version related to S32K396 and change link (2x) in the linker command file: c:\NXP\S32K3_HSE_DemoExamples_1_0_0\S32K3_HSE_DemoExamples\Device_Configuration\S32K344_HSE_FW_INSTALL\ I could provide you also easiest method, in case you have available Lauterbach TRACE32 debugger.
View full article
NXPのレイオフ? 昨日、多くの人が解雇されたようで、今週と来週もさらに多くの解雇が予定されている。これについて何か知っている人はいますか? Re: NXP layoffs? こんにちは、 NXPコミュニティを通じてご連絡いただき、ありがとうございます。NXPの従業員、組織変更、雇用マターに関する質問は技術製品サポートの範囲外であり、このチャネルを通じて対応することはできません。 NXPに関する正確かつ公式な情報については、nxp.com で入手可能なNXPの公式企業コミュニケーション、投資家向け情報発表、プレスリリースをご参照ください。NXP社員向けは、社内の人事チャネルを通じて人事関連の問い合わせを行うことができます。 BRs、トーマス
View full article