Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
i.MX RT1064 - PEmicro 连接助手错误和启动配置意外更改 您好, 我正在使用i.MX RT1064控制器,并通过 MCUXpresso IDE 中的PEmicro Multilink接口进行调试/烧录。 有时,我在尝试连接目标设备时会遇到附件中的“PEmicro 连接助手”错误。这个问题似乎是随机发生的;我还没有发现任何特定的软件活动、代码更改或硬件事件会持续触发信号它。 我观察到,当出现此错误时,控制器的启动配置似乎发生了意外变化。在这种状态下,我无法对设备进行刷机或调试。我目前唯一能恢复的方法是将启动配置恢复到其原始设置——内部闪存模式,之后刷写和调试功能就能再次正常工作了。 一些补充细节: MCU:i.MX RT1064 调试探针:PEmicro 多链路通用 Rev E IDE:MCUXpresso IDE 有人遇到过类似的问题吗? 我希望您能就以下方面提供指导: 什么原因会导致启动配置意外更改? 是否存在调试器或应用程序代码可能影响启动配置的已知场景。 防止这种情况发生的建议方法。 能否在不手动更改的情况下通过软件更改启动配置 我附上了错误信息的截图供您参考。 谢谢! i.MX RT106x Re: i.MX RT1064 - PEmicro Connection Assistant Error and Boot Configuration Changing Unexpectedly 你好, 您能帮我解答以下问题吗? 你用的是定制主板还是EVK主板? 您使用的是哪个版本的SDK和IDE? 你烧断过熔丝吗? 您提到需要将启动配置恢复到内部闪存模式——您目前使用的是哪种启动配置? 此致, 巴勃罗 Re: i.MX RT1064 - PEmicro Connection Assistant Error and Boot Configuration Changing Unexpectedly 我使用的是定制电路板,但这个问题在 EVK 上也出现过。 SDK 版本:26.03.00 IDE 版本:25.6.136 我们没有烧断熔丝。 我们通常使用内部启动模式来烧录代码并进行正常操作,但它会随机导致一些意想不到的问题,所以我们将其更改为串行下载模式,擦除闪存,然后再将其改回内部启动模式,之后再次烧录代码。 请查看附件图片以获取启动配置信息。
View full article
i.MX RT1064 - PEmicro Connection Assistant Error and Boot Configuration Changing Unexpectedly Hi, I am using an i.MX RT1064 controller and debugging/flashing through the PEmicro Multilink interface in MCUXpresso IDE. Occasionally, I encounter the attached "PEmicro Connection Assistant" error while attempting to connect to the target. The issue appears to occur randomly; I have not identified any specific software activity, code change, or hardware event that consistently triggers it. What I have observed is that when this error occurs, the controller's boot configuration appears to have changed unexpectedly. In this state, I am unable to flash or debug the device. The only way I have been able to recover is by restoring the boot configuration to its original settings - Internal Flash Mode, after which flashing and debugging work normally again. A few additional details: MCU: i.MX RT1064 Debug Probe: PEmicro Multilink Universal Rev E IDE: MCUXpresso IDE Has anyone encountered a similar issue? I would appreciate any guidance on: What could cause the boot configuration to change unexpectedly. Whether there are known scenarios in which the debugger or application code could affect the boot configuration. Recommended methods to prevent this from happening. Can the boot configuration be changed through software without manual change I've attached a screenshot of the error message for reference. Thank you. i.MXRT 106x Re: i.MX RT1064 - PEmicro Connection Assistant Error and Boot Configuration Changing Unexpectedly Hi, Could you help me with the following questions? Are you using a custom board or the EVK? What version of the SDK and IDE are you using? Have you burned any fuses? You mentioned that you need to restore the boot configuration to internal flash mode—what boot configuration are you currently using? Best Regards, Pablo Re: i.MX RT1064 - PEmicro Connection Assistant Error and Boot Configuration Changing Unexpectedly I am using a custom board, but this issue was also observed on the EVK. SDK Version : 26.03.00 IDE Version : 25.6.136 We haven't burned any fuse. We usually use Internal Boot mode to flash our code and normal operation, but it causes some unexpected issues randomly, so we change it to Serial Download Mode, erase the flash and then change it back to Internal Boot mode before flashing code again. Please find attached image for boot configuration info.
View full article
TRGMUX 技术支持 - MCXE316 我正在尝试使用 TRGMUX 方法将比较器 LPCMP0 的输出路由到 emios0_CH7 的输入(配置为输入捕获)。我正在使用 MCXE316 设备。我的问题之一在于理解输入/输出以及弄明白相关术语,而第二个问题我认为是 PERI_TRGMUX.h 中的一个错误。文件。 我将 emiOS0 通道 7 配置为简单的输入捕获,分配给物理引脚后可以正常工作。但是,我希望改用 LPCMP0 比较器的输出来触发输入捕获。因此,我应该能够让 TRGMUX 将比较器的输出路由到 EMIOS0_7 的输入捕获的输入。 我看了参考手册所附的 MCXE31_TRGMUX_connectivity.xlsx 文件,在左边看到 " 输入数字 ",我假设这是输入 TRGMUX 的。我看到那里列出了 LPCMP_0_COUT,输入数为 5,这应该就是我想要的。在顶部,我看到"、EMIOS_0_ipp_ind_emios_ch[7]、" ,并且在其上方看到输出寄存器编号为9。我还注意到,第5、6和9频道也显示了同样的数字。 那么,我的第一个问题 —— 如何告诉 TRGMUX LPCMP0 触发信号输出进入通道 7 而不是 5、6 或 9?我知道 TRGMUX 寄存器的内部有 SEL0、SEL1、SEL2 和 SEL3 —— 我是否要用其中一个来选择信道?如果是这样,这是如何映射的(例如 SEL0 对应通道 5 等),还是有其他映射方式,抑或根本没有映射?我查阅了说明书,但没找到相关内容。 我推测 SEL3 对应第 7 通道(仅作测试),于是尝试使用 SDK 中的 TRGMUX 方法——以下是我的调用序列:   TRGMUX_SetTriggerSource(TRGMUX, kTRGMUX_Emios0_1, kTRGMUX_TriggerInput2, kTRGMUX_SourceLpcmp0 ); 以 TRGMUX 为寄存器基础,ktrgmux_emios0_1 是 emiOS0 的 TRGMUX 寄存器(定义值为 9),ktrgmux_triggerInput2 是寄存器的 SEL2 输入,ktrgmux_sourcelPCMP0 是触发器的来源(定义值为 5)。 问题在于,该例程会在该方法内部抛出严重错误。以下是该方法的实际 SDK 代码: status_t TRGMUX_SetTriggerSource(TRGMUX_Type *base, uint32_t index, trgmux_trigger_input_t input, uint32_t trigger_src) { uint32_t value; status_t status;   value = base->TRGCFG[index]; if (0U != (value& TRGMUX_TRGCFG_LK_MASK)) { status = kStatus_TRGMUX_Locked; } else { /* 由于 TRGCFG 寄存器中的所有 SEL 位字段长度相同,因此使用 SEL0 的掩码来 访问其他 SEL * 位字段。*/ value = (value& ~((uint32_t)TRGMUX_TRGCFG_SEL0_MASK<< (uint32_t)input)) | ((trigger_src& (uint32_t)TRGMUX_TRGCFG_SEL0_MASK)<< (uint32_t)input); base->TRGCFG[index] = value;    status = kStatus_Success; }   返回状态; } 该例程在第一行发生崩溃: value=base->TRGCFG[index]; 查看调试输出后,似乎 TRGCFG 数组从未被初始化——该变量在 PERI_TRGMUX.h 中定义其结构如下: /** TRGMUX - 寄存器数组大小 */ #define TRGMUX_TRGCFG_COUNT 40u /** TRGMUX - 寄存器布局类型定义 */ typedef struct { __IO uint32_t TRGCFG[TRGMUX_TRGCFG_COUNT]; /**< TRGMUX ADC12_0 寄存器..TRGMUX CM7_RXEV 寄存器,数组偏移量:0x0,数组步长:0x4,有效索引:[0-1, 3, 6-18, 21-39] */ } TRGMUX_Type; 我就是找不到TRGCFG到底是在哪里定义的。在调试器中,整个数组的40个元素都被设置为199661,这显然是垃圾数据。我正在访问第 9 个元素(索引为 9)。 那么我的第二个问题是:我使用这种方法是否正确,我的假设是否合理,还是SDK例程本身存在问题? 电路板设计 启动 ROM | 启动配置 | 闪存 时钟|计时器 Re: TRGMUX Assistance - MCXE316 你好@brucebowling  谢谢你的帖子! 您对 TRGMUX SELx 工作原理的理解是正确的:EMIOS0_0 对应第 1 至 4 通道,EMIOS0_1 对应第 5 至 7 通道以及第 9 通道,如 TRGMUX_connectivity.xlsx 所示,第 0 和第 8 通道不可用。  此外, 我这边成功复现了该问题。我将进行内部核查,并提供任何有助于解决此问题的相关信息。 Re: TRGMUX Assistance - MCXE316 我想了解一下关于 SDK 和 TRGMUX 函数是否有任何新的反馈? 由于 TRGMUX 每个外设只有一个寄存器,我尝试使用以下一行代码直接写入: *(volatile uint32_t *)0x40080024UL = 0x00050000UL; 根据 RM,TRGMUX 基地址为 0x4008_000,TRGMUX_eMIOS0_1 寄存器偏移量为 0x24,绝对地址为 0x40080024。LPCMP0_COUT 的 SELx 字段为 0x05 - 我将其上移到 SEL2 位位置(位 16:23)。锁定位应为 0(从 RESET 开始,即解锁状态),我将其保持解锁状态。 这一行代码每次都会导致硬故障崩溃(故障不精确)。我尝试修改其他 SELx 位置,但仍然崩溃。我尝试在设置 eMIOS 和 LPCMP 之前分配此权限,也尝试在完成外围设备设置之后分配,但每次都会崩溃。 这让我产生了一些疑问,但我似乎在手册中找不到答案: 1)你是在初始化和启用外设之前还是之后设置 TRGMUX 链接? 2) TRGMUX 是否有任何模块时钟或类似设备?我知道在启用时钟之前访问模块可能会导致像我遇到的这种硬故障。我没有看到任何具体的东西,而且我的理解是 TRGMUX 寄存器是每个外设的一部分,所以启用外设的时钟也应该会启用任何所需的 TRGMUX 时钟? 谢谢你的帮助。 Re: TRGMUX Assistance - MCXE316 是的,添加这行时钟代码纠正了硬故障和 SDK 方法。我提出的直接编码方法也同样有效。 因此,一般来说,您需要启用 TRGMUX 时钟并设置 IMCR 寄存器,同时调用 SDK 方法进行 TRGMUX 连接。这样,LPCMP 就能正确触发 eMIOS 输入捕获。 感谢大家的支持。 Re: TRGMUX Assistance - MCXE316 好的,崩溃问题仍然存在,但进一步研究发现,我需要在设置 TRGMUX 之前设置 SIUL2 IMCR 寄存器。在参考手册附带的 IOMUX xls 文件中,我看到对于 eMIOS0_CH[7],需要将 SSS 位设置为 4 才能选择 TRGMUX_INT_OUT38,这是通过 SIUL_IMCR567 完成的(由于命名中的 512 偏移量,需要从 567 中减去 512)。以下是我用来实现此功能的代码行,后面是设置 TRGMUX 的代码行: SIUL2->IMCR[55] = SIUL2_IMCR_SSS(4); *(volatile uint32_t *)0x40080024UL = TRGMUX_TRGCFG_SEL3(kTRGMUX_SourceLpcmp0); 我仍然遇到 TRGMUX 硬故障。 Re: TRGMUX Assistance - MCXE316 嗨@brucebowling 很抱歉回复晚了。 我们注意到 TRGMUX 时钟默认情况下未启用。在时钟被禁用时尝试访问 TRGMUX 寄存器会导致 HardFault。你猜对了,钟表不见了。 请在调用 TRGMUX_SetTriggerSource 之前添加以下代码行? CLOCK_EnableClock(kCLOCK_Trgmux); 这项更改解决了我的问题。 作为参考,您可以在 SDK 中找到 TRGMUX 的使用示例: 板/frdmmcxe31b/demo_apps/mc_pmsm/pmsm_enc 请告诉我这是否解决了您的问题,或者您是否还有其他关于TRGMUX的问题。
View full article
TRGMUX Assistance - MCXE316 I am attempting to use the TRGMUX method to route the output of the comparator LPCMP0 to the input of eMIOS0_CH7 (which is configured an an input capture). I am using the MCXE316 device. Part of my issue is understanding the inputs/outputs and wrapping my brain around the nomenclature, and the second I believe is a bug in the PERI_TRGMUX.h file. I have the eMIOS0 channel 7 configured as a simple input capture, this works properly when assigned to a physical pin. But, I wish to have the input capture triggered instead by the output of the LPCMP0 comparator. Accordingly I should be able to have TRGMUX route the output of the comparator to the input of the input capture of eMIOS0_7. I look at the MCXE31_TRGMUX_connectivity.xlsx file attached to the reference manual, and I see on the left side "input number", which I am assuming i the input into the TRGMUX. I see LPCMP_0_COUT listed there, with an input number of 5, what I think I am after. Along the top I see "EMIOS_0_ipp_ind_emios_ch[7]" and I see the output register no. of 9 above it. I also see that channels 5, 6, and 9 also have this same number as well. So, my first question - how to I tell the TRGMUX that the LPCMP0 trigger output goes to channel 7 and not 5 or 6 or 9? I know that the internals of the TRGMUX register has SEL0, SEL1, SEL2, and SEL3 - do I use one of these to choose the channel selection? If so how is this mapped (SEL0 is channel 5, etc), or is there some other mapping, or no mapping? I have looked in the manual and I have not stumbled on this. Using my best guess that SEL3 is for channel 7 (just for a test), I attepted to use the TRGMUX method in the SDK - here is my calling sequence:   TRGMUX_SetTriggerSource(TRGMUX, kTRGMUX_Emios0_1, kTRGMUX_TriggerInput2, kTRGMUX_SourceLpcmp0 ); with the TRGMUX being the register base, kTRGMUX_Emios0_1 is the TRGMUX register for the eMIOS0 (define value is 9), kTRGMUX_TriggerInput2 is the SEL2 input of the register, and kTRGMUX_SourceLpcmp0 is the source of the trigger (define value is 5). The problem is that the routine throws a hard fault within this method itself. Here is the actual SDK code for this method: status_t TRGMUX_SetTriggerSource(TRGMUX_Type *base, uint32_t index, trgmux_trigger_input_t input, uint32_t trigger_src) {   uint32_t value;   status_t status;   value = base->TRGCFG[index];   if (0U != (value & TRGMUX_TRGCFG_LK_MASK))   {    status = kStatus_TRGMUX_Locked;   }   else   {    /* Since all SEL bitfileds in TRGCFG register have the same length, SEL0's mask is used to       access other SEL    * bitfileds. */    value = (value & ~((uint32_t)TRGMUX_TRGCFG_SEL0_MASK << (uint32_t)input)) |    ((trigger_src & (uint32_t)TRGMUX_TRGCFG_SEL0_MASK) << (uint32_t)input);    base->TRGCFG[index] = value;    status = kStatus_Success;   }   return status; } The routine crashes on the first line value= base->TRGCFG[index]; If I look at the debug output, it appears that the TRGCFG array has never been initialized - this variable is defined in PERI_TRGMUX.h and the structure is: /** TRGMUX - Size of Registers Arrays */ #define TRGMUX_TRGCFG_COUNT 40u /** TRGMUX - Register Layout Typedef */ typedef struct { __IO uint32_t TRGCFG[TRGMUX_TRGCFG_COUNT]; /**< TRGMUX ADC12_0 Register..TRGMUX CM7_RXEV Register, array offset: 0x0, array step: 0x4, valid indices: [0-1, 3, 6-18, 21-39] */ } TRGMUX_Type; I am just not finding where the TRGCFG is actually defined anywhere. In the debugger the whole array is set to 199661, all 40 elements, which must be garbage. I am accessing element 9 (index is 9). So my second question is am I using this method correctly and my assumptions OK or is there an issue within the SDK routine? Board Design Boot ROM|Booting | Flash Clock|Timers Re: TRGMUX Assistance - MCXE316 Hi @brucebowling  Thank you for the post! Your understanding of how the TRGMUX SELx works is correct the EMIOS0_0 is for channel 1 to 4, EMIOS0_1 is for channels 5 to 7 and 9, as shown in the TRGMUX_connectivity.xlsx the channels 0 and 8 are not able.  Also, I was able to reproduce the issue on my side. I will review it internally and share any relevant information that may help resolve it. Re: TRGMUX Assistance - MCXE316 I am checking in to see if there is any new feedback regarding the SDK and TRGMUX functions?  Since the TRGMUX is just one register per peripheral, I attempted to just write directly to it with the following one line:       *(volatile uint32_t *)0x40080024UL = 0x00050000UL; The TRGMUX base address (according to the RM) is 0x4008_000 and the TRGMUX_eMIOS0_1 register offset is 0x24 giving the absolute address 0x40080024. The SELx field for the LPCMP0_COUT is 0x05 - I shift this up to the SEL2 bit locations (bits 16:23). The lock bit should be 0 from reset (unlocked) and I leave it unlocked. This one line causes a hard-fault crash and burn every time (inprecise fault). I have tried modifying the other SELx locations, still crashes. I have tried assigning this before I set up the eMIOS and LPCMP, and also tried after full peripheral setup, crashes every time. Leads me to a couple of questions that I can't seem to find in the manual: 1) Do you set up the TRGMUX linkage before or after the peripheral has been initialized and enabled? 2) Is there any module clocks or similar for the TRGMUX? I know that accessing a module before enabling clocking can cause a Hard-Fault like what I am experiencing. I don't see anything specifically, and I am under the impression that the TRGMUX register is part of each peripheral, so enabling the clock for a peripheral should also enable any required TRGMUX clocking? Thank you for the assistance. Re: TRGMUX Assistance - MCXE316 Hi @brucebowling Apologies for the late reply. We noticed that the TRGMUX clock is not enabled by default. Attempting to access the TRGMUX registers while the clock is disabled leads to a HardFault. Your assumption that a clock was missing was correct. Could you please add the following line before calling TRGMUX_SetTriggerSource? CLOCK_EnableClock(kCLOCK_Trgmux); This change resolves the issue on my side. For reference, an example of TRGMUX usage can be found in the SDK at: boards/frdmmcxe31b/demo_apps/mc_pmsm/pmsm_enc Please let me know if this solves the issue or if you have any further questions regarding TRGMUX. Re: TRGMUX Assistance - MCXE316 Yes adding this line for the clock corrected the hard fault, and the SDK method. And the direct-coded means that I came up with also worked as well. So, in general, you have to enable the TRGMUX clock and set the IMCR register, along with calling the SDK method for TRGMUX linkage. With this the LPCMP triggers the eMIOS input capture properly. Thank you fr the support. Re: TRGMUX Assistance - MCXE316 OK, still having the crashing issue, but further digging into this appears that I need to set the SIUL2 IMCR register before setting the TRGMUX. In the IOMUX xls file attached to the reference manual, I see that for eMIOS0_CH[7] that the SSS bits need to be set to 4 to select TRGMUX_INT_OUT38, is is done with the SIUL_IMCR567 (need to subtract 512 from the 567 due to the 512 offset in naming). Here is the line of code I used to do this, followed by the line to set the TRGMUX:     SIUL2->IMCR[55] = SIUL2_IMCR_SSS(4);     *(volatile uint32_t *)0x40080024UL = TRGMUX_TRGCFG_SEL3(kTRGMUX_SourceLpcmp0); I am still experiencing the TRGMUX hard fault.
View full article
FS32K144UAT0VLLT第97脚PTA5(RESET)出现三角波电平 经理: FS32K144UAT0VLLT电路采用5VDC供电,20MHZ外部晶振,匹配电容10pF,外部晶振没有起振,上位机使用SW不能正常连接此芯片。 测量此32K144UA芯片第97脚PTA5(RESET)电平出现三角波,频率1280HZ,幅度3.3Vp-p, 如下图所示,请经理各位老师帮助分析原因,使用LDO电源芯片5V供电正常,晶振为什么没有起振,复位管脚怎么产生三角波,是哪儿虚焊造成,谢谢! Re: FS32K144UAT0VLLT第97脚PTA5(RESET)出现三角波电平 Hi 复位引脚现在接了电容所以变成了三角波,要么先移除电容观察复位引脚波形。 然后参考 S32K1xx系列MCU应用指南之芯片锁死(lockup)复位原因分析与恢复方法详解的 "7. S32K1xx系列MCU芯片锁死(lockup)原因分析及恢复方法"章节内容判断具体什么情况。 复位引脚周期性拉低,程序都没运行起来,晶振无法根据程序里的使能位起振。 不要测之前那片VDD 3.3v供电,但VREFH却5v供电的芯片,建议重新焊接一块芯片然后使用调试器下载程序。 Best Regards, Robin 回复: FS32K144UAT0VLLT第97脚PTA5(RESET)出现三角波电平 各位老师: 补充: 上面FS32K144UAT0VLLT复位电路,复位管脚接10K电阻上拉到+5V,同时接100nF电容到GND,谢谢! Re: FS32K144UAT0VLLT第97脚PTA5(RESET)出现三角波电平 复位引脚波形看起来符合 : ②RESET引脚输出周期性复位脉冲信号 a. 若复位信号周期为~118us,高电平时间为~660ns的方波信号  可以通过SWD/JTAG调试接口执行mass erase命令解密恢复MCU; 建议直接使用该文章百度云盘里那个脚本操作吧。 Re: FS32K144UAT0VLLT第97脚PTA5(RESET)出现三角波电平 经理: 复位电路去掉电容后,就是脉冲,如图所示。 1.参考“ 7. S32K1xx系列MCU芯片锁死(lockup)原因分析及恢复方法",J-llnk总是不能和电脑正常连接,但ST-link可以,但软件不支持; 2. 复位电路不能正常和J-Link连接 ,连接时复位电路需要焊接电容吗?目前复位电路是10k上拉5V,5V供电,100nF接GND,仍然不能连接J-link,需要采取什么措施? 3. FS32K144UAT0VLLT是新的,已经更换了2片,为什么新的芯片也出现加密情况? 谢谢! Re: FS32K144UAT0VLLT第97脚PTA5(RESET)出现三角波电平 Robin_Shen: 电路5V供电,复位电路10K上拉电阻到5V,没有接地电容,连接时需要添加接地电容吗? 在J-Link>输入unlock kinetis命令,电脑回复如下: Unlocking device...ERROR: Read from DP/AP register failed! 1. 复位管脚脉冲波形见下图,周期接近118uS, 2. 整个脉冲的长度时间为1500nS,如果FS32K144工作在5V,复位高电平阈值多大?下图高电平时间是660nS吗?下图高电平合格吗? 3. 在J-Link>下输入命令截图: (1)在J-Link>下输入connect,回复后输入“?”,使用FS32K144UAT0VLLT选择 S32K144 (ALLOW SECURITY),对吗?如下图: (2)当输入频率112000KHZ后,出来的没有合适选项,此处应该怎么输入频率? (3)下面时J-Link下输入Comnnect,unlock Kinetis等命令的回复截图,请经理看看哪儿输入错误,谢谢!
View full article
功能RESET后 RAM 数据保持功能失效 (S32K3xx) 大家好, 我们正在尝试在 S32K3xx 上进行 RESET 时保留一个变量,但它不起作用。 执行: 变量放置在自定义 RAM 部分: __attribute__ ((section(".int_sram_results"))) uint32_t retain_var; 在RESET之前更新该值(用于测试 retain_var= 0x11223344)。 RESET类型: 功能RESET(软件触发) 观察到的行为: 但该值始终为0(已清除) RAM 保留功能没有出现。 参考资料已核实: 我已经参考过这个讨论,并且尝试了建议的方法: https://community.nxp.com/t5/S32K/S32K311-noinit-ram/td-p/2123035 那里提供的例子在我们这里并不适用。 要求: 请提供一个可运行的示例或最小代码片段,说明如何在 S32K3xx 芯片上进行 RESET 后保留 RAM。 谢谢! Yusup S32K3 S32DS-ARM S32K31XEVB-Q100 Re: RAM retention not working across functional reset (S32K3xx) 你好@yusupkhan241 , 启动代码很可能在每次RESET后将整个 SRAM 初始化为零(用于 ECC 初始化)——我还没有看到你的具体启动代码。 如果RESET功能正常,您可以考虑跳过 ECC 初始化。 请参考此答案: https://community.nxp.com/t5/S32K/SRAM-ECC-Initialization-for-S32K344/mp/1764143 BR,丹尼尔 Re: RAM retention not working across functional reset (S32K3xx) 你好@yusupkhan241 , 你说的“不起作用”是什么意思? 您上传的文件似乎没有反映最新的更改。 能否单步执行启动代码,并观察功能 RESET 后 SRAM 中的变量?这样就能清楚地显示变量被覆盖的位置。 要在功能复位后附加调试器,可以在启动代码的开头添加一个简单的循环,例如: Loop: mov r0, #1 cmp r0, 0 /* Change r0 to 0 in register view */ bne Loop /* Capture after power-on reset */ 此致, 丹尼尔 Any support, information, and technology (“Materials”) provided by NXP are provided AS IS, without any warranty express or implied, and NXP disclaims all direct and indirect liability and damages in connection with the Material to the maximum extent permitted by the applicable law. NXP accepts no liability for any assistance with applications or product design. Materials may only be used in connection with NXP products. Any feedback provided to NXP regarding the Materials may be used by NXP without restriction. Re: RAM retention not working across functional reset (S32K3xx) 嗨@danielmartynek 我简化了设置,以便隔离 RAM 保留行为。 我将变量放在专用的 SRAM 部分,并使用了一个最小的主函数,带有 LED 指示和看门狗触发的RESET。其理念是: 绿色 LED → RESET 后数值保持不变 红色 LED → 价值损失 以下是所使用的测试代码: C __attribute__ ((section(".int_sram_results"), used)) volatile uint32_t retain_var; int main(void) { Clock_Ip_Init(&Clock_Ip_aClockConfig[0]); DIO_Init(); WDT_Init(); 如果 (retain_var == 0xAABBCCDD) { Siul2_Dio_Ip_SetPins(LED_GREEN_PORT, (1UL << LED_GREEN_PIN)); Siul2_Dio_Ip_ClearPins(LED_RED_PORT, (1UL << LED_RED_PIN)); } else { Siul2_Dio_Ip_SetPins(LED_RED_PORT, (1UL << LED_RED_PIN)); Siul2_Dio_Ip_ClearPins(LED_GREEN_PORT, (1UL << LED_GREEN_PIN)); } retain_var = 0xAABBCCDD; while(1) { /* 看门狗 RESET */ } } 显示更少 观察: 使用调试器运行时,行为符合预期。 然而,上电复位后,没有 LED 指示,这表明代码可能没有按预期执行。 我已附上最新的链接器和启动文件供您参考。 如果您发现启动或重置处理方面有任何缺失,请告诉我。 S32DS-ARM S32K31XEVB-Q100 谢谢, 优素福 Re: RAM retention not working across functional reset (S32K3xx) 嗨@danielmartynek 我已将下面的启动指令替换为您分享的更改,但它仍然不起作用。 供您参考,我已经上传了相关文件。.s 和 .ld上传的文件带有 .c 后缀。扩大。请您审阅一下,如有任何其他疑问,请随时联系我。 RamInit: /* 初始化 SRAM ECC */ ldr r0,=__RAM_INIT cmp r0, 0 /* 如果未设置 __RAM_INIT,则跳过 */ beq SRAM_LOOP_END ldr r0,=MCRGM_DES ldr r1,[r0] ldr r2,=MCRGM_DES_F_POR 以及 r1、r1、r2 cmp r1,0 beq NO_INIT_STANDBY_REGION ldr r2, =__INT_SRAM_START ldr r3, =__INT_SRAM_END b ZERO_64B_RAM 以上说明已更新。 RamInit: /* Check MC_RGM DES register, if it's non-zero, jump to RAMInit_Start. (RAM init is needed if Destructive reset occurred) */ /* To make it work, customer should clear the MC_RGM DES register in application code. */ ldr r4, =MC_RGM_BASE_ADDR /* 0x4028C000 */ ldr r4, [r4, #0x0] cmp r4, #0x0 bne RamInit_Start /* Check MC_RGM FES register, if the F_EXR bit or ST_DONE bit is set, jump to RAMInit_Start. */ /* RAM init is needed if external reset occurred, or BIST Done functional reset occurred. */ /* To make it work, customer should clear the MC_RGM FES F_EXR register bit in application code. */ ldr r4, =MC_RGM_BASE_ADDR ldr r4, [r4, #0x8] ldr r5, =MC_RGM_FES_MASK_RAM_INIT and r4, r4, r5 cmp r4, #0x0 bne RamInit_Start b SRAM_LOOP_END RamInit_Start: /* Initialize SRAM ECC */ ldr r0, =__RAM_INIT cmp r0, 0 /* Skip if __SRAM_INIT is not set */ beq SRAM_LOOP_END ldr r1, =__INT_SRAM_START ldr r2, =__INT_SRAM_END 谢谢! 优素福 Re: RAM retention not working across functional reset (S32K3xx) 能否分享一下整个测试项目,以便我这边也能轻松测试? 谢谢! 丹尼尔 Re: RAM retention not working across functional reset (S32K3xx) 嗨@danielmartynek 以下是我们测试得出的观察结果:  调试模式行为: 上电复位(红色 LED 指示灯亮起): retain_var = 0x5AA55AA5 @ 0x20407B00 看门狗复位后(绿色 LED 指示灯亮起): 保留变量 = 0xAABBCCDD @ 0x20407B00 这证实了在调试器下运行时,功能 RESET 后的 RAM 数据保持功能正常。 但是,当以独立模式运行(不使用调试器)时: 上电复位后,LED指示灯不亮。 程序似乎没有执行,或者没有到达应用程序代码。 请问您能否帮忙找出导致这种行为的原因?此外,我们计划使用完整的.int_sram_results。用于在功能RESET时保留多个参数的部分。请提出是否需要进行任何其他更改以确保可靠的数据保留。 另外,请问是否有任何 API 或推荐的方法来触发功能性重置(除了看门狗机制之外) ? 作为参考,我已将启动文件和链接器文件中的更改包含在内,您可以在共享项目中验证这些更改。 启动文件(旧代码) RamInit: /* 初始化 SRAM ECC */ ldr r0,=__RAM_INIT cmp r0, 0 /* 如果未设置 __RAM_INIT,则跳过 */ beq SRAM_LOOP_END ldr r0,=MCRGM_DES ldr r1,[r0] ldr r2,=MCRGM_DES_F_POR 以及 r1、r1、r2 cmp r1,0 beq NO_INIT_STANDBY_REGION ldr r2, =__INT_SRAM_START ldr r3, =__INT_SRAM_END b ZERO_64B_RAM 启动文件(新代码) .equ MC_RGM_BASE_ADDR,0x4028C000 .equ MC_RGM_FES_MASK_RAM_INIT, 0xFFFFFFFF RamInit: /* 检查 MC_RGM DES 寄存器,如果它不为零,则跳转到 RAMInit_Start。(如果发生了破坏性重置,则需要进行 RAM 初始化) /* 要使其正常工作,客户应在应用程序代码中清除 MC_RGM DES 寄存器。*/ ldr r4, =MC_RGM_BASE_ADDR /* 0x4028C000 */ ldr r4, [r4, #0x0] cmp r4,#0x0 bne RamInit_Start /* 检查 MC_RGM FES 寄存器,如果 F_EXR 位或 ST_DONE 位已设置,则跳转到 RAMInit_Start。*/ /* 如果发生外部复位,或者发生 BIST 完成功能复位,则需要进行 RAM 初始化。*/ /* 要使其正常工作,客户应在应用程序代码中清除 MC_RGM FES F_EXR 寄存器位。*/ ldr r4,=MC_RGM_BASE_ADDR ldr r4, [r4, #0x8] ldr r5,=MC_RGM_FES_MASK_RAM_INIT 以及 r4、r4、r5 cmp r4,#0x0 bne RamInit_Start b SRAM_LOOP_END RamInit_Start: /* 初始化 SRAM ECC */ ldr r0,=__RAM_INIT cmp r0, 0 /* 如果未设置 __SRAM_INIT,则跳过 */ beq SRAM_LOOP_END ldr r1, =__INT_SRAM_START ldr r2, =__INT_SRAM_END b ZERO_64B_RAM 链接器文件更改 旧代码: .int_results(NOLOAD):     { 。= ALIGN(4); KEEP(*(.int_results)) 。+= 0x100; } > int_sram_results 新代码: .int_results(NOLOAD):     { 。= ALIGN(4); KEEP(*(.int_results)) } > int_sram_results S32K31XEVB-Q100 谢谢, 优素福 Re: RAM retention not working across functional reset (S32K3xx) 你好@yusupkhan241 , 我已经调试过,发现下面的代码有误。 它使用了 R1 和 R2 而不是 R2 和 R3: 我们需要R2和R3的原因如下: 你从哪里弄到这段启动代码的? 连接调试器后,调试器会初始化 SRAM ECC。 如果没有调试器,则在 0x20400090 处出现硬故障。 此致, 丹尼尔
View full article
RT1172 Bott Config Hi, There we are using RT1172 on our new PCB board, and boot mode =0x10(Internal boot), but the problem is, all boot config is NC(not connect) pin,  in this case,  where will the MCU boot up? or do you have any good idea can help us? thanks...   Boot ROM|Booting | Flash Re: RT1172 Bott Config Hi @dongjun , BT_FUSE_SEL eFuse might help with this.
View full article
The PN7220's card reading performance is excessive. The PN7220 project has excessive card reading performance; the V-card reading range is ≥150mm. Adjusting ARC and DGRM_BBA only reduces the reading range to around 110mm. Due to the need to pass EMVCo RR2, the maximum voltage can currently only be reduced to 4.5V. Are there any other parameters that can reduce card reader performance? Thank you. Re: PN7220 读卡性能过剩 Here, the MAX_READ voltage is set to 4.5V (0x07), then DPC is applied. The _EMVCo switch is not working; after switching, the maximum voltage is still 5.7V (the forum shows the maximum voltage is 4.5V). Is this normal? Re: PN7220 读卡性能过剩 Hello @mark_tang Adjust the antenna matching impedance to 20~22 Ω. This requires hardware modification; try again. Re: PN7220 读卡性能过剩 After adjusting the target current to 200mA, the V-card's performance remained unchanged when the current was reduced to 100mA and then further reduced. Re: PN7220 读卡性能过剩 The complete version was not released to us by this client. Re: PN7220 读卡性能过剩 Hello @mark_tang Another option is to adjust the matching impedance to 20~21 Ω. Re: PN7220 读卡性能过剩 Hello @mark_tang The target current can be adjusted to 200mA, give it a try! Furthermore, the schematic diagram does not only show the antenna section, but also the complete 7220 design. Re: PN7220 读卡性能过剩 The target current is 240mA. The attached file is the debugged XML file. Re: PN7220 读卡性能过剩 I noticed that the latest Cockpit allows setting different target currents (shared across tables). Will this affect the EMVCo RR2 test, or does the system have a recognition mechanism that automatically switches between them? Re: PN7220 读卡性能过剩 Hello @mark_tang Could you please provide the DPC table, the antenna smitch chart, and the schematic diagram? What is the target? What is the current target? Re: PN7220 读卡性能过剩 DPC has been debugged, but it doesn't help reduce card reader performance. Currently, client requirements stipulate performance cannot exceed 75mm, and it's currently exceeding that by 50%. Re: PN7220 读卡性能过剩 Hello @mark_tang  Also, you can enable  and calibratie DPC, please try. Re: PN7220 读卡性能过剩 Hello @mark_tang  it's normal.
View full article
ファルコンモードのイネーブルメント - iMX8MP_EVK こんにちは、 Yoctoブランチ6.12-walnascarでiMX8MP_EVKのFalcon Modeを有効にする必要があります。しかし、 AN14641文書によると、 meta-imx-fastbootレイヤーはlf-6.6.36-2.1.0- secureでのみ利用可能です。支店。このレイヤーをwalnascarブランチに移植して、ファルコンモードを有効にするにはどうすればよいですか? どうか助けてください。 Re: Falcon Mode Enablement - iMX8MP_EVK 以下のコマンドを使用してください。 uuu -b emmc_all - .rootfs.wic 例: $ uuu -b emmc_all imx-boot-imx95evk-sd.bin-flash_all core-image-minimal-imx95evk.rootfs.wic Re: Falcon Mode Enablement - iMX8MP_EVK こんにちは、ティピンワンさん ご返信ありがとうございます。 Falconモードを有効にしようとしており、 AN14641に記載されている手順に従いましたが、フラッシュ処理中に問題が発生しています。 READMEに記載されている通り、フラッシュ手順は以下のとおりです(eMMCの場合)。 unzstd -[セキュアブート]-.rootfs.wic.zst uuu -b emmc_all - .rootfs.wic uuu -b emmc 私のブートメモリはeMMCです。以下のコマンドを使用してイメージの書き込みを試みました。 sudo ./uuu-d -v -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evkimx-image-core-imx8mpevk.rootfs-20260616051114.wic しかし、実行中にフラッシュ処理が以下のエラーで失敗します。 sudo ./uuu-d -v -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evkimx-image-core-imx8mpevk.rootfs-20260616051114.wic NXP IMXチップ用uuu(Universal Update Utility) -- libuuu_1.5.243-5-g124d086   設定ファイルに含める: PctlチップビデオPID Bcdバージョンシリアル番号 ================================================== SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff] SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff] SDPS: MX8DXL 0x1fc9 0x0147 SDPS: MX28 0x15a2 0x004f SDPS: MX815 0x1fc9 0x013e SDPS: MX865 0x1fc9 0x0146 SDPS: MX8ULP 0x1fc9 0x014a SDPS: MX8ULP 0x1fc9 0x014b SDPS: MX93 0x1fc9 0x014e SDPS: MX91 0x1fc9 0x0159 SDPS: MX95 0x1fc9 0x015d SDPS: MX95 0x1fc9 0x015c SDPS: MX943 0x1fc9 0x0027 SDPS: MX952 0x1fc9 0x0028 SDP: MX7D 0x15a2 0x0076 SDP: MX6Q 0x15a2 0x0054 SDP: MX6D 0x15a2 0x0061 SDP: MX6SL 0x15a2 0x0063 SDP: MX6SX 0x15a2 0x0071 SDP: MX6UL 0x15a2 0x007d SDP: MX6ULL 0x15a2 0x0080 SDP: MX6SLL 0x1fc9 0x0128 SDP: MX7ULP 0x1fc9 0x0126 SDP: MXRT106X 0x1fc9 0x0135 SDP: MX8MM 0x1fc9 0x0134 SDP: MX8MQ 0x1fc9 0x012b SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff] SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998] SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998] SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999] SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff] SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998] FBK: 0x066f 0x9afe FBK: 0x066f 0x9bff FBK: 0x1fc9 0x0153 FB: 0x0525 0xa4a5 FB: 0x18d1 0x0d02 FB: 0x3016 0x0001 FB: 0x1fc9 0x0152 FB: 0x0483 0x0afb FB: 0x1d6b 0x0104   組み込みスクリプトを実行します:   uuu_version 1.4.149   # @_flash.bin| wicイメージから抽出できるブートローダー # @_image [_flash.bin]| wicイメージをemmcに書き込む。     # このコマンドはi.MX6/7 i.MX8MM、i.MX8MQで実行されます SDP: boot -f imx-boot-imx8mpevk-sd.bin-flash_evk-scanlimited 0x800000   # このコマンドはROMがストリームモードに対応しているときに実行されます # i.MX8QXP、i.MX8QM SDPS: boot -scanterm -f imx-boot-imx8mpevk-sd.bin-flash_evk-scanlimited 0x800000   # これらのコマンドはSPLを使用するときに実行され、SPLがない場合はスキップされます # SDPUは非推奨になります。SDPUの代わりにSDPVを使用してください # ヤミン・アメックス SDPU: 遅延 1000 SDPU: write -f imx-boot-imx8mpevk-sd.bin-flash_evk-オフセット 0x57c00 SDPU: ジャンプ -scanlimited 0x800000 # }   # これらのコマンドはSPLを使用するときに実行され、SPLがない場合はスキップされます # if (SPL が SDPV をサポートしている場合) # ヤミン・アメックス SDPV: 遅延 1000 SDPV: write -f imx-boot-imx8mpevk-sd.bin-flash_evk-skipspl -scanterm -scanlimited 0x800000 SDPV: ジャンプ -scanlimited 0x800000 # }     FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${emmc_dev} FB: ucmd mmc dev ${emmc_dev} FB: flash -raw2sparse all imx-image-core-imx8mpevk.rootfs-20260616051114.wic FB: flash -scanterm -scanlimited 0x800000 ブートローダー imx-boot-imx8mpevk-sd.bin-flash_evk FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi; FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0 FB: 完了     既知のUSBデバイスが表示されるまでお待ちください... 新しいUSBデバイスが1:2-152E1000D9DE520Aに接続されました 1:2-152E1000D9DE520A>コマンド開始:SDPS: boot -scanterm -f imx-boot-imx8mpevk-sd.bin-flash_evk-scanlimited 0x800000 14%1:2-152E1000D9DE520A> HID(W)エラー: LIBUSB_ERROR_TIMEOUT (-7)(20.07秒) 詳細なuuuログは参考のために上記に添付されています。 Falcon対応OSをeMMCに書き込むための正しい手順を教えていただけますか?あるいは、必要な手順や設定が何か不足している場合は教えてください。 サポートありがとうございます。 Re: Falcon Mode Enablement - iMX8MP_EVK ファルコンモードはセキュアブートと互換性がないわけではありません しかし lf-6.12.20-2.0.0-secure では、提供されている Yocto フローを使用してセキュア ブートと Falcon モードを同時に有効にすることはできません。 0001-imx8m-reset-ethernet-phy-in-spl.patchについて i.MX8MP EVKの場合 → 強く推奨 初期起動時にイーサネットを使用しない場合は、必ずしも必要ではありません。 Re: Falcon Mode Enablement - iMX8MP_EVK こんにちは、ワン・イーピンさん ご回答ありがとうございます。 いくつか確認したい点があります。提供された情報によると、 lf-6.12.20-2.0.0-secure ブランチは Falcon Mode v2 をサポートしていますが、 Secure Boot はまだサポートされていないとマークされています。 私のi.MX8MPプラットフォームではセキュアブートが必須なのですが、このブランチを使用した場合、ファルコンモードは正しく動作しますか?それとも、セキュアブートが有効になっている場合、ファルコンモードは互換性がないのでしょうか? i.MX8MP EVKの場合、パッチ0001-imx8m-reset-ethernet-phy-in-spl.patchを適用する必要がありますか、それとも使用状況によってはオプションですか? Re: Falcon Mode Enablement - iMX8MP_EVK おそらく、 lf-6.6.36-2.1.0-secure からレイヤーを自分で移植する必要はないでしょう。公開されている nxp-imx-support/meta-imx-fastboot - GitHub リポジトリには、既に lf-6.12.20-2.0.0-secure ブランチが表示されています。 詳細については、 https://github.com/nxp-imx-support/meta-imx-fastbootの README を参照してください。 Re: Falcon Mode Enablement - iMX8MP_EVK 助けてください、 そして私はUUUを使ってeMMCをフラッシュしています Re: Falcon Mode Enablement - iMX8MP_EVK NXPフォーラムで見つけたこの画像によると、このケースではUUUツールを使ったeMMCの書き込みはサポートされていないようです。Falcon対応OSをeMMCデバイスに書き込むための適切な方法を教えていただけますか? 前回の返信で、以下のコマンドを使うことを提案されました。 - .rootfs.wic> この方法を試してみましたが、また同じエラーが発生しました。 HID(W)エラー: LIBUSB_ERROR_TIMEOUT (-7) (20.07秒) Falconモードを有効にした状態でeMMCをフラッシュするための正しい手順、または必要な代替ツールや手順についてご教示いただけますでしょうか? Re: Falcon Mode Enablement - iMX8MP_EVK 前回の返信でIMX95FRDMのリファレンスコマンドを教えていただきましたが、Falconは有効になっていますか? こちらでYoctoで私が行ったことをIMX8MPでご覧いただけます。 1) meta-imx-fastboot - lf-6.12.20-2.0.0-secure - Github_Link 2) ソースにこのメタデータを追加しました - Github_Link 3) そして、 AN14641文書。 4) 私が従ったBitbakeコマンド: bitbake -c clean linux-imx && bitbake -c clean imx-boot && bitbake -c clean u-boot-imx && bitbake -c clean imx-atf && bitbake -c clean imx-image-core bitbake -c compile linux-imx && bitbake -c compile imx-boot && bitbake -c compile u-boot-imx && bitbake -c compile imx-atf && bitbake -c compile imx-image-core bitbake linux-imx && bitbake imx-boot && bitbake u-boot-imx && bitbake imx-atf && bitbake imx-image-core 5) CASE 1: sudo ./uuu-b emmc_all imx-image-core-imx8mpevk.rootfs-20260617095251.wic NXP IMXチップ用uuu(Universal Update Utility) -- libuuu_1.5.243-5-g124d086 成功 0 失敗 0 1:2-152E1000 1/1 [=================100%=================] SDPS: boot -scanterm -f /home/smurugan8/YOCTO/LWT/image/imx-image-core-imx8mpevk.rootfs-20260617095251.wic -scanlimited 0x800000 CASE 2: sudo ./uuu-b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evkimx-image-core-imx8mpevk.rootfs-20260617095251.wic NXP IMXチップ用uuu(Universal Update Utility) -- libuuu_1.5.243-5-g124d086 成功 0 失敗 1 1:2-152E1000 1/1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f imx-boot-imx8mpevk-sd.bin-flash_evk-scanlimited 0x800000 重要:Falcon対応OSをeMMCにフラッシュする必要があります Re: Falcon Mode Enablement - iMX8MP_EVK IMX95FRDMで以下のコマンドを確認しましたが、問題はありませんでした。ログを参照してください。 C:\ユーザー\nxa22585>C:\ユーザー\nxa22585\Downloads\i.mx95\uuu.exe -lsusb uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 コネクテッド Known USBデバイス Path Chip Pro vid pid bcdバージョンSerial_no ==================================================================== 2:4 MX95 SDPS:0x1FC9 0x015D 0x0002 61F49AAB2DCB4DDF C:\Users\nxa22585>C:\Users\nxa22585\Downloads\i.mx95\uuu.exe -b emmc_all C:\Users\nxa22585\Downloads\i.mx95\imx-boot-imx95-15x15-lpddr4x-frdm-sd.bin-flash_all C:\Users\nxa22585\Downloads\i.mx95\core-image-minimal-imx8mnevk.rootfs.wic NXP IMXチップ用uuu(Universal Update Utility)-- libuuu_1.5.243-0-g230f1b1 成功 1 失敗 0 1:2-61F49AAB 8/8 [完了] FB: 完了 2:4-61F49AAB 3/3 [==================100%=================] SDPV: ジャンプ -scanlimited 0x800000 C:\Users\nxa22585> Re: Falcon Mode Enablement - iMX8MP_EVK 助けてください、この部分で詰まってしまいました Re: Falcon Mode Enablement - iMX8MP_EVK uuuはeMMCにイメージを書き込むためだけに使用され、イメージの内容をチェックする機能はありませんのでご注意ください。 uuuコマンド自体に問題があるのではないかと思います。 uuuはどこでダウンロードしましたか? 最新のUUUは、 https://github.com/nxp-imx/mfgtools/releasesからダウンロードしてください。 検証を行うには、Windows版のUUUをダウンロードしてください。 Re: Falcon Mode Enablement - iMX8MP_EVK こんにちは、イーピンワン Windows上でUUUツールも試してみましたが、結果は同じで、eMMCの書き込みはやはりうまくいきません。UUUログを添付しました。 しかし、同じFalcon対応OSをSDカードに書き込むと、正常に起動して動作します。これは、画像自体とFalconの構成が有効であることを裏付けています。 私の質問は次のとおりです。 SDカードからは同じイメージが書き込めるのに、なぜFalcon対応のイメージをeMMCに書き込むことができないのでしょうか? FALCON対応OSをeMMCにフラッシュする代わりに、UUUを使う以外に推奨される方法はありますか? この場合、eMMCをフラッシュするためのサポートされている、または信頼できる手順についてアドバイスいただけますか? Re: Falcon Mode Enablement - iMX8MP_EVK どうか助けてください。 Re: Falcon Mode Enablement - iMX8MP_EVK お使いのWindowsのバージョンがUUUの場合、以下のコマンドを実行し、その結果を私に送ってください。さらに調査を行います。 uuu.exe -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evkimx-image-core-imx8mpevk.rootfs-20260617095251.wic Re: Falcon Mode Enablement - iMX8MP_EVK 以下のコマンドをお試しください。 uuu.exe -b emmc_all  C:\Users\vvdn\Sanjiv\Falcon\imx-boot-imx8mpevk-sd.bin-flash_evkC:\Users\vvdn\Sanjiv\Falcon\imx-image-multimedia-imx8mpevk.rootfs-20260624074743.wic そして、その結果をもう一度私に送ってください。 Re: Falcon Mode Enablement - iMX8MP_EVK 上記の通り、UUUのログが見つかります。 Command=> .\uuu.exe -b emmc C:\Users\vvdn\Sanjiv\Falcon\imx-boot-imx8mpevk-sd.bin-flash_evk C:\Users\vvdn\Sanjiv\Falcon\imx-image-multimedia-imx8mpevk.rootfs-20260624074743.wic しかし、eMMCでは動作しません。同じイメージはSDカードでは動作します。 Re: Falcon Mode Enablement - iMX8MP_EVK こちらで出力を見ることができます。 PS C:\Users\vvdn\Sanjiv\uuu_source-uuu_1.5.243\uuuu-uuu_1.5.243\uuuu> .\uuu.exe -b emmc_all C:\Users\vvdn\Sanjiv\Falcon\imx-boot-imx8mpevk-sd.bin-flash_evkC:\Users\vvdn\Sanjiv\Falcon\imx-image-multimedia-imx8mpevk.rootfs-20260624074743.wic uuu(Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 成功 0 失敗 1 1:3-152E1000 1/1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f C:\Users\vvdn\Sanjiv\Falcon\imx-b... Re: Falcon Mode Enablement - iMX8MP_EVK IMX8MP_EVKターゲットボードで検証したところ、eMMCのプログラミングに問題はありませんでした。以下のログを参照してください。 C:\Users\nxa22585>C:\Users\nxa22585\Downloads\i.mx95\uuu.exe -b emmc_all C:\Users\nxa22585\Downloads\i.mx95\imx-boot-imx8mpevk-sd.bin-flash_evk C:\Users\nxa22585\Downloads\i.mx95\core-image-minimal-imx8mnevk.rootfs.wic NXP IMXチップ用uuu(Universal Update Utility)-- libuuu_1.5.243-0-g230f1b1 成功 1 失敗 0 2:4-0F0B9800 8/8 [完了] FB: 完了 C:\Users\nxa22585> 添付ファイルから私の画像を抽出し、以下のコマンドのみを実行してください。 uuu.exe -b emmc imx-boot-imx8mpevk-sd.bin-flash_evk それでも失敗する場合は、ターゲットボード上のeMMC自体に問題があるようです。 以下のemmcコマンドを使って、u-bootでemmcに何かを書き込めるか確認できます。 使用法: mmc読み取りアドレスブロック#cnt mmc書き込みアドレスブロック#cnt mmc erase blk# cnt Re: Falcon Mode Enablement - iMX8MP_EVK UUUでemmcにデフォルトのブートイメージを書けるかどうかだけ試してください。 Re: Falcon Mode Enablement - iMX8MP_EVK @yipingwang さん、質問があります。これは Falcon 対応の画像ですか? Re: Falcon Mode Enablement - iMX8MP_EVK 助けてください。 @yipingwang Re: Falcon Mode Enablement - iMX8MP_EVK はい、 @yipingwang 、 ビルドにmeta-imx-fastbootレイヤーを含めると、フラッシュ処理が停止してしまいます。しかし、meta-imx-fastbootレイヤーを削除すると、イメージをeMMCに正常に書き込むことができます。
View full article
オーバーレイファイルがfrdm_mcxw72ボードで動作しません adc_dtコードサンプルをボードfrdm_mcxw72で実行しようとしましたが、デバイスツリーフォルダのオーバーレイファイルを追加し、Cmakelistファイルでボード名を変更しても、うまくビルドできませんでした。必ず エラーが表示されます:#error「適切なデバイスツリーオーバーレイ指定されていません」 と表示される。原因を見つける手助けをしてもらえますか?よろしくお願いします! Re: Overlay file can't worked in frdm_mcxw72 board こんにちは、RomanVRさん。 オーバーレイファイルをその位置に入れました。それでもうまくいきません。私の作業台については、以下のスナップショットで詳しくご覧いただけます。私はZephyr版のV4.4.0を使っていました。何か分かったことがあれば教えてください。 よろしくお願いいたします! Re: Overlay file can't worked in frdm_mcxw72 board こんにちは、 @anliu114036 さん。お元気でお過ごしでしょうか。 どのZephyrバージョンに取り組んでいるのか教えていただけますか?また、例を作るためにMCUXpresso for VS Code拡張機能を使っているのかも教えてください。 その間、プロセスを容易にするために、プロジェクト ファイル内にある「boards」フォルダ内にオーバーレイが作成されていることを確認してください。オーバーレイ ファイルの名前が「frdm_mcxw72.overlay」であることを確認してください。この2つのステップを踏むと、ZephyrはCMakeで明示的にパスを設定することなく、ビルドプロセスでオーバーレイを取得します。 もし私たちのMCUXpresso for VS Code拡張機能を使用している場合、プロジェクトの表示は以下の画像のように見えるはずです。 これが役に立つかどうか教えてください。
View full article
PCA9959 异常行为 我实现了一个电路,其中我使用一个控制器(MCU1)向 PCA9959 写入数据,然后使用 SN74CBTLV3257 多路复用器切换 SPI 总线,并使用第二个控制器(MCU2)读取这些值。MCU 之间不进行通信,但实现了轮流进行读写操作的仲裁机制。 只用 MCU1 写入数据而不切换开关时,一切正常。当我在 MCU1 和 MCU2 之间来回切换时,就会出现问题。 在这种情况下,LED驱动器会随机打开/关闭随机排列的LED。奇怪的是,当我使用 MCU1 写入值然后再读取时,寄存器内容似乎没问题。 有什么提示吗?未发现勘误。 开关上的信号: - SDI - 时钟 - SDO - nCS 来自MCU1的其他信号: - nEN - nRESET 非常感谢您的帮助!PCA9959 Re: PCA9959 strange behavior 你好 goepe 再会! 我不是 SN74CBTLV3257 的专家,但根据我能找到的信息,SN74CBTLV3257 是一个无源 FET 开关,而不是缓冲器。 切换通道时,断开的一侧变为高阻抗(浮空),PCA9959 仍然“看到”这些引脚。 尝试在 SCLK、MOSI 和 nCS 上添加上拉/下拉电阻。 希望这些信息对您有所帮助,如果您还需要其他帮助,请告诉我。 祝你今天过得愉快,一切顺利。
View full article
Falcon Mode Enablement - iMX8MP_EVK Hi, I need to enable Falcon Mode on iMX8MP_EVK in the Yocto branch 6.12-walnascar. However, as per the AN14641 document, the meta-imx-fastboot layer is available only in the lf-6.6.36-2.1.0-secure branch. How can I port this layer to my walnascar branch and enable Falcon Mode? Please help here.. Re: Falcon Mode Enablement - iMX8MP_EVK Please use the following command. uuu -b emmc_all - .rootfs.wic For example: $ uuu -b emmc_all imx-boot-imx95evk-sd.bin-flash_all     core-image-minimal-imx95evk.rootfs.wic Re: Falcon Mode Enablement - iMX8MP_EVK Hi Tipingwang, Thanks for your reply. I am trying to enable Falcon mode and have followed the steps provided in AN14641, but I am getting stuck during the flashing process. As per the README, the flashing steps are mentioned as below (for eMMC): unzstd -[secure-boot]- .rootfs.wic.zst uuu -b emmc_all - .rootfs.wic uuu -b emmc My boot memory is eMMC. I attempted to flash the image using the following command: sudo ./uuu -d -v -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evk imx-image-core-imx8mpevk.rootfs-20260616051114.wic However, during execution, the flashing process fails with the following error: sudo ./uuu -d -v -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evk imx-image-core-imx8mpevk.rootfs-20260616051114.wic uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-5-g124d086   Build in config: Pctl Chip Vid Pid BcdVersion Serial_No ================================================== SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff] SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff] SDPS: MX8DXL 0x1fc9 0x0147 SDPS: MX28 0x15a2 0x004f SDPS: MX815 0x1fc9 0x013e SDPS: MX865 0x1fc9 0x0146 SDPS: MX8ULP 0x1fc9 0x014a SDPS: MX8ULP 0x1fc9 0x014b SDPS: MX93 0x1fc9 0x014e SDPS: MX91 0x1fc9 0x0159 SDPS: MX95 0x1fc9 0x015d SDPS: MX95 0x1fc9 0x015c SDPS: MX943 0x1fc9 0x0027 SDPS: MX952 0x1fc9 0x0028 SDP: MX7D 0x15a2 0x0076 SDP: MX6Q 0x15a2 0x0054 SDP: MX6D 0x15a2 0x0061 SDP: MX6SL 0x15a2 0x0063 SDP: MX6SX 0x15a2 0x0071 SDP: MX6UL 0x15a2 0x007d SDP: MX6ULL 0x15a2 0x0080 SDP: MX6SLL 0x1fc9 0x0128 SDP: MX7ULP 0x1fc9 0x0126 SDP: MXRT106X 0x1fc9 0x0135 SDP: MX8MM 0x1fc9 0x0134 SDP: MX8MQ 0x1fc9 0x012b SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff] SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998] SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998] SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999] SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff] SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998] FBK: 0x066f 0x9afe FBK: 0x066f 0x9bff FBK: 0x1fc9 0x0153 FB: 0x0525 0xa4a5 FB: 0x18d1 0x0d02 FB: 0x3016 0x0001 FB: 0x1fc9 0x0152 FB: 0x0483 0x0afb FB: 0x1d6b 0x0104   Run built-in script:   uuu_version 1.4.149   # @_flash.bin            | bootloader, which can extract from wic image # @_image   [_flash.bin] | wic image burn to emmc.     # This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ SDP: boot -f imx-boot-imx8mpevk-sd.bin-flash_evk -scanlimited 0x800000   # This command will be run when ROM support stream mode # i.MX8QXP, i.MX8QM SDPS: boot -scanterm -f imx-boot-imx8mpevk-sd.bin-flash_evk -scanlimited 0x800000   # These commands will be run when use SPL and will be skipped if no spl # SDPU will be deprecated. please use SDPV instead of SDPU # { SDPU: delay 1000 SDPU: write -f imx-boot-imx8mpevk-sd.bin-flash_evk -offset 0x57c00 SDPU: jump -scanlimited 0x800000 # }   # These commands will be run when use SPL and will be skipped if no spl # if (SPL support SDPV) # { SDPV: delay 1000 SDPV: write -f imx-boot-imx8mpevk-sd.bin-flash_evk -skipspl -scanterm -scanlimited 0x800000 SDPV: jump -scanlimited 0x800000 # }     FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${emmc_dev} FB: ucmd mmc dev ${emmc_dev} FB: flash -raw2sparse all imx-image-core-imx8mpevk.rootfs-20260616051114.wic FB: flash -scanterm -scanlimited 0x800000 bootloader imx-boot-imx8mpevk-sd.bin-flash_evk FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi; FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0 FB: done     Wait for Known USB Device Appear... New USB Device Attached at 1:2-152E1000D9DE520A 1:2-152E1000D9DE520A>Start Cmd:SDPS: boot -scanterm -f imx-boot-imx8mpevk-sd.bin-flash_evk -scanlimited 0x800000 14%1:2-152E1000D9DE520A>Fail HID(W): LIBUSB_ERROR_TIMEOUT (-7)(20.07s) The detailed uuu logs are attached above for reference. Could you please guide me on the correct procedure to flash a Falcon-enabled OS into eMMC, or let me know if I am missing any required steps or configurations? Thanks in advance for your support. Re: Falcon Mode Enablement - iMX8MP_EVK Falcon Mode is not incompatible with Secure Boot BUT On lf-6.12.20-2.0.0-secure, you cannot enable Secure Boot together with Falcon Mode using the provided Yocto flow About 0001-imx8m-reset-ethernet-phy-in-spl.patch For i.MX8MP EVK → strongly recommended Not strictly required if you don't use Ethernet during early boot Re: Falcon Mode Enablement - iMX8MP_EVK Hi Yiping Wang, Thank you for your response. I have a couple of additional questions for clarification. According to the information provided, the branch lf-6.12.20-2.0.0-secure supports Falcon Mode v2, but Secure Boot is marked as not yet supported. Since Secure Boot is a requirement for my i.MX8MP platform, will Falcon Mode work correctly if I use this branch, or is Falcon Mode incompatible when Secure Boot is enabled? For the i.MX8MP EVK, do I need to apply the patch 0001-imx8m-reset-ethernet-phy-in-spl.patch, or is it optional depending on the use case? Re: Falcon Mode Enablement - iMX8MP_EVK You probably do not need to port the layer from lf-6.6.36-2.1.0-secure yourself. The public nxp-imx-support/meta-imx-fastboot - GitHub repository already shows a lf-6.12.20-2.0.0-secure branch. Please refer to README in https://github.com/nxp-imx-support/meta-imx-fastboot Re: Falcon Mode Enablement - iMX8MP_EVK Please help here, And i am using UUU to flash eMMC Re: Falcon Mode Enablement - iMX8MP_EVK As per this image i found in NXP forum it seems that flashing eMMC using the UUU tool may not be supported in this case. Could you please suggest the appropriate method to flash an eMMC device with a Falcon-enabled OS? In your previous reply, you suggested using the following command:   - .rootfs.wic> I tried this approach, but I encountered the same error again: Fail HID(W): LIBUSB_ERROR_TIMEOUT (-7) (20.07s) Could you please guide me on the correct flashing procedure or any alternative tools or steps required for flashing eMMC with Falcon mode enabled? Re: Falcon Mode Enablement - iMX8MP_EVK I verified the following commands on IMX95FRDM, there is no problem, please refer to my log. C:\Users\nxa22585>C:\Users\nxa22585\Downloads\i.mx95\uuu.exe -lsusb uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 Connected Known USB Devices Path Chip Pro Vid Pid BcdVersion Serial_no ==================================================================== 2:4 MX95 SDPS: 0x1FC9 0x015D 0x0002 61F49AAB2DCB4DDF C:\Users\nxa22585>C:\Users\nxa22585\Downloads\i.mx95\uuu.exe -b emmc_all C:\Users\nxa22585\Downloads\i.mx95\imx-boot-imx95-15x15-lpddr4x-frdm-sd.bin-flash_all C:\Users\nxa22585\Downloads\i.mx95\core-image-minimal-imx8mnevk.rootfs.wic uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 Success 1 Failure 0 1:2-61F49AAB 8/ 8 [Done ] FB: done 2:4-61F49AAB 3/ 3 [=================100%=================] SDPV: jump -scanlimited 0x800000 C:\Users\nxa22585> Re: Falcon Mode Enablement - iMX8MP_EVK Please help here i have stucked in this part Re: Falcon Mode Enablement - iMX8MP_EVK In previous reply you gave a reference command for IMX95FRDM is that falcon enabled?  Here you can find what i was done in Yocto - IMX8MP 1) meta-imx-fastboot - lf-6.12.20-2.0.0-secure - Github_Link 2) Added this meta to my source - Github_Link 3) And followed all the instruction gave by  AN14641 document. 4)Bitbake commands that i followed:  bitbake -c clean linux-imx && bitbake -c clean imx-boot && bitbake -c clean u-boot-imx && bitbake -c clean imx-atf && bitbake -c clean imx-image-core  bitbake -c compile linux-imx && bitbake -c compile imx-boot && bitbake -c compile u-boot-imx && bitbake -c compile imx-atf && bitbake -c compile imx-image-core bitbake linux-imx && bitbake imx-boot && bitbake u-boot-imx && bitbake imx-atf && bitbake imx-image-core 5)  CASE 1: sudo ./uuu -b emmc_all imx-image-core-imx8mpevk.rootfs-20260617095251.wic uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-5-g124d086 Success 0 Failure 0 1:2-152E1000 1/ 1 [=================100%=================] SDPS: boot -scanterm -f /home/smurugan8/YOCTO/LWT/image/imx-image-core-imx8mpevk.rootfs-20260617095251.wic -scanlimited 0x800000 CASE 2:  sudo ./uuu -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evk imx-image-core-imx8mpevk.rootfs-20260617095251.wic uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-5-g124d086 Success 0 Failure 1 1:2-152E1000 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f imx-boot-imx8mpevk-sd.bin-flash_evk -scanlimited 0x800000 IMPORTANT : I NEED TO FLASH A FALCON ENABLED OS INTO eMMC  Re: Falcon Mode Enablement - iMX8MP_EVK Please note uuu is only used to program images to emmc, it doesn't check the content of your images. I suspect there is problem with your uuu command itself. Where did you download uuu? Please download the latest UUU from https://github.com/nxp-imx/mfgtools/releases Please download the Windows version UUU to do verification. Re: Falcon Mode Enablement - iMX8MP_EVK Hi yipingwan I also tried using the UUU tool on Windows, but I am seeing the same result—it still does not work for flashing eMMC.  I have attached the UUU -log. However, when I flash the same Falcon-enabled OS to an SD card, it boots and works correctly. This confirms that the image itself and the Falcon configuration are valid. My question is: Why am I unable to flash this Falcon-enabled image to eMMC, even though the same image works from SD? Is there any alternative or recommended method to flash a Falcon-enabled OS to eMMC, other than using UUU? Could you please advise on the supported or reliable procedure for flashing eMMC in this scenario? Re: Falcon Mode Enablement - iMX8MP_EVK Please help here. Re: Falcon Mode Enablement - iMX8MP_EVK Please execute the following command with your Windows version UUU and send the result to me to do more investigation. uuu.exe -b emmc_all imx-boot-imx8mpevk-sd.bin-flash_evk   imx-image-core-imx8mpevk.rootfs-20260617095251.wic Re: Falcon Mode Enablement - iMX8MP_EVK Please try the following command uuu.exe -b emmc_all  C:\Users\vvdn\Sanjiv\Falcon\imx-boot-imx8mpevk-sd.bin-flash_evk C:\Users\vvdn\Sanjiv\Falcon\imx-image-multimedia-imx8mpevk.rootfs-20260624074743.wic Then send the result to me again. Re: Falcon Mode Enablement - iMX8MP_EVK Here you can find the output, PS C:\Users\vvdn\Sanjiv\uuu_source-uuu_1.5.243\uuu-uuu_1.5.243\uuu> .\uuu.exe -b emmc_all C:\Users\vvdn\Sanjiv\Falcon\imx-boot-imx8mpevk-sd.bin-flash_evk C:\Users\vvdn\Sanjiv\Falcon\imx-image-multimedia-imx8mpevk.rootfs-20260624074743.wic uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 Success 0 Failure 1 1:3-152E1000 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f C:\Users\vvdn\Sanjiv\Falcon\imx-b... Re: Falcon Mode Enablement - iMX8MP_EVK I above you can find the log of UUU,  Command=> .\uuu.exe -b emmc C:\Users\vvdn\Sanjiv\Falcon\imx-boot-imx8mpevk-sd.bin-flash_evk C:\Users\vvdn\Sanjiv\Falcon\imx-image-multimedia-imx8mpevk.rootfs-20260624074743.wic But it is not working in eMMC , Same Image will work in SD Card Re: Falcon Mode Enablement - iMX8MP_EVK I verified on IMX8MP_EVK target board, there is no problem to program emmc, please refer to my following log. C:\Users\nxa22585>C:\Users\nxa22585\Downloads\i.mx95\uuu.exe -b emmc_all C:\Users\nxa22585\Downloads\i.mx95\imx-boot-imx8mpevk-sd.bin-flash_evk C:\Users\nxa22585\Downloads\i.mx95\core-image-minimal-imx8mnevk.rootfs.wic uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 Success 1 Failure 0 2:4-0F0B9800 8/ 8 [Done ] FB: done C:\Users\nxa22585> Please extracted my image from the attached file, and only execute the following command. uuu.exe -b emmc imx-boot-imx8mpevk-sd.bin-flash_evk If it still fails, it seems there is problem with EMMC itself on your target board. You could use the following emmc command to check whether you could write something to emmc in u-boot. Usage: mmc read addr blk# cnt mmc write addr blk# cnt mmc erase blk# cnt Re: Falcon Mode Enablement - iMX8MP_EVK Please only try whether you can write a default boot image to emmc with UUU. Re: Falcon Mode Enablement - iMX8MP_EVK Yes, @yipingwang, When I include the meta-imx-fastboot layer in my build, the flashing process gets stuck. However, if I remove the meta-imx-fastboot layer, I am able to flash the image to eMMC successfully. Re: Falcon Mode Enablement - iMX8MP_EVK I have one question @yipingwang it is falcon enabled image Re: Falcon Mode Enablement - iMX8MP_EVK Please help here.. @yipingwang
View full article
Unable to complete DDR test via NXP DDR Tool in IMX8M Plus Hi, I downloaded RPA Tool and updated the information. Here is the snapshot attached.   With the script I was able to get the PMIC information in debug. here are the debug log and .ds file for reference. I found out in the debug log the memory capacity was shown as : Density per chip select:  4096MB  Density per controller is: 4096MB  but I have used LPDDR4 RAM with 1GB capacity (W66DP2RQQAGJ: Dual-Die-Package (DDP) 32Mb x 16DQ x 8-banks x 2 channels with 8 Gb (8,589,934,592 bits) density. Also it got stuck in "Step 1: DDRPHY Training" Re: Unable to complete DDR test via NXP DDR Tool in IMX8M Plus hi, I am getting the same issue with Config tool. Here are the log for reference. Best regards Re: Unable to complete DDR test via NXP DDR Tool in IMX8M Plus Hello, I do not see issues in your configuration for that memory. Do you get the same issue if you try with DDR Tool of Config Tools? Best regards. Re: Unable to complete DDR test via NXP DDR Tool in IMX8M Plus Hello, The issue you are getting in Config Tools shows that there is an issue with serial port connection, please confirm that is connected to the Cortex-A console and the board in serial download mode. Could you please share you schematic? Best regards.
View full article
imx95の最大消費電力に関するデータに矛盾がある iMX95が消費する最大電力を知りたいです。 EVK回路図の電源ツリーを確認したところ、VDD_SOCは14156mAを使用すると記載されていました(画像参照)。 これは高すぎると感じました。彼らの表によると、imx95 SoC自体が25ワットを消費します。 IMX95のデータシートと照合したところ、同じVDD_SOC最大4400mAを使っています(画像添付) VDD_SOC行だけでなく、他の多くの行にも不一致が見られます。どのデータが正しいのか知りたいです。 ありがとう Re: Conflicting data for imx95 max power consumption こんにちは、 これらの値はPIシミュレーションから得られたもので、PCBの性能を検証してimx95の要件を満たしているかどうかを確認するためのものです。HDGの仕様はEVK回路図に記載されている最大電流に基づいています。 実際の電流値はそこまで高くはなりませんが、シミュレーションを実行する際には最大電流値を使用し、NXP HDGの要件を満たしていることを確認することをお勧めします。 実際のユースケースでは、データシートの表33にある最大供給電流を使用することが推奨されます。 よろしくお願いいたします。
View full article
NFC CSV Import Error, why? HTTPS URLS We purchased NTAG215 tags specifically because they support up to 540 bytes of NDEF data. We spent more than 200 EUR on these tags to ensure that our long verification URLs would fit without any issues. However, the NXP TagWriter app refuses to import our CSV file and always reports “Invalid format”. The CSV structure is correct (RecordType,URI), the file is saved as UTF-8 with BOM, the URLs are valid, and the tags have enough memory. The same data can be written manually to a single tag without any problem. The issue only happens during CSV import. This means the limitation is not the tag, not the URL, and not the CSV format. The limitation appears to be inside the TagWriter app itself. It is extremely frustrating that after spending this amount of money on official NXP tags, we cannot use the official NXP app to batch-write them. We should not be forced to buy a third-party app just to perform a basic operation that TagWriter claims to support. We need clarification on the following points: Why does TagWriter reject valid CSV files when the URL length is within the NTAG215 memory limits? Is this a known limitation or a bug in the CSV import function? Is there an official workaround that does not require paying for another app? We urgently need a solution, because we purchased these tags specifically for this use case. Re: NFC CSV Import Error, why? HTTPS URLS and my URL is looking like this: https://200.410.222.111:4443/verify-status.html?work_id=9d611323a-a9ac-4fb9-9039-74f443cf2720&sig=MKIRQDMQl3/NKQXSKLwZ123IvEgxkda123Gq0LOPqBz84mQIhANGc2GQFSNONSWR27nps0NMieAF5rZSkXt2j2rgquKh6 Re: NFC CSV Import Error, why? HTTPS URLS thank you, but now he shows nothing. No error but also no data. It looks lik this for testing - normal case we have much longer URL Re: NFC CSV Import Error, why? HTTPS URLS Hello sir, I was checking your CSV file, there are some fields that you need to add to your structure. Please refer to the following community case: Error "Not valid NDEF records found" when trying to select a CSV in TagWriter for Android - NXP Community In the User Manual, please check the description of 3) LINK_RECORD. Have a great day, sir! Re: NFC CSV Import Error, why? HTTPS URLS Hello, Could you please confirm whether you are able to successfully read a short link from the NDEF? I ask because, if this is working, it is very likely that the issue lies in the NDEF structure itself. Please note that, according to the NFC Forum specification, there are both Records and Short Records. If your payload size exceeds 255 octets, it is possible that the NDEF has not been constructed correctly. I recommend reviewing the NFC Data Exchange Format specification available on the NFC Forum website.
View full article
LA1224のcodewarriorダウンロードリンクのサポートが動作しません 私はネットワークデバイス向けのCodeWarriorをインストールしており、LA1224のサポートを追加したいと考えています。 このディスカッションでは、https://community.nxp.com/t5/Layerscape/CodeWarrior-for-LA1224/mp/2107181 で議論されています。あなたは、このリンクhttps://support.nxp.com/s/case/500Tg00000KW12ZIAT/community-codewarrior-for-la1224?language=en_USについて言及していますが、このリンクは機能していません。 私はCodeWarrior Development StudioでQorIQ LSシリーズ(ARM V8 ISA)を用いています バージョン: 11.5.0 ビルドID: 200629GA 有効なリンクを提供してください よろしくお願いします。 Re: LA1224 support for codewarrior download link isnt working こんにちは、 インストールされているCodeWarrior 11.5.0 / b200629GAがLA1224サポートの正しいベースバージョンです。 QCVSやプロジェクト作成におけるLA1224デバイスリストは、NXPサポートが参照するv16パッケージのConfig Tools i.MX 追加の設定・更新内容に依存します。サポートCASEのダウンロードURLは現在サインイン/クッキーウォールに解決されているため、現状では実際には動作しません。 あなたのCW 11.5.0のインストールは正しいLA1224ベースですが、LA1224プロセッサのサポートを追加するには、特に i.MX v16用のConfig Toolsなどの追加アップデートや設定パッケージが必要で、NXPのサインイン/クッキーゲートのため、参照されたサポートリンクは現在アクセスできません。   よろしくお願いします。 Re: LA1224 support for codewarrior download link isnt working ご回答ありがとうございます。 この問題はファイアウォール自体ではなく、エラーページはNXP自身のサーバーによって生成されており、このThreadの他のユーザーも示しています。これにより、そのパッケージは制限されており、公開ダウンロードできないことが確認されます。 正しいCodeWarriorサポートファイルへの直接アクセス(例:他の方に対して行っているSharePoint経由)を教えていただけませんか? 適切なパッケージが届くまではLA1224の開発を進めることができません Re: LA1224 support for codewarrior download link isnt working いいえ、これがあなたのファイアウォールになります。 https://www.nxp.com/design/design-center/software/development-software/codewarrior-development-tools/downloads:CW_DOWNLOADS よろしくお願いします。
View full article
如何禁用 FRDM-A-S32K344 上的批量擦除功能 为 FRDM-A-S32K344 创建了两个应用程序。一个应用程序位于地址 0x00400000,另一个应用程序位于地址 0x00500000。 当我使用板载调试器烧录其中一个应用程序时,它会执行批量擦除,并将另一个应用程序也删除。 如何禁用批量擦除,并将调试器配置为在编程期间仅擦除特定的闪存区域或部分? Re: How to Disable Mass Erase on the FRDM-A-S32K344 你好, 好的,看来您能够同时成功加载这两个二进制文件。 但是,你没有提到你会使用引导加载程序。 你真正想要的 RESET → 启动加载程序运行 → 等待 SW2 → 跳转到应用程序   在 S32DS 中使用启动组时,每个调试配置都会加载其 ELF 文件,最后一个 ELF 文件决定当前程序计数器。因此,应用程序入口点会覆盖引导加载程序,导致引导加载程序被跳过。 为确保引导加载程序正确执行,请使用单个调试配置,该配置加载两个映像,但从引导加载程序重置向量开始执行。同时禁用“运行到主程序”以避免跳过启动代码。 真正复位后,S32K3 总是从预定义的启动地址(内部闪存地址 0x00400000)开始执行,并执行第一个有效的映像(通常是您的引导加载程序)。 然而,在使用 S32DS 进行调试时,调试器可以覆盖此行为,在加载 ELF 文件后,调试器可能会将程序计数器设置为应用程序入口点,从而有效地绕过引导加载程序。 顺祝商祺! Peter Re: How to Disable Mass Erase on the FRDM-A-S32K344 你好, 谢谢你的建议。 我创建了一个启动组,并添加了引导加载程序和应用程序 ELF 调试配置。但是,当我启动调试会话时,似乎只有应用程序代码在运行,而引导加载程序的执行被绕过了。我的要求是,RESET后先执行引导加载程序,然后只有在按下 SW2 时才跳转到应用程序。 请问是否需要进行任何额外的启动组设置或调试器配置,以确保引导加载程序在应用程序运行之前运行? 我正在使用FRDM-A-S32K344上的板载调试器。 Re: How to Disable Mass Erase on the FRDM-A-S32K344 你好, 在调试配置中,您可以创建一个启动组,然后简单地添加所有要加载的 ELF 文件。这样就可以加载多个图像(例如)一次性完成引导加载程序 + 应用程序。 顺祝商祺! Peter Re: How to Disable Mass Erase on the FRDM-A-S32K344 Hello 能否解释一下如何配置 S32DS,以便加载两个 ELF 文件,但将程序计数器 (PC) 设置为 0x00400000 处的引导加载程序 Reset_Handler,而不是应用程序入口点? Re: How to Disable Mass Erase on the FRDM-A-S32K344 你好, 请您在调试会话期间,通过内存浏览器检查一下,从0x00400000 开始的内存空间是否为空(已被 PE Micro 擦除),还是只存在重写的入口点? 多个 .elf文件通常与多核MCU一起使用。单核处理器可能会有点棘手。一种可行的方法是创建两个调试会话——第一个会话使用引导加载程序.elf文件。文件和第二个应用程序,但您需要定义要保留哪些内存空间。PE Micro始终执行批量擦除,保留内存只是从保留内存空间读取数据,执行批量擦除,写回保留的数据,然后从第二个.elf文件中写入数据。文件。 另一种方法是使用 s-record 工具( https://srecord.sourceforge.net/),来自 .elf使用此工具创建 s 记录并合并两个 s 记录,然后使用合并后的 .srec 文件。而不是 .elf。你仍然可以使用 .elf 文件。用于调试和符号的文件。
View full article
LA1224 support for codewarrior download link isnt working I am installing codewarrior for networked devices version and I want to add support for LA1224. In this discussion https://community.nxp.com/t5/Layerscape/CodeWarrior-for-LA1224/m-p/2107181  you mention this link https://support.nxp.com/s/case/500Tg00000KW12ZIAT/community-codewarrior-for-la1224?language=en_US  but the link is not working. I have CodeWarrior Development Studio for QorIQ LS series - ARM V8 ISA Version: 11.5.0 Build Id: 200629GA Please provide a working link Thanks Re: LA1224 support for codewarrior download link isnt working Hello, Your installed CodeWarrior 11.5.0 / b200629GA is the correct base version for LA1224 support. LA1224 device listing in QCVS/project creation depends on additional config/update content, specifically the Config Tools for i.MX v16 package referenced by NXP support. The support-case download URL currently resolves to a sign-in/cookie wall, so it is not practically working as-is. Your CW 11.5.0 install is the right LA1224 base, but adding LA1224 processor support depends on extra update/config packages—especially Config Tools for i.MX v16—and the referenced support link is currently inaccessible due to the NXP sign-in/cookie gate.   Regards Re: LA1224 support for codewarrior download link isnt working No, This is going to be your firewall: https://www.nxp.com/design/design-center/software/development-software/codewarrior-development-tools/downloads:CW_DOWNLOADS Regards Re: LA1224 support for codewarrior download link isnt working Thank you for the response. The issue is not related to our firewall — the error page is generated by NXP’s own server, as shown by other users in this thread. This confirms the package is restricted and not publicly downloadable. Could you please provide us with direct access to the correct CodeWarrior support files (e.g., via SharePoint, as you have done for others)? We cannot proceed with LA1224 development until we receive the proper package
View full article
nvmの使い方 こんにちは、 私は現在、s32k324ボードを使用しています。ボード上にキーを作成してログを保存したいのですが、nvm領域を使用したいです。RAM領域ではうまく機能しますが、NVM領域はどのように使用すればよいのでしょうか? Re: How to use nvm こんにちは、 @bohee2さん データ保存にはEmulated EEPROM(FEE)を使うことができます。S32K3 EEPROMエミュレーションのThreadで、同僚が関連する例やドキュメントの入手先をすでに教えてくれています。 BR、VaneB
View full article
SL3S1013FTB0 RFID应答器原理图检查 这是我们正在使用的RFID应答器电路,请您检查一下原理图连接是否正确。 该电路既适用于自供电配置,也适用于外部(3.6V)供电配置。 自供电配置 - R37 = DNP 并将 0 欧姆连接到 R35。 外部(3.6V)电源配置 – R35 = DNP 并将 0 欧姆连接到 R37。 请告诉我我的配置是否正确。 Re: SL3S1013FTB0 RFID transponder schematic check 你好@pragashsangaran , 希望你一切都好。 对于 UCODE G2iM,OUT 引脚是一个数字输出,可用于防拆回路、小型外部电路或作为指示器;这些配置需要外部提供 VDD 引脚。 如果 R35 被填充,它将引入一个电连接,从而激活“防篡改指示器”位,如标签防篡改报警功能所述(请参阅UCODE G2i 的 AN10940 常见问题解答,第 16 章)。这是您申请该申请的预期用途吗? 外部供电时,需要进行以下配置: 问候, 爱德华多。
View full article