Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
如何在 CodeWarrior 10.6 中使用 CodeWarrior 2.1 生成的 hex 文件对 MPC5607B 进行编程 您好,我遇到一个问题。在CodeWarrior 2.1中编译MPC5607B生成的hex文件可以在CodeWarrior 2.1中正常烧录,但无法在CodeWarrior 10.6中编程。 CodeWarrior 10.6 中的编程配置选择和错误信息如下: 回复: How to program MPC5607B with hex files generated from CodeWarrior 2.1 in CodeWarrior 10.6 我的项目比较老旧,而且包含库,所以只能用 2.1 版本编译,不能用 10.6 版本编译。然后我把它连接到 10.6 系统上,我想直接用 10.6 系统对用 2.1 系统编译的文件进行编程。附件是我的 elf 文件和 hex 文件。 Re: How to program MPC5607B with hex files generated from CodeWarrior 2.1 in CodeWarrior 10.6 你好, 感谢您提供如此详细的信息。 根据日志,闪存擦除操作已成功完成,这表明所选的闪存配置和擦除程序运行正常。 故障发生在编程阶段。具体来说,在地址 0x00000000 处编程成功,但在尝试对地址 0x00007FCC 处的数据进行编程时失败: 由于设备已成功擦除,因此该问题似乎与擦除算法本身无关。相反,它更有可能与故障地址处正在编程的内容有关,或者与 CodeWarrior 10.6 如何处理生成的映像有关。 请提供链接器映射文件,并指出地址 0x00007FCC 附近的段是什么?将生成的 HEX/S19 文件与 CodeWarrior 10.6 中编程的 ELF 图像进行比较也很有用。 顺祝商祺! Peter Re: How to program MPC5607B with hex files generated from CodeWarrior 2.1 in CodeWarrior 10.6 我的项目比较老旧,而且包含库,所以只能用 2.1 版本编译,不能用 10.6 版本编译。然后我把它连接到 10.6 系统上,我想直接用 10.6 系统对用 2.1 系统编译的文件进行编程。附件是我的 elf 文件和 hex 文件。
記事全体を表示
How to program MPC5607B with hex files generated from CodeWarrior 2.1 in CodeWarrior 10.6 Hi,I encountered a problem,The hex file generated by compiling MPC5607B in CodeWarrior 2.1 can be normally burned in CodeWarrior 2.1, but it cannot be programmed in CodeWarrior 10.6 The programming configuration selection and error messages in CodeWarrior 10.6 are as follows: Re: How to program MPC5607B with hex files generated from CodeWarrior 2.1 in CodeWarrior 10.6    My project is quite old and contains libraries, so it can only be compiled with 2.1 and cannot be compiled with 10.6. Then I attach it on 10.6, and I want to directly program the files compiled with 2.1 using 10.6. The attachments are my elf and hex files. Re: How to program MPC5607B with hex files generated from CodeWarrior 2.1 in CodeWarrior 10.6 Hello, Thank you for the detailed information. Based on the log, the flash erase operation completes successfully, which indicates that the selected flash configuration and erase procedure are working correctly. The failure occurs during the programming phase. Specifically, programming succeeds at address 0x00000000 but fails when attempting to program data at address 0x00007FCC: Since the device was erased successfully, the issue does not appear to be related to the erase algorithm itself. Instead, it is more likely associated with the contents being programmed at the failing address or with how CodeWarrior 10.6 handles the generated image. Could you please provide the linker map file and identify which section is located around address 0x00007FCC? It would also be useful to compare the generated HEX/S19 file and the ELF image being programmed in CodeWarrior 10.6. Best regards, Peter 回复: How to program MPC5607B with hex files generated from CodeWarrior 2.1 in CodeWarrior 10.6    My project is quite old and contains libraries, so it can only be compiled with 2.1 and cannot be compiled with 10.6. Then I attach it on 10.6, and I want to directly program the files compiled with 2.1 using 10.6. The attachments are my elf and hex files.
記事全体を表示
CodeWarrior 2.1で生成されたhexファイルを使用して、CodeWarrior 10.6でMPC5607Bをプログラムする方法 こんにちは、問題が発生しました。CodeWarrior 2.1でMPC5607Bをコンパイルして生成された16進形ファイルは通常CodeWarrior 2.1では焼くことができますが、CodeWarrior 10.6ではプログラムできません CodeWarrior 10.6におけるプログラミング構成の選択とエラーメッセージは以下のとおりです。 回复: How to program MPC5607B with hex files generated from CodeWarrior 2.1 in CodeWarrior 10.6 私のプロジェクトはかなり古く、ライブラリが含まれているため、2.1でしかコンパイルできず、10.6ではコンパイルできません。次にそれを10.6に接続し、2.1でコンパイルされたファイルを10.6を使用して直接プログラムしたいと考えています。添付ファイルは私のelfファイルとhexファイルです。 Re: How to program MPC5607B with hex files generated from CodeWarrior 2.1 in CodeWarrior 10.6 こんにちは、 詳細な情報を提供していただきありがとうございます。 ログに基づくと、フラッシュ消去操作は正常に完了しており、選択されたフラッシュ構成と消去手順が正しく機能していることがわかります。 不具合はプログラミング段階で発生します。具体的には、アドレス0x00000000ではプログラミングは成功するが、アドレス0x00007FCCにデータをプログラムしようとすると失敗する。 デバイスのデータ消去は正常に完了したため、問題は消去アルゴリズム自体とは関係がないようです。むしろ、それは障害が発生したアドレスにプログラムされている内容、あるいはCodeWarrior 10.6が生成されたイメージをどのように処理するかに関連している可能性が高い。 リンカーマップファイルを教えていただけますか?住所0x00007FCC周辺のどのセクションかを教えていただけますか?生成されたHEX/S19ファイルと、CodeWarrior 10.6でプログラムされているELFイメージを比較することも有用でしょう。 よろしくお願いいたします。 ピーター Re: How to program MPC5607B with hex files generated from CodeWarrior 2.1 in CodeWarrior 10.6 私のプロジェクトはかなり古く、ライブラリが含まれているため、2.1でしかコンパイルできず、10.6ではコンパイルできません。次にそれを10.6に接続し、2.1でコンパイルされたファイルを10.6を使用して直接プログラムしたいと考えています。添付ファイルは私のelfファイルとhexファイルです。
記事全体を表示
Need help with NXP IMX 1050evkb I’ve done C Programming. Now, I’m trying to learn basics of embedded development. I just bought an NXP 1050 evaluation kit. But it does not align with the basic steps mentioned on the NXP Getting Started guide. - It doesn’t have an accelerometer project in built. I tried installing the driver but the Link takes me to build an SDK. And the guide says to install the SDK but I can’t find any installable files there. All the videos in there are too old. Can somebody help? Re: Need help with NXP IMX 1050evkb Hi @achino , Thank you so much for your interest in our products and for using our community. The SDK is downloaded as a ZIP package; there is no separate SDK installer to run. Please check whether your board is the MIMXRT1050-EVK or MIMXRT1050-EVKB , and select the matching board when downloading the SDK. https://mcuxpresso.nxp.com/ After importing the SDK ZIP into MCUXpresso IDE, use Import SDK example(s) . For the MIMXRT1050-EVKB , select "evkbimxrt1050_flexio_i2c_read_accel_value_transfer ". This example prints the three-axis accelerometer readings to a PC serial terminal through the board’s virtual serial port. Please check that your MCUXpresso IDE version, SDK version, and evaluation board are compatible. Wish it helps you Best Regards, May Liu
記事全体を表示
S32K396 eTPU:TCR1 无法通过 STAC 总线共享(TCR2 可以)——请确认此限制 产品/环境 设备:S32K396(S32K39/37/36 系列),eTPU 单实例,双引擎 参考资料:S32K39、S32K37 和 S32K36 参考手册,修订版。4、11/2024、第 67 章(eTPU) SDK:S32 设计工作室 3.6.10RTD 6.0.0,ETpu_Ip /Etpu_Pwmm_Ip 驱动程序 板:S32K396BMS-EVB,176 LQFP 通过在运行时直接写入 eTPU 时基寄存器来重现此现象(寄存器)。 仅包含地址和值,不涉及应用程序代码)。 手册上是怎么说的 RM 67.3.8.3 “STAC接口”:“发动机和控制器之间可以共享两个时基TCR1和TCR2。” 与同一MCU中的其他模块……TCR1:可以导出到总线或从总线导入。 RM 67.3.8.1.5:“STAC 总线服务器模式 - TCR1 总线可以作为服务器导出到总线。” RM 表 378(芯片特定):引擎 1 TCR1 = 服务器 ID 0,引擎 2 TCR1 = 服务器 ID 1。 因此,TCR1 服务器/客户端操作预计可以在该设备上正常工作。 有效方法(基线,20 MHz 共享时基) 引擎 1 导出 TCR2(服务器 ID 2),引擎 2 将其导入为 TCR1: STAC_ENG1 (0x4068002C) = 0x8002C200 (REN2=1, RSC2=1 服务器; REN1=1, RSC1=0 ID 为 2 的客户端) STAC_ENG2 (0x4068004C) = 0x81020300 (REN1=1, RSC1=0client, SRV1=2) TB1R_ENG1 和 TB1R_ENG2 相互跟踪;此配置可正确运行 9 相 PWM。 失败的原因(TCR1 作为共享资源)——双向尝试均失败 根据 STAC_ENGn 中的注释,使用的序列是:“当 REN1 位钳位时,RSC1 不得更改”, 首先清除 REN1,然后写入 RSC1/SRV1,然后再次设置 REN1。 客户端引擎也使用 TBCR[TCR1CTL]=11(“TCR1 冻结,但作为 STAC 客户端除外”)进行了测试。 (a)引擎 1 服务器,引擎 2 客户端 TBCR_ENG1 (0x40680020) = 0x8000A000 (TCR2CTL=100DIV8; TCR1CTL=10, TCR1CS=1 = eTPU 时钟) TBCR_ENG2 (0x40680040) = 0x8000C000 (客户端,TCR1CTL=11 已冻结) STAC_ENG1 = 0xC002C200 (REN1=1, RSC1=1 服务器,SERVER_ID1 读取 0) STAC_ENG2 = 0x81000300 (REN1=1, RSC1=0 客户端, SRV1=0) 结果:TB1R_ENG1 持续计数,TB1R_ENG2 冻结在其当前值 (1989303) 且不再计数 在 400 毫秒的观察时间内发生了变化。 (b)引擎 2 服务器,引擎 1 客户端 STAC_ENG2 = 0xC1020300 (REN1=1, RSC1=1 服务器,SERVER_ID1 读取 1) STAC_ENG1 = 0x8001C200 (REN1=1, RSC1=0 客户端, SRV1=1) 结果:TB1R_ENG1 冻结在 1769497,TB1R_ENG2 继续计数。 STAC_ENGn 的回读确认每一位都已生效(REN/RSC/SRV/SERVER_ID 按写入),MCR[GTBE] 钳位,两台发动机均未处于角度模式(AM=0),且没有发动机配置为客户端。 本身。 问题 1.S32K396 系统集成 STAC 控制器是否为 eTPU TCR1 分配时隙 资源(服务器 ID 0 和 1)?RM 67.3.8.3 指出 eTPU 没有控制器模块,并且它是 “在系统集成中实例化一次”,但 S32K396 RM 没有记录该控制器。 2. 如果此设备支持 TCR1 导出,那么缺少哪一步配置?是否存在其他配置步骤? 系统集成寄存器、PCMC/时钟控制设置或外设工具选项必须 是否允许在RedLine赛道上驾驶TCR1时段的赛车? 3. 如果 S32K396 不支持 TCR1 导出,请记录此限制(RM 勘误表或注释)。 eTPU 章节),因为目前的措辞暗示它有效。 为什么这很重要 目前唯一能够保证两个 eTPU 引擎都能计数的方法就是采用 20 MHz STAC 时基。 相同的时基。它提供 50 ns 的 PWM 分辨率,这对于电流环路占空比控制来说是不够的。 (12 位,20 kHz 采样率需要 >= 8192 个计数)。在 80 或 160 MHz 频率下共享 TCR1 可以直接解决这个问题。 作为备选方案,我们正在评估 160 MHz 下的原生 TCR1(TCR1CTL=10,TCR1CS=1),并以 MCR[GTBE] 开始; RM 67.3.8.4 规定,当 TCR1CS=1 时,两台发动机的 TCR1 同时启动,这也是可以接受的。 如果得到确认。 相关公开信息 NXP社区,“STAC接口”(MPC5xxx,2016),NXP技术支持解答: https://community.nxp.com/t5/MPC5xxx/STAC-Interface/mp/532642 它指出,STAC总线允许一个eTPU将其时基(TCR1/TCR2)导出到另一个eTPU以及…… 对于诸如 eMIOS 之类的外围设备,只需要对 REDCR(eTPU_TBR_STAC_ENGx) 进行编程即可。 两台发动机有“4 个固定时间段”。在S32K396上,这四个插槽恰好就是服务器ID。 根据表 378(引擎 1 为 0/2,引擎 2 为 1/3),预计 TCR1 的插槽 0 和 1 将启用。 因此,我们想知道 S32K396 集成是否实现了所有四个插槽。 可应要求提供附件:重现冻结问题的注册表转储序列(gdbscript);无客户 涉及到应用程序代码。 Re: S32K396 eTPU: TCR1 cannot be shared over theSTAC bus (TCR2 works) - please confirm the restricti STAC 接口,也称为红线,存在于 S32K396 上。两个 eTPU 引擎之间成功共享 TCR2,证实了接口本身是可操作的。 根据当前的参考手册描述和表 378,通过服务器 ID 0 和 1 导出 TCR1 似乎是受支持的。我不知道启用这些 STAC 资源还需要进行任何额外的 PCMC、时钟控制、系统集成或外围设备工具配置。所描述的编程顺序似乎也遵循在更改 RSC1 和 SRV1 之前清除 REN1 的要求。 由于 TCR2 共享在两个方向上都有效,而 TCR1 共享在两个方向上都无效,尽管 STAC 寄存器值按预期读取,但我目前无法确定明显的配置错误。这需要 eTPU 应用团队进行澄清,以确定是否存在其他未记录的要求、S32K396 集成中的限制,或者可能存在文档或实施问题。可以使用提供的 GDB 寄存器转储脚本来查看和重现确切的配置序列。 关于备用方案,MCR[GTBE] 提供了用于同时启动引擎时基的已记录机制。但是,当每个引擎使用自己的原生 TCR1 时钟时,计数器在初始启动后保持独立。因此,在将此方法用于最终的电流环 PWM 实现之前,应确认由此产生的同步精度和任何可能的长期偏移。 Re: S32K396 eTPU: TCR1 cannot be shared over theSTAC bus (TCR2 works) - please confirm the restricti 请您向eTPU申请团队澄清一个问题: S32K396 是否实际实现了通过 STAC(红线)总线进行 TCR1 导出/导入? 我们观察到的现象,可以通过在运行时仅写入 eTPU 时基寄存器来重现。 (仅寄存器值,无应用程序代码,已验证回读,客户端 TCR1CTL = 10 和 11 都尝试过, (双向): - TCR2(服务器 ID 2 / 3)在两个引擎之间共享:有效,客户端计数器跟踪服务器。 - TCR1(服务器 ID 0 / 1)由两个引擎共享:客户端 TB1R 冻结且不再跟随, 双向的。 RM 67.3.8.3 和表 378 规定,TCR1 可以导出到/从总线导入,并且根据 您的回复是,无需额外的PCMC、时钟控制或工具设置即可启用这些资源。 因此,这种行为无法用我们的配置来解释。 那么问题就很简单:S32K396 中是否实现了 TCR1 时隙(服务器 ID 0 和 1) 系统集成方面有什么问题吗? 如果答案是肯定的,那么我们还缺少什么? - 如果没有,请记录该限制(RM 注释或勘误表),因为目前的措辞暗示了这一点 该设备支持 TCR1 导出/导入功能。 可应要求提供重现冻结的 gdb 脚本(仅限寄存器写入和读取)。
記事全体を表示
S32K396 eTPU: TCR1 cannot be shared over theSTAC bus (TCR2 works) - please confirm the restriction Product / environment Device: S32K396 (S32K39/37/36 family), eTPU singleinstance, dual engine Reference: S32K39, S32K37 and S32K36 Reference Manual,Rev. 4, 11/2024, chapter 67 (eTPU) SDK: S32 Design Studio 3.6.10, RTD 6.0.0, ETpu_Ip /Etpu_Pwmm_Ip drivers Board: S32K396BMS-EVB, 176 LQFP Phenomenon reproduced by writing the eTPU time-baseregisters directly at run time (register addresses and values only, no application code involved). What the manual says RM 67.3.8.3 "STAC interface": "Both time bases TCR1 andTCR2 can be shared between the Engines and with other blocks in the same MCU... TCR1: Can be exportedto or imported from the bus." RM 67.3.8.1.5: "STAC Bus Server mode - TCR1 bus can beexported to the bus as a server." RM Table 378 (chip-specific): engine 1 TCR1 = server ID 0,engine 2 TCR1 = server ID 1. So TCR1 server/client operation is expected to work on thisdevice. What works (baseline, 20 MHz shared time base) Engine 1 exports TCR2 (server ID 2), engine 2 imports it as itsTCR1: STAC_ENG1 (0x4068002C) = 0x8002C200 (REN2=1, RSC2=1server; REN1=1, RSC1=0 client of ID 2) STAC_ENG2 (0x4068004C) = 0x81020300 (REN1=1, RSC1=0client, SRV1=2) TB1R_ENG1 and TB1R_ENG2 track each other; thisconfiguration runs a 9-phase PWM correctly. What fails (TCR1 as the shared resource) - tried in bothdirections Sequence used, per the NOTE in STAC_ENGn: "RSC1 mustnot be changed when the REN1 bit is asserted", so REN1 was cleared first, then RSC1/SRV1 written, thenREN1 set again. The client engine was also tested with TBCR[TCR1CTL]=11("TCR1 frozen, except as a STAC client"). (a) Engine 1 server, engine 2 client TBCR_ENG1 (0x40680020) = 0x8000A000 (TCR2CTL=100DIV8; TCR1CTL=10, TCR1CS=1 = eTPU clock) TBCR_ENG2 (0x40680040) = 0x8000C000 (client,TCR1CTL=11 frozen) STAC_ENG1 = 0xC002C200 (REN1=1, RSC1=1 server,SERVER_ID1 reads 0) STAC_ENG2 = 0x81000300 (REN1=1, RSC1=0 client,SRV1=0) Result: TB1R_ENG1 keeps counting, TB1R_ENG2 freezes at itscurrent value (1989303) and does not change over 400 ms of observation. (b) Engine 2 server, engine 1 client STAC_ENG2 = 0xC1020300 (REN1=1, RSC1=1 server,SERVER_ID1 reads 1) STAC_ENG1 = 0x8001C200 (REN1=1, RSC1=0 client,SRV1=1) Result: TB1R_ENG1 freezes at 1769497, TB1R_ENG2 keepscounting. Readback of STAC_ENGn confirmed every bit took effect(REN/RSC/SRV/SERVER_ID as written), MCR[GTBE] was asserted, both engines were out of Angle Mode (AM=0)and no engine was configured as a client of itself. Questions 1. Does the S32K396 system-integration STAC controllerallocate time slots for the eTPU TCR1 resources (server IDs 0 and 1)? RM 67.3.8.3 states the eTPUhas no Controller module and that it is "instantiated once in the system integration", but theS32K396 RM does not document that controller. 2. If TCR1 export is supported on this device, what is themissing configuration step - is there a system-integration register, a PCMC/clock-control setting,or a Peripherals-tool option that has to be enabled for the TCR1 time slot to be driven on the RedLine? 3. If TCR1 export is NOT supported on S32K396, pleasedocument the restriction (RM errata or a note in the eTPU chapter), because the current wording implies itworks. Why it matters The 20 MHz STAC time base is the only way currentlyavailable to guarantee that both eTPU engines count the same time base. It gives 50 ns PWM resolution, which isnot enough for current-loop duty control (12 bit at 20 kHz needs >= 8192 counts). Sharing TCR1 at 80or 160 MHz would solve that directly. As a fallback we are evaluating native TCR1 at 160 MHz(TCR1CTL=10, TCR1CS=1) with MCR[GTBE] start; RM 67.3.8.4 states that with TCR1CS=1 both engines' TCR1start together, which would also be acceptable if confirmed. Related public information NXP Community, "STAC Interface" (MPC5xxx, 2016), NXPTechSupport answer: https://community.nxp.com/t5/MPC5xxx/STAC-Interface/m-p/532642 It states that the STAC bus lets an eTPU export its timebase(TCR1/TCR2) to another eTPU as well as to peripherals such as eMIOS, that REDCR(eTPU_TBR_STAC_ENGx) is all that has to be programmed,and that with two engines there are "4 fixed time slots". On S32K396those four slots are exactly the server IDs of Table 378 (0/2 for engine 1, 1/3 for engine 2), so slots 0and 1 for TCR1 are expected to be live. This is why we would like to know whether the S32K396integration implements all four slots. Attachments on request: register dump sequence (gdbscript) that reproduces the freeze; no customer application code is involved. Re: S32K396 eTPU: TCR1 cannot be shared over theSTAC bus (TCR2 works) - please confirm the restricti The STAC interface, also referred to as the Red Line, is present on S32K396. The successful sharing of TCR2 between the two eTPU engines confirms that the interface itself is operational. Based on the current Reference Manual description and Table 378, TCR1 export through server IDs 0 and 1 appears to be supported. I am not aware of any additional PCMC, clock-control, system-integration, or Peripherals-tool configuration required to enable these STAC resources. The described programming sequence also appears to follow the requirement to clear REN1 before changing RSC1 and SRV1. Since TCR2 sharing works while TCR1 sharing does not work in either direction, although the STAC register values read back as expected, I cannot currently identify an obvious configuration error. This requires clarification from the eTPU application team to determine whether there is an additional undocumented requirement, a restriction in the S32K396 integration, or a possible documentation or implementation issue. The provided GDB register-dump script can be used to review and reproduce the exact configuration sequence. Regarding the fallback solution, MCR[GTBE] provides the documented mechanism for starting the engine time bases together. However, when each engine uses its own native TCR1 clock, the counters remain independent after the initial start. Therefore, the resulting synchronization accuracy and any possible long-term offset should be confirmed before this approach is used for the final current-loop PWM implementation. Re: S32K396 eTPU: TCR1 cannot be shared over theSTAC bus (TCR2 works) - please confirm the restricti Could you please clarify one point with the eTPU application team: Is TCR1 export/import over the STAC (Red Line) bus actually implemented on S32K396? What we observe, reproduced by writing only the eTPU time-base registers at run time (register values only, no application code, readbacks verified, client TCR1CTL = 10 and 11 both tried, both directions): - TCR2 (server IDs 2 / 3) shared between the two engines: works, the client counter tracks the server. - TCR1 (server IDs 0 / 1) shared between the two engines: the client TB1R freezes and never follows, in both directions. RM 67.3.8.3 and Table 378 state that TCR1 can be exported to / imported from the bus, and according to your reply there is no additional PCMC, clock-control or tool setting needed to enable these resources, so the behaviour cannot be explained by our configuration. The question is then simply: are the TCR1 time slots (server IDs 0 and 1) implemented in the S32K396 system integration at all? - If yes, what are we missing? - If no, please document the restriction (RM note or errata), because the current wording implies that TCR1 export/import works on this device. The gdb script that reproduces the freeze is available on request (register writes and readbacks only).
記事全体を表示
S32K396 eTPU:TCR1はSTACバス経由で共有できません(TCR2は動作します)。制限を確認してください 製品/環境 デバイス:S32K396(S32K39/37/36ファミリ)、eTPUシングルインスタンス、デュアルエンジン 参考文献:S32K39、S32K37およびS32K36リファレンス・マニュアル、改訂版。4、2024年11月、第67章(eTPU) SDK:S32 Design Studio 3.6.10、RTD 6.0.0、ETpu_Ip /Etpu_Pwmm_Ipドライバ 取締役会:S32K396BMS-EVB、176 LQFP eTPUのタイムベースレジスタを実行時に直接書き込むことで再現される現象 アドレスと値のみ、アプリケーションコードは関与しません)。 マニュアルに書いてある通りです RM 67.3.8.3「STACインターフェース」:「両方のタイムベースTCR1およびTCR2はエンジン間で共有可能で、 同じMCU内の他のブロックと...TCR1:バスにエクスポートまたはインポート可能。」 RM 67.3.8.1.5:「STACバスサーバーモード - TCR1バスはサーバーとしてバスにエクスポート可能です。」 RMテーブル378(チップ固有):エンジン1 TCR1 = サーバーID 0、エンジン2 TCR1 = サーバーID 1。 SO、TCR1のサーバー/クライアント操作はこのデバイスで動作することが期待されています。 有効な方法(ベースライン、20MHz共有タイムベース) エンジン1はTCR2(サーバーID 2)をエクスポートし、エンジン2はそれをitsTCR1としてインポートします。 STAC_ENG1 (0x4068002C) = 0x8002C200 (REN2=1、RSC2=1はサーバー、REN1=1、RSC1=0はID 2のクライアント) STAC_ENG2 (0x4068004C) = 0x81020300 (REN1=1、RSC1=0client、SRV1=2) TB1R_ENG1とTB1R_ENG2は互いに追従し、この構成で9相PWMが正しく動作します。 失敗するもの(共有リソースとしてのTCR1)は両方向で試しました STAC_ENGnのNOTEによる使用シーケンス:「REN1ビットが主張された際にRSC1は変更してはならない」 つまり、REN1が最初にクリアされ、その後RSC1/SRV1が書き込まれ、再びREN1がセットされました。 クライアントエンジンは、TBCR[TCR1CTL]=11("STACクライアントとして以外ではTCR1が凍結されている")でもテストされました。 (a)エンジン1サーバー、エンジン2クライアント TBCR_ENG1 (0x40680020) = 0x8000A000 (TCR2CTL=100DIV8; TCR1CTL=10、TCR1CS=1 = eTPUクロック) TBCR_ENG2 (0x40680040) = 0x8000C000 (クライアント、TCR1CTL=11 フリーズ) STAC_ENG1 = 0xC002C200 (REN1=1、RSC1=1 サーバー、SERVER_ID1 は 0 を読み取る) STAC_ENG2 = 0x81000300 (REN1=1、RSC1=0 クライアント、SRV1=0) 結果: TB1R_ENG1 はカウントを続け、TB1R_ENG2 は現在の値 (1989303) でフリーズし、カウントは行われません。 400ミリ秒の観測で変化が生じる。 (b)エンジン2サーバー、エンジン1クライアント STAC_ENG2 = 0xC1020300 (REN1=1、RSC1=1 サーバー、SERVER_ID1 は 1 を読み取る) STAC_ENG1 = 0x8001C200 (REN1=1、RSC1=0 クライアント、SRV1=1) 結果: TB1R_ENG1 は 1769497 で停止し、TB1R_ENG2 はカウントを続けます。 STAC_ENGn の読み戻しにより、すべてのビットが有効になったことが確認されました (REN/RSC/SRV/SERVER_ID は書き込まれたとおり)、MCR[GTBE] 主張されたが、両方のエンジンはアングルモード(AM=0)から外れており、どのエンジンもクライアントとして構成されていなかった。 自体。 質問 1.S32K396システム統合STACコントローラはeTPU TCR1にタイムスロットを割り当てますか? リソース(サーバーID 0と1)?RM 67.3.8.3には、eTPUにはコントローラモジュールがなく、次のように記載されています。 「システム統合で一度インスタンス化」とされていますが、S32K396 RMにはそのコントローラの記録はありません。 2. このデバイスでTCR1エクスポートがサポートされている場合、欠けている設定ステップは何でしょうか?ペリフェラルツールのオプションがあるのでしょうか? システム統合レジスタ、PCMC/クロック制御設定、または TCR1の時間帯がレッドラインを走行できるようになったのでしょうか? 3. もしTCR1のエクスポートがS32K396でサポートされていない場合は、制限(RMの訂正表または注記)を記載してください。 eTPU章のことだ)、現在の表現はそれが機能していることを示唆している。 なぜ重要なのか 20 MHzのSTACタイムベースが、両方のeTPUエンジンを確実にカウントする唯一の方法です 同じ時間基準です。50 nsのPWM分解能が得られますが、これは電流ループのデューティ制御には不十分です。 (20kHzで12ビットの場合、8192カウント以上が必要です。)TCR1を80MHzまたは160MHzで共有すれば、その問題は直接解決するだろう。 代替手段として、MCR[GTBE]開始で160MHz(TCR1CTL=10、TCR1CS=1)のネイティブTCR1を評価しています。 RM 67.3.8.4では、TCR1CS=1の場合、両方のエンジンのTCR1が同時に始動すると規定されており、これも許容範囲内である。 確認された場合。 関連公開情報 NXPコミュニティ、「STACインターフェース」(MPC5xxx、2016年)、NXPTechSupportの回答: https://community.nxp.com/t5/MPC5xxx/STAC-Interface/m-p/532642 STACバスはeTPUがタイムベース(TCR1/TCR2)を別のeTPUにエクスポートし、さらに eMIOSのようなペリフェラル、REDCR(eTPU_TBR_STAC_ENGx)だけでプログラムされるべきこと、そして 2台のエンジンでは「4つの固定時間帯」があります。S32K396では、その4つのスロットがまさにサーバーIDです 表378(エンジン1の0/2、エンジン2の1/3)に記載されており、TCR1のスロット0と1は稼働中と見込まれています。 そのため、S32K396統合が4つのスロットすべてを実装しているかどうかを知りたいのです。 リクエスト時の添付ファイル:フリーズを再現するレジスタダンプシーケンス(gdbscript);お客様なし アプリケーションコードも関係しています。 Re: S32K396 eTPU: TCR1 cannot be shared over theSTAC bus (TCR2 works) - please confirm the restricti STACインターフェース(レッドラインとも呼ばれる)はS32K396に存在します。2つのeTPUエンジン間でTCR2の成功した共有により、インターフェース自体が動作していることが確認されました。 現在のリファレンスマニュアルの説明と表378に基づき、TCR1のサーバーID0および1を通じたエクスポートはサポートされているようです。これらのSTACリソースを有効にするために追加のPCMC、クロック制御、システム統合、またはペリフェラルツールの設定が必要だとは知りません。記載されているプログラミング手順は、RSC1とSRV1を変更する前にREN1をクリアするという要件にも従っているようです。 TCR2の共有は動作しますが、TCR1の共有はどちらの方向も動作しません。STACレジスタ値は期待通り読み返すものの、現時点で明らかな設定エラーは特定できません。これには、eTPUアプリケーションチームからの明確化が必要で、追加の未文書要件があるのか、S32K396統合における制限があるのか、あるいはドキュメントや実装上の問題があるのかを判断する必要があります。提供されたGDBレジスタダンプスクリプトを使って、正確な構成シーケンスをレビューし再現することができます。 フォールバックソリューションに関しては、MCR[GTBE]はエンジンの時刻ベースを同時に開始するための文書化されたメカニズムを提供します。しかし、各エンジンが独自のネイティブTCR1クロックを使用する場合、カウンタは初期起動後も独立した状態を維持します。したがって、この手法を最終的な電流ループPWMの実装に使用する前に、結果として得られる同期精度と、起こりうる長期的なオフセットを確認する必要がある。 Re: S32K396 eTPU: TCR1 cannot be shared over theSTAC bus (TCR2 works) - please confirm the restricti eTPUアプリケーションチームについて一つだけ確認していただけますか: S32K396では、STAC(レッドライン)バスを介したTCR1のエクスポート/インポートは実際に実装されていますか? 私たちが観察したことは、実行時にeTPUのタイムベースレジスタのみを書き込むことで再現されます (レジスタ値のみ、アプリケーションコードなし、リードバック検証済み、クライアント TCR1CTL = 10と11の両方を試みました。 両方向): - TCR2(サーバーID2 / 3)は2つのエンジンで共有されます。動作し、クライアントカウンターがサーバーを追跡します。 - TCR1 (サーバー ID 0 / 1) は 2 つのエンジン間で共有されています: クライアント TB1R がフリーズして追跡されなくなります。 両方向とも。 RM 67.3.8.3および表378は、TCR1をバスから輸出または輸入可能とし、 ご返信:これらのリソースを有効にするために追加のPCMC、クロック制御、ツール設定は必要ありません。 したがって、この挙動は私たちの構成だけでは説明できません。 そこで問題となるのは、TCR1タイムスロット(サーバーID 0と1)がS32K396に実装されているかどうかである。 システム統合はそもそも必要なのか? もしそうなら、何が欠けているのでしょうか? - いいえの場合は、制限事項を文書化してください(RM ノートまたは正誤表)。現在の文言では、 このデバイスではTCR1の輸出入機能が動作する。 フリーズ現象を再現するgdbスクリプトは、ご要望に応じて提供可能です(レジスタへの書き込みと読み出しのみ)。
記事全体を表示
NXP IMX 1050evkb に関するヘルプが必要です 私はC言語プログラミングの経験があります。今は、組み込み開発の基礎を学ぼうとしています。NXP 1050の評価キットを購入しました。しかし、これはNXPの入門ガイドに記載されている基本的な手順とは一致しません。- 加速度センサのプロジェクトは作られていない。ドライバをインストールしようとしましたが、LinkはSDKsの作成を指示します。ガイドにはSDKをインストールするように書かれていますが、インストール可能なファイルが見つかりません。そこにある動画はどれも古すぎる。 誰か助けてくれませんか? Re: Need help with NXP IMX 1050evkb こんにちは、 @achino さん。 私たちの製品にご関心を寄せ、コミュニティをご利用いただき、本当にありがとうございます。 SDKはZIPパッケージとしてダウンロードされます。別のSDKインストーラーは実行できません。お使いのボードがMIMXRT1050-EVKかMIMXRT1050-EVKBかを確認し、SDKをダウンロードする際に対応するボードを選択してください。 https://mcuxpresso.nxp.com/ SDK ZIPをMCUXpresso IDEにインポートした後、Import SDKの例を使いましょう。MIMXRT1050-EVKB の場合は、「evkbimxrt1050_flexio_i2c_read_accel_value_transfer」を選択してください。この例では、3軸加速度センサの読み取り値をボードの仮想シリアルポートを通じてPCのシリアル端末に印刷しています。 MCUXpresso IDEバージョン、SDKバージョン、評価ボードが互換性があるか必ず確認してください。 お役に立てれば幸いです。 よろしくお願いいたします。 メイ・リウ
記事全体を表示
フォーマット済みキースロットサイズよりも短いキーをインポートした場合の HSE の動作 こんにちは、 HSE(健康・安全・環境)に関する行動について質問があります。 HSE_SRV_ID_EXPORT_KEYでインポートされる鍵長が、HSE_SRV_ID_FORMAT_KEY_CATALOGSでキーカタログをフォーマットする際に指定された鍵長より小さい場合、その鍵を使った暗号化/復号、MAC生成、署名生成/検証などの暗号操作は信頼できるとみなせるのでしょうか? 例えば、128ビットのAESキーが256ビット用にフォーマットされたAESキースロットにインポートされた場合、そのキーを使ったAES-128の暗号化/復号、CMAC生成、PBKDF2の操作が正しく確実に動作することが期待できますか? 現在、S32K358_HSE_FW_2.40.0を使用しています。また、インポートされたキーがキーカタログのフォーマットで指定されたキー長より短い場合、HSEファームウェアのバージョン間やHSE_B、HSE_M、HSE_H間で挙動が異なるのかも明確にしていただけると助かります。 よろしくお願いします。 Re: HSE Behavior When Importing a Key Shorter Than the Formatted Key Slot Size こんにちは、 @wodudwo さん。 キーグループは、そのグループに定義された最大キーサイズより小さいキーを含むことがあります。これはHSEサービスAPIリファレンスマニュアルのhseFormatKeyCatalogsSrv_t説明に明記されています。 特定のタイプのすべての鍵に対して最大鍵サイズを持つ単一の鍵グループを作るか、異なる鍵サイズごとに複数のグループを作成することができます。2つ目の選択肢は、カタログ容量が限られて多くのキーが必要な場合に好ましい場合があります。なぜなら、無駄なスペースを減らし、利用可能なキーカタログメモリをより効率的に利用できるからです。 この動作は、すべてのHSEファームウェアバージョンおよびHSEモジュールバリアント(B/M/H)で一貫しています。 よろしくお願いいたします。 ルーカス
記事全体を表示
HSE Behavior When Importing a Key Shorter Than the Formatted Key Slot Size Hello, I have a question regarding HSE behavior. If the key length imported using HSE_SRV_ID_EXPORT_KEY is smaller than the key length specified when formatting the key catalog using HSE_SRV_ID_FORMAT_KEY_CATALOGS, can cryptographic operations using that key, such as encryption/decryption, MAC generation, and signature generation/verification, be considered reliable? For example, if a 128-bit AES key is imported into an AES key slot formatted for 256 bits, can AES-128 encryption/decryption, CMAC generation, and PBKDF2 operations using that key be expected to work correctly and reliably? I am currently using S32K358_HSE_FW_2.40.0. I would also appreciate it if you could clarify whether the behavior differs across HSE firmware versions or between HSE_B, HSE_M, and HSE_H when the imported key is shorter than the key length specified during key catalog formatting. Thank you. Re: HSE Behavior When Importing a Key Shorter Than the Formatted Key Slot Size Hi @wodudwo  A key group can contain a key that is smaller than the maximum key size defined for that group. This is explicitly stated in the HSE Service API Reference Manual in the description of hseFormatKeyCatalogsSrv_t. You can either have a single key group with the maximum key size for all keys of a given type, or create multiple groups for different key sizes. The second option may be preferable when the catalog space is limited and many keys are required, since it can reduce wasted space and use the available key catalog memory more efficiently. This behavior is consistent across all HSE firmware versions and HSE module variants (B/M/H). Regards, Lukas
記事全体を表示
导入长度小于格式化钥匙槽尺寸的钥匙时,HSE 的行为 你好, 我有一个关于健康、安全和环境行为方面的问题。 如果使用 HSE_SRV_ID_EXPORT_KEY 导入的密钥长度小于使用 HSE_SRV_ID_FORMAT_KEY_CATALOGS 格式化密钥目录时指定的密钥长度,那么使用该密钥进行的加密操作(例如加密/解密、MAC 生成和签名生成/验证)是否可靠? 例如,如果将一个 128 位 AES 密钥导入到格式化为 256 位的 AES 密钥槽中,使用该密钥的 AES-128 加密/解密、CMAC 生成和 PBKDF2 操作能否正常可靠地工作? 我目前使用的是 S32K358_HSE_FW_2.40.0。如果导入的密钥长度短于密钥目录格式化期间指定的密钥长度,那么能否说明一下,不同 HSE 固件版本之间,或者 HSE_B、HSE_M 和 HSE_H 之间的行为是否有所不同? 谢谢! Re: HSE Behavior When Importing a Key Shorter Than the Formatted Key Slot Size 嗨@wodudwo 密钥组可以包含小于为该组定义的最大密钥长度的密钥。HSE 服务 API 参考手册中 hseFormatKeyCatalogsSrv_t 的描述中明确说明了这一点。 你可以为给定类型的所有键创建一个最大键长键组,也可以为不同的键长创建多个键组。当目录空间有限且需要很多键时,第二种选择可能更可取,因为它可以减少浪费的空间并更有效地利用可用的键目录内存。 所有 HSE 固件版本和 HSE 模块变体(B/M/H)均表现出一致的这种行为。 此致, Lukas
記事全体を表示
RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation Hi, We are implementing WPA2-Enterprise / IEEE 802.1X on an RW612-based product using Zephyr 4.3 and Hostap/wpa_supplicant. Initial authentication works correctly with both PEAP/MSCHAPv2 and EAP-TLS. EAP-TLS also works with a PSA/ELS-backed non-exportable private key. We see a problem specifically during Wi-Fi in-place reauthentication. Observed sequence: RADIUS Access-Accept → EAP success → 4-way handshake → AP retransmits Message 3 → Wi-Fi link is lost → device reconnects and authenticates successfully again Our current evidence suggests a possible ordering issue between transmission of the final EAPOL-Key response and installation of the new PTK. The PTK update appears able to proceed while the final EAPOL frame may still be queued for transmission. We tried to find a supported mechanism to guarantee: final EAPOL-Key frame transmission completed BEFORE new PTK installation However, we could not find an EAPOL TX-completion callback, TX queue drain/fence, or equivalent API in the RW612 Wi-Fi driver/firmware path. As a diagnostic experiment only, adding a 100 ms delay before PTK installation allowed several PEAP and EAP-TLS reauthentication attempts to complete without interruption. We do not consider a fixed delay to be a production solution. Could you please clarify: - Is there a supported API to know when an EAPOL data frame has actually been transmitted by the firmware? - Is there a TX queue flush/drain or key-install fence that should be used before updating PTK? - Is this a known limitation or known issue in the RW612 Wi-Fi driver/firmware? - Is there a newer driver or Wi-Fi firmware version that addresses this? Tested versions: RW612 driver: v1.3.r52.z_up.p11 Wi-Fi firmware: 18.99.6.p47 We can provide detailed traces and a vendor issue package if needed. Thanks. RW612  Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation Hi @sukrusinan, hope you are doing well. To get a better understanding on your setup and case scenario, could you please share the following information? Share the used base example for your application. Is it Zephyr Wi-Fi Shell? Has this setup worked before as-is? If it has, could you please share which modifications were implemented? Provide terminal logs from a failing authentication case. What are you using as RADIUS server?  What AP model are you using? Are you able to reproduce this behavior on Zephyr latest version (4.4.2)? Please let us know the requested information.  Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation Hi @RomanVR , Thanks for your reply. Please find the requested information below. 1. Base application This is a custom Zephyr application for an NXP RW612-based device. It is not based directly on the Zephyr Wi-Fi Shell sample. It uses: standard Zephyr Wi-Fi management APIs Hostap/wpa_supplicant the NXP RW612 Wi-Fi driver The standard Wi-Fi shell and wpa_cli are enabled only for diagnostics. 2. Has the setup worked before? Initial WPA2-Enterprise authentication works correctly with both: PEAP/MSCHAPv2 EAP-TLS Reboot and reconnect also work. The issue is specifically Wi-Fi in-place reauthentication. Seamless in-place reauthentication has not worked reliably with the current setup. In the failing case: initial authentication succeeds -> RADIUS Access-Accept -> EAP succeeds -> in-place reauthentication is triggered -> Wi-Fi link is lost -> IPv4 is removed -> device reconnects automatically -> authentication and connectivity recover We consider this a FAIL because the network connection is interrupted during reauthentication. The issue has been reproduced with both PEAP/MSCHAPv2 and EAP-TLS. 3. Terminal logs Attached are sanitized terminal captures for: PEAP/MSCHAPv2 reauthentication failure EAP-TLS reauthentication failure The captures contain no credentials, keys, internal addresses, SSIDs, MAC addresses, or private certificate information. At the current log level, per-frame EAPOL TX completion and detailed PTK installation timing are not available. 4. RADIUS server FreeRADIUS running on Ubuntu. 5. Access point Ubiquiti UniFi U6 Pro using WPA2-Enterprise. 6. Zephyr 4.4.2 We have not yet performed a hardware test with Zephyr 4.4.2. We created an isolated checkout of the official v4.4.2 source. However, our current integration contains version-pinned Zephyr/Hostap adapters, and these patches do not apply cleanly to 4.4.2. Therefore, changing only ZEPHYR_BASE would not provide a valid comparison. The integration must first be ported to the 4.4.2 Hostap and NXP HAL revisions before we can perform a meaningful hardware A/B test. We have attached a short note with the exact result of this check. Current tested versions: Zephyr: 4.3.0 based Hostap: 2.11 NXP Wi-Fi driver: v1.3.r52.z_up.p11 Wi-Fi firmware: 18.99.6.p47 We would also appreciate guidance on the following point: Does the RW612 Wi-Fi driver/firmware provide a supported mechanism to guarantee completion of an EAPOL-Key frame transmission before a subsequent PTK/key update? In particular, is there a supported: EAPOL/data TX completion callback, TX queue drain or flush, firmware synchronization/fence, or documented key-update ordering guarantee? We are trying to determine whether such a mechanism already exists in the RW612 stack or whether this behavior requires a driver/firmware correction. The attached logs only demonstrate the link interruption after successful in-place EAP authentication; they do not by themselves establish the internal firmware root cause. Best Regards Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation Hi @sukrusinan, thank you for sharing additional details. The information provided helps understand the conditions under which the behavior occurs. Since the application is fully custom, it becomes complex for us to debug and analyze the problem, hence, it would be very helpful if you could confirm if this behavior can be reproduced in a simpler example and how to do it, in order to reproduce it on our side. Additionally, in order to narrow down the root cause, could you please check or confirm whether the same application in RW612 reproduce the reported behavior with another access point?  To investigate further, if possible, could you please share the following logs: AP (Ubiquiti) logs showing the reauthentication and 4-way-handshake exchange. An independent over-the-air capture of a failing attempt with a sniffer. This information would help us determine whether the RW612 stack’s EAPOL TX-completion or key-update ordering behavior should be evaluated further. Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation Hi, Thanks for your suggestions. We have made some progress and can now reproduce the issue in a minimal Zephyr PEAP/MSCHAPv2 application on the same RW612 hardware, with the unrelated product services removed. Our setup: Zephyr 4.3.0 / Hostap 2.11 NXP Wi-Fi driver v1.3.r52.z_up.p11 Radio firmware 18.99.6.p47 UniFi U6 Pro / FreeRADIUS Initial PEAP authentication works correctly, including RADIUS Access-Accept, DHCP and ping. However, in-place reauthentication receives another Access-Accept and then drops the Wi-Fi link before eventually reconnecting. We investigated the timing between EAPOL-Key transmission and pairwise key installation. Using the minimal application, we performed an A/B/A/B test with continuous ICMP monitoring (250 ms intervals), starting before reauthentication. Configuration Ping replies Link interruption 0 ms delay, attempt 1 131/288 27.844 s 100 ms delay, attempt 1 288/288 None observed 0 ms delay, attempt 2 159/288 27.840 s 100 ms delay, attempt 2 288/288 None observed The 100 ms delay was introduced before the subsequent pairwise key-install request. This suggests a timing-sensitive interaction, but we don't consider a fixed delay a proper solution. We also collected UniFi AP-side EAPOL logs and an independent OTA capture from an earlier EAP-TLS reauthentication failure. The OTA capture shows M4 transmitted from the station to the AP (key-info 0x030a, replay counter 4). However, we cannot confirm whether the AP received or accepted it, and the sniffer's AP-side coverage is incomplete. We investigated the newer r54 driver with its matching firmware, but the port is currently blocked by Hostap scheduled-scan and ROC/cookie API incompatibilities, so we haven't tested it on hardware. Could you help clarify a few points? Is there a supported mechanism to ensure EAPOL-Key TX completion before installing the new pairwise key? Are there any known reauthentication or key-update issues with our current driver/firmware versions? Which RW612 driver, firmware and Zephyr/Hostap combination would you recommend? Is there an updated version or patch addressing this behavior? Are there firmware traces or callbacks available to verify EAPOL TX completion and key-installation status? Testing with another AP vendor is still pending. I've attached a ZIP containing the minimal application test results, AP-side EAPOL summaries, RADIUS events and independent OTA capture findings. The captures and AP logs are from separate test sessions, as described in the README. We can also share the minimal reproducer source and raw captures privately if needed. Our main goal is to identify a reliable fix for seamless Wi-Fi reauthentication. Re: RW612 WPA2-Enterprise reauthentication – EAPOL TX completion before PTK installation Hi @sukrusinan, sorry for the late reply. Thank you for sharing the logs, after reviewing them, the following points are needed in order to narrow down the root cause of the authentication failure: Test with a different AP: This will help determine if the reauthentication failure can be reproduced on a different AP, which would help isolate the watched behavior. Synchronized OTA capture during the PEAP failure: The OTA excerpt you shared is from a separate EAP-TLS session and cannot be correlated with the PEAP AP log. This would help to analyze if the AP is rejecting the M4 due to being in an invalid format for the AP. Minimal reproducer: Could you please share the steps to reproduce the behavior in a minimal Zephyr application? This would help to try to reproduce it on our end. Regarding your questions: It is suggested to always work on the latest Zephyr version and test on downstream repository (add link) for potential bug fixes not available on Zephyr main repository. Regarding software mechanisms, we would still need to be able to determine if this behavior is present with a different AP. Therefore, while you are able to perform a test with a different AP vendor, please try enabling the following debug logs on your side, as it will provide a better insight on the STA side: CONFIG_WIFI_NM_WPA_SUPPLICANT_LOG_LEVEL_DBG CONFIG_WIFI_NM_WPA_SUPPLICANT_DEBUG_LEVEL Please let us know your findings as per the requested tests.
記事全体を表示
MCALサポートEBに関する問い合わせ こんにちは S32k3144マイクロコントローラのMCALサポートについてお尋ねしたいのでご連絡ください。このデバイスはEB(Elektrobit)の設定ツールによるMCAL実装をサポートしているのか、またはライセンスが必要なのか、ご説明いただけますか? 利用可能なスタックや互換性について、何かドキュメントやアドバイスがあれば大変ありがたいです。 Re: Inquiry regarding MCAL support EB こんにちは、 S32K344 / K314はNXPリアルタイム・ドライバ(RTD)/AUTOSAR MCALでサポートされており、設定やコード生成のためのEB tresos Studioとの統合も含まれています。NXPはRTD/MCALソフトウェアを標準ソフトウェアとして提供しており、本番環境で利用可能で無料で提供されています。 EB tresos Studio自体を使用するには、有効なElektrobitライセンスが必要ですのでご注意ください。EBトレソのライセンス条件はElektrobitが管理しているため、商業利用の詳細についてはElektrobitまたはお近くのNXP担当者にお問い合わせください。 S32K3 RTDパッケージには、MCALドライバ、EB tresosプラグイン、ドキュメント、開発と統合をサポートするサンプルプロジェクトが含まれています。 よろしくお願いいたします。 ピーター
記事全体を表示
Missing Std_Types.h I have just upgraded to S32DS version 3.5 and have setup my pins and drivers. I have generated the necessary files but when I try and compile I get the following error message: Std_Types.h: No such file or directory This file is included in one of the generated files Port_Ci_Port_Lp.h /*================================================================================================== * Project : RTD AUTOSAR 4.7 * Platform : CORTEXM * Peripheral : PORT_CI * Dependencies : none * * Autosar Version : 4.7.0 * Autosar Revision : ASR_REL_4_7_REV_0000 * Autosar Conf.Variant : * SW Version : 2.0.0 * Build Version : S32K1_RTD_2_0_0_D2308_ASR_REL_4_7_REV_0000_20230804 * * Copyright 2020-2023 NXP Semiconductors * * NXP Confidential. This software is owned or controlled by NXP and may only be * used strictly in accordance with the applicable license terms. By expressly * accepting such terms or by downloading, installing, activating and/or otherwise * using the software, you are agreeing that you have read, and that you agree to * comply with and are bound by, such license terms. If you do not agree to be * bound by the applicable license terms, then you may not retain, install, * activate or otherwise use the software. ==================================================================================================*/ #ifndef PORT_CI_PORT_IP_H #define PORT_CI_PORT_IP_H /** * @file Port_Ci_Port_Ip.h * * @defgroup Port_IPL Port IPL * @{ */ #if defined(__cplusplus) extern "C" { #endif /*================================================================================================== * INCLUDE FILES * 1) system and project includes * 2) needed interfaces from external units * 3) internal and external interfaces from this unit ==================================================================================================*/ #include "Std_Types.h" #include "Port_Ci_Port_Ip_Cfg.h" #include "Port_Ci_Port_Ip_Types.h" #include "Port_Ci_Port_Ip_Defines.h" #include "Devassert.h" What am I doing wrong? Version 3.5 feels like a massive backward step from 3.4 which was super easy to use 😞 Andy Re: Missing Std_Types.h just looking for dir like this.  Re: Missing Std_Types.h for anyone who may read this in future: add them mannualy may sovle this problem. Re: Missing Std_Types.h I've had to go back to DS3.4 with SDK RTM 4.0.2 to get something that mostly works as advertised.  However, the more I use the NXP SDK, the more I hate it... Re: Missing Std_Types.h Any updates on this? @ArkAndyFraserdid you manage to solve the problem with the missing Std_Types.h file being included in the generated RTD files? I couldn't find  the Std_Types.h file even in the examples provided by NXP. Re: Missing Std_Types.h 3.6 Didn't improve things either.  These jokers don't bother to regression test.
記事全体を表示
ADKP保护后的S32K3 AES密钥配置 各位同事好, 我们已在 S32K 平台上启用基于 SHE 的安全启动。此外,我们还通过对 ADKP 密码进行编程来保护 JTAG 接口,并将生命周期推进到OEM。 请问我是否可以将 AES 密钥(密钥目录已针对 AES 密钥进行了调整)重新配置到已启用 ADKP 保护且OEM 中启用了生命周期管理的设备? 或者我们需要将生命周期设置为IN_FIELD吗? 另外,请指定要更新的密钥的OWNER 类型应该是什么? 谢谢! 布尚 Re: S32K3 AES Key Provisioning after ADKP protection 你好@Bhushan1312 密钥也可以在 OEM_PROD 或 IN_FIELD 生命周期中更新,但这取决于用户权限、主机身份 (HID) 和密钥所有者。 在 HSE 固件参考手册修订版中。2.8,请参见: 表 42. 主要集团所有者 6.2.3.2关键选择 这一部分很重要: “• 如果主机被授予超级用户 (SU) 权限,则目标密钥句柄的所有者必须与主机身份 (HID) 匹配(请参阅执行权限(超级用户与用户))” 如果主机具有用户权限,则目标密钥句柄的所有者必须为 HSE_KEY_OWNER_CUST(如果 LC 为 CUST_DEL),或 HSE_KEY_OWNER_OEM(如果 LC 为 OEM_PROD)。 然后是表 47、48 和 49,它们解释了在将密钥导入空槽或更新密钥时,是否需要根据用户权限进行身份验证和加密。 例如,如果您使用 CUST 拥有的授权密钥提升到超级用户权限,您也可以在 OEM_PROD 中导入或更新 CUST 密钥。 但是,在生命周期推进到 OEM_PROD 之前,您无法导入 OEM 拥有的密钥。那是因为您还没有OEM授权密钥。 此致, Lukas
記事全体を表示
imx95lpd5evkの起動に関するヘルプが必要です IMX95LPD5EVKボードを手に入れたばかりですが、起動しません。起動を助けてください 現在のセットアップは、起動スイッチSW7を0010としてEMMCから起動しているというものです IMX-MIPI-HDMIボードをMini SASコネクタのJ14にコネクテッドし、HDMIをモニターに接続しました。 USB CデバッグケーブルをPCに接続しても、デバイスマネージャーに未知デバイスすら表示されないようです。 そして今、クイックスタートガイドに書いてある通り、画面にペンギンが表示されることを期待してボードの電源を入れたのですが、ペンギンは表示されません。ディスプレイは黒一色のみです。電源を入れた後、ファンが回るのを見るだけです。 それと、imx95がダウンしている場合でもデバッグは機能するはずなのか、という疑問があります。仕事用のノートPCのUSBが無効になっているのではないかと疑っているので、それが問題の原因になっているのではないかと疑っています。 私のマザーボードに搭載されているeMMCは、もしかして空なのでしょうか?ペンギンたちが予想通りに来ないからです。 どなたか、今後どう進めばいいかアドバイスしてもらえますか。 Re: Need help on imx95lpd5evk booting 実際は私のミスでしたが、問題は解決しました。ボードは現在起動しています。 お返事ありがとうございます Re: Need help on imx95lpd5evk booting こんにちは、 スイッチ(SW7)の写真を共有し、章の手順に従って「Connect USBデバッグケーブル」の手順に従い、端子の出力を共有していただけませんか?
記事全体を表示
i.MX RT1176: Maximum frequency of the GPT I want know the GPT‘s max frequency of #RT1176.I wish use  GPT's capture function to measure the  frequency of signals.Before now,I use STM32H7 MCU ,but it's timer's max frequency is 240MHz,I feel it is low.So I want a MCU with higher frequency timer.But RT1170 datasheet hasn't the introduction to GPT. Re: i.MX RT1176: Maximum frequency of the GPT Dear @长亭 , Thank you for your interest in the i.MX RT1176. The maximum operating clock frequency of the GPT is 240 MHz, and you can find this information in the i.MX RT1170 Reference Manual : Best regards, Shelly
記事全体を表示
edma4 error message since SDK 26 09 00 in Peripherals Tool Dear all, I have used the Peripherals Tool to add a DMA peripheral since SDK 26.06.00 which worked perfect and it still does, but since SDK 26.09.00 I get an error message in the Peripherals Tool: Issue: EDMA Driver is not found in the toolchain/IDE project. The project will not compile! Level: Error Type: Validation Tool: Toolchain/IDE project Origin: Peripherals Target: Toolchain/IDE project: cm33_core0 Resource: platform.drivers.edma4 I'm not using the edma component directly. I use the lpspi_edma component, but if I'm not amiss it includes the edma component. My main question is whether using lpspi_edma 2.1.4 is the up-to-date way to implement DMA in an SPI setting (my SDK wizard lists 2.10.14 as edma, as well as version 2.10.13)? To be sure: the project compiles and runs without problems. My .mex says: 2.9.0 My eDMA driver version is: #define FSL_EDMA_DRIVER_VERSION (MAKE_VERSION(2, 10, 14)) /*!< Version 2.10.14. */ Re: edma4 error message since SDK 26 09 00 in Peripherals Tool Dear Celeste, Yes, I'm using the MCXN947. Re: edma4 error message since SDK 26 09 00 in Peripherals Tool Hello @PAChristiaans , Thanks for your post. Before I look into your questions, could you please confirm whether you are using the MCXN947? BR Celeste Re: edma4 error message since SDK 26 09 00 in Peripherals Tool Hello @PAChristiaans , Thank you for your patience. I performed some tests on my side and was able to reproduce the issue. Based on my testing, the driver version provided in the SDK is correct. The issue appears to be related to the eDMA component validation in the Config Tools Peripherals Tool. I will escalate this to the Config Tools team for further investigation. I’ll keep you informed of any updates. BR Celeste Re: edma4 error message since SDK 26 09 00 in Peripherals Tool Hello @PAChristiaans , I found the reason. The new SDK 26.09 does not include the platform.drivers.edma4 driver because the SW team decided to rename the component to platform.drivers.edma_unified. Since MCXN947 was supported by older SDKs where the edma4 driver was present the tool offers all options due to backward compatibility with older SDKs. You should choose the exact driver that you have present in your project. Please see the picture below: After selecting a filter to a toolchain project you are offered only the correct driver: Hope it helps. BR Celeste Re: edma4 error message since SDK 26 09 00 in Peripherals Tool Hello Celeste, Thank you very much for your response. I use MCUXpresso 25.6 and SDK 26 09 00 FRDM MCXN947, but it looks slightly different on my client. If I look at my actual fsl_edma.c driver file, I assume I have the correct version, but for some reason the UI looks different. Again, I'm not experiencing any problems compiling my projects, but I do get the error messages. Can I safely ignore them? Kind regards Re: edma4 error message since SDK 26 09 00 in Peripherals Tool Hello @PAChristiaans , Yes. Based on your screenshot, this seems to be a warning rather than an error, so you can ignore it. As for the UI difference, it may be caused by different versions of the integrated MCUXpresso Config Tools. I am using version 26.09. You can refer to the Updating Config Tools in the MCUXpresso IDE link for the update. Of course, if your current version works fine, you can also keep using it without updating. Hope it helps。 BR Celeste
記事全体を表示
自 SDK 26 09 00 起,外围设备工具中出现 edma4 错误消息 尊敬的各位, 从 SDK 26.06.00 版本开始,我一直使用外设工具添加 DMA 外设,一直运行良好,现在仍然如此。但是从 SDK 26.09.00 版本开始,我在外设工具中收到错误消息: 问题:工具链/IDE 项目中找不到 EDMA 驱动程序。该项目无法编译! 级别:错误 类型:验证 工具:工具链/IDE 项目 来源:外围设备 目标:工具链/IDE 项目:cm33_core0 资源:platform.drivers.edma4 我没有直接使用 edma 元器件。我使用的是 lpspi_edma 元器件,但如果我没弄错的话,它包含了 edma 元器件。 我的主要问题是使用 lpspi_edma 2.1.4 是否可行在 SPI 环境中实现 DMA 的最新方法是什么?(我的 SDK 向导将 edma 列为 2.10.14 版本,以及 2.10.13 版本)可以肯定的是:该项目编译和运行都没有问题。 我的 .mex他说: 2.9.0 我的eDMA驱动程序版本是: #define FSL_EDMA_DRIVER_VERSION (MAKE_VERSION(2, 10, 14)) /*!< 版本 2.10.14。 */ Re: edma4 error message since SDK 26 09 00 in Peripherals Tool 亲爱的塞莱斯特, 是的,我用的是MCXN947。 Re: edma4 error message since SDK 26 09 00 in Peripherals Tool 你好@PAChristiaans , 感谢您的帖子。 在查看您的问题之前,请您确认一下您是否正在使用 MCXN947? BR 塞莱斯特 Re: edma4 error message since SDK 26 09 00 in Peripherals Tool 你好@PAChristiaans , 感谢您的耐心等待。我这边进行了一些测试,能够重现这个问题。 根据我的测试,SDK中提供的驱动程序版本是正确的。问题似乎与配置工具外围工具中的 eDMA 元器件验证有关。我会将此事上报给配置工具团队进行进一步调查。 如有任何最新进展,我会及时通知您。 BR 塞莱斯特 Re: edma4 error message since SDK 26 09 00 in Peripherals Tool 你好@PAChristiaans , 我找到原因了。新的 SDK 26.09 不包含 platform.drivers.edma4 驱动程序,因为软件团队决定将该元器件重命名为platform.drivers.edma_unified 。由于 MCXN947 受到旧版 SDK 的支持(其中存在 edma4 驱动程序),因此该工具由于后向兼容性旧版 SDK 而提供了所有选项。您应该选择项目中已存在的驱动程序。 请看下图: 选择工具链项目的筛选条件后,系统只会提供正确的驱动程序: 希望对您有所帮助。 BR 塞莱斯特 Re: edma4 error message since SDK 26 09 00 in Peripherals Tool 你好,Celeste, 非常感谢您的回复。 我使用的是 MCUXpresso 25.6 和 SDK 26 09 00 FRDM MCXN947,但在我的客户端上看起来略有不同。 如果我查看我的 fsl_edma.c 文件驱动文件,我假设我的版本是正确的,但不知何故,用户界面看起来不一样。 再次说明,我的项目编译没有出现任何问题,但我确实收到了错误消息。我可以忽略它们吗? 此致敬礼 Re: edma4 error message since SDK 26 09 00 in Peripherals Tool 你好@PAChristiaans , 是的。根据你的截图,这似乎是一个警告而不是错误,所以你可以忽略它。 至于用户界面差异,可能是由于集成的 MCUXpresso 配置工具版本不同造成的。我使用的是 26.09 版本。 您可以参考MCUXpresso IDE 链接中的“更新配置工具”进行更新。当然,如果您的当前版本运行良好,您也可以继续使用它而无需更新。 希望对您有所帮助。 BR 塞莱斯特
記事全体を表示
技術的実現可能性評価:i.MX8M Pluにおける32ビットアプリケーションおよび32ビットQt GUIのサポート こんにちは、NXP技術サポートチームの皆様、 [プロジェクトの背景] 私たちはi.MX8M Plusプラットフォームをベースにした量産プロジェクトを開発しています。 現在のソフトウェアスタックは以下の通りです: - ターゲットSoC:i.MX8M Plus(Cortex-A53、ARMv8-A 64ビット) - BSP / Yoctoバージョン:Yocto Project 5.0(Scarthgap)/ meta-imx - Linuxカーネル:6.6(AArch64) 【顧客要望】 エンドクライアントから新たな要件が出ました。これは、この64ビットのLinux OS環境上で32ビットLinuxアプリケーションと32ビットQt GUIアプリケーションの両方を動かす必要があるということです(古いプラットフォームからの32ビット依存やコードベースのためです)。 この要件が商業的かつ技術的に実現可能かどうかを評価するために、NXPの公式な立場を以下の点について明確にしていただけますか。 1. 32ビットアプリケーションおよび32ビットQtの実現可能性: NXPは公式に32ビットユーザー空間アプリケーション、特に32ビットQt GUIアプリケーションを、Yocto Multilibやその他の公式メカニズムを介して64ビットのi.MX8M Plusカーネル上で実行することをサポートしていますか? 2. 32ビットハードウェアアクセラレーションおよびQtライブラリの利用可能性: もしこれが可能なら: a) NXPは32ビットユーザー空間GPUアクセラレーションバイナリ(例:EGL/GLES用の32ビット版「imx-gpu-viv」)や、64ビットカーネル上でi.MX8M Plusと互換性のあるVPUバイナリを提供していますか? b) NXPはi.MX8ファミリ上で32ビットQtスタックをビルディングするための公式なYoctoレシピ、BSPサポート、または検証済みの設定を提供しているか? 3. パフォーマンスおよびレンダリングの制限(加速がない場合): i.MX8M Plusに32ビット専用GPUドライバが提供されていない場合、32ビットQtのGUIをソフトウェアレンダリング(例:LinuxFB、Mesa/llvmpipeソフトウェア)で動かすことは、NXPによって商用製品向けに公式に推奨されている、または本番環境対応と見なされているのでしょうか? 4. 公式推奨/解決策: i.MX8M Plus上でハードウェアアクセラレーションによる32ビットQtの動作がサポートされていない場合、NXPの公式声明と、従来の32ビットアプリケーション/Qtをi.MX8M Plusプラットフォームに移行するお客様向けの推奨アーキテクチャソリューションは何でしょうか? NXPからの正式な声明が、お客様向けの公式なエンジニアリングおよびアーキテクチャの基準となります。 お返事をお待ちしております! ありがとうございます。よろしくお願いします。 i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Linux Yocto Project Re: Technical Feasibility Assessment: Supporting 32-bit Applications and 32-bit Qt GUI on i.MX8M Plu こんにちは、 迅速かつ分かりやすいご説明をありがとうございました! これにより、i.MX 8M Plus BSPの32ビットユーザー空間コンポーネントおよびGPU/マルチメディア加速に関するアーキテクチャ上の境界が完全に明確になりました。 NXPの公式推奨に従い、お客様のQtおよびアプリケーションスタック向けにネイティブAArch64展開を推進します。 改めてサポートありがとうございます!あなたの回答を解決済みとしてマークしました。 よろしくお願いします、 Re: Technical Feasibility Assessment: Supporting 32-bit Applications and 32-bit Qt GUI on i.MX8M Plu こんにちは@DADAXIN I.mx8mp用のBSPは64ビット版です。AArch64専用にコンパイル・テストされており、Vivante GPUユーザー空間ライブラリ(EGL/OpenGL ES/Vulkan)、VPU、Qt 6(meta-qt6経由で提供)などのコンポーネントをカバーしています。i.MX 8M Plusでハードウェアアクセラレーションを使用した32ビットQtの利用は、BSPリリースの範囲外であり、サポート対象外の構成です。 私たちの推奨方法は、ネイティブのAArch64アプリケーション/Qtとして再コンパイルすることです。 32ビットソリューションが必須の場合は、以下のリンクから当社のプロフェッショナルサービスまでご連絡ください。 https://www.nxp.com/support/support/nxp-engineering-services:SW-SUPPORT B.R
記事全体を表示