Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
i.MX95 Bare Metal NVM Service for EdgeLock Secure Enclave RM00284 (HSM API documentation) mentions a Linux filesystem managed by the ELE. I'm assuming this is implemented in the imx drivers available on Linux. We are running bare metal applications on the A55 cores and I'm wondering whether we need to provide an NVM service. Assumptions: 1. You may store up to 2 key groups with volatile (non-persistent) keys without any NVM service. 2. If you want any key to be persistent, or if you want to have >=3 key groups, an NVM service is required. 3. There is no way to generate opaque keys to be used across power cycles without an NVM service. Questions: 1. Is it appropriate to use the imx-secure-enclave repository, along with our own implementations of functions like plat_os_abs_set_mu_chnl_as_nvm(), plat_os_abs_storage_write(), plat_os_abs_storage_read(), plat_os_abs_storage_write_chunk(), etc.? 2. Does this NVM service need to be running before using any persistent opaque keys? 3. If we want to use a persistent opaque key to verify a signature on an image before running it, but the image itself contains the NVM service, what alternatives can we pursue? 4. What's a good approach to sharing a secret (e.g., AES key) across a fleet of boards? Can this be done at the fab upon request for i.MX95, or do we need to import keys after we receive the boards? If we need to import them, can we use the SPSDK (or something similar) to import the secret as ciphertext where only that specific board can see the actual secret? Re: i.MX95 Bare Metal NVM Service for EdgeLock Secure Enclave Hello, First I would like to clarify that the ELE itself has no direct access to non-volatile memory. It instead relies on an external NVM manager/daemon to read and write encrypted blobs to storage. In our Linux BSP, this is implemented as nvm_daemon, a systemd service from the imx-secure-enclave package. With the above in consideration let me go through your assumptions and your questions below: All three assumptions are correct: Assumption 1 Up to 2 key groups can be held in the HSM's local secure RAM at any time without needing to interact with the NVM. A swap mechanism is managed by the ELE firmware when more than 2 key groups are needed. Assumption 2 The STRICT OPERATION (SYNC) flag triggers the write to NVM. Any operations without this flag affect local memory only and are lost on power cycle. Also, the Storage open (0xE0) service must be opened prior to any NVM-backed key operations. Assumption 3 A persistent key attribute alone is not enough, the SYNC operation must be executed, and the NVM service must be present. Without executing this operation, even if the key attribute is set as persistent at key creation, the key will not be stored in the NVM. Question 1 Yes, this is the correct approach the NVM service in https://github.com/nxp-imx/imx-secure-enclave is an OS abstraction layer, functions like plat_os_abs_storage_write(), plat_os_abs_storage_read(), plat_os_abs_storage_write_chunk() are exactly the platform portability hooks meant to be replaced for non-Linux environments. Question 2 Yes, ELE User Guide defines the required flow: > Session open (0x10) > Storage open (0xE0) ##To be able to retrieve persistent key from NVM, storage service must be opened using Storage open (0xE0) API.## > Key store load (open with LOAD flag, same ID/Nonce used at creation) > Cryptographic operation If the NVM daemon is not running when the ELE tries to perform an NVM operation, the operation will fail Question 3 For this you may use AHAB, as this is used as a pre-OS verification, authentication is performed using keys stored in OTP (SRKH fuses) and you may use SPSDK for building and signing AHAB images for i.MX95. Question 4 You may do either of the two, for provisioning at the fab using ELE2GO is an option, unfortunately support on the i.MX95 is still in development. You may also do this securely post-delivery using the Key Exchange + Key Import flow. The mechanism works as follows: > The ELE holds a built-in key called "NXP PROD MANUFACT KEY AGREEMENT" (key ID 0x70000000). Its public key is exportable. This key is the same across all devices with the same SRKH fused. > You perform a Key Exchange (0x47) using ECDH-HKDF to derive OEM_IMPORT_MK_SK on the device. From this, two sub-keys are derived: OEM_IMPORT_WRAP_SK (for AES encryption of the payload) and OEM_IMPORT_CMAC_SK (for CMAC authentication of the TLV blob). > On your provisioning server, you wrap your AES secret with OEM_IMPORT_WRAP_SK and sign the TLV blob with OEM_IMPORT_CMAC_SK, constructing a Key Import (0x4F) TLV payload. You import the blob into that specific device. Because wrapping keys are derived from per-device material (SRKH), only that specific board can decrypt the actual secret. And the SPSDK is the correct tool for this. It includes nxpimage (for generating signed content for Key Exchange and building the Key Import TLV blob) and nxpcrypto. The full flow is documented in the following app note https://docs.nxp.com/bundle/AN14898/page/topics/workflow.html Hope this helps, Best regards/Saludos, Aldo.
View full article
在 i.MX93 上绑定和解绑 UART 会暴露 lpuart_dma_shutdown 中的一个错误 我当时正在调试我们通过LPUART连接的蓝牙设备。当我尝试解除绑定再重新绑定时,出现了堆栈跟踪信息。这是在 6.12 内核中发现的。 我提供一个补丁,以防有人感兴趣。 疑似软件缺陷 Re: binding and unbinding UART on i.MX93 reveals bug in lpuart_dma_shutdown 不知为何,我找不到我的补丁。希望这次我的补丁能成功。 这是针对 Linux-IMX 内核的, https://github.com/nxp-imx/linux-imx.git 提交 df24f9428e38740256a410b983003a478e72a7c0(标签:lf-6.12.49-2.2.0,origin/lf-6.12.y) Re: binding and unbinding UART on i.MX93 reveals bug in lpuart_dma_shutdown 嗨@JohnKlug 谢谢分享。 此致, 志明
View full article
i.MX95 裸机 NVM 服务,适用于 EdgeLock 安全隔离区 RM00284(HSM API 文档)提到了由 ELE 管理的 Linux 文件系统。我假设这在 Linux 上可用的 imx 驱动程序中已经实现。我们在 A55 内核上运行裸机应用程序,我想知道我们是否需要提供 NVM 服务。 假设: 1.您最多可以存储 2 个具有易失性(非持久性)键的键组,而无需任何 NVM 服务。 2. 如果您希望任何键持久存在,或者如果您希望拥有 > 3 个键组,则需要 NVM 服务。 3. 如果没有 NVM 服务,就无法生成可在断电重启后使用的不透明密钥。 问题: 1. 使用 imx-secure-enclave 存储库,以及我们自己实现的诸如plat_os_abs_set_mu_chnl_as_nvm ()、plat_os_abs_storage_write()、plat_os_abs_storage_read()、plat_os_abs_storage_write_chunk() 等函数,是否合适? 2. 在使用任何持久性不透明密钥之前,是否需要运行此 NVM 服务? 3. 如果我们想在运行镜像之前使用持久不透明密钥来验证镜像上的签名,但镜像本身包含 NVM 服务,我们有哪些替代方案? 4. 在多个电路板之间共享密钥(例如 AES 密钥)的好方法是什么?i.MX95 能否在工厂按需进行密钥导入,还是我们需要在收到电路板后再导入密钥?如果需要导入密钥,我们能否使用 SPSDK(或类似工具)将密钥以密文形式导入,使得只有特定的开发板才能看到实际的密钥? Re: i.MX95 Bare Metal NVM Service for EdgeLock Secure Enclave 你好, 首先我想澄清一下,ELE 本身不能直接访问非易失性存储器。它依靠外部 NVM 管理器/守护程序来读取和写入加密数据块到存储设备。在我们的 Linux 电路板支持包 (BSP) 中,这是通过 nvm_daemon 实现的,nvm_daemon 是 imx-secure-enclave 软件包中的一个 systemd 服务。 考虑到以上情况,让我来逐一解答您下面的假设和问题: 这三个假设都正确: 假设 1 HSM 的本地安全 RAM 中可以随时保存最多 2 个密钥组,而无需与 NVM 交互。当需要超过 2 个密钥组时,ELE 固件会管理交换机制。 假设 2 STRICT OPERATION (SYNC) 标志会触发对 NVM 的写入。任何未使用此标志的操作仅影响本地内存,断电重启后数据将丢失。此外,在执行任何 NVM 支持的关键操作之前,必须先打开存储打开 (0xE0) 服务。 假设3 仅持久键属性是不够的,必须执行 SYNC 操作,并且 NVM 服务必须存在。如果不执行此操作,即使在创建密钥时将密钥属性设置为持久化,密钥也不会存储在 NVM 中。 问题 1 是的,这是正确的方法。https ://github.com/nxp-imx/imx-secure-enclave中的 NVM 服务是一个操作系统抽象层,像 plat_os_abs_storage_write()、plat_os_abs_storage_read()、plat_os_abs_storage_write_chunk() 这样的函数正是平台可移植性钩子,旨在为非 Linux 环境进行替换。 问题 2 是的,ELE 用户指南定义了所需的流程: 会话已打开 (0x10) > 存储打开 (0xE0) ##To be able to retrieve persistent key from NVM, storage service must be opened using Storage open (0xE0) API.## > 密钥库加载(使用 LOAD 标志打开,使用与创建时相同的 ID/Nonce) 加密操作 如果 ELE 尝试执行 NVM 操作时 NVM 守护进程未运行,则该操作将失败。 问题 3 为此,您可以使用 AHAB,因为它被用作操作系统前的验证,身份验证是使用存储在 OTP(SRKH 熔丝)中的密钥执行的,您可以使用 SPSDK 为 i.MX95 构建和签名 AHAB 镜像。 问题 4 您可以选择其中任何一种方法,因为在晶圆厂使用 ELE2GO 进行配置是一个选项,但遗憾的是,对 i.MX95 的支持仍在开发中。 您也可以在交付后使用密钥交换 + 密钥导入流程安全地执行此操作。该机制的工作原理如下: > ELE 包含一个名为“NXP PROD MANUFACT KEY AGREEMENT”的内置密钥(密钥 ID 0x70000000)。它的公钥可以导出。所有采用相同SRKH融合芯片的设备都使用相同的密钥。 您使用 ECDH-HKDF 执行密钥交换 (0x47) 以在设备上导出 OEM_IMPORT_MK_SK。由此可导出两个子密钥:OEM_IMPORT_WRAP_SK(用于有效载荷的 AES 加密)和 OEM_IMPORT_CMAC_SK(用于 TLV blob 的 CMAC 认证)。 > 在您的配置服务器上,使用 OEM_IMPORT_WRAP_SK 包装您的 AES 密钥,并使用 OEM_IMPORT_CMAC_SK 对 TLV blob 进行签名,从而构造密钥导入 (0x4F) TLV 有效负载。 您将 blob 导入到该特定设备中。由于封装密钥源自每个设备的材料(SRKH),因此只有该特定电路板才能解密实际的密钥。 而SPSDK正是完成这项工作的正确工具。它包括 nxpimage(用于生成密钥交换的签名内容并构建密钥导入 TLV blob)和 nxpcrypto。完整流程已记录在以下应用说明中。 https://docs.nxp.com/bundle/AN14898/page/topics/workflow.html 希望这能帮到你。 此致敬礼/Saludos, 阿尔多。
View full article
P2020 device status/behavior if VDD falls below lower limit due to ripple I would like to know about status/behavior of P2020 processor in case VDD falls below lower limit voltage due to ripple etc. According to Table 3. Recommended Operating Conditions in P2020 Hardware Spec (Doc#: P2020EC), the recommended value for VDD, AVDD_xxxx, SVDD_SRDS and XVDD_SRDS is “1.05 ± 50 mV”. It means that the lower limit voltage is 1.00 V. Could you please let me know about possible P2020 device status/behavior if the lower limit of the ripple voltage falls below the specified minimum voltage of 1.00V ?  (For instance, center voltage of VDD = 1.01V, but the lower side of the ripple voltage goes 0.99V (below 1.00V)) Is there no problem for proper operation of the device if center voltage of VDD keeps higher or equal to 1.00V ? Will there be any operation/damage risks even with ripple voltage ? Please advise. Thank you in advance. Re: P2020 device status/behavior if VDD falls below lower limit due to ripple Hello,   The P2020 Hardware Spec (Doc#: P2020EC) Table 3 specifies VDD, AVDD_xxxx, SVDD_SRDS, and XVDD_SRDS as 1.05 ± 50 mV, meaning the valid operating range is 1.00 V (min) to 1.10 V (max). This is a Recommended Operating Condition, not an Absolute Maximum Rating. The critical point is: the specified minimum voltage of 1.00 V applies to the instantaneous voltage at the device pins — not just the DC center point. Ripple is part of the actual voltage the device sees, and the device is tested and characterized only within the specified range. Risks When Ripple Dips Below 1.00 V Even if the center (DC) voltage is at or above 1.00 V, allowing the ripple trough to fall below 1.00 V constitutes operation outside the Recommended Operating Conditions. NXP's position on this, consistent across QorIQ and related processor families, is: Functional/Operational Risk: When VDD momentarily drops below the minimum, the processor's internal logic may not have sufficient drive strength or timing margin to operate correctly. This can manifest as: Incorrect instruction execution Data corruption (e.g., memory miscompare errors) Unpredictable behavior in critical timing paths A directly analogous NXP case involving a related QorIQ processor (P1013) confirmed: "There is a potential risk of functional issues when running [the device] at [a voltage near the limit], as this value represents the customer's configured set point. Normal voltage tolerance, ripple, or transient behavior could result in the voltage exceeding [or falling below] this level." The "Center Voltage ≥ 1.00 V" Argument Is Not Sufficient: The device does not "average" the supply voltage. Digital logic operates on instantaneous voltage. During the ripple trough (e.g., 0.99 V in your example), the device is genuinely operating below spec, even if only for a fraction of a switching cycle. This can cause setup/hold time violations in internal flip-flops, leading to functional errors. No Permanent Damage Expected for Small, Brief Excursions: For a small ripple excursion (e.g., 10 mV below the minimum, at typical switching frequencies), permanent physical damage to the device is unlikely — the voltage is still well above the absolute maximum ratings floor. However, functional correctness is not guaranteed, and NXP does not support or characterize operation in this condition. Reliability/Longevity: For the P2020 specifically, operating at the lower edge of the voltage range (rather than above it) is generally less of a long-term reliability concern than operating above the maximum. However, repeated or sustained operation outside spec is neither recommended nor supported. NXP's standard guidance, confirmed across multiple QorIQ and related processor support cases, is: "Operating devices outside of specification is neither recommended nor supported." The entire voltage waveform — including ripple — must remain within the specified 1.00 V to 1.10 V window at the device pins during normal operation.   Regards
View full article
P2020 设备在纹波导致 VDD 低于下限时的状态/行为 我想了解当 VDD 由于纹波等原因降至下限电压以下时,P2020 处理器的状态/行为。 根据 P2020 硬件规范(文档编号:P2020EC)中的表 3. 推荐工作条件,VDD、AVDD_xxxx、SVDD_SRDS 和 XVDD_SRDS 的推荐值为“1.05 ± 50 mV”。这意味着下限电压为 1.00 V。 请问当纹波电压下限低于规定的最小电压1.00V时,P2020设备可能出现的状态/行为是什么? (例如,VDD 的中心电压为 1.01V,但纹波电压的下限为 0.99V(低于 1.00V)) 如果VDD中心电压保持在1.00V或更高,这是否会影响设备的正常工作?即使存在纹波电压,是否也会有操作/损坏风险? 请指教。 提前谢谢您。 Re: P2020 device status/behavior if VDD falls below lower limit due to ripple 你好,   P2020 硬件规范(文档编号:P2020EC)表 3 将 VDD、AVDD_xxxx、SVDD_SRDS 和 XVDD_SRDS 指定为 1.05 ± 50 mV,这意味着有效工作范围为 1.00 V(最小值)至 1.10 V(最大值)。这是推荐运行条件,并非绝对最大额定值。 关键在于:规定的最小电压 1.00V 适用于器件引脚的瞬时电压,而不仅仅是直流中心点。纹波是设备实际电压的一部分,设备的测试和特性分析仅在规定的范围内进行。 当 Ripple 跌破 1.00 V 时的风险 即使中心(直流)电压达到或超过 1.00 V,允许纹波谷值低于 1.00 V 也构成在推荐工作条件之外的操作。恩智浦半导体(NXP)对此的立场,在QorIQ及相关处理器系列中是一致的: 功能/运行风险:当 VDD 瞬间低于最低值时,处理器的内部逻辑可能没有足够的驱动强度或时序裕量来正常工作。这可能表现为: 指令执行错误 数据损坏(例如,内存比较错误) 关键时序路径中出现不可预测的行为 NXP 的一个直接类似的案例涉及一款相关的 QorIQ 处理器 (P1013),该案例证实: “当[该设备]在[接近极限电压]下运行时,存在出现功能问题的潜在风险,因为该值代表客户配置的设定点。正常的电压容差、纹波或瞬态行为都可能导致电压超过[或低于]该水平。” “中心电压≥1.00V”的论点并不充分:该设备不会对电源电压进行“平均”。数字逻辑电路依靠瞬时电压运行。在纹波谷(例如,您示例中的 0.99 V)期间,即使只是开关周期的一小部分,该器件也确实在低于规格的条件下运行。这会导致内部触发器建立/保持时间违例,从而导致功能错误。 对于小幅、短暂的波动,预计不会造成永久性损坏:对于小幅纹波波动(例如,在典型开关频率下,低于最小值 10 mV),不太可能对器件造成永久性物理损坏——电压仍然远高于绝对最大额定值下限。但是,功能正确性无法保证,NXP 不支持或描述在这种情况下运行的情况。 可靠性/寿命:对于 P2020 而言,在电压范围的下限(而不是上限)运行通常比在上限以上运行的可靠性问题要小。但是,不建议也不支持在超出规格范围的情况下反复或持续操作。 NXP 的标准指导原则(已在多个 QorIQ 及相关处理器支持案例中得到证实)是: “不建议也不支持在规格范围外操作设备。” 在正常工作期间,器件引脚上的整个电压波形(包括纹波)必须保持在规定的 1.00 V 至 1.10 V 范围内。   此致
View full article
DDR tool - Config Tools for i.MX v16.1 The DDR tool supports i.MX 8M family, i.MX 91 family, i.MX 93 family, i.MX 95 family. The DDR tool is part of Config tools for i.MX offering configuration, inspection, optimization, vTSA, stressing and code generation. It can be downloaded from Config Tools for i.MX Applications Processors DDR tool User Guide is part of the User Guide for Config tools for i.MX DDR tool supports i.MX 8M family, i.MX 91 family, i.MX 93 family, i.MX 95 family. The DDR tool is part of Config tools for i.MX offering configuration, inspection, optimization, vTSA, stressing and code generation. It can be downloaded from Config Tools for i.MX Applications Processors DDR tool User Guide is part of the User Guide for Config tools for i.MX i.MX Processors MCUXpresso Conig Tools
View full article
LS1028A / Cortex-A72:是否支持软件 L1/L2 缓存 ECC 错误注入? 我需要确认是否可以通过注入来测试 L1/L2 缓存 ECC。   根据 Cortex-A72 TRM 的描述,我了解到: L1D 和 L2 提供 ECC - 错误通过 CPUMERRSR_EL1 / L2MERRSR_EL1 报告 - 我还没有找到任何可以通过软件访问的方法将ECC错误注入到A72 L1D或L2缓存阵列中。   问题: 1) LS1028A(或该部件上的 A72 实现)是否提供了任何可通过软件访问的方式将 ECC 错误注入 L1D/L2? 2) 如果不支持注入,NXP 建议在开机 BIT 上下文中验证 L1/L2 ECC 检测/纠正行为的什么方法? Re: LS1028A / Cortex-A72: Is software L1/L2 cache ECC error injection supported? 你好, Q1:LS1028A / Cortex-A72 是否支持向 L1D/L2 注入软件 ECC 错误? 不——Cortex-A72 不支持对 L1 或 L2 缓存进行软件可访问的 ECC 错误注入。 Q2:NXP推荐的用于L1/L2 ECC上电BIT验证的替代方案 由于 A72 不支持注入,NXP 的立场是,在该内核的软件中直接对 L1/L2 进行 ECC 错误注入测试是不可行的,需要这种级别 BIT 覆盖率的客户应考虑以下方法: 1. 通过 CPUMERRSR_EL1 / L2MERRSR_EL1 验证 ECC 报告路径 2. 如需了解任何未公开的调试钩子,请直接咨询 ARM。 3. 依赖 ARM 的架构验证(设计级保证) 对于功能安全关键型应用,当无法进行注入时,行业标准做法是依赖 Arm 自身的芯片验证和架构保证,即实现 SECDED ECC。LS1028A 数据手册确认了“具有奇偶校验和 ECC 保护的 32 KB L1 指令缓存和 32 KB L1 数据缓存”以及“具有 ECC 保护的 1 MB L2 缓存”。 Arm芯片认证流程涵盖 IP 级别的 ECC 正确性。 4. 考虑迁移到更新的核心以实现完整的 BIT 覆盖 如果软件注入 ECC BIT 是一个硬性要求(例如,为了符合 IEC 61508 / DO-254 标准),NXP 的新型基于 Cortex-A55 的 SoC(例如 i.MX 93)提供了专用的 ECC 错误注入寄存器(例如 CODE_CACHE_TAG0_ECC_ERROR_INJEC 、 SYSTEM_CACHE_DATA0_ECC_ERROR_INJEC ),这些寄存器是专门为验证和调试而设计的。 NXP积极支持A72→A55/A78AE的迁移路径。   此致
View full article
MIFARE Plus EV1 (SL3) Wrong Sector Trailer access byte, Plain Communication broken Hi everyone, I'm working with a Mifare Plus EV1 card in SL3. While configuring the sector trailer access bytes, I accidentally set an incorrect value, and now plain communication no longer works for that sector. If the access bit pattern (C1/C2/C3) itself is still valid and only Byte 5 (PlainAC) is misconfigured, is re-authenticating and rewriting Byte 5 enough to fix plain communication? Or does a plain-communication failure alone also risk triggering the format-violation lock? Has anyone dealt with this before — any workaround, or is treating the sector as permanently unusable the only realistic option? Thanks in advance for any insight. #MIFARE_PLUS_EV1   #  MIFARE PLUS EV2MIFARE_PLUS_SE_1K  MIFARE
View full article
タイマーがDMA転送をトリガーする こんにちは、 現在、MCXN947マイクロコントローラを使って作業しています。 CTIMERのマッチ割り込みを介して、サンプルバッファへのDMA転送をトリガーしようとしています。 このアイデアは、サンプルバッファにGPIOレジスタの状態(特に一部のピンの入力値)をDMAを通じて、xタイマー間隔(具体的には10USごとに)に書き込むことです。 GPIOピンが正しく入力として設定されていることは確認できます。 タイマーは正しく動作しており、10セントごとにマッチがトリガーされていることを確認できます。 DMAの転送が正しく動作しているのは、バッファが値で満たされるからです。 DMA設定でソースアドレス(GPIO PDIRレジスター)が正しく設定されていることを確認できます。 DMA設定でも宛先アドレスは正しく設定されていることを確認できます。なぜなら、バッファの開始と終了のアドレスの間に常に位置しているからです(つまり、正しく増分・ラップアップします)。 しかし、何らかの理由で、間違った値がバッファにコピーされています。デバッガで転送しようとしているレジスタの値が 0x00020000 (ピン17はハイ、他は低)がわかります。しかし、私のバッファには0秒しか格納されていません。これは、すべて0xFFで初期化された512個の要素を持つuint32_t型のバッファです。DMA転送が増加するにつれて、バッファ全体が徐々に0x0で満たされ、期待される値である0x00020000 (これは変化しない - ピン17は常にハイ)には達しません。 これが原因だと思いますか?あるいは、私が何か見落としている可能性もあるでしょうか? 以下が私のドライバ設定です: タイマー: CTIMER0 kCTIMER_マッチ_1 CTIMER0_IRQn(割り込み時にコールバックをトリガーすることはオプションですが、デバッグ目的で私のコードでは使用しています) DMA: DMA0 kDma0RequestMuxCtimer0M1 kINPUTMUX_Ctimer0M1ToDma0Ch8Ena EDMA_0_CH8_IRQn(割り込み時にコールバックをトリガーすることはオプションですが、デバッグ目的で私のコードでは使用しています) GPIO: GPIO3 ポート3 ピン17 サンプリングを開始する直前のレジスタの状態は以下のとおりです。 reg_gpio3.pngreg_gpio3.pngreg_gpio3.pngreg_gpio3.png reg_port3.pngreg_port3.pngreg_port3.pngreg_port3.png reg_edma0_ch8.pngreg_edma0_ch8.pngreg_edma0_ch8.pngreg_edma0_ch8.png reg_inputmux0_dma.pngreg_inputmux0_dma.pngreg_inputmux0_dma.pngreg_inputmux0_dma.png reg_inputmux0_timer.pngreg_inputmux0_timer.pngreg_inputmux0_timer.pngreg_inputmux0_timer.png reg_ctimer0.pngreg_ctimer0.pngreg_ctimer0.pngreg_ctimer0.png             MCX N Re: Timer triggers DMA transfer こんにちは、 知的財産のため、プロジェクト全体をお送りできません。ただし、小さなアプリケーションでセットアップしたcファイルをお渡しできます。GPIO、DMA、およびタイマーの設定は、私の側と同じです。ファイルは添付ファイルにあります。 Re: Timer triggers DMA transfer こんにちは@jabitbe2_jcplc ぜひあなたのプロジェクトを教えていただけますか?こちら側で問題を再現し、調査を試みたいと思います。 よろしくお願いします。 よろしくお願いします、 アリス Re: Timer triggers DMA transfer こんにちは@jabitbe2_jcplc MCXN947はTrustZoneとセキュリティ帰属制御をサポートしています。 アクセスがピンのセキュリティ設定と一致しないセキュリティドメインから発信された場合、対応するGPIOレジスタへの読み書き操作が無効になることがあります。 GPIO3のピン17ビットが非安全アクセスを許可するように設定されているか確認して、再度テストしてもらえますか? ビットが現在Secure-onlyに設定されている場合、予期しないGPIOの挙動はTrustZoneのセキュリティ設定に関連している可能性があります。 よろしくお願いします。 BR アリス
View full article
Timer triggers DMA transfer Hello, I'm currently working with an MCXN947 microcontroller. I'm trying to trigger a DMA transfer into a sample buffer via a CTIMER match interrupt. The idea is to write into the sample buffer the state of a GPIO register (specifically the input values of some pins) via DMA at every x timer intervals (specifically every 10 us). I can confirm that my GPIO pin is correctly configured as an input. I can confirm that my timer is working correctly and triggering a match at every 10 us. I can confirm that my DMA transfers are working correctly because the buffer gets filled up with values. I can confirm that the source address (GPIO PDIR reg) is correctly set in the DMA configuration. I can confirm that my destination address is also correctly set in the DMA configuration as it is always in between the start and end address of my buffer (meaning it increments and wraps around correctly). But for some reason, the wrong values are being copied into the buffer. I can see in my debugger that the value of the register I'm trying to transfer is 0x00020000 (pin 17 is high, the rest are low). However, my buffer is only being filled with 0s. It's a uint32_t type buffer of 512 elements initialized all at 0xFF. As the DMA transfers increment, the whole buffer progressively gets filled with 0x0 and not the expected value of 0x00020000 (which never changes - pin 17 is always high). Do you have any idea what causes this? Or if I'm possibly missing something? Here are my driver configurations: Timer: CTIMER0 kCTIMER_Match_1 CTIMER0_IRQn (triggering callback on interrupt is optional but I use it in my code for debugging purposes) DMA: DMA0 kDma0RequestMuxCtimer0M1 kINPUTMUX_Ctimer0M1ToDma0Ch8Ena EDMA_0_CH8_IRQn (triggering callback on interrupt is optional but I use it in my code for debugging purposes) GPIO: GPIO3 PORT3 Pin 17 Here are the states of the registers right before I start sampling reg_gpio3.pngreg_gpio3.pngreg_gpio3.pngreg_gpio3.png reg_port3.pngreg_port3.pngreg_port3.pngreg_port3.png reg_edma0_ch8.pngreg_edma0_ch8.pngreg_edma0_ch8.pngreg_edma0_ch8.png reg_inputmux0_dma.pngreg_inputmux0_dma.pngreg_inputmux0_dma.pngreg_inputmux0_dma.png reg_inputmux0_timer.pngreg_inputmux0_timer.pngreg_inputmux0_timer.pngreg_inputmux0_timer.png reg_ctimer0.pngreg_ctimer0.pngreg_ctimer0.pngreg_ctimer0.png             MCXN Re: Timer triggers DMA transfer Hello @jabitbe2_jcplc  Could you please share your project with us? I would like to try to reproduce the issue and investigate it on my side. Thank you. Best Regards, Alice Re: Timer triggers DMA transfer Hello, Due to IP I cannot send you my whole project. However, I can give you a c file that contains my setup in a little application. The GPIO, DMA and TIMER configurations are the same I have on my side. The file is in attachment. Re: Timer triggers DMA transfer Hello @jabitbe2_jcplc  The MCXN947 supports TrustZone and security attribution control. If the access originates from a security domain that does not match the pin's security configuration, read and write operations to the corresponding GPIO registers may be ineffective. Could you please verify whether the GPIO3 Pin 17 corresponding bit is configured to allow Non-Secure access and test again? If the bit is currently configured as Secure-only, the unexpected GPIO behavior may be related to the TrustZone security settings. Thank you. BR Alice
View full article
P71D600 Secure element SDK ? Hi, I have been working with the SE P71D600 and would like to know how I can check which SDK is preloaded on the chip. Could you please guide me on how to verify the SDK version or details? Thanks. JCOP ID1 JCOP ID2 Smart Cards Re: P71D600 Secure element SDK ? Hi when you say SDK version this could mean several things: If you are talking about the compliance level of the card, it is specifically Java Card 3.0.5 and Global Platform 2.3 and this is likely not to change I would imagine (though certain features and fixes may change over time). If you mean which OS level, patch, modules and OS features available, etc most of it you can get from the GET DATA (IDENTIFY) command which you can find details on in the JCOP 4.5 User Guidance and Admin manual under NDA. If you mean which packages / libraries are loaded in the ISD, this can be read using the GlobalPlatform GET STATUS command (no NDA needed for this). Re: P71D600 Secure element SDK ? Hi @Kan_Li  and @makinako , Thanks for your response. Yes, you are right, @Kan_Li  it is JCOP 4.5, My mistake Let me clarify what I was asking. I am working on a biometric matching algorithm, where the Match-on-Card (MoC) functionality is provided by third-party vendors. NXP offers products that support different MoC biometric providers.  For example, the MoC functionality may be provided by ID3 or Neurotechnology (NT). My question is: How can I identify which MoC solution or biometric provider is already preloaded on a particular card? I have SDKs for both providers and can build the corresponding applets and modules. However, I am a little confused about how the preloaded components work and how I can determine which solution is present on the card. Could you please clarify how this can be identified? Thanks! Re: P71D600 Secure element SDK ? Hi @elgin_1950 , Based on P71D600 - is it JCOP 4.5? On JCOP 4.5 we don't call it SDKs, there we have modules and applets. The configuration can be identified by reading the OEF number or checking the exact type name. Please clarify. Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: P71D600 Secure element SDK ? Hi @elgin_1950 , Thanks for the clarification!  To identify which MoC solution or biometric provider is already preloaded on a particular card, the easiest and most reliable approach is to check the OEF number of your card. you may check which OEF is loaded and check in the OEF tool what configuration has been applied to that setup and you can immediately identify if MoC is supported or not and if yes which version it is.The OEF (Original Equipment Feature) uniquely identifies the card's configuration, including which MoC provider (ID3 or Neurotechnology) has been configured — if any. You can find this information from the card datasheet or ordering information provided by your NXP sales contact or FAE. On JCOP 4.5 P71 products that support biometry, you will see the standard JavaCard biometry packages on the card: javacardx.biometry javacardx.biometry1toN However, please note that the presence of these packages alone does not confirm active MoC support — some configurations may include placeholder versions of these packages. You need to cross-check with the OEF configuration to confirm whether functional MoC is present and which provider is configured. For a full technical breakdown — including which packages and modules to look for, their identifiers, and how to verify an active MoC setup — please refer to the application note: AN6844 – JCOP 4 P71 Using Match On Card Functionality This document is available via NXP's Secure Resources portal and requires an active NDA with NXP. If you don't have access yet, please reach out to your NXP sales representative or FAE to initiate the NDA process and request the document. Hope this helps! Feel free to follow up or open a private support case at https://support.nxp.com if you need further assistance.   Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------     Re: P71D600 Secure element SDK ? Hi @Kan_Li , thanks for your help. I clearly understood your explanation. However, due to some security concerns, I have a few additional questions that may be more appropriate to ask directly through NXP support, as they may not be suitable for discussion here.
View full article
S32K324 A/D Hello, In the S32K324 microcontroller, is it possible to use two of the three A/D peripherals on one core and one A/D peripheral on the second core? Thanx  Regards Re: S32K324 A/D Thanx, we will check example with @michelet1 . Regards Re: S32K324 A/D Hello @gianpiero_lenta, Yes. You can refer to some multicore examples in community: Solved: Re: S32K324 Multi-Core Example Project based on Whiteboard - NXP Community S32K3 also provides XRDC as a HW mechanism to assign, isolate and protect peripherals to specific domains (cores): AN14715: S32K3XX Hardware Resource Isolation and Protection. Best regards, Julián
View full article
P71D600 Secure Element SDK ? こんにちは、 SE P71D600を使っているので、チップにどのSDKがプリインストールされているかどうやって確認すればいいのか知りたいです。 SDKのバージョンや詳細の検証方法を教えていただけませんか? ありがとう。 JCOP ID1 JCOP ID2 スマート・カード Re: P71D600 Secure element SDK ? こんにちは、SDKバージョンと言うと、いくつかの意味があります: もしカードのコンプライアンスレベルについて話しているなら、特にJava Card 3.0.5とGlobal Platform 2.3を指しており、おそらく変わることはないと思います(ただし、いくつかの機能や修正は時間とともに変わるかもしれません)。 どのOSレベル、パッチ、モジュールやOS機能などを指しているのか、その多くはJCOP 4.5のユーザーガイダンス&管理マニュアルのNDAに記載されているGET DATA (IDENTIFY)コマンドから取得できます。 もしISDにどのパッケージやライブラリが読み込まれているかを指しているなら、GlobalPlatformのGET STATUSコマンドで読み取ることができます(NDAは不要です)。 Re: P71D600 Secure element SDK ? こんにちは、@Kan_Li さん、 @makinako さん。 ご回答ありがとうございます。 はい、その通りです。@Kan_Li JCOP 4.5です。私の間違いです。質問していたことを明確にさせてください。 私は生体認証マッチングアルゴリズムの開発に取り組んでおり、その中でカード照合(MoC)機能はサードパーティベンダーによって提供されています。NXPは異なるMoC生体認証プロバイダーをサポートする製品を提供しています。例えば、MoCの機能はID3やNeurotechnology(NT)によって提供されることがあります。 質問ですが、特定の カードにすでに登録されているMoCソリューションやバイオメトリクスプロバイダーをどうやって特定すればよいのでしょうか? 両方のプロバイダ用のSDKsを持っており、対応するアプレットやモジュールを構築できます。しかし、プリロードされた部品がどのように動作し、どの溶液がカードに含まれているかをどうやって特定すればよいのか少し混乱しています。 この情報がどのように識別できるのか、詳しく教えていただけますか? よろしくお願いします! Re: P71D600 Secure element SDK ? こんにちは、 @elgin_1950 さん。 P71D600に基づくと、JCOP 4.5ですか?JCOP 4.5ではSDKsとは呼ばず、モジュールとアプレットがあります。構成はOEF番号を読むか、正確なタイプ名を確認することで識別できます。説明をお願いします。 すてきな一日を、 カン ------------------------------------------------------------------------------- 注記: この投稿があなたの質問への回答になっている場合は、「正解としてマーク」ボタンをクリックしてください。ありがとうございます! - 前回の投稿から7週間Threadをフォローしており、その後の返信は無視しています もし後で関連する質問があれば、新しいThreadを開き、閉じたThreadを参照してください。 ------------------------------------------------------------------------------- Re: P71D600 Secure element SDK ? こんにちは、 @elgin_1950 さん。 ご説明ありがとうございます! 特定のカードにすでにMoCソリューションやバイオメトリクスプロバイダーがプリインストールされているかを特定するには、 最も簡単で信頼できる方法は 、カードの OEF番号を確認することです。 どのOEFがロードされているかを確認し、OEFツールでそのセットアップにどの構成が適用されているかを確認すると、MoCがサポートされているかどうか、もし対応ならどのバージョンかを即座に特定できます。OEF(Original Equipment Feature)はカードの構成を一意に識別し、どのMoCプロバイダー(ID3またはNeurotechnology)が設定されているかも含めます。この情報は、NXPの営業担当者やFAEから提供されたカードデータシートや注文情報から確認できます。 バイオメトリをサポートするJCOP 4.5 P71製品では、カード上に標準のJavaCardバイオメトリパッケージが表示されます: javacardx.biometry javacardx.biometry1toN ただし、 これらのパッケージの存在だけではMoCのサポートが有効であることは保証されません 。一部の構成にはこれらのパッケージのプレースホルダーバージョンが含まれている場合があります。機能的なMoCが存在するか、どのプロバイダーが設定されているかを確認するために、OEF構成と照合する必要があります。 どのパッケージやモジュールを探すべきか、その識別子、アクティブなMoCセットアップの検証方法など、詳細な技術的な詳細については、アプリケーションノートをご参照ください。 AN6844 – JCOP 4 P71 カード上のマッチ機能使用 この文書はNXPのセキュアリソースポータルから入手可能であり、 NXPとの有効な秘密保持契約(NDA)が必要です。まだアクセスできない場合は、NXPの営業担当者またはFAEに連絡してNDA手続きを開始し、書類の提出を依頼してください。 お役に立てば幸いです!さらに支援が必要な場合は、遠慮なくフォローアップするか、 https://support.nxp.com で個別サポートケースを開いてください。   すてきな一日を、 カン ------------------------------------------------------------------------------- 注記: この投稿があなたの質問への回答になっている場合は、「正解としてマーク」ボタンをクリックしてください。ありがとうございます! - 前回の投稿から7週間Threadをフォローしており、その後の返信は無視しています もし後で関連する質問があれば、新しいThreadを開き、閉じたThreadを参照してください。 -------------------------------------------------------------------------------     Re: P71D600 Secure element SDK ? こんにちは、 @Kan_Li さん、ご協力ありがとうございます。あなたの説明はよく理解できました。 しかし、いくつかのセキュリティ上の懸念から、ここで議論するには適さないかもしれない追加の質問があります。NXPサポートに直接お尋ねしたほうが適しているかもしれません。
View full article
S32K324 A/D こんにちは、 S32K324マイクロコントローラでは、3つのA/Dペリフェラルのうち2つを1つのコアに、1つのA/Dペリフェラルを2つ目のコアに使うことは可能でしょうか? ありがとう よろしくお願いします。 Re: S32K324 A/D ありがとう、 @michelet1 さんと一緒に例を確認します。 敬具 Re: S32K324 A/D こんにちは、 @gianpiero_lenta さん、 はい。 コミュニティでいくつかのマルチコアの例を参照できます: 解決済み:Re: ホワイトボードS32K324マルチコア例プロジェクト - NXPコミュニティ S32K3はまた、**ペリフェラル**を特定のドメイン(コア)に割り当て、隔離、保護するためのハードウェアワークとしてXRDCを提供しています:AN14715: S32K3XX ハードウェアリソースの隔離と保護。 よろしくお願いします、 ジュリアン
View full article
ECDA签名验证与CASPER 剧透 (高亮部分可供阅读)     你好, 我成功地自行构建了 mbedTLS,以便使用 ECDSA 验证签名(MBEDTLS_ECP_DP_SECP256R1)。 如果没有替代实现(所有计算均由 CPU 完成),在 LPC55S06 上进行签名验证最多需要 4 秒才能完成计算。 我现在正在尝试将 mbedTLS ecdsa_verify() 函数与 CASPER fsl 驱动程序链接起来。但我并不清楚,因为ECDSA的核查似乎并非单一操作。 如何将 CAPSER 的基本原语(SECP256R1_Mul 和 SECP256R1_MulAdd)与 mbedTLS 函数 ECDSA_verify() 连接起来? 感谢您的回复。 LPC55xx Re: ECDA signature verification with CASPER 你好 peter89jean, 感谢你的回复。您提到的方法正是我所想的,但是 mbedTLS 配置文件中似乎没有简单直接的 SECP256R1_MULADD _ALT或 SECP256R1_MUL _ALT定义。或许我应该去专门讨论mbdedTLS的论坛问问这个问题。 再次感谢。 问候。 Re: ECDA signature verification with CASPER 通常情况下,您不需要替换 mbedtls_ecdsa_verify() 本身;CASPER 加速应该集成到 mbedTLS 内部使用的椭圆曲线/乘法层中。ECDSA 验证需要计算标量乘法及其和,因此 SECP256R1_Mul() 可以处理单个标量点乘法,而 SECP256R1_MulAdd() 可以加速组合运算。具体集成取决于您的 mbedTLS 版本和 NXP CASPER 驱动程序 API,但通常的做法是为 P-256 标量乘法原语提供 mbedTLS 替代/优化实现,而不是直接从 ecdsa_verify() 调用 CASPER。 回复: ECDA signature verification with CASPER 嗨@s_hdl ECDSA 验证包含多个算术和椭圆曲线运算,因此它无法映射到单个 CASPER 原语。 在 MCUXpresso SDK 中,CASPER PSA Crypto 端口已经实现了集成。casper_mbedtls_ecdsa_verify() 函数执行标准的 ECDSA 验证流程,包括计算 u1 和 u2。然后它调用: casper_mbedtls_ecp_muladd(grp, &R, u1, &grp->G, u2, Q); 计算方法: R = u1 × G + u2 × Q ECP 适配层将 mbedTLS MPI 值和椭圆曲线点转换为 CASPER 所需的 格式 , 并将 此 操作 映射 到 CASPER_ECC_SECP256R1_MulAdd() 。 类似地, casper_mbedtls_ecp_mul() 将 单个 标 量 乘法 映射 到 CASPER_ECC_SECP256R1_Mul() 。 因此, 我们 建议 不要 直接 修改 , 而是 mbedtls_ecdsa_verify() 重复使用 SDK 提供 的 完整 CASPER 集成, 具体 如下 : component/psa_crypto_driver/casper_driver 具体 请 参阅 : mcux_psa_casper_ecdsa_port.c mcux_psa_casper_ecp_port.c 由于您是单独构建的 mbedTLS,请确保您的 mbedTLS 版本与 MCUXpresso SDK CASPER 端口兼容。 您可以参考lpcxpresso55s06_psa_crypto_examples。 Harry_Zhang_0-1788493275769.pngHarry_Zhang_0-1788493275769.png BR 哈里 回复: ECDA signature verification with CASPER 你好,哈利, 您的回答对我的帮助很大,谢谢。现在使用 CASPER 实现一切正常。 此致问候
View full article
Guider 1.10.1 crashes during operation. It's a Windows 11 computer, and the app keeps crashing randomly during the image pasting process. Sometimes it crashes very quickly, and sometimes it takes a little longer; there's no pattern to it. 回复: guider1.10.1闪退,在操作过程中会闪退 Hi @shier  Thank you for the information. GUI Guider v1.10.1 is an older release and may have compatibility or stability issues on Windows 11. We recommend upgrading to the latest GUI Guider v2.0.1 and checking whether the issue can be reproduced in the newer version.  If the crash still occurs with GUI Guider v2.0.1, please let us know and provide any crash logs, screenshots, or steps to reproduce the issue so that we can investigate further. BR Harry
View full article
P71D600 安全元件 SDK? 您好, 我一直在使用SE P71D600,想知道如何查看芯片上预装了哪个SDK。 请问如何验证SDK版本或详细信息? 谢谢。 JCOP ID1 JCOP ID2 Smart Card Re: P71D600 Secure element SDK ? 您好,您提到的 SDK 版本可能意味着以下几种情况: 如果您指的是该卡的合规级别,那么具体来说是 Java Card 3.0.5 和 Global Platform 2.3,我想这不太可能改变(尽管某些功能和修复可能会随着时间的推移而改变)。 如果您指的是可用的操作系统级别、补丁、模块和操作系统功能等,那么大部分信息都可以通过 GET DATA (IDENTIFY) 命令获取,您可以在 JCOP 4.5 用户指南和管理手册中找到详细信息(需遵守 NDA)。 如果您指的是 ISD 中加载了哪些软件包/库,可以使用 GlobalPlatform GET STATUS 命令读取(无需签署保密协议)。 Re: P71D600 Secure element SDK ? 你好@elgin_1950 , 根据 P71D600 来看,它是 JCOP 4.5 吗?在 JCOP 4.5 中,我们不称之为 SDK,而是称之为模块和小程序。可以通过读取 OEF 编号或检查确切的类型名称来识别配置。请说明。 祝你有美好的一天, 坎 ------------------------------------------------------------------------------- 笔记: - 如果此回复解答了您的问题,请点击“标记为正确答案”按钮。谢谢你! - 我们会持续关注帖子,从最后一条回复发出后持续7周,之后的回复将被忽略。 如果您之后有相关问题,请另开新帖并引用已关闭的帖子。 ------------------------------------------------------------------------------- Re: P71D600 Secure element SDK ? 嗨@Kan_Li和@makinako , 感谢您的回复。 是的,你说得对, @Kan_Li,是JCOP 4.5,我的错。让我澄清一下我的问题。 我正在开发一种生物特征匹配算法,其中卡片匹配 (MoC) 功能由第三方供应商提供。恩智浦半导体提供支持不同MoC生物识别服务提供商的产品。例如,MoC 功能可以由 ID3 或神经技术 (NT) 提供。 我的问题是:如何确定特定卡片上已预装了哪个 MoC 解决方案或生物识别提供商? 我拥有这两个提供商的 SDK,可以构建相应的 applet 和模块。但是,我对预装元器件的工作原理以及如何确定卡上存在哪种解决方案感到有些困惑。 请问如何才能识别出这个问题? 谢谢您! Re: P71D600 Secure element SDK ? 你好@elgin_1950 , 谢谢你的解释! 要确定特定卡片上已预装了哪个 MoC 解决方案或生物识别提供商,最简单、最可靠的方法是检查卡片的OEF 号码。您可以检查已加载的 OEF,并在 OEF 工具中查看已应用于该设置的配置,从而立即确定是否支持 MoC,如果支持,则确定其版本。OEF (原始设备功能)唯一标识了卡的配置,包括已配置的 MoC 提供商(ID3 或 Neurotechnology)(如有)。您可以从NXP 销售联系人或 FAE 提供的卡片数据表或订购信息中找到此信息。 在支持生物识别的 JCOP 4.5 P71 产品上,您将在卡上看到标准的 JavaCard 生物识别软件包: javacardx.biometry javacardx.biometry1toN 但是请注意,这些软件包的存在本身并不能确认 MoC 支持的有效性——某些配置可能包含这些软件包的占位符版本。您需要与 OEF 配置进行交叉检查,以确认是否存在功能性 MoC 以及配置了哪个提供商。 有关完整的详细技术说明(包括要查找哪些代码包和模块、它们的标识符以及如何验证活动的 MoC 设置),请参阅应用笔记: AN6844 – JCOP 4 P71 使用卡片匹配功能 该文档可通过 NXP 的安全资源门户获取,需要与 NXP 签署有效的保密协议。如果您还没有访问权限,请联系您的 NXP 销售代表或 FAE 以启动 NDA 流程并索取该文件。 希望这能帮到你!如果您需要进一步的帮助,请随时访问https://support.nxp.com进行后续跟进或提交私人支持案例。   祝你有美好的一天, 坎 ------------------------------------------------------------------------------- 笔记: - 如果此回复解答了您的问题,请点击“标记为正确答案”按钮。谢谢你! - 我们会持续关注帖子,从最后一条回复发出后持续7周,之后的回复将被忽略。 如果您之后有相关问题,请另开新帖并引用已关闭的帖子。 -------------------------------------------------------------------------------     Re: P71D600 Secure element SDK ? @Kan_Li你好,谢谢你的帮助。我完全理解了你的解释。 但是,由于一些安全方面的考虑,我还有一些问题可能更适合直接通过 NXP 支持部门提出,因为这些问题可能不适合在这里讨论。
View full article
S32K324 A/D 你好, 在 S32K324 微控制器中,是否可以在一个内核上使用三个 A/D 外设中的两个,在另一个内核上使用一个 A/D 外设? 谢谢。 此致 Re: S32K324 A/D 谢谢, 我们将和@michelet1一起查看示例。 祝好 Re: S32K324 A/D 你好@gianpiero_lenta , 是的。 您可以参考社区中的一些多核示例: 已解决:回复:基于白板的 S32K324 多核示例项目 - NXP 社区 S32K3 还提供 XRDC 作为硬件机制,用于将外围设备分配、隔离和保护到特定功能域(内核): AN14715:S32K3XX 硬件资源隔离和保护。 此致, 朱利安
View full article
MIFARE Plus EV1 (SL3) 扇区尾部访问字节错误,明文通信中断 大家好, 我正在 SL3 系统中使用 Mifare Plus EV1 卡。在配置扇区尾部访问字节时,我不小心设置了一个错误的值,现在该扇区无法进行明文通信了。 如果访问位模式(C1/C2/C3)本身仍然有效,而只有字节 5(PlainAC)配置错误,那么重新认证并重写字节 5 是否足以修复明文通信?或者,仅仅是通信故障是否也可能导致格式违规锁定? 之前有人遇到过这种情况吗?有没有什么变通办法,还是说把这个行业永久关闭是唯一现实的选择? 感谢您提供的任何见解。 #MIFARE_PLUS_EV1 # MIFARE PLUS EV2 MIFARE_PLUS_SE_1K MIFARE
View full article
LS1028A / Cortex-A72:ソフトウェアのL1/L2キャッシュECCエラー注入はサポートされていますか? L1/L2キャッシュECCがインジェクションでテスト可能かどうか確認する必要があります。   Cortex-A72 TRMから理解しています: - L1DとL2はECCを提供します - エラーはCPUMERRSR_EL1 / L2MERRSR_EL1経由で報告されます - A72のL1DまたはL2キャッシュアレイにECCエラーを注入するソフトウェアでアクセス可能な方法を見つけられていません   質問: 1) LS1028A(またはこの部分のA72実装)は、L1D/L2にECCエラーを注入するためのソフトウェアアクセス可能な方法を提供していますか? 2) インジェクションがサポートされていない場合、NXPは電源投入時のBITコンテキストでL1/L2 ECCの検出/訂正動作を検証するために何を推奨しますか? Re: LS1028A / Cortex-A72: Is software L1/L2 cache ECC error injection supported? こんにちは、 Q1: LS1028A / Cortex-A72はL1D/L2へのソフトウェアECCエラー注入をサポートしていますか? いいえ — Cortex-A72はL1またはL2キャッシュに対するソフトウェアアクセス可能なECCエラー注入をサポートしていません。 Q2:NXP推奨のL1/L2 ECCの電源オンBIT検証代替案 A72では注入が利用できないため、NXPの立場は、このコア上でL1/L2の直接的なECCエラー注入テストはソフトウェア上で実現不可能であり、このレベルのBITカバレッジを必要とするお客様は以下のアプローチを検討すべきだということです。 1. CPUMERRSR_EL1 / L2MERRSR_EL1 を介して ECC レポートパスを確認します。 2. 未公開のデバッグフックについては直接ARMを参照する 3. ARMのアーキテクチャ検証(デザインレベル保証)に依存する セーフティクリティカルなアプリケーションにおいて、注入が利用できない場合の標準的な業界アプローチは、Arm独自のシリコン検証とSECDED ECCのアーキテクチャ保証に頼ることです。LS1028Aのデータシートには「パリティおよびECC保護された32KBのL1命令と32KBのL1データキャッシュ」および「1MBのL2キャッシュにECC保護付き」と記載されています。ARMのシリコン認定プロセスでは、IPレベルでのECCの正確性が対象となります。 4. 完全なBITカバレッジを実現するために、より新しいコアへの移行を検討する ソフトウェアインジェクタブルECC BITが必須条件(例:IEC 61508 / DO-254準拠)の場合、NXPの新しいCortex-A55ベースのSoC(例:i.MX 93)は、検証とデバッグのために明示的に設計された専用のECCエラー注入レジスタ(例: CODE_CACHE_TAG0_ECC_ERROR_INJEC 、 SYSTEM_CACHE_DATA0_ECC_ERROR_INJEC )を提供しています。A72→A55/A78AE移行経路はNXPが積極的にサポートしています。   よろしくお願いします。
View full article