Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
i.MX95:EdgeLock Enclave 密钥导入错误 - SAB CMD [0x47] Resp [0x1829](无效签名) 大家好, 我们目前正在按照应用笔记 AN14898 中的指南,将私钥导入 i.MX95 设备。 环境与参考文献: 目标设备: i.MX95 演示应用程序: imx_sec_apps/imx-ele-apps SPSDK 版本:最新标准工具集 目前已完成的活动: 已安装 Python、pip 和 SPSDK 工具集。 已成功构建主机应用程序和设备应用程序。 将 device/bin/ele_key_import 和 device/scripts/run_test_on_board.sh 复制到我们的目标i.MX95硬件。 执行设备端流程以生成 nxp_prod_ka_puk.bin。 已将 nxp_prod_ka_puk.bin 传输回我们的主机环境。 由于我们还没有最终的生产密钥,因此根据 SPSDK 文档,使用 SPSDK 工具生成了 SRK 密钥 (secp384r1)。 在主机端使用标准密钥导入模板生成 signed_msg.bin(-k 参数设置为 secp384r1)。 将生成的 signed_msg.bin 传输到i.MX95硬件。 用于生成签名邮件的命令: nxpimage signed-msg export -c key_exchange_temp.yaml -w assets 附件为 key_exchange_temp.yaml 文件,供您参考。 在 i.MX95 目标设备上运行 run_test_on_board.sh 时,所有文件均已找到,但 EdgeLock Enclave 拒绝了已签名消息块上的签名。以下是目标终端日志: nxp_prod_ka_puk.bin 文件存在。 oem_public_key.pem 文件存在。 signed_msg.bin 文件存在。 你好,世界!2026年7月16日 06:54:40 9547bbd 签名消息:728 字节 02d802890200000000000000b8000000000000000000000000000000000000000000000000000000000000000000000000000000e6a7000000004701000000000000000000000000000000004707000000454c45090102090000000000920001010000000040000009010008000000000100000000000070577819deccdf2670d801e8f4291d3539081da49b1e1b63d55039e5993242b30f0000000000000000000000000000000000000000000000000000000000000000011c029000001000b40100000000000000a4015a01000000d7340143e14c00270102000030003000c2a99777d1fc00dc7e14d3d43ac3f68a44d9b52c882d3c09eac0db7fac1901242576bac6143785e5815db546e385d81000000000000000000000000000000000e14c00270102000030003000e358e1159c0cb645e7059c1b04b49e39b3563167472507278245d4dee439dd32e7ce3da413e397cbd7959cf147d25c2300000000000000000000000000000000e14c00270102000030003000482fb4f1ceb6e266221b0a13dbbb04c637a1c238b76b108397e98eb4557cafb2075036e05b9a0ee4fa6aa09a5f3951e500000000000000000000000000000000e14c00270102000030003000c93a6b4881ae912da31da8249e4f58473eb88cc1dc46f5ec6d363dc52b8a5c12c91e711ad726153d382dabbe6bef27cc000000000000000000000000000000000068005d00000000a5e31e11bfb02c62756d9d3ba5152768e5bea9aab8f3f13ccf3bd287a0438e9708088cafc5671e2aaf1bc3b413457b6a59a691dcef672fa65dac12ed328effac963c41ec0200b0a9acf67e0f2755f752872f77d2c20d6987f80e8008ac26de3d006800d800000000f4cf9cc965b3643d5dc5c5070a506196649daf898d328afd18e88eb9ece96e39646bf6385b9d42e1fc2f93f07f66e9c8c914becef9394c0c3cf549766483c7f94b6a9325bea51b79280eb76484e064637570c0ef7387ec0ffb8398ec36966c3a00000000 OEM 导入 PUK 码:65 字节 0451c46d24d30864c5275c634a3a339949654b34c0a4f294a8c107c504360ff4b 55044918b71b16109a7bbfba8fbcf49b91720ad8e9c0109e6b2eed8f6a504ab64 hsm_open_session 成功 hsm_open_key_store_service 成功 hsm_open_key_management_service 成功 SAB 错误:SAB CMD [0x47] Resp [0x1829] - SIGNED 消息中的签名无效。 hsm_key_exchange 失败,错误代码:0xfe 密钥交换失败:254 非常感谢您能提供任何关于解决 i.MX95 签名验证问题的见解。 谢谢, 安基特·阿格拉瓦尔 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好@Ankit_Agrawal 我想知道你是否会在SRK一代之后把SRK烧掉。请查看我附上的sign.yaml文件,其中包含必要的信息。 请尝试以下命令(前提是您已安装 flash.bin 文件):(系统引导加载程序)生成SRKH。 nxpimage ahab sign -c sign.yaml -b flash.bin -o flash_directsign.bin -fs outputs 输出结果如下所示。 Jessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.png 在输出文件夹中,可以看到 bcf 文件(ahab_oem0_srk0_hash_nxpele.bcf)。 您可以按照以下熔丝命令(索引 128 至 143)来熔丝 SRKH。 # nxpele AHAB SRKH 融合编程脚本 # 由 SPSDK 3.4.0 生成 # 系列:mimx9596,版本:最新 # 值:0xCCC0605919B6400771CF88A002FB6BF27DFA9CE09BAD94516DD7E4D399369A8FF5A6A1A671809DF4A71A7CB208B4EDC009CDF3FF25EC074DECBBEE8300D5D44C # 描述:四个 SRK 密钥的哈希值的 SHA512 哈希摘要 # 分组寄存器名称:SRKH # OTP ID:OEM_SRKH0,值:0x5960C0CC write-fuse --index 128 --data 0x5960C0CC # OTP ID:OEM_SRKH1,值:0x0740B619 write-fuse --index 129 --data 0x740B619 # OTP ID:OEM_SRKH2,值:0xA088CF71 write-fuse --index 130 --data 0xA088CF71 # OTP ID:OEM_SRKH3,值:0xF26BFB02 write-fuse --index 131 --data 0xF26BFB02 # OTP ID:OEM_SRKH4,值:0xE09CFA7D write-fuse --index 132 --data 0xE09CFA7D # OTP ID:OEM_SRKH5,值:0x5194AD9B write-fuse --index 133 --data 0x5194AD9B # OTP ID:OEM_SRKH6,值:0xD3E4D76D write-fuse --index 134 --data 0xD3E4D76D # OTP ID:OEM_SRKH7,值:0x8F9A3699 write-fuse --index 135 --data 0x8F9A3699 # OTP ID:OEM_SRKH8,值:0xA6A1A6F5 write-fuse --index 136 --data 0xA6A1A6F5 # OTP ID:OEM_SRKH9,值:0xF49D8071 write-fuse --index 137 --data 0xF49D8071 # OTP ID:OEM_SRKH10,值:0xB27C1AA7 write-fuse --index 138 --data 0xB27C1AA7 # OTP ID:OEM_SRKH11,值:0xC0EDB408 write-fuse --index 139 --data 0xC0EDB408 # OTP ID:OEM_SRKH12,值:0xFFF3CD09 write-fuse --index 140 --data 0xFFF3CD09 # OTP ID:OEM_SRKH13,值:0x4D07EC25 write-fuse --index 141 --data 0x4D07EC25 # OTP ID:OEM_SRKH14,值:0x83EEBBEC write-fuse --index 142 --data 0x83EEBBEC # OTP ID:OEM_SRKH15,值:0x4CD4D500 write-fuse --index 143 --data 0x4CD4D500 您可以使用以下命令来烧录SRKH nxpele -f mimx9596 批处理输出\ahab_oem0_srk0_hash_nxpele.bcf 如果您已经烧录了SRKH但出现以下无效的鸣唱错误,请将singed_message.bin文件连同您的SRKH文件(包括所有SRKH输出)一起发送给我们。 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好@Ankit_Agrawal , 我们的内部团队正在审核您的问题,并将根据审核结果向您汇报最新情况。 与此同时,请查看以下案例,该案例与您遇到的问题类似。 建议的解决方案是验证fuse_version是否匹配正确。 https://community.nxp.com/t5/i-MX-Processors/hsm-import-key-returns-with-0xF0-Bad-Signature/td-p/2163777 谢谢! 顺祝商祺! 理查德 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好@Ankit_Agrawal 请按照以下步骤使用 SPSDK 刻录 SRK 步骤1 。启动设备时,停在 u-boot 控制台,运行 u-boot=> fastboot 0 步骤2 。在 SPSDK 控制台中,您必须使用以下命令(没有 ahab 事件)。 nxpele -f mimx9596 获取事件 步骤3 。如果没有事件发生,您现在可以在 SPSDK 控制台中烧录 SRK 密钥。 nxpele -f mimx9596 批处理输出\ahab_oem2_srk0_hash_nxpele.bcf BRS 杰西 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 嗨@Jessie_Lee , 谢谢你提供的信息。 我们已经找到了 flash.bin 文件,并能够执行生成 SRKH 的必要步骤。 生成 SRKH 后,我们需要将其熔丝到硬件中。要执行熔断操作,硬件/电路板必须处于以下状态: Fastboot 模式。请问您能否帮我们把设备切换到 Fastboot 模式? 在尝试熔接钥匙时,我们遇到以下错误: Ankit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.png 设备目前似乎未处于 Fastboot 模式。非常感谢您能提供如何启用 Fastboot 模式的指导。 谢谢, 安基特 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) @Jessie_Lee 据报道,情况如下所示,目前存在一些问题。能否获得一些帮助? -------------------------------------------------------------------------------------------------------------- 但是,当我执行熔丝操作的命令时,遇到了以下错误。 我也尝试过重置硬件,但问题依旧存在。您知道这究竟是什么原因造成的吗? rakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.png @Ankit_Agrawal 如有必要,请随时提供补充说明。 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 来自@Ankit_Agrawal 的反馈,存在 fastboot 进入问题。 @rakhyoung你是说你也遇到了无法进入fastboot模式的问题吗? 你试过我上面分享的那个命令吗?在 uboot 阶段尝试执行 fastboot 0 以下命令时,出现什么错误? 步骤1 。启动设备时,停在 u-boot 控制台,运行 u-boot=> fastboot 0 BRS 杰西 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好@Jessie_Lee 很抱歉回复晚了。 我成功地在设备端的 U-Boot 控制台停止了运行。但是,当尝试使用以下命令从主机端熔丝密钥时: nxpele -f mimx9596 -p /dev/ttyUSB1 batch outputs/ahab_oem2_srk0_hash_nxpele.bcf 我遇到了以下错误: Screenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.png截图来自 2026-09-13 21-29-30.png 我也尝试过重置硬件,但问题依旧存在。您知道这究竟是什么原因造成的吗? 谢谢, 安基特 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好@Jessie_Lee , 请查看附件中的日志文件。我已经按照您建议的步骤操作了。 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 嗨@Ankit_Agrawal 能否分享一下从进入 uboot(控制台)到主机端执行 spsdk 的所有 fastboot 步骤日志? 我认为你是通过 uboot 进入 fastboot 模式的。正确的? 请分享所有步骤(进入fastboot模式、检查ahab事件、尝试熔丝等,并在主机端日志中记录)。 如果能通过文件而不是快照查看所有日志就更好了。 BRS 杰西 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 嗨@Ankit_Agrawal 从您提供的日志中,我找不到 A 核心的 uboot 控制台日志。(目标板)当您在 uboot 控制台进入 fastboot 模式时,请检查一下。请提供完整的 uboot 日志(来自 POR)。 看来SPSDK是通过“=”号来检测uboot控制台的。 你的启动延迟值是多少(用 uboot 命令“printenv bootdelay”检查)?或者,您可以使用 uboot 命令“setenv bootdelay 3; saveenv”添加启动延迟,然后重试吗? BRS 杰西 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好@Jessie_Lee , 请查看附件中的fastboot 条目日志、用于检查事件和熔丝的主机端步骤以及调试日志文件。 谢谢, 安基特 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好@Ankit_Agrawal 我想知道您是否检查过 uboot 日志,确认是否进入了 fastboot 模式。 以下是您的部分日志,其中显示了“未知命令”日志。这个快速启动功能是U-Boot社区的一个特性,NXP的电路板支持包也支持,但你的软件环境中没有。 如果BSP团队移除此功能,您需要与BSP团队讨论。 顺便说一下,NXP最近发布了更新后的ELE/V2X固件,但你的固件似乎不是最新的。 请与贵公司内部网络安全团队协商,确保固件版本同步。(顺便一提,这个固件版本与是否启用fastboot功能无关。) Jessie_Lee_0-1789613044617.pngJessie_Lee_0-1789613044617.png BRS 杰西 BRS 杰西 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好@Ankit_Agrawal 我已向你们的 电路板支持包。 团队确认过,fastboot 已从默认的 u-boot 中移除。 所以,你不能直接使用 fastboot 模式来熔丝 SRK。 除了使用 SPSDK 工具刻录 SRK 之外,您还可以使用以下方法之一。据我所知,你们团队已经在使用 fuse_access 应用程序来处理内核级别的熔丝位访问(读/写)。任何方法都可能烧毁你的SRK。 Jessie_Lee_0-1789713874158.png BRS 杰西 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 嗨@Jessie_Lee , 非常感谢您在整合过程中给予的持续指导和支持。 我们审查了i.MX95 安全隔离区的拟议程序和步骤,但由于建议的方法需要预先版本或静态配置,因此对于我们当前的架构来说,这些方法是不可行的。我们的实现严格要求在运行时配置和管理密钥。 请问是否有其他方法或专用的运行时导入密钥 API可以满足我们的需求? 作为背景信息,由于以下两个特定用例,导入密钥 API对我们的实现来说是必不可少的: 运行时证书安装:在流程中,应用程序会收到加密的合约证书和私钥。在应用程序端解密之后,私钥必须在运行时动态导入或存储到安全环境中。 测试和验证:在我们当前的开发和验证阶段,我们需要将现有的、预先生成的测试密钥(例如合约证书和根证书密钥)注入到应用程序端的安全环境中,以验证端到端通信流程和消息签名。 我们非常希望您能就如何在无需预先版本设置周期的情况下实现这种动态注入提供一些见解。 此致, 安基特       Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好@Ankit_Agrawal 为了进一步探讨关键导入功能,请问您目前的进展情况如何?现在用我们目前的方法,你们那边能正常运行吗? 为了审核您提出的更改密钥导入方式的请求,我们首先需要了解对方的终端环境。您能帮我们了解一下您那边的具体情况吗? 我们需要了解“端到端保护”是否足够安全。 例如, 对方是如何生成这个加密合约证书和私钥的? 或者说,LG/GM 端是如何生成 blob 的加密密钥的? * 请问能否提供该零件的通用汽车规格或通用汽车规格编号?  这样我们就能理解您的概念,并与我们的网络安全核心团队讨论如何支持这种方式。  BRS 杰西 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好@Ankit_Agrawal 能够进行密钥导入是个好消息。 除了 rsa4k 密钥导入之外,您的设备日志似乎没有问题。 你是不是已经把 tlv_blob_rsa4k.bin 从主机发送到设备了?如果您严格按照我们的脚本操作,您可能还会得到rsa4k.bin文件。请查看下方我们EVK(4K机箱)设备的部分日志。 供您参考,附件是主机端日志(包括生成的 tlv_blob_rsa4k.bin)。请您同时查看主机端的日志。 BRS 杰西 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 嗨@Ankit_Agrawal 好的,密钥导入现在可以正常了。 让我们等待GM公布更详细的方案,以便探讨其他密钥导入方式。 BRS 杰西 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好@Jessie_Lee , 感谢您的支持。 通过使用` use_access`方法,我现在能够熔丝 SRKH,并且使用测试密钥成功导入了密钥,如日志所示。我已附上 SRKH 熔丝和密钥导入结果的日志。 请您检查一下,确认所有内容是否正确? 关于更改密钥导入功能方式的请求, @rakhyoung将分享详细的需求详情。 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好@Jessie_Lee , 是的,我之前漏掉了推送 tlv_blob_rsa4k.bin 文件。我现在已经推送并再次执行了该过程,可以看到所有四个密钥都已成功导入。我附上了完整的日志供您参考。 谢谢, 安基特     Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好@Ankit_Agrawal 您是否已与通用汽车公司合作,获取更多可以分享的详细信息?您是否有我们可以直接联系的人? 谢谢! 莉迪亚 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 嗨@lydia_ziegler @Jessie_Lee , 我从总经理那里收到了以下信息。请您向Scott确认一下好吗? 请注意,通用汽车已于10月15日(美国东部时间)通过P2P方式将完整的CYS5711规格书分享给了恩智浦半导体([email protected])。请联系负责此项目的恩智浦半导体联系人Scott以获取规格书。如有任何问题,请告知我。 谢谢, 安基特 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 嗨@Ankit_Agrawal 我们收到了CYS5711  来自莉迪亚。 关于您目前提出的密钥导入请求, 请问您能否向通用汽车公司确认一下,他们是否指的是CYS5711附件G部分的合同证书/合同私钥配置? 我不确定我们是否可以将 CYS5711 的快照加载到这个空间中。所以,请理解,我指出的“附件G”章节没有截图。 BRS 杰西 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好,杰西, 是的,您可以参考第 9.3.2.3 节“合约证书私钥解密”了解相关要求。 谢谢, 安基特 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 嗨@Ankit_Agrawal 我给你发了邮件。 您能帮忙查收一下这封邮件吗?来自[email protected] BRS 杰西 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) 你好@Ankit_Agrawal 我们还有一个关于精确算法的问题。 对于您的功能,客户需要符合 ISO 15118(2/20) 标准的哪种曲线?ECC p521 还是 x448?或者两者都需要? 如果还有其他曲线,请与我们联系。 邮件反馈对我来说可以接受。 BRS 杰西
記事全体を表示
MPC5777C Nexus 跟踪,eTPU A/B 时钟停止。 您好, 经发现,如果通过 SIU_HLT1.ETPUA 位停止 eTPU A/B 时钟,则 Nexus 端口控制器 (NPC) 的 MDO 和 MSEO Nexus 输出将卡在 0V(死机)。即使其他 Nexus 客户端(例如e200) 正在生成 Nexus 跟踪数据。 如果稍后将 SIU_HLT1.ETPUA 写入“0”(时钟不再停止),则来自 e200 Nexus 客户端的 Nexus 跟踪流将到达 NPC 和外部世界。 经过一些测试,似乎 HLT1 寄存器中的其他时钟停止请求不会在 MSEO/MDO 引脚上产生相同的行为。 因此,核心问题似乎是 eTPU A/B 时钟停止会影响 Nexus 跟踪操作的总体情况。 无论 NPC 中的时钟分频器或端口宽度如何,都会发生这种情况。 我通过反复试验找到的解决方法是,首先通过各自的 ECR.MDIS 位禁用每个(A 和 B)eTPU 引擎,然后通过 HLT1.ETPUA 禁用整个模块时钟,如果从其他 Nexus 客户端(例如,)发起跟踪,则 MSEO/MDO 引脚仍会正常工作。e200 核心)。   然而,这种变通方法并非最佳方案,因为它需要对用户应用程序进行更改。我想知道调试器是否可以采取一些措施来缓解这种行为?   Re: MPC5777C Nexus trace while eTPU A/B clock halted 你好, 我从未遇到过这样的问题,因为我们一直使用 Codewarrior 的 Ashware 提供的 eTPU 模拟器。 我会仔细查看并尽快回复您。 顺祝商祺! Peter Re: MPC5777C Nexus trace while eTPU A/B clock halted 您好, 谢谢你调查此事。问题在于,作为调试人员,我们尽量避免修改 SoC 外设相关寄存器,因为这会影响用户应用程序。 在这种情况下,问题在于 SIU_HLT1[ETPUA] = 1 是由用户应用程序写入的,而不是由我们作为调试器写入的。因此,调试器无法知道用户应用程序何时会执行该操作,因此调试器无法在应用程序写入 SIU_HLT1[ETPUA] = 1 之前写入 ECR[MDIS]; 我们将建议用户更新应用程序,使其在 SIU_HLT1[ETPUA] = 1 之前写入 ECR[MDIS]。 Re: MPC5777C Nexus trace while eTPU A/B clock halted 你好, 这种现象似乎与 MPC5777C 时钟门控实现有关。我们目前还没有发现任何 NPC 配置可以阻止 eTPU A/B 停止请求影响 Nexus 输出。 作为调试器的变通方法,请在设置 SIU_HLT1[ETPUA] = 1 之前执行以下序列: 将 eTPU 引擎 ECR[MDIS] 的两个位都设置为 1。 请等待发动机完成当前工作后再进行操作。 将 SIU_HLT1[ETPUA] 设置为 1。 这个步骤可以在调试器停止脚本中自动完成。但是,它会停止两个 eTPU 引擎,因此对应用程序来说并不透明。这个问题也应该由芯片设计团队进行审查,作为可能的设备勘误。 顺祝商祺! Peter
記事全体を表示
S32 Power Arhitecture Design Studio バージョン 2017.R1 ライセンスが切れました こんにちは、NXPさん。 タイトルのIDEライセンスが切れてしまい、この特定のバージョンが必要なレガシーコードベースを維持しなければなりません。ライセンスを延長してもらえますか? フルフィルメントID: 203520687 有効期限:2025年12月31日 製品:PA E200向けS32 Design Studio Re: S32 Design Studio for Power Arhitecture Version 2017.R1 license expired こんにちは、ヨシップさん。 お客様のS32DSライセンスが延長されました。以前のコードを使用して、S32DSを再度有効化してください。
記事全体を表示
MPC5777C Nexus trace while eTPU A/B clock halted Hi, It was found that if eTPU A/B clock is halted via SIU_HLT1.ETPUA bit, then MDO and MSEO Nexus outputs from Nexus Port Controller (NPC) are stuck to 0V (dead). Even if other Nexus client (e.g. e200) is generating Nexus trace data. If SIU_HLT1.ETPUA is later written with '0' (clock not halted anymore), Nexus trace stream from e200 Nexus client reaches NPC and outside world. After doing some testing it seems that no other clock halt request within HLT1 register seems to produce same behavior on MSEO/MDO pins. So the core problem is that it seems that eTPU A/B clock halt affects Nexus trace operation in general. This happens regardless of clock divider or port width in NPC. Workaround I found by trial and error is that if you firstly disable each (A and B) eTPU engine via respective ECR.MDIS bit and then disable whole module clock via HLT1.ETPUA, MSEO/MDO pins still behave normally if trace is initiated from other Nexus clients (e.g. e200 core).   This workaround however is not optimal as it requires change to the user application. I am interested if something can be done by debugger to mitigate this behavior?   Re: MPC5777C Nexus trace while eTPU A/B clock halted Hello, I have never encountered such issue as we always use simulator for eTPU from Ashware of the Codewarrior. I will have  a closer look and feedback you ASAP. Best regards, Peter Re: MPC5777C Nexus trace while eTPU A/B clock halted Hi, thanks for looking into this. Problem is that as a debugger we try to strain away from modifying SoC periphery related registers because it affects user application. In this case the problem is that SIU_HLT1[ETPUA] = 1 is written by user application, not us as a debugger. Hence debugger cannot know when user application will do that so that debugger can write ECR[MDIS] before application writes SIU_HLT1[ETPUA] = 1; We will recommend to user that they update application in a way ECR[MDIS] is written before SIU_HLT1[ETPUA] = 1. Re: MPC5777C Nexus trace while eTPU A/B clock halted Hello, This behavior appears to be related to the MPC5777C clock-gating implementation. We are not aware of an NPC configuration that prevents the eTPU A/B halt request from affecting the Nexus outputs. As a debugger workaround, execute the following sequence before setting SIU_HLT1[ETPUA] = 1: Set both eTPU engine ECR[MDIS] bits to 1. Wait until the engines have completed their current activity. Set SIU_HLT1[ETPUA] to 1. This sequence can be automated in the debugger stop script. It will, however, stop both eTPU engines, so it is not transparent to the application. The issue should also be reviewed by the silicon design team as a possible device erratum. Best regards, Peter
記事全体を表示
PN5190 Hi  我用pn5190做了读卡模块  升级我们调试后的软件用了第一段时间后不能读卡了  usb可以识别  而且发现这个芯片手工用热风枪吹的话 很容易坏掉 也比较难贴成功   请看下设计是否有问题 使用有什么注意事项  thank you RF Re: PN5190 你是说固件已经更新到最新版本了吗?更新后可以使用一段时间吗?那么,你们有多少块电路板存在同样的问题? Re: PN5190 贴了5块样板,陆陆续续都出现了这个问题 完全不能读卡,方案是单片机加PN5190,接电脑能识别到智能卡设备,但是选择读卡没反应,电流基本停留在30mA左右。是5v供电(usb或适配器供电),请排查下pcb设计,首先要确定是否是硬件哪里设计有问题 谢谢
記事全体を表示
BLDC Motor Direction measurement using TRIGMUX+eMIOS Description : I am using NXP recommended solution for 6 step commutation to drive my BLDC motor. As per the App note "https://community.nxp.com/t5/S32M-Knowledge-Base/S32M276-Hall-sensor-based-6-step-BLDC-motor-control/ta-p/2035021#jump_PwmAndTriggers" Hall Sensor output is going to TRIGMUX and then LCU for commutation and also for calculating the speed signal. This article does not mention how the motor direction can be measured. Is there any NXP solution to measure motor direction? My understanding is that to measure direction we need to capture all the 3 Hall sensor outputs using an input capture unit. Is it feasible to configure my eMIOS channels as follows. CH0 - Input capture mode to receive Speed signal from LCU via TRIGMUX. CH1 - Input capture mode to receive Hall1. CH2 - Input capture mode to receive Hall2. CH3 - Input capture mode to receive Hall3. Please provide some clarification. Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS As per my Hardware design the Hall sensor signals are mapped to TRIGMUX channels like below. M1_Hall1_Sig_PWM 1 PTA18 Input TRGMUX_IN12 M1_Hall2_Sig_PWM 2 PTA19 Input TRGMUX_IN13 M1_Hall3_Sig_PWM 3 PTA20 Input TRGMUX_IN14 I want to feed these TRIGMUX channels to LCU for Commutation as well as speed signal calculation. Also, I want to measure the motor direction. Is it possible to read the port pin state since the Hall sensor inputs are mapped to TRIGMUX? Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS Hi@RIJILKP The direction of motor rotation can be determined by the sequence of signals from the Hall sensors. However, in the solution "S32M276 - Hall sensor based 6-step BLDC motor control," the motor's rotation direction is provided as an input by the user software. The current sector can be determined based on the states of the three signals: Hall_A, Hall_B, and Hall_C. Based on the preset direction of rotation, the next commutation position can be calculated. In this reference design, you can determine the current direction of motor rotation based on the sequence in which the sector numbers change if you want. Returning to your question: if your only goal is to determine the direction of rotation, you can simply read the states of the three Hall signals via GPIO; by analyzing the changes in these signals between two consecutive readings, you can ascertain the current direction of rotation. Regarding your question: "Is it feasible to configure my eMIOS channels as follows. CH0 - Input capture mode to receive Speed signal from LCU via TRIGMUX. CH1 - Input capture mode to receive Hall1. CH2 - Input capture mode to receive Hall2. CH3 - Input capture mode to receive Hall3." I do not recommend this approach. While it is certainly feasible to use eMIOS for signal capture, your method not only consumes peripheral resources but also remains dependent on the CPU for processing(SW). Recommendation : For example, the method provided in the MCSPTE1AK116 solution: Alternatively, as I mentioned above, the direction of rotation can be determined based on changes in the SECTOR number。 Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS If I configure eMIOS 0 CH0 - Input capture mode to receive Speed signal (XOR value of the 3 Hall inputs) from LCU via TRIGMUX. Is it possible to trigger an Interrupt from eMIOS for any change in the XOR signal. (Here I am assuming that there will be a transition on XOR signal for every sector change.). If this is possible i can read the GPIO pins where i receive Hall sensor input to check Hall pattern or sector, Also I can use the time stamp between each sector change to measure speed. So speed and direction can be measured in same ISR. Let me know if it is feasible / recommended. Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS 1.  Does this function "Lcu_Ip_GetSyncLogicInput" capable of reading Pin status of all the 3 Hall pins coming to LCU at a time. When I checked the UM documentation, I don't see the function returning any pointer, so how do I get the pin state? M1_Hall1_Sig_PWM 1 PTA18 M1_Hall2_Sig_PWM 2 PTA19 M1_Hall3_Sig_PWM 3 PTA20 2. The App note example says, "function eMIOS1IcuNotify is called after 7 captured edges". Is there a way to get the notification/ISR on every edge captured instead of every 7th edge so that I can read the Hall pin state inside that ISR. In that way I just need one ISR to calculate speed and motor direction. Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS Hi@RIJILKP 1.Is it possible to read the port pin state since the Hall sensor inputs are mapped to TRIGMUX? It is possible, but entirely unnecessary; the LCU module itself can already retrieve the current state of the inputs. /* @brief [LC_INPUTS] This function Indicates states of LC inputs /* @details This service is a reentrant function that shall Indicates states of LC inputs Lcu_Ip_ReturnType Lcu_Ip_GetSyncLogicInput(Lcu_Ip_SyncInputValueType List[], const uint8 Dimension); 2.Is it possible to trigger an Interrupt from eMIOS for any change in the XOR signal. (Here I am assuming that there will be a transition on XOR signal for every sector change.).  Yes, here is a screenshot of the configuration from the example code. Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS If I change ICU Measurement mode configuration to EDGE DETECT, Will I be able to get time stamp using following API's? "Emios_Icu_Ip_StartTimestamp" "Emios_Icu_Ip_GetTimestampIndex" The precondition says that the "Channel must be configured for timestamp measurement" Also, is it possible to get the code you are showing in the screenshot, I was able to access the documentation only. If I can get the sample implementation it will greatly help. Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS Hi@RIJILKP In this solution demo code: 1.Lcu Lcu_Ip_GetSyncLogicInput(InputSector, 3); SensorHall.InA = InputSector[0].Value; SensorHall.InB = InputSector[1].Value; SensorHall.InC = InputSector[2].Value; SensorHall.Sector = (SensorHall.InC << 2) + (SensorHall.InB << 1) + SensorHall.InA - 1; 2. “function eMIOS1IcuNotify is called after 7 captured edges" ,this can be modified. You can change it to 1, or alternatively, I suggest modifying the eMIOS measurement mode as follows: Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS Hi@RIJILKP I’m surprised you didn’t get this demo; it’s actually included in the link you provided. Also, for S32K344 :  https://www.nxp.com/design/design-center/development-boards-and-designs/MCSPTE1AK344 back to your question,  If you configure the ICU channel as EDGE DETECT, you normally cannot use Emios_Icu_Ip_StartTimestamp() and Emios_Icu_Ip_GetTimestampIndex() for that channel. but like i said before ,“function eMIOS1IcuNotify is called after 7 captured edges" ,this can be modified.
記事全体を表示
S32 电力架构设计工作室 2017.R1 版许可证已过期 您好,NXP, 我购买的 IDE 许可证已过期,但我需要维护一个遗留代码库,因此我需要这个特定版本。您能否延长许可证期限? 订单号:203520687 有效期至:2025年12月31日 产品:S32 设计工作室(适用于 PA E200) Re: S32 Design Studio for Power Arhitecture Version 2017.R1 license expired 嗨,约瑟普, 您的S32DS许可证已延期。请使用您之前的激活码重新激活S32DS。
記事全体を表示
i.MX95: EdgeLock Enclaveキーインポートエラー - SAB CMD [0x47] Resp [0x1829] (無効な署名) チームの皆さん、こんにちは。 現在、アプリケーションノート AN14898 のガイドラインに従い、 i.MX95 デバイスへの秘密鍵のインポート作業を進めています。 環境と参考文献: 対象デバイス: i.MX95 デモアプリケーション: imx_sec_apps/imx-ele-apps SPSDKバージョン:最新の標準ツールセット これまでに完了した活動: Python、pip、およびSPSDKツールセットをインストールしました。 ホストとデバイスの両方のアプリケーションを無事に構築しました。 device/bin/ele_key_import と device/scripts/run_test_on_board.sh をターゲットのi.MX95ハードウェアにコピーしました。 デバイス側のフローを実行して、nxp_prod_ka_puk.bin を生成しました。 nxp_prod_ka_puk.binをホスト環境に転送しました。 最終的な生産キーがまだ手に入っていないため、SPSDKドキュメントによるとSPSDKユーティリティを使ってSRKキー(secp384r1)を生成しました。 ホスト側で標準キーインポートテンプレート(-kパラメータをsecp384r1に設定)を使用してsigned_msg.binを生成しました。 生成されたsigned_msg.binファイルをi.MX95ハードウェアに転送しました。 署名付きメッセージを生成するために使用したコマンド: nxpimage signed-msg export -c key_exchange_temp.yaml -w assets 参考資料として、key_exchange_temp.yaml ファイルを添付します。 i.MX95ターゲットデバイスでrun_test_on_board.shを実行すると、すべてのファイルは見つかりますが、EdgeLock Enclaveが署名済みメッセージブロックの署名を拒否します。以下はターゲット端末のログです。 nxp_prod_ka_puk.bin が存在します。 oem_public_key.pem が存在します。 signed_msg.bin が存在します。 こんにちは、世界! 2026年7月16日 06:54:40 9547bbd 署名付きメッセージ:728バイト 02d802890200000000000000b8000000000000000000000000000000000000000000000000000000000000000000000000000000e6a7000000004701000000000000000000000000000000004707000000454c45090102090000000000920001010000000040000009010008000000000100000000000070577819deccdf2670d801e8f4291d3539081da49b1e1b63d55039e5993242b30f0000000000000000000000000000000000000000000000000000000000000000011c029000001000b40100000000000000a4015a01000000d7340143e14c00270102000030003000c2a99777d1fc00dc7e14d3d43ac3f68a44d9b52c882d3c09eac0db7fac1901242576bac6143785e5815db546e385d81000000000000000000000000000000000e14c00270102000030003000e358e1159c0cb645e7059c1b04b49e39b3563167472507278245d4dee439dd32e7ce3da413e397cbd7959cf147d25c2300000000000000000000000000000000e14c00270102000030003000482fb4f1ceb6e266221b0a13dbbb04c637a1c238b76b108397e98eb4557cafb2075036e05b9a0ee4fa6aa09a5f3951e500000000000000000000000000000000e14c00270102000030003000c93a6b4881ae912da31da8249e4f58473eb88cc1dc46f5ec6d363dc52b8a5c12c91e711ad726153d382dabbe6bef27cc000000000000000000000000000000000068005d00000000a5e31e11bfb02c62756d9d3ba5152768e5bea9aab8f3f13ccf3bd287a0438e9708088cafc5671e2aaf1bc3b413457b6a59a691dcef672fa65dac12ed328effac963c41ec0200b0a9acf67e0f2755f752872f77d2c20d6987f80e8008ac26de3d006800d800000000f4cf9cc965b3643d5dc5c5070a506196649daf898d328afd18e88eb9ece96e39646bf6385b9d42e1fc2f93f07f66e9c8c914becef9394c0c3cf549766483c7f94b6a9325bea51b79280eb76484e064637570c0ef7387ec0ffb8398ec36966c3a00000000 OEMインポートPUK:65バイト 0451c46d24d30864c5275c634a3a339949654b34c0a4f294a8c107c504360ff4b 55044918b71b16109a7bbfba8fbcf49b91720ad8e9c0109e6b2eed8f6a504ab64 hsm_open_session 成功 hsm_open_key_store_service 成功 hsm_open_key_management_service 成功 SAB エラー: SAB CMD [0x47] Resp [0x1829] - SIGNED メッセージの署名が無効です。 hsm_key_exchange が失敗しました エラー:0xfe 鍵交換に失敗しました: 254 i.MX95の署名検証問題の解決方法について何かご存知でしたら、ぜひご教示ください。 ありがとう、 アンキット・アグラワル Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Ankit_Agrawal さん。 SRK生成後にSRKHを焼却するのかどうか疑問に思っています。必要なsign.yamlファイルについては、添付ファイルをご確認ください。 以下のコマンドをお試しください(前提条件としてflash.binファイルが必要です)。システムのブートローダー)を使用してSRKHを生成します。 nxpimage ahab sign -c sign.yaml -b flash.bin -o flash_directsign.bin -fs 出力 出力は以下のようになります。 Jessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.png そしてOuputsフォルダからはbcfファイル(ahab_oem0_srk0_hash_nxpele.bcf)が見えます。 下のフューズコマンド(インデックス128~143)に従って、SRKHでフューズする必要があると説明できます。 # nxpele AHAB SRKH がプログラミングスクリプトを融合 # SPSDK 3.4.0 によって生成されました # ファミリ: mimx9596, Revision: latest # 値: 0xCCC0605919B6400771CF88A002FB6BF27DFA9CE09BAD94516DD7E4D399369A8FF5A6A1A671809DF4A71A7CB208B4EDC009CDF3FF25EC074DECBBEE8300D5D44C # 説明: 4 つの SRK キーのハッシュの SHA512 ハッシュダイジェスト # グループ化されたレジスタ名: SRKH # OTP ID: OEM_SRKH0、値: 0x5960C0CC write-fuse --index 128 --data 0x5960C0CC # OTP ID: OEM_SRKH1、値: 0x0740B619 write-fuse --index 129 --data 0x740B619 # OTP ID: OEM_SRKH2、値: 0xA088CF71 write-fuse --index 130 --data 0xA088CF71 # OTP ID: OEM_SRKH3、値: 0xF26BFB02 write-fuse --index 131 --data 0xF26BFB02 # OTP ID: OEM_SRKH4、値: 0xE09CFA7D write-fuse --index 132 --data 0xE09CFA7D # OTP ID: OEM_SRKH5、値: 0x5194AD9B write-fuse --index 133 --data 0x5194AD9B # OTP ID: OEM_SRKH6、値: 0xD3E4D76D write-fuse --index 134 --data 0xD3E4D76D # OTP ID: OEM_SRKH7、値: 0x8F9A3699 write-fuse --index 135 --data 0x8F9A3699 # OTP ID: OEM_SRKH8、値: 0xA6A1A6F5 write-fuse --index 136 --data 0xA6A1A6F5 # OTP ID: OEM_SRKH9、値: 0xF49D8071 write-fuse --index 137 --data 0xF49D8071 # OTP ID: OEM_SRKH10、値: 0xB27C1AA7 write-fuse --index 138 --data 0xB27C1AA7 # OTP ID: OEM_SRKH11、値: 0xC0EDB408 write-fuse --index 139 --data 0xC0EDB408 # OTP ID: OEM_SRKH12、値: 0xFFF3CD09 write-fuse --index 140 --data 0xFFF3CD09 # OTP ID: OEM_SRKH13、値: 0x4D07EC25 write-fuse --index 141 --data 0x4D07EC25 # OTP ID: OEM_SRKH14、値: 0x83EEBBEC write-fuse --index 142 --data 0x83EEBBEC # OTP ID: OEM_SRKH15、値: 0x4CD4D500 write-fuse --index 143 --data 0x4CD4D500 Below Commandを使ってSRKHを焼くこともできます nxpele -f mimx9596 バッチ出力\ahab_oem0_srk0_hash_nxpele.bcf 既にSRKHを書き込んだものの、下記の無効な署名エラーで失敗した場合は、singed_message.binとSRKH(srkの出力すべてを含む)を弊社までお送りください。 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Ankit_Agrawal さん。 社内チームがお客様の問題を調査しており、進捗状況については追ってご連絡いたします。 その間に、あなたが直面している問題と似た以下のケースをぜひご覧ください。 推奨される解決策は、 fuse_versionが正しく一致していることを確認することです。 https://community.nxp.com/t5/i-MX-Processors/hsm-import-key-returns-with-0xF0-Bad-Signature/td-p/2163777 よろしくお願いします。 よろしくお願いいたします。 リチャード Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Ankit_Agrawal さん。 SPSDKを使用してSRKを書き込むには、以下の手順に従ってください。 ステップ1 。デバイスを起動したら、u-bootコンソールで停止し、以下を実行します。 u-boot=> fastboot 0 ステップ2 。SPSDKコンソールでは、以下のコマンドを使ってahabイベント情報が発生していない必要があります。 NXPELE -f mimx9596 get-events ステップ3 。イベントがなければ、今すぐSPSDKコンソールでSRKキーを焼くことができます。 nxpele -f mimx9596 バッチ出力\ahab_oem2_srk0_hash_nxpele.bcf BR ジェシー Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Jessie_Lee さん。 情報ありがとうございます。 私たちは フラッシュビン ファイルを取得し、SRKHを生成するために必要な手順を実行できます。 SRKHを生成した後、それをハードウェアに融合させる必要があります。ヒューズ操作を実行するには、ハードウェア/ボードが ファストブートモード。デバイスをFastbootモードに切り替えるのを手伝ってもらえますか? キーの融合を試みた際に、以下のエラーが発生しました。 Ankit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.png デバイスが現在Fastbootモードになっていないようです。ボード上でFastbootモードを有効にする方法についてご教示いただければ幸いです。 ありがとう、 アンキット Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) @Jessie_Lee 下記に示すように、不具合が発生しているとの報告があります。サポートを得ることは可能でしょうか? -------------------------------------------------------------------------------------------------------------- しかし、ヒューズ操作を実行するコマンドを実行すると、以下のエラーが発生します。 ハードウェアのリセットも試してみましたが、依然として同じ問題が発生しています。なぜこうなっているのか、何かアイデアはありますか? rakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.png @Ankit_Agrawal 必要であれば、追加の説明を遠慮なく提供してください。 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) @Ankit_Agrawalさんによると、fastboot に入る際に問題が発生したとのことです。 @rakhyoungあなたもfastbootに入る際に問題が発生しているということですか? 上記で共有した以下のコマンドを試してみましたか?u-bootステージでfastboot 0より下のレベルを実行しようとした際に発生するエラーは何ですか? ステップ1 。デバイスを起動したら、u-bootコンソールで停止し、以下を実行します。 u-boot=> fastboot 0 BR ジェシー Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Jessie_Leeさん 返信が遅くなり申し訳ありません。 デバイス側のU-Bootコンソールで正常に停止することに成功しました。しかし、ホスト側から以下のコマンドを使用してキーを融合しようとすると、次のエラーが発生します。 nxpele -f mimx9596 -p /dev/ttyUSB1 batch outputs/ahab_oem2_srk0_hash_nxpele.bcf 以下のエラーが発生しました。 Screenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.png2026-09-13 21-29-30 のスクリーンショット.png ハードウェアのリセットも試してみましたが、依然として同じ問題が発生しています。なぜこうなっているのか、何かアイデアはありますか? ありがとう、 アンキット Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Jessie_Lee さん。 添付のログをご確認ください。ご指示いただいた手順を実行しました。 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Ankit_Agrawalさん fastbootからuboot(コンソール)に入って、ホスト側でspsdkを実行するまでの全ステップログを共有していただけますか? あなたはu-boot経由でfastbootに入ったのだと思います。右? すべての手順(FastBootの入り、AHABイベントチェック、フューズ試行など)をホスト側のログで共有してください。 スナップショットではなく、ファイルを通してすべてのログを確認できると助かります。 BR ジェシー Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは@Jessie_Lee fastbootエントリ、イベント情報やヒューズを確認するホスト側の手順、デバッグログファイルの添付ログをご覧ください。 ありがとう、 アンキット Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Ankit_Agrawalさん 添付のログからは、Aコアのubootコンソールログは見つかりませんでした。(ターゲットボード)ubootコンソールでfastbootに入るとき、これを確認してもらえますか?PORのubootログ全文を共有してください SPSDKは「=>」文字によってU-Bootコンソールを検出しているようです。 ブート遅延値はいくつですか?(ubootコマンド「printenv bootdelay」で確認できます。)それともubootコマンド「setenv bootdelay 3;saveenv」でbootdelayを追加して、もう一度試してみることはできますか? BR ジェシー Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Ankit_Agrawal さん。 fastboot が起動しているかどうか、uboot ログを確認していただけないでしょうか。 以下はログの一部で、「不明なコマンド」というログが表示されています。このfastbootはU-Bootコミュニティの機能であり、NXPのBSPにも搭載されていますが、お使いのソフトウェア環境にはありません。 BSPチームがこの機能を削除するかどうかについては、BSPチームと話し合う必要があります。 ちなみに、NXPは最近ELE/V2Xの最新ファームウェアを公開しましたが、あなたのファームウェアは最新版ではないようです。 セキュリティ内部チームと連携して、FW版の同期を依頼してください。(ちなみに、このFWバージョンはfastboot機能のイネーブルメントとは関係ありません) Jessie_Lee_0-1789613044617.pngJessie_Lee_0-1789613044617.png BR ジェシー BR ジェシー Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Ankit_Agrawal さん。 BSPチームに確認したところ、fastbootはデフォルトのu-bootから削除されているとのことです。 つまり、fastbootモードを直接使ってSRKを融合することはできません。 SRKを燃やすためのSPSDKツールの代わりに、以下のいずれかの方法を使うことができます。ご存知の通り、あなたのチームはすでにfuse_accessアプリケーションを使ってカーネルレベルでのフューズアクセス(読み書き)を処理しています。どんな方法でもSRKを焼くのは問題ないかもしれません。 Jessie_Lee_0-1789713874158.png BR ジェシー Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Jessie_Lee さん。 統合に向けて、引き続きご指導とご支援いただき、誠にありがとうございます。 i.MX95 セキュア・エンクレーブの提案手順と手順を検討しましたが、提案された方法は事前構築または静的設定を必要とするため、現行アーキテクチャでは実現不可能と判断しました。私たちの実装では、実行時に鍵をプロビジョニングおよび管理することが厳密に求められます。 私たちの要件を満たすための代替方法や専用の ランタイムインポートキーAPI があれば教えていただけますか? 参考までに、 インポートキーAPI は2つの特定のユースケースのために実装に必須です。 ランタイム証明書のインストール: フロー中、アプリケーションは暗号化された契約証明書と秘密鍵を受け取ります。アプリケーション側でこれを復号した後、秘密鍵は実行時に動的にインポートまたは保存されなければなりません。 テストと検証: 現在の開発および検証段階では、既存の事前生成されたテストキー(契約証明書やルート証明書キーなど)をアプリケーション側のSecure環境に注入し、エンドツーエンドの通信フローとメッセージ署名を検証する必要があります。 事前構築のセットアップサイクルなしでこのダイナミックインジェクションを実現する方法について、ご意見をいただけるとありがたいです。 よろしくお願いします、 アンキット       Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Ankit_Agrawal さん。 キーインポート機能の実装方法についてさらに詳しくお伺いしたいのですが、現在の状況を教えていただけますでしょうか?今の方法では、あなたの側でも効果がありますか? キーインポート機能の変更に関するご要望を検討するにあたり、まず相手側の環境を理解する必要があります。あなたの側面の状況を理解する手助けをしてもらえますか? 「エンドツーエンドの保護」が十分に安全であることを理解する必要があります。 例えば、 * 相手側はどのようにしてこの暗号化された契約証明書と秘密鍵を生成するのですか? * あるいは、LG/GM側では、ブロブの暗号化キーはどのように生成されるのでしょうか? * この部品のGM仕様または仕様番号を教えていただけますか?  その後、お客様のコンセプトを理解し、セキュリティコアチームと協議してサポートいたします。  BR ジェシー Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Ankit_Agrawalさん よし、キーのインポートはこれで問題ない。 GMが提示する詳細なシナリオを待って、鍵の輸入に関する別の方法を検討しましょう。 BR ジェシー Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Ankit_Agrawal さん。 重要なインポートができるというのは良いニュースです。 あなたのデバイスのログはキーインポートに問題ないようですが、RSA4K CASEは問題ありません。 ホストからデバイスにtlv_blob_rsa4k.binを送信しませんでしたか?スクリプトの手順を正確に実行すれば、rsa4k.binも入手できるはずです。当社のEVK(4K CASE)のデバイスログの一部を以下にご確認ください。 ご参考までに、添付ファイルはホスト側のログ(生成時のtlv_blob_rsa4k.binを含む)です。ホスト側のログも併せてご確認ください。 BR ジェシー Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Jessie_Lee さん。 はい、先ほどtlv_blob_rsa4k.binファイルをプッシュし忘れていました。今度はプッシュして再度プロセスを実行したところ、4つのキーすべてが正常にインポートされていることが確認できます。参考までに、ログの全文を添付いたします。 ありがとう、 アンキット     Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは@Jessie_Lee サポートありがとうございます。 f use_access メソッド を用いることで SRKHを融合でき、テストキーを使ってキーインポートも成功しました(ログに示されています)。SRKHフュージングとキーインポート結果の両方のログを添付しました。 すべてが正しいかどうか確認してもらえますか? キーインポート機能の変更要請についてですが、 @rakhyoung詳細な要件を共有します。 Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Ankit_Agrawal さん。 GMと協力して、もっと詳細を得て共有できたか?直接お話しできるお問い合わせはありますか? ありがとうございます リディア Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @lydia_ziegler @Jessie_Lee さん、 ゼネラルマネージャーから以下の情報を受け取りました。スコットに確認してもらえますか? なお、10月15日(EST)にGMはP2PでNXP([email protected])と全体のCYS5711仕様を共有しました。この作業に携わっているNXPの連絡先にスコットにお問い合わせして仕様を入手してください。もし問題があればお知らせください。 ありがとう、 アンキット Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Ankit_Agrawalさん CYS5711を入手しました  リディアより。 キーインポートに関するお客様のご依頼について、 GMに、CYS5711付録Gパートの契約証明書/契約秘密鍵の提供 について話しているかどうか確認してもらえますか? このスペースにCYS5711の部分をスナップショットで読み込めるかはわかりません。ですので、「付録G」の章でスクリーンショットなしで指摘したことをご理解ください。 BR ジェシー Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、ジェシー。 はい、要件についてはセクション9.3.2.3「契約証明書秘密鍵復号」を参照できます。 ありがとう、 アンキット Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Ankit_Agrawalさん あなたにメールを送りました。 このメールを確認するのを手伝ってもらえますか[email protected]より BR ジェシー Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) こんにちは、 @Ankit_Agrawal さん。 正確なアルゴリズムについて、追加の質問があります。 機能についてですが、ISO 15118(2/20)でお客様にはどのカーブが必要ですか?ECC p521ですか、それともx448ですか?あるいは両方ですか? 他に曲線がある場合はお知らせください。 メールでのフィードバックは私には問題ないかもしれません。 BR ジェシー
記事全体を表示
受信感度は連続測定間で10dBの差がある。 QN9083 BLE SoCを使用している当社の製品の一つで予期せぬ挙動を観察しています。機器のレシーバ感度を測定すると、連続した測定間で最大10dBの差が見られます。CMW100を広告モードで測定しており、機器はシールドされたRFボックスに設置されています。箱を開けたり、デバイスの設置場所を変更したりせずに、連続してRxS測定を行ったところ、デバイスは最大10dBの差(-91dBmと-81dBm)を示しました。これは予想外で、これまで一度も発生したことのない現象です。その挙動はランダムである。ハードウェアとソフトウェアの両方の可能な原因を探しています。 Re: Rx sensitivity differs by 10dB between consecutive measurements こんにちは、 連続する感度測定値間で最大10dBものばらつきが生じるのは、通常想定されることではありません。 現在使われているソフトウェアやSDKのバージョンを教えてもらえますか? それと、もう少し詳しく教えていただけますか: これは単一のデバイスで起こるのか、それとも複数の製品で起こるのか? 異なる部署間で同様の行動が見られましたか? 同じ測定セットアップを使ってNXPの開発ボードでも同じ問題を再現できますか? この情報は、問題がハードウェア、ソフトウェア、テスト環境に特有のものかを判断するのに役立ちます。 よろしくお願いいたします。 リカルド Re: Rx sensitivity differs by 10dB between consecutive measurements こんにちは。ご連絡いただきありがとうございます。私の回答は以下のとおりです。 現在使われているソフトウェアやSDKのバージョンを教えてもらえますか? 5.0 は156414(コントローラーサブシステム)および156821(ホストサブシステム)に基づいています これは単一のデバイスで起こるのか、それとも複数の製品で起こるのか? 同じ製品です。他の製品では問題が起きたことは一度もありません。 異なる部署間で同様の行動が見られましたか? はい、ただし一貫しているわけではありません 同じ測定セットアップを使ってNXPの開発ボードでも同じ問題を再現できますか? QN9083を搭載した開発ボードと、チップをアドバタイジングモードに設定するファームウェアが必要です。 ありがとうございました。       Re: Rx sensitivity differs by 10dB between consecutive measurements BLEバージョンに関する追加情報: BLE Core 5.0をサポートするSDK 2.2.3 BLE 1.5.6。 Re: Rx sensitivity differs by 10dB between consecutive measurements @Ricardo_Zamora QN9080-DKを使用して測定を行いました。10dBの差は見られませんが、5dBの変動は依然として存在します(下記のデータを参照)。これは何が原因でしょうか? furbani_0-1784214895282.pngfurbani_0-1784214895282.png Re: Rx sensitivity differs by 10dB between consecutive measurements こんにちは、 @Ricardo_Zamora さん。私が投稿したデータや回答をご覧いただけましたでしょうか? ありがとう。 Re: Rx sensitivity differs by 10dB between consecutive measurements W236 FRDM基板の放射RSSIにどの程度のばらつきがあるかを測定するために、測定を行いました。最大で4dBの差が生じる。 RomanPBudek_0-1789049903611.pngRomanPBudek_0-1789049903611.png RomanPBudek_1-1789049923585.pngRomanPBudek_1-1789049923585.png Re: Rx sensitivity differs by 10dB between consecutive measurements @RomanPBudek最新情報ありがとうございます。測定にはどのような機器を使用しましたか?もし測定してもらえれば、うちのフォームファクターのデバイスの一つを発送したいです。 よろしくお願い申し上げます。 Re: Rx sensitivity differs by 10dB between consecutive measurements それはNXPのHCIブラックボックスソフトウェアでした。測定結果と比較させていただければ幸いです。後ほどメールで住所をお送りします。 過去には、Rx感度の問題はテスト器具のプロービング問題に起因していました。試験器具が摩耗すると、プローブピンがプラスチックハウジングに触れてRFピンに静電気を注入する可能性があります。照明器具を接地することで問題は解決しました。これらのデバイスをいくつか見せて、どのように動作するか確認させてください。 Re: Rx sensitivity differs by 10dB between consecutive measurements こんにちは、 @RomanPBudekさん ユニットは密封されており、再プログラムはできません。電源投入時にアドバタイズするファームウェアが付属しています。検査はできますか?我々が確認している変動は、CMW100を広告主モードで使用してこれらのユニットをテストした際に発生するものです(2026年9月30日のメールを参照)。 お知らせ下さい。 ありがとうございました。 ファビオ・ウルバーニ Re: Rx sensitivity differs by 10dB between consecutive measurements テストベンチ上の開発ボードは、複数のBLEデバイスごとに約4dBの変動を示します。これは、継続的に送信するファームウェアを基板にロードし、RSSIデータをプロットすることによって測定されました。これらの顧客識別デバイスについては、プログラミングピンへのアクセスができません。 いくつかの次のステップ 1. ユニットの一つを開いてRSSIソフトウェアをプログラムし、既存の開発ボードと比べてどうか確認します 2. お客様向けソフトウェアはASICを搭載していないため開発ボード上で使用できません。開発ボード向けにコードを大きく変更するとテストが無効になる可能性があります。 3. ユニットの一つを開けてNXPデバイスの故障解析を行う。
記事全体を表示
i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hi Team, We are currently working on importing a private key to an i.MX95 device following the guidelines in application note AN14898. Environment & References: Target Device: i.MX95 Demo Application: imx_sec_apps/imx-ele-apps SPSDK Version: Latest standard toolset Activities Completed So Far: Installed Python, pip, and the SPSDK toolset. Successfully built both the Host and Device applications. Copied device/bin/ele_key_import and device/scripts/run_test_on_board.sh to our target i.MX95 hardware. Executed the device-side flow to generate nxp_prod_ka_puk.bin. Transferred nxp_prod_ka_puk.bin back to our host environment. Generated SRK keys (secp384r1) using the SPSDK utility according to the SPSDK Documentation since we do not have final production keys yet. Generated the signed_msg.bin on the host side using the standard key import template (with the -k parameter set to secp384r1). Transferred the generated signed_msg.bin to the i.MX95 hardware. Command used to generate signed message: nxpimage signed-msg export -c key_exchange_temp.yaml -w assets Attached key_exchange_temp.yaml for reference. When running run_test_on_board.sh on the i.MX95 target device, all files are found, but the EdgeLock Enclave rejects the signature on the signed message block.Here is our target terminal log: nxp_prod_ka_puk.bin exists. oem_public_key.pem exists. signed_msg.bin exists. Hello, World! Jul 16 2026:06:54:40 9547bbd Signed Message: 728 bytes 02d802890200000000000000b8000000000000000000000000000000000000000000000000000000000000000000000000000000e6a7000000004701000000000000000000000000000000004707000000454c45090102090000000000920001010000000040000009010008000000000100000000000070577819deccdf2670d801e8f4291d3539081da49b1e1b63d55039e5993242b30f0000000000000000000000000000000000000000000000000000000000000000011c029000001000b40100000000000000a4015a01000000d7340143e14c00270102000030003000c2a99777d1fc00dc7e14d3d43ac3f68a44d9b52c882d3c09eac0db7fac1901242576bac6143785e5815db546e385d81000000000000000000000000000000000e14c00270102000030003000e358e1159c0cb645e7059c1b04b49e39b3563167472507278245d4dee439dd32e7ce3da413e397cbd7959cf147d25c2300000000000000000000000000000000e14c00270102000030003000482fb4f1ceb6e266221b0a13dbbb04c637a1c238b76b108397e98eb4557cafb2075036e05b9a0ee4fa6aa09a5f3951e500000000000000000000000000000000e14c00270102000030003000c93a6b4881ae912da31da8249e4f58473eb88cc1dc46f5ec6d363dc52b8a5c12c91e711ad726153d382dabbe6bef27cc000000000000000000000000000000000068005d00000000a5e31e11bfb02c62756d9d3ba5152768e5bea9aab8f3f13ccf3bd287a0438e9708088cafc5671e2aaf1bc3b413457b6a59a691dcef672fa65dac12ed328effac963c41ec0200b0a9acf67e0f2755f752872f77d2c20d6987f80e8008ac26de3d006800d800000000f4cf9cc965b3643d5dc5c5070a506196649daf898d328afd18e88eb9ece96e39646bf6385b9d42e1fc2f93f07f66e9c8c914becef9394c0c3cf549766483c7f94b6a9325bea51b79280eb76484e064637570c0ef7387ec0ffb8398ec36966c3a00000000 OEM Import PUK: 65 bytes 0451c46d24d30864c5275c634a3a339949654b34c0a4f294a8c107c504360ff4b55044918b71b16109a7bbfba8fbcf49b91720ad8e9c0109e6b2eed8f6a504ab64 hsm_open_session success hsm_open_key_store_service success hsm_open_key_management_service success SAB Error: SAB CMD [0x47] Resp [0x1829] - Invalid Signature in SIGNED message. hsm_key_exchange failed err:0xfe Key exchange failed: 254 Any insight on resolving this signature verification issue for the i.MX95 would be greatly appreciated. Thanks, Ankit Agrawal Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hi @Ankit_Agrawal  I am wondering if you burn SRKH  after SRK generation.  for necessary sign.yaml file please check my attached file.  Please try below command (precondition is you should have flash.bin: bootloader of system) to generate SRKH.   nxpimage ahab sign -c sign.yaml -b flash.bin -o flash_directsign.bin -fs outputs output will be as below. Jessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.pngJessie_Lee_0-1786699088609.png and from the ouputs folder, you could see bcf file(ahab_oem0_srk0_hash_nxpele.bcf).  you could follow below fuse command  (index 128 ~143) that you need to fuse for SRKH.  # nxpele AHAB SRKH fuses programming script # Generated by SPSDK 3.4.0 # Family: mimx9596, Revision: latest # Value: 0xCCC0605919B6400771CF88A002FB6BF27DFA9CE09BAD94516DD7E4D399369A8FF5A6A1A671809DF4A71A7CB208B4EDC009CDF3FF25EC074DECBBEE8300D5D44C # Description: SHA512 hash digest of hash of four SRK keys # Grouped register name: SRKH # OTP ID: OEM_SRKH0, Value: 0x5960C0CC write-fuse --index 128 --data 0x5960C0CC # OTP ID: OEM_SRKH1, Value: 0x0740B619 write-fuse --index 129 --data 0x740B619 # OTP ID: OEM_SRKH2, Value: 0xA088CF71 write-fuse --index 130 --data 0xA088CF71 # OTP ID: OEM_SRKH3, Value: 0xF26BFB02 write-fuse --index 131 --data 0xF26BFB02 # OTP ID: OEM_SRKH4, Value: 0xE09CFA7D write-fuse --index 132 --data 0xE09CFA7D # OTP ID: OEM_SRKH5, Value: 0x5194AD9B write-fuse --index 133 --data 0x5194AD9B # OTP ID: OEM_SRKH6, Value: 0xD3E4D76D write-fuse --index 134 --data 0xD3E4D76D # OTP ID: OEM_SRKH7, Value: 0x8F9A3699 write-fuse --index 135 --data 0x8F9A3699 # OTP ID: OEM_SRKH8, Value: 0xA6A1A6F5 write-fuse --index 136 --data 0xA6A1A6F5 # OTP ID: OEM_SRKH9, Value: 0xF49D8071 write-fuse --index 137 --data 0xF49D8071 # OTP ID: OEM_SRKH10, Value: 0xB27C1AA7 write-fuse --index 138 --data 0xB27C1AA7 # OTP ID: OEM_SRKH11, Value: 0xC0EDB408 write-fuse --index 139 --data 0xC0EDB408 # OTP ID: OEM_SRKH12, Value: 0xFFF3CD09 write-fuse --index 140 --data 0xFFF3CD09 # OTP ID: OEM_SRKH13, Value: 0x4D07EC25 write-fuse --index 141 --data 0x4D07EC25 # OTP ID: OEM_SRKH14, Value: 0x83EEBBEC write-fuse --index 142 --data 0x83EEBBEC # OTP ID: OEM_SRKH15, Value: 0x4CD4D500 write-fuse --index 143 --data 0x4CD4D500 you could use below command to burn SRKH nxpele -f mimx9596 batch outputs\ahab_oem0_srk0_hash_nxpele.bcf If you burn the SRKH already but failed with below invalid singing, please share the singed_message.bin to us.  with your SRKH (including srk output all).  Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hello @Ankit_Agrawal, Our internal team is reviewing your issue and will update you accordingly. In the meantime, please review the case below, which is similar to the issue you are encountering. The suggested solution is to verify that the fuse_version matches correctly. https://community.nxp.com/t5/i-MX-Processors/hsm-import-key-returns-with-0xF0-Bad-Signature/td-p/2163777 Thank you. Best Regards, Richard Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hi @Jessie_Lee , Thanks for the information. We have located the flash.bin file and are able to perform the necessary steps to generate the SRKH. After generating the SRKH, we need to fuse it to the hardware. To perform the fuse operation, the hardware/board must be in Fastboot mode. Could you please help us switch the device to Fastboot mode? While attempting to fuse the keys, we are encountering the following error: Ankit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.pngAnkit_Agrawal_0-1787636692485.png It appears that the device is not currently in Fastboot mode. Any guidance on how to enable Fastboot mode on the board would be greatly appreciated. Thanks,  Ankit Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hi @Ankit_Agrawal  Please follow up below steps to burn SRK using SPSDK step#1. when you boot device, stop at u-boot console , run  u-boot=> fastboot 0 step#2.  In SPSDK console , you must there is no ahab events) using below command. nxpele -f mimx9596 get-events  step#3. If there is no event,  you could burn SRK key now in SPSDK console. nxpele -f mimx9596 batch outputs\ahab_oem2_srk0_hash_nxpele.bcf BRs jessie Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) @Jessie_Lee  It is reported that things are not working as shown below. Is it possible to get some support? -------------------------------------------------------------------------------------------------------------- However, when I execute the command to perform the fuse operation, I encounter the error below. I tried resetting the hardware too, but I'm still facing the same issue. Do you have any ideas on why this might be happening? rakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.pngrakhyoung_0-1789101296622.png @Ankit_Agrawal  Feel free to provide additional explanation if necessary. Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) from @Ankit_Agrawal  , there was fastboot entering issue.  @rakhyoung  Do you mean you are also having issue to enter fastboot ? did you try to  below command..? that I shared.. above?  what is error when you try to below fastboot 0 at uboot stage?  step#1. when you boot device, stop at u-boot console , run  u-boot=> fastboot 0 BRs jessie Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hello @Jessie_Lee  Sorry for the delayed response. I successfully managed to stop at the U-Boot console on the device side. However, when trying to fuse the key from the host side using the following command: nxpele -f mimx9596 -p /dev/ttyUSB1 batch outputs/ahab_oem2_srk0_hash_nxpele.bcf I encountered the following error: Screenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.pngScreenshot from 2026-09-13 21-29-30.png I tried resetting the hardware too, but I'm still facing the same issue. Do you have any ideas on why this might be happening? Thanks, Ankit Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hello @Jessie_Lee , Please find attached logs for the fastboot entry, the host-side steps to check events and fuses, and the debug log file. Thanks, Ankit Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) HI @Ankit_Agrawal  From your attached log, I could not find A core's uboot console log. (target board) when you enter fastboot on uboot console,   Could you please check this? Please share full uboot log from POR  it seems that SPSDK detect uboot console by "=>" character.  What's your boot delay value(check by uboot command "printenv bootdelay")? Or can you add the bootdelay with uboot command "setenv bootdelay 3; saveenv" and try again? BRs jessie Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) HI @Ankit_Agrawal  Could you please share all step log from fastboot entering at uboot (console), execute spsdk by host side? I believe you entered fastboot thru uboot. right? please share all steps (fastboot entering, ahab event check , try to fuse.. etc on host side log). It would be helpful to see all logs thru files not snapshot.  BRs jessie Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hello @Jessie_Lee , Please find the attached logs. I have performed the steps as suggested by you. Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hi @Ankit_Agrawal  I am wondering if you check your uboot log for fastboot entering . Below is part of your log  and it show "unknown command" log. this fastboot is u-boot community feature which NXP's BSP also has but not in your SW env.  You need to discuss with your BSP team if BSP team remove this function.  BTW, NXP shared Updated ELE/V2X FW recently but your FW seems to be not latest.  Please discuss with your security internal team to sync up the FW version.  (btw, this FW version is not related with fastboot feature enablement or not)  Jessie_Lee_0-1789613044617.pngJessie_Lee_0-1789613044617.png BRs jessie BRs jessie Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hi @Ankit_Agrawal  I checked with your BSP team and fastboot is removed from default u-boot. So, you could not use fastboot mode directly to fuse SRK. Instead of SPSDK tool for burning SRK, you could use one of below method. As I know your team already use fuse_access application to handle fuse access (read/write) at kernel level.  any method could be okay to burn your srk.   Jessie_Lee_0-1789713874158.png BRs jessie Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hi @Jessie_Lee , Thank you very much for your continued guidance and support as we navigate our integration. We reviewed the proposed procedure and steps for the i.MX95 Secure Enclave, but because the suggested methods require pre-build or static configuration, they will not be feasible for our current architecture. Our implementation strictly requires provisioning and managing keys at run time. Could you let us know if there is an alternative approach or a dedicated Runtime Import Key API available to meet our requirements? For context, the Import Key API is mandatory for our implementation due to two specific use cases: Runtime Certificate Installation: During the flow, the application receives an encrypted contract certificate and private key. After decrypting this on the application side, the private key must be dynamically imported or stored into the Secure environment at run time. Testing and Validation: For our current development and verification phase, we need to inject existing, pre-generated test keys (such as Contract Certificates, and Root Certificate keys) into the application-side Secure environment to validate the end-to-end communication flow and message signatures. We would appreciate your insights on how we can achieve this dynamic injection without a pre-build setup cycle. Best Regards, Ankit       Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hi @Ankit_Agrawal  To move further about the way of key import feature, May I ask your current status? Does it work on your side now with our current method?  To review your request for changing the way of key import feature , we need to understand firstly Other end side environment.  could you help us to understand your side situation ?  We need to understand "end to end protection" is secure enough For example,    * How other end generate this encrypted contract certificate and private key? * Or How the encrypted key of the blob is generated in LG/GM side?  * Could you please provide GM spec or GM spec numbers on this part?  then we can understand your concept and discuss with our security core team to support such way.   BRs Jessie  Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) HI @Ankit_Agrawal  Okay, then, key import is okay now.  Let us wait the detail GM's scenario for reviewing other way of key import.   BRs jessie Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hi @Ankit_Agrawal  It is good news that you could do key import.  your device logs seems to be okay for key import except rsa4k case. Didn't you send tlv_blob_rsa4k.bin from host to device? If you follow our script exactly, you may should have rsa4k.bin also .  please check below  part of device log  on our EVK(4k case).  For your reference, attached file is host side log(including generation tlv_blob_rsa4k.bin)  . please check with your host side log together.  BRs jessie Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hello @Jessie_Lee ,   Yes, I missed pushing the tlv_blob_rsa4k.bin file earlier. I have now pushed it and executed the process again, and I can see that all four keys have been imported successfully. I am attaching the complete logs for your reference. Thanks, Ankit     Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hello @Jessie_Lee , Thank you for the support. By using the fuse_access method, I am now able to fuse the SRKH, and the key import was successful using the test keys, as shown in the logs. I have attached the logs for both the SRKH fusing and the key import results. Could you please review them to confirm if everything looks correct? And regarding the request for changing the way of key import feature,  @rakhyoung  will share the detailed requirement details. Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hi @Ankit_Agrawal  Have you been able to work with GM to get more detail that you can share?  Do you have a contact that perhaps we can speak directly with? Thanks, Lydia Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hi @lydia_ziegler @Jessie_Lee ,  I received the information below from the GM. Could you please check with Scott? Please note that on 10/15 (EST) GM shared the entire CYS5711 spec with NXP ([email protected]) by P2P.  Please ask the NXP contact that has been working on this contact Scott to get spec. If any issues please let me know. Thanks, Ankit Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) HI @Ankit_Agrawal  We got CYS5711  from Lydia.  Regarding your current request for key import,  Could you please check with GM if they are talking about CYS5711's Annex G part's Contract certificate /Contract private key provision ?  I am not sure if we could load CYS5711's part with snapshot on this space. So, Please understand that I pointed out with "Annex G" chapter without screenshot.  BRs jessie Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) HI @Ankit_Agrawal  I sent email to you.  Could you help to check this email? from [email protected] BRs jessie Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hello Jessie, Yes, you can refer section 9.3.2.3 Contract Certificate Private Key Decryption for the requirements. Thanks, Ankit Re: i.MX95: EdgeLock Enclave Key Import Error - SAB CMD [0x47] Resp [0x1829] (Invalid Signature) Hi @Ankit_Agrawal  We have additional question for exact algorithm. For your features,  which curve customer need for ISO 15118(2/20) ? ECC p521 or x448 ? or both? If there are any other curves, please let us know.. Email feedback could be okay for me . BRs jessie
記事全体を表示
eTPU A/Bクロック停止中のMPC5777C Nexusトレース こんにちは、 eTPU A/B クロックがSIU_HLT1 ETPUAビットで停止されると、Nexus Port コントローラ(NPC)からのMDOおよびMSEO Nexus出力が0V(死)に固定されることが判明しました。他の Nexus クライアント (例:e200) は Nexus トレースデータを生成しています。 SIU_HLT1.ETPUA が後で「0」で書き込まれると(クロックが停止しなくなる)、e200 Nexus クライアントからの Nexus トレース ストリームが NPC と外部の世界に到達します。 いくつかのテストを行った結果、HLT1レジスタ内の他のクロック停止要求では、MSEO/MDOピンで同様の動作は発生しないようです。 つまり、eTPUのA/Bクロック停止がNexusのトレース動作全般に影響を与えるように見えるのが核心問題です。 これは、NPCのクロック分周器やポート幅に関係なく発生します。 試行錯誤で見つけた回避策は、まず各 (A と B) eTPU エンジンをそれぞれの ECR.MDIS ビットで無効にし、次に HLT1.ETPUA でモジュール クロック全体を無効にすると、トレースが他の Nexus クライアント (例:e200コア)。   しかし、この回避策はユーザーのアプリケーションを変更する必要があるため最適ではありません。この挙動をデバッガで軽減できるかどうか気になっています。   Re: MPC5777C Nexus trace while eTPU A/B clock halted こんにちは、 私はこれまでそのような問題に遭遇したことがありません。私たちはいつもAshware of the CodewarriorのeTPUシミュレータを使っているからです。 詳しく調べて、できるだけ早くご連絡いたします。 よろしくお願いいたします。 ピーター Re: MPC5777C Nexus trace while eTPU A/B clock halted こんにちは、 この動作は、MPC5777Cのクロックゲーティングの実装に関連しているようです。eTPU A/B停止要求がNexusの出力に影響を与えないようにするNPC構成は、我々の知る限り存在しません。 デバッガーの回避策として、SIU_HLT1[ETPUA] = 1 を設定する前に、以下の手順を実行してください。 eTPUエンジンのECR[MDIS]ビットを両方とも1に設定します。 エンジンが現在の作業を完了するまでお待ちください。 SIU_HLT1[ETPUA]を1に設定します。 このシーケンスはデバッガの停止スクリプトで自動化可能です。ただし、両方のeTPUエンジンを停止させるため、アプリケーション側には透過性がありません。この問題はシリコンデザインチームによっても、デバイスのエラタムの可能性として検討されるべきです。 よろしくお願いいたします。 ピーター Re: MPC5777C Nexus trace while eTPU A/B clock halted こんにちは、 調べていただきありがとうございます。問題は、デバッガとしてSoC周辺レジスタの変更を避けようとすることです。なぜなら、それがユーザーのアプリケーションに影響を与えるからです。 この場合の問題は、SIU_HLT1[ETPUA] = 1がデバッガである私たちではなく、ユーザーアプリケーションによって書かれていることです。したがって、デバッガはユーザーアプリケーションがいつそれを実行するかを知ることができず、デバッガがアプリケーションが書く前にECR[MDIS]を書くことができます SIU_HLT1[ETPUA] = 1; ユーザーには、ECR[MDIS]がSIU_HLT1[ETPUA] = 1の前に書かれた方法でアプリケーションを更新することを推奨します。
記事全体を表示
PN5190 こんにちは。PN5190を使用したカードリーダーモジュールを実装しました。ソフトウェアのアップグレードとデバッグを行った後、しばらくするとUSBカードは認識できるものの、カードの読み取りができなくなってしまいました。また、このチップはヒートガンで手動で加熱すると簡単に破損し、正常にインストールするのが難しいことも分かりました。設計上の欠陥がないか、また使用する際にどのような注意が必要か、ご確認いただけますでしょうか。よろしくお願いいたします。 RF Re: PN5190 ファームウェアが最新バージョンにアップデートされたということですか?アップデート後、一定期間使えるのですか?同じ問題を抱えているボードはいくつありますか? Re: PN5190 サンプルボードを5枚インストールしましたが、すべて同じ問題が発生しました。カードが全く読み取れません。解決策はマイクロコントローラとPN5190を使用することです。コンピュータはスマートカードデバイスを認識できますが、「カード読み取り」を選択しても動作せず、電流は約30mAのままです。電源は5V(USBまたはアダプタ)です。PCB設計を確認してください。まず、ハードウェア設計に問題がないか確認してください。よろしくお願いいたします。
記事全体を表示
S32 Design Studio for Power Arhitecture Version 2017.R1 license expired Hi NXP, My license for the IDE from the title expired and I have to maintain a legacy code base for which I would need this specific version. Could you extend the license? Fulfillment ID: 203520687 Expiration Date: Dec 31, 2025 Product: S32 Design Studio for PA E200 Re: S32 Design Studio for Power Arhitecture Version 2017.R1 license expired Hi Josip,  your S32DS license has been extended. Please activate S32DS again with your old code. 
記事全体を表示
TRIGMUX+eMIOSを用いたBLDCモータの方向測定 説明:私はNXPが推奨する6ステップ整流方式を使用してBLDCモーターを駆動しています。 アプリノート「 https://community.nxp.com/t5/S32M-Knowledge-Base/S32M276-Hall-sensor-based-6-step-BLDC-motor-control/ta-p/2035021#jump_PwmAndTriggers 」によると ホールセンサーの出力はTRIGMUXに送られ、その後LCUに送られ、整流や速度信号の計算にも使われます。この記事では運動方向の測定方法については触れていません。 NXP社製のモーター回転方向測定ソリューションはありますか?私の理解では、方向を測るには入力キャプチャユニットを使って3つのホールセンサー出力すべてをキャプチャする必要があるようです。 eMIOSチャネルを以下のように設定することは可能でしょうか? CH0 - TRIGMUXを介してLCUから速度信号を受信する入力キャプチャモード。 CH1 - Hall1を受信するための入力キャプチャモード。 CH2 - Hall2を受信するための入力キャプチャモード。 CH3 - Hall3を受信するための入力キャプチャモード。 もう少し詳しく説明してください。 Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS eMIOS 0 CH0 - 入力キャプチャモードを、TRIGMUXを介してLCUから速度信号(3つのホール入力のXOR値)を受信するように構成します。 XOR信号の変化に応じてeMIOSから割り込みを発生させることは可能ですか?(ここでは、セクターが変化するたびにXOR信号に遷移が生じることを前提としています。)もし可能なら、ホールセンサー入力を受けるGPIOピンを読み取り、ホールパターンやセクターを確認できます。また、各セクター変更間のタイムスタンプを使って速度を測定することもできます。SO、同じISRでも速度と方向を測定できます。 それが実現可能か、あるいは推奨されるかどうか教えてください。 Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS こんにちは、@ RIJILKP モーターの回転方向は、ホールセンサーからの信号の順序によって決定できます。 しかし、「S32M276 - ホールセンサーベースの6ステップBLDCモーター制御」では、モーターの回転方向がユーザーソフトウェアから入力として提供されます。 現在のセクターは、Hall_A、Hall_B、Hall_Cの3つの信号の状態に基づいて決定できます。 あらかじめ設定された回転方向に基づき、次の整流位置を計算できます。 このリファレンス・デザインでは、セクター番号が変化する順序に基づいてモーターの回転方向を決定できます。 ご質問に戻ります。 回転方向を特定することだけが目的であれば、 GPIOを使って3つのホール信号の状態を単純に読み取ることができます。連続した2つの読み取り間でこれらの信号の変化を分析することで、現在の回転方向を特定できます。 ご質問について: 「eMIOSチャネルを以下のように設定することは可能でしょうか。 CH0 - TRIGMUXを介してLCUから速度信号を受信する入力キャプチャモード。 CH1 - Hall1を受信するための入力キャプチャモード。 CH2 - Hall2を受信するための入力キャプチャモード。 CH3 - Hall3を受信するための入力キャプチャモード。 私はこの方法をお勧めしません。eMIOSを使って信号をキャプチャすることは確かに可能ですが、この方法は周辺リソースを消費するだけでなく、プロセッシング(SW)にはCPUに依存し続けます。 推奨事項: 例えば、 MCSPTE1AK116 解で示されている方法: あるいは、前述の通り、回転方向はセクター番号の変化に基づいて決定することもできます。 Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS 私のハードウェア設計によると、ホールセンサー信号は下記のようにTRIGMUXチャネルにマッピングされています。 M1_Hall1_Sig_PWM 1 PTA18 入力 TRGMUX_IN12 M1_Hall2_Sig_PWM 2 PTA19 入力 TRGMUX_IN13 M1_Hall3_Sig_PWM 3 PTA20 入力 TRGMUX_IN14 これらのTRIGMUXチャネルをLCUに送り込み、整流と速度信号の計算をしたいと考えています。また、モーターの回転方向も測定したいです。ホールセンサーの入力がTRIGMUXにマッピングされているので、ポートピンの状態を読み取ることは可能でしょうか? Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS 1. この関数「Lcu_Ip_GetSyncLogicInput」は、LCUに入力される3つのホールピンすべてのピンの状態を一度に読み取ることができますか。UMのドキュメントを確認しても、関数がポインタを返すのは見当たりません。では、ピン状態はどうやって取得すればいいのでしょうか? M1_Hall1_Sig_PWM 1 PTA18 M1_Hall2_Sig_PWM 2 PTA19 M1_Hall3_Sig_PWM 3 PTA20 2. アプリケーションノートの例では、「関数eMIOS1IcuNotifyは、7つのエッジがキャプチャされた後に呼び出されます」と記載されています。7番目のエッジごとにではなく、すべてのエッジで通知やISRを取得して、そのISR内のホールピン状態を読み取る方法はありますか?そうすれば、速度とモーターの方向を計算するISRは1つだけで済みます。 Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS こんにちは、@ RIJILKP ホールセンサー入力がTRIGMUXにマッピングされているので、ポートピンの状態を読み取ることは可能 1.Is のでしょうか? それは可能だが、全く必要ない。 LCUモジュール自体はすでに入力の現在の状態を取得できます。 /* @brief [LC_INPUTS] This function Indicates states of LC inputs /* @details This service is a reentrant function that shall Indicates states of LC inputs Lcu_Ip_ReturnType Lcu_Ip_GetSyncLogicInput(Lcu_Ip_SyncInputValueType List[], const uint8 Dimension); 2. XOR信号の変化に応じてeMIOSから割り込みを発生させることは可能ですか?(ここでは、セクターが変化するたびにXOR信号に遷移が生じることを前提としています。) はい、こちらがサンプルコードの設定画面のスクリーンショットです。 Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS ICU測定モードの設定をEDGE DETECTに変更した場合、以下のAPIを使用してタイムスタンプを取得できますか? 「Emios_Icu_Ip_StartTimestamp」 「Emios_Icu_Ip_GetTimestampIndex」 前提条件には「チャネルはタイムスタンプ測定のために設定されている必要があります」と書かれています。 また、スクリーンショットに表示されているコードを入手することは可能でしょうか?私はドキュメントしかアクセスできませんでした。サンプル実装が手に入れば大いに助かります。 Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS こんにちは、@ RIJILKP このソリューションのデモコードでは、次のようになります。 1.Lcu Lcu_Ip_GetSyncLogicInput(InputSector, 3); SensorHall.InA = InputSector[0].Value; SensorHall.InB = InputSector[1].Value; SensorHall.InC = InputSector[2].Value; SensorHall.Sector = (SensorHall.InC << 2) + (SensorHall.InB << 1) + SensorHall.InA - 1; 2. 「関数 eMIOS1IcuNotify は7つのエッジがキャプチャされた後に呼び出される」、その関数は修正可能です。 1に変えられます。 あるいは、eMIOSの測定モードを以下のように変更することをお勧めします。 Re: BLDC Motor Direction measurement using TRIGMUX+eMIOS こんにちは@RIJILKP あなたがこのデモを入手できなかったのは意外です。実は、あなたが提供したリンクに含まれているんですよ。 また、S32K344の場合: https://www.nxp.com/design/design-center/development-boards-and-designs/MCSPTE1AK344 質問に戻りますが、ICUチャネルをEDGE DETECTに設定すると、通常そのチャネルに対してEmios_Icu_Ip_StartTimestamp()やEmios_Icu_Ip_GetTimestampIndex()は使えません。 しかし、先ほども言ったように、「関数 eMIOS1IcuNotify は7つのエッジがキャプチャされた後に呼び出される」というものは、修正可能です。
記事全体を表示
连续两次测量中接收灵敏度相差 10dB 我发现我们一款使用 QN9083 BLE SoC 的产品出现了异常行为。当我测量设备接收器灵敏度时,我发现连续两次测量之间有高达 10dB 的差异。我正在使用 CMW100 的广播模式进行测量,该设备放置在屏蔽的射频盒中。在不打开盒子和/或改变设备位置的情况下,连续进行 RxS 测量,设备的响应差异高达 10dB(即 -91dBm 和 -81dBm),这是意料之外的,以前从未发生过。这种行为是随机的。我正在寻找硬件和软件方面可能的原因。 Re: Rx sensitivity differs by 10dB between consecutive measurements 你好, 连续两次灵敏度测量结果之间出现高达 10 dB 的变化,这通常是我们意想不到的。 能否告知您当前使用的软件/SDK 版本? 另外,您能否澄清一下: 这种情况是发生在单个设备上还是多个产品上? 您是否在不同的单元中观察到过同样的情况? 使用相同的测量设置,能否在 NXP 开发板上重现该问题? 这些信息将有助于确定问题是硬件、软件还是测试环境特有的。 顺祝商祺! 里卡多 Re: Rx sensitivity differs by 10dB between consecutive measurements 您好,感谢您的回复。我的回答如下: 能否告知您当前使用的软件/SDK 版本? 5.0 版本基于156414(控制器子系统)和 156821(主机子系统) 这种情况是发生在单个设备上还是多个产品上? 同一款产品。使用其他产品从未遇到过问题。 您是否在不同的单元中观察到过同样的情况? 是的,但并非始终如此。 使用相同的测量设置,能否在 NXP 开发板上重现该问题? 我需要一块搭载 QN9083 芯片的开发板,以及一个能将芯片设置为广播模式的固件。 谢谢!       Re: Rx sensitivity differs by 10dB between consecutive measurements 关于BLE版本的其他信息: SDK 2.2.3 BLE 1.5.6,支持 BLE Core 5.0。 Re: Rx sensitivity differs by 10dB between consecutive measurements @Ricardo_Zamora 我使用 QN9080-DK 进行了测量。虽然我没有看到 10dB 的差异,但仍然存在 5dB 的波动(见下方数据)。可能是什么原因造成的? furbani_0-1784214895282.pngfurbani_0-1784214895282.png Re: Rx sensitivity differs by 10dB between consecutive measurements 嗨@Ricardo_Zamora,您有时间查看我发布的数据/答案吗? 谢谢。 Re: Rx sensitivity differs by 10dB between consecutive measurements 我测量了 W236 FRDM 板,看看辐射 RSSI 的变化有多大。变化幅度可达 4dB。 RomanPBudek_0-1789049903611.pngRomanPBudek_0-1789049903611.png RomanPBudek_1-1789049923585.pngRomanPBudek_1-1789049923585.png Re: Rx sensitivity differs by 10dB between consecutive measurements @RomanPBudek谢谢你的更新。你使用什么仪器进行测量的?如果您也能测量一下我们这款设备的尺寸,我想寄送一台给您。 谢谢 Re: Rx sensitivity differs by 10dB between consecutive measurements 这是恩智浦HCI黑盒软件。我很乐意与测量结果进行比较。我会通过电子邮件发送我的地址。 过去,接收灵敏度问题可以追溯到测试夹具上的探测问题。随着测试夹具的磨损,探针针可能会接触到塑料外壳,并将静电注入射频针中。通过将灯具接地解决了这个问题。让我看看其中几个设备,了解一下它们的性能。 Re: Rx sensitivity differs by 10dB between consecutive measurements 嗨@RomanPBudek 这些设备是密封的,无法重新编程。它们自带固件,开机后会播放广告。你能进行测试吗?我们发现的这种差异是在使用 CMW100 以广告模式测试这些设备时出现的(参见 2026 年 9 月 30 日的电子邮件)。 请指教。 谢谢! 法比奥·乌尔巴尼 Re: Rx sensitivity differs by 10dB between consecutive measurements 在测试台上,开发板对几种不同的 BLE 设备表现出约 4dB 的变化。这是通过将固件加载到持续传输信号的板上,然后绘制 RSSI 数据来进行测量的。对于这些客户指定的设备,无法访问编程引脚。 接下来可能采取的几个步骤 1. 打开其中一个单元,并对 RSSI 软件进行编程,以了解它与现有开发板的比较情况。 2. 由于开发板没有 ASIC,因此客户软件无法在该开发板上使用。对开发板的代码进行过大的修改可能会导致测试无效。 3. 打开其中一个单元,对 NXP 设备进行故障分析。
記事全体を表示
LPC55s16セキュアブートデバイスリカバリ 親愛なるnxpコミュニティの皆様、 私は以下のようにLPC55s16-EVKのセキュアブート機能をテストしていましたが、すべて予想通りにうまく動作したものの、最終的にボードが応答しなくなりました。 セキュアプロビジョニングツール用のワークスペースを作成し、 ビルドしたELFファイルから署名付きのプレーンイメージを生成し、それをフラッシュした。アプリケーションは稼働していました。 - その後、CMPAフラッシュリージョンでデバッグ認証を設定し、デバッグ認証を使い、これも動作しました。 次に、別のテストワークスペースを作成し、同じelfファイルに署名するための新しいROTKキーとイメージキーを生成しました。これは、CMPA領域に格納されているハッシュが異なるため、ROMブートローダーがこのファームウェアを拒否することをテストするためです。 - 新しいワークスペースでは、CMPA領域で何も変更していません。デフォルト設定が使用されていますが、私の考えではデバッグポートが有効になっているはずなのに、デバイスが応答しなくなってしまいました。 - 両方のCASEで、ライフサイクルは「発酵」として選ばれ、封印されたものではありません。 - nxpdebugmboxがタイムアウトエラーを返します。 - ISPピンをローに長押ししてリセットピンを押して離してISPモードにしようとすると、BLHostツールからpingの応答が全くありません。 - SPIやUSBインターフェースも使ってみましたが、結果は同じでした。 参考資料として、cmpa.json ファイルと、テストワークスペースである 2 番目のワークスペースのログファイルを添付します。 このデバイスをどうやって復旧させる方法はありますか?どんなご支援でも大変ありがたく思います。ありがとう Re: LPC55s16 secure boot device recovery こんにちは、 @Alice_Yang さん。 ご回答ありがとうございます。私には、2回目のCMPAリージョン書き込みでおそらくすべてCC_SOCU_DFLT CC_SOCU_PIN 0が書かれたため、デバッグインターフェースが永久に無効になっているように見えます。nxpdebugmboxというデバッグメールボックスツールを使ってみましたが、今回と同じエラーで応答タイムアウトが出ます。 Re: LPC55s16 secure boot device recovery こんにちは、 @xavier_es_developer さん。 ご質問ありがとうございます。 MCUXpressoのSecure Provisioning Tool(SEC)のDM-AP方法を使ってデバイスを消去してください。 MCUXpressoセキュアプロビジョニングツールからSECをダウンロードしインストールできます。NXP Semiconductors。 この方法でデバイスが正常に消去できるか確認してください。 もし問題が続く場合は、どうぞお気軽にお問い合わせください。 BR アリス Re: LPC55s16 secure boot device recovery こんにちは、 @xavier_es_developer さん。 検査結果から判断すると、基板は回収できないようです。 セキュアブートには、MCUXpresso Secure Provisioning Tool (SEC) の使用をお勧めします。シンプルで使いやすく、設定ミスのリスクを減らすのに役立ちます。 ダウンロードはこちらから: MCUXpressoセキュアプロビジョニングツール MCUXpressoセキュアプロビジョニングツールユーザーガイドのセクション6.5「LPC55(S)0x/1x/2x/6x またはNHS52SxxまたはMCXW23xデバイスワークフロー」をご参照ください。 よろしくお願いします。 アリス
記事全体を表示
Rx sensitivity differs by 10dB between consecutive measurements I am observing unexpected behavior for one of our products using QN9083 BLE SoC. When I measure the device receiver sensitivity, I am seeing deltas up to 10dB between consecutive measurements. I am using a CMW100 in advertiser mode to perform measurement and the device is placed in a shielded RF box. Performing consecutive RxS measurements, without opening the box and/or changing device location, the device responds with up to 10dB difference (i.e., -91dBm and -81dBm) which is unexpected and never happened before. The behavior is random. I am looking for possible causes both hardware and software. Re: Rx sensitivity differs by 10dB between consecutive measurements Hello, A variation of up to 10 dB between consecutive sensitivity measurements is not something we would normally expect. Could you share the software/SDK version currently being used? Also, can you clarify: Does this occur on a single device or multiple products? Have you seen the same behavior across different units? Can the issue be reproduced on an NXP development board using the same measurement setup? This information will help determine whether the issue is specific to the hardware, software, or test environment. Best Regards, Ricardo Re: Rx sensitivity differs by 10dB between consecutive measurements Hello thank you for getting back to me. Here are my answers: Could you share the software/SDK version currently being used?       5.0 based on 156414 (Controller Subsystem) and 156821 (Host Subsystem) Does this occur on a single device or multiple products?       Same product. Never had the issue with different products. Have you seen the same behavior across different units?       Yes but not consistently Can the issue be reproduced on an NXP development board using the same measurement setup?       I will need a dev board with QN9083 and a FW that will set the chip on advertising Thank you,       Re: Rx sensitivity differs by 10dB between consecutive measurements Additional info regarding BLE version: SDK 2.2.3 BLE 1.5.6 that supports BLE Core 5.0. Re: Rx sensitivity differs by 10dB between consecutive measurements @Ricardo_Zamora  I ran measurements using QN9080-DK. Although I do not see 10dB discrepancy there is still 5dB fluctuation (see data below). What could cause this?  furbani_0-1784214895282.pngfurbani_0-1784214895282.png Re: Rx sensitivity differs by 10dB between consecutive measurements Hi @Ricardo_Zamora did you get the chance to look into the data/answers I posted? Thank you. Re: Rx sensitivity differs by 10dB between consecutive measurements I measured the W236 FRDM boards to see how much variation there is in the radiated RSSI. It does vary as much as 4dB. RomanPBudek_0-1789049903611.pngRomanPBudek_0-1789049903611.png RomanPBudek_1-1789049923585.pngRomanPBudek_1-1789049923585.png Re: Rx sensitivity differs by 10dB between consecutive measurements @RomanPBudek Thank you for the update. What instrument did you use to perform the measurements? I'd like to ship one of our form factor devices if you could measure that one as well. Thank you Re: Rx sensitivity differs by 10dB between consecutive measurements It was NXP HCI black box software. I would be glad to compare to what was measured. I will email my address. In the past, Rx sensitivity issues could be traced to probing issues on the test fixture. As the test fixture wears out, the probe pin could touch the plastic housing and inject static into the RF pin. That was resolved with grounding of the fixture. Let me see a few of these devices to see how they behave. Re: Rx sensitivity differs by 10dB between consecutive measurements hi @RomanPBudek  Units are sealed and cannot be reprogramed. They come with a FW that advertises upon power on. Can you perform your test? The variability we are seeing is when we test those units using CMW100 in advertiser mode (see 9/30/2026 email) Please advise. Thank you, Fabio Urbani Re: Rx sensitivity differs by 10dB between consecutive measurements Development boards, on a test bench, exhibit about 4dB variation for several different BLE devices. This was measured by loading firmware into the board that continuously transmits, and then the RSSI data is plotted. For these customer identified devices, there is no access to the programming pins.  Several possible next steps 1. Open up one of the units and program the RSSI software to see how it compares to existing development boards 2. Customer software can not be used on the development board because it does not have the ASIC. Modifying the code too drastically for the development board might invalidate the test. 3. Open up one of the units and perform a failure analysis on the NXP device.
記事全体を表示
MCXA156VLH ISP PIN wise query We have designed a custom board using MCXA156VLH - LQFP-64, we have considered latest version of datasheet in which PIN3_29 is ISP Pin, but during our testing we found that PIN0_6 is ISP pin.  The date of manufacturing on IC is 2025 year. As per Errata on 2025 year, PIN0_6 is ISP pin. So which one should I consider in design PIN0_6 or PIN3_29 for ISP for future production ? MCXA Package and IO|GPIO Re: MCXA156VLH ISP PIN wise query Hello @TEMCEFF , Thank you for the clarification. I understand your question now. This erratum is specific to the 0P29K mask set, which can be identified from the device marking. Therefore, all MCXA156VLH devices with this mask set require the recommended workaround. Currently, there is no plan for a new revision to fix this issue. Hope it helps. BR Celeste Re: MCXA156VLH ISP PIN wise query Dear Celeste_Liu, Thank you for clarifying, we have tried the suggested solution and is working for existing parts. But, I also want to know for parts ordered from now which pin is to be considered for ISP -> P0_6 or P3_29 ? As I need to release the design to production now, confirmation on which pin to be considered for ISP is crucial. Re: MCXA156VLH ISP PIN wise query Hello @TEMCEFF , Thanks for your post. Yes,  your observation is consistent with the erratum ERR053147. For the affected silicon, P0_6 is the ISP pin during POR, while P3_29 is the ISP pin during a warm reset. Therefore, for the current affected devices, please take P0_6 into account in the hardware design to ensure that its state during power-on does not unintentionally trigger ISP mode. In short, P0_6 must be high during boot. If P3_29 needs to be used for ISP entry, the workaround described in the errata is to trigger a warm reset at the beginning of the user code after POR. In detail, please add the following code to SystemInitHook. __attribute__ ((weak)) void SystemInitHook (void) { /* Void implementation of the weak function. */ uint32_t s_CMCSRS = 0; s_CMCSRS = CMC->SRS; if(s_CMCSRS ==0x06) { NVIC_SystemReset(); } }   Hope it helps.   Regards, Celeste
記事全体を表示
MCXA156VLH ISP PIN 码查询 我们使用MCXA156VLH(LQFP-64封装)设计了一款定制板。我们参考了最新版本的数据手册,其中PIN3_29是ISP引脚,但在测试过程中我们发现PIN0_6才是ISP引脚。 该集成电路的生产日期为2025年。根据 2025 年的勘误表,PIN0_6 是 ISP 密码。那么,在未来的生产中,我应该在ISP设计中考虑使用PIN0_6还是PIN3_29呢? MCXA 封装和 I/O|GPIO Re: MCXA156VLH ISP PIN wise query 你好@TEMCEFF , 谢谢你的解释。我现在明白你的问题了。 此勘误专门针对 0P29K 掩模组,可通过设备标记识别。因此,所有使用此掩码集的 MCXA156VLH 设备都需要推荐的解决方法。 目前还没有计划通过新的修订来解决这个问题。 希望对您有所帮助。 BR 塞莱斯特 Re: MCXA156VLH ISP PIN wise query 亲爱的 Celeste_Liu, 感谢您的澄清,我们已经尝试了您建议的解决方案,并且对现有部件有效。 但是,我还想知道从现在开始订购的零件,ISP 应该使用哪个引脚——P0_6 还是 P3_29? 由于我现在需要将设计版本投入生产,因此确认哪个引脚适合用作ISP至关重要。 Re: MCXA156VLH ISP PIN wise query 你好@TEMCEFF , 感谢您的帖子。 是的,您的观察结果与勘误表 ERR053147 一致。 对于受影响的芯片, P0_6 是上电时的 ISP 引脚,而P3_29 是热 RESET 时的 ISP 引脚。因此,对于当前受影响的设备,请在硬件设计中考虑 P0_6 的状态,以确保其在上电期间不会意外触发信号 ISP 模式。简而言之,P0_6 在启动期间必须为高电平。 如果需要使用 P3_29 作为 ISP 入口,勘误表中描述的解决方法是在 POR 之后,在用户代码的开头触发一次热RESET。 具体来说,请将以下代码添加到 SystemInitHook 中。 __attribute__ ((weak)) void SystemInitHook (void) { /* Void implementation of the weak function. */ uint32_t s_CMCSRS = 0; s_CMCSRS = CMC->SRS; if(s_CMCSRS ==0x06) { NVIC_SystemReset(); } }   希望对您有所帮助。   此致, 塞莱斯特
記事全体を表示
LPC55s16 安全引导设备恢复 尊敬的恩智浦社区成员: 我正在测试 LPC55s16-EVK 的安全启动功能,如下所示,一切都按预期运行良好,但最终我遇到了板子无响应的情况。 我创建了一个用于安全配置工具的工作区, - 从我构建的 elf 文件生成了一个纯签名映像,并将其刷入。应用程序正在运行。 - 然后我在 cmpa flash 区域中设置了调试身份验证,使用了调试凭据,它也正常工作。 然后我创建了另一个测试工作区,并生成了新的 ROTK 和镜像密钥来对同一个 elf 文件进行签名,目的是测试 ROM 引导加载程序是否会拒绝此固件,因为它在 cmpa 区域中存储的哈希值不同。 - 在新的工作区中,我没有更改 cmpa 区域的任何设置,它使用了默认设置,我认为默认设置启用了调试端口,但最终设备却无响应。 - 在这两种情况下,生命周期都被选择为发展阶段而非封闭阶段。 - nxpdebugmbox 返回超时错误。 当我尝试将设备置于ISP模式(方法是按住ISP引脚至低电平,然后按下并松开RESET引脚)时,BLHost工具无法ping通设备。 我也尝试过使用SPI和USB接口,但结果还是一样。 - 我附上了 cmpa.json 文件和我的第二个工作区(即测试工作区)的日志文件,供您参考。 有什么办法可以恢复这个设备吗?非常感谢您的帮助。谢谢 Re: LPC55s16 secure boot device recovery 你好@Alice_Yang 感谢您的回复。在我看来,调试接口似乎被永久禁用了,原因是第二次CMPA区域写入操作可能将CC_SOCU_PIN和CC_SOCU_DFLT的值全部写入了0。我尝试使用调试邮箱工具nxpdebugmbox,但遇到了和这次一样的响应超时错误。 Re: LPC55s16 secure boot device recovery 你好@xavier_es_developer 谢谢你的提问。 请使用 MCUXpresso 安全配置工具 (高效密码学标准\(SEC\)) 中的 DM-AP 方法擦除设备。 您可以从MCUXpresso Secure 配置 Tool | NXP 半导体下载并安装高效密码学标准\(SEC\)。 请检查是否可以使用此方法成功擦除设备数据。 如果问题仍然存在,请随时与我联系。 BR 爱丽丝 Re: LPC55s16 secure boot device recovery 你好@xavier_es_developer 根据您的测试结果,该板似乎无法修复。 为了确保安全启动,我建议使用 MCUXpresso 安全配置工具 高效密码学标准\(SEC\)。它简单易用,有助于降低配置错误的风险。 下载地址: MCUXpresso 安全配置工具 请参阅 MCUXpresso 安全配置工具用户指南中的第 6.5 节“LPC55(S)0x/1x/2x/6x 或 NHS52Sxx 或 MCXW23x 设备工作流程”。 谢谢! 爱丽丝
記事全体を表示