Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
S32K314 FreeRTOS Standby Transition and Return to Run Mode I am developing a project that combines interrupts and tasks using the S32K314, RDT 7.0.0, and FreeRTOS 7.0.0. The interrupts and tasks are functioning properly. I have implemented code that transitions from Run mode to Standby mode and returns to Run mode after a specified time has elapsed as measured by the RTC. I have confirmed that the system transitions from Run mode to Standby mode, and that a reset occurs afterward, causing the MCU bootloader to run again.  However, an error occurs during the process of distributing the clock to the MCU peripherals after the MCU initialization begins and the PLL locks. Since it works during P.O.R., I believe there is some error in the process that transitions the system to Standby mode. Could you please help me? Re: S32K314 FreeRTOS Standby Transition and Return to Run Mode Additional Information: This project defines Standby RAM. The RAM is allocated as a 32-kilobyte region starting from the beginning of the BSS. This region stores the necessary data after resuming from Standby. /*--- Transition to Standby Mode ---*/ /* Set the timeout for the RTC timer to wake up WKPU0 */ Gpt_StartTimer(GptConf_GptChannelConfiguration_GptChannelConfiguration_RTC, RTC_BASE_CLOCK_HZ * seconds); /* Suspend all OS tasks */ vTaskSuspendAll(); /* Initialize the clock mode to Standby */ Mcu_InitClock(McuClockSettingConfig_Standby); /* Set the clock mode */ Mcu_SetMode(McuModeSettingConf_Standby); ..... (Reset Occur) /*--- MCU Initialization ---*/ /* Set the Standby RAM area to non-cacheable */ MpuConfigurator_AllocateStandbyRamToNonCacheable(); /* Enable non-cacheable mode */ MpuConfigurator_Enable(); /* Initialize the MCU module */ Mcu_Init(NULL_PTR); /* Initialize clock settings in Run mode */ if (E_OK == Mcu_InitClock(McuClockSettingConfig_Run)) { /* Wait for PLL lock via polling */ while (MCU_PLL_LOCKED != Mcu_GetPllStatus()) { /* Wait until the PLL locks */ } /* Distribute the PLL clock to the system */ Mcu_DistributePllClock();  ← An error occurs here Re: S32K314 FreeRTOS Standby Transition and Return to Run Mode Hi @Teruhiko, Could you find more information about the error? What type of fault exception is it? https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-HARDFAULT-Handling-Interrupt-DS3-5-RTD300/ta-p/1806259 https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570 https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447 You could also step through the code to identify the exact location where the exception is triggered. Check the DCM_GPR registers for any error. RM, Table 231. DCM controlled features and availability in product family. It could be because of incorrect SRAM initialization after the reset. There is ERM that monitors that, but the clock of the module is gated of by default. Thank you, BR, Daniel Re: S32K314 FreeRTOS Standby Transition and Return to Run Mode Hi danielmartynek-san, I apologize for the delayed response. Since communication with J-TAG is lost when the system transitions to Standby mode, I have not yet been able to obtain the detailed error information. I am currently writing debugging code. I would like to share what we currently know. I have investigated the reset causes under the following conditions: ・ Automatic reset recovery after an RTC timeout following a transition to Standby mode  → Reset cause: MCU_WAKEUP_REASON ・ Reset recovery when waking up via a WKPU interrupt while in Standby mode after entering Standby  → Reset cause: MCU_WAKEUP_REASON ・ Reset recovery when waking up via a WKPU interrupt after the RTC times out following a transition to Standby mode  → Reset cause: MCU_POWER_ON_RESET I believe the reset factor is correct. I suspect that the differences in the boot sequence for each reset factor are related. Once I have more details about the error, I will respond separately. Re: S32K314 FreeRTOS Standby Transition and Return to Run Mode Hello @Teruhiko, After the MCU exits Standby mode, it should be possible to attach the debugger. For easier debugging, consider adding an infinite loop at the start of the application so you can connect the debugger and step through the execution from there. volatile int var = 1; while(var){} If MCU_POWER_ON_RESET is observed instead of MCU_WAKEUP_REASON, please check the following registers: DCMROPP1–4. Thank you, BR, Daniel Re: S32K314 FreeRTOS Standby Transition and Return to Run Mode Hello @Teruhiko, The clocks looks good. One question: when you run the MCU standalone after a POR (without the debugger), does the application work? The reason I’m asking is that when the application is started via the debugger, the debugger performs part of the system initialization. In standalone operation, the application must handle this initialization itself. After exiting standby, the MCU goes through a reset and the debugger is disconnected, so the behavior is effectively the same as a standalone startup. Re: S32K314 FreeRTOS Standby Transition and Return to Run Mode Hi Daniel-san, I apologize for the delayed response. I had some questions regarding our circuit design, so I was investigating how it related to this issue. As a result, I discovered that there was a problem with the port assignments in the circuit. When a reset occurred upon waking from standby, the supply voltage applied to the MCU became unstable. I greatly appreciate all the support you’ve provided so far. Thank you very much. Re: S32K314 FreeRTOS Standby Transition and Return to Run Mode Hello @Teruhiko, What is the Mcu_InitClock(Standby) configuration? It still should be one of the Clock options e.g. Table 157. Option A - High Performance mode (CORE_CLK @ 160 MHz). What exactly do you mean when you say it behaves erratically or is unstable? Re: S32K314 FreeRTOS Standby Transition and Return to Run Mode Hi daniel-san Thank you for your advice. I was able to reattach after resetting. When I step through the code, the MCU peripheral initialization succeeds, but the program behaves erratically when I call “xSemaphoreCreateRecursiveMutex()” during the process of starting the OS task. Furthermore, when stepping through this function, the behavior becomes unstable at the following section of the function `void * pvPortMalloc( size_t xWantedSize )` in `heap_4.c`. It appears that heap allocation is failing. Are there any steps I should take before transitioning to Standby mode? Re: S32K314 FreeRTOS Standby Transition and Return to Run Mode Hi Daniel-san, The settings for “Run” and “Standby” modes in this project are shown below. I believe the settings in Table 157 that you provided have been applied to Run mode. I also believe the clock values in Table 160 have been applied to Standby mode. I am setting a clock to these blocks so that the RTC can measure time and the WKPU can trigger a reboot. As I step through the code, the current information is displayed on the IDE console screen. When you execute the aforementioned “heapVALIDATE_BLOCK_POINTER()”, the console screen begins to scroll, and step execution becomes impossible .   Re: S32K314 FreeRTOS Standby Transition and Return to Run Mode Here’s how to transition to Standby mode. ・In the MCAL MCU module settings, “STANDBY” has already been selected as the Operation Mode for Standby mode. ・In the Clocks tool of Design Studio, I have already created separate Functional Groups for “Run” and “Standby.” 1. In normal operating mode, call the functions in the order “Mcu_InitClock(Run)” and “Mcu_SetMode(Run)” to operate in Run mode. ... 2. To transition to Standby mode, call “Gpt_StartTimer(GptConf_GptChannelConfiguration_GptChannelConfiguration_RTC, RTC_BASE_CLOCK_HZ * seconds)” to start the timer, which will automatically wake the system up in Run mode after a specified time via the RTC. 3. Call “vTaskSuspendAll()” to suspend all running OS tasks. 4. Call “Mcu_InitClock(Standby)” followed by “Mcu_SetMode(Standby)” to transition to Standby mode. The reason for calling vTaskSuspendAll() is based on the information in the link below. https://community.nxp.com/t5/S32K/S32K312-Does-FreeRTOS-need-to-be-shut-down-before-entering/m-p/1756857
View full article
i.MX95 RMII (ETH1_RMII_REF50_CLK) Hi All, Trying to connect an RGMII PHY and an RMII only PHY to the imx95. Based on the follwing statement from the reference manual we have tried to connect the ETH1_RMII_REF50_CLK to ENET2_TD2: p206 i.MX 95 Applications Processor Reference Manual, Rev. 5, 2026-03-30 "ENET_REF_CLK_ROOT must be configured with CLOCK_ROOT61_CONTROL to 250 MHz for RMII and RGMII modes. For RMII mode, ENET_REF_CLK_ROOT is internally divided by 5 to generate the RMII_REF50_CLK" But we're only seeing 250mhz on that pin. Using: /* ---------- NETC fabric: port 1 RGMII → RMII ------------------------- */ &netc_prb_ierb { netc-interfaces = ; /* port 1: LAN8720AI */ netc-rmii-clk-dir = ; /* port 1: MAC drives 50MHz */ assigned-clock-rates = <666666666>, <250000000>; /* ENETREF = 250 MHz for RGMII; RMII gets 50 MHz via TD2 hw /5 divider */ }; /* ---------- Pinctrl: ENET2 pads → RMII functions ---------------------- */ &pinctrl_enetc1 { fsl,pins = < /* Reset GPIO — drives LAN8720AI nRST (active-low) */ IMX95_PAD_ENET2_MDC__GPIO4_IO_BIT14 0x3fe /* RMII TX */ IMX95_PAD_ENET2_TD0__NETCMIX_TOP_ETH1_RMII_TXD0 0x57e IMX95_PAD_ENET2_TD1__NETCMIX_TOP_ETH1_RMII_TXD1 0x57e IMX95_PAD_ENET2_TX_CTL__NETCMIX_TOP_ETH1_RMII_TX_EN 0x57e /* RMII RX */ IMX95_PAD_ENET2_RD0__NETCMIX_TOP_ETH1_RMII_RXD0 0x57e IMX95_PAD_ENET2_RD1__NETCMIX_TOP_ETH1_RMII_RXD1 0x57e IMX95_PAD_ENET2_RX_CTL__NETCMIX_TOP_ETH1_RMII_CRS_DV 0x57e /* RMII 50 MHz ref clock: hw /5 divider outputs on TD2 to PHY CLKIN */ IMX95_PAD_ENET2_TD2__NETCMIX_TOP_ETH1_RMII_REF50_CLK 0x4000057e /* RMII RX error */ IMX95_PAD_ENET2_RXC__NETCMIX_TOP_ETH1_RMII_RX_ER 0x57e >; }; /* ---------- MDIO bus: disable broadcast on SoM PHY, add LAN8720 ------ */ &ethphy0 { realtek,broadcast-disable; }; &netc_emdio { ethphy_lan: ethernet-phy@0 { compatible = "ethernet-phy-id0007.c0f0"; reg = <0>; max-speed = <100>; reset-gpios = <&gpio3 14 GPIO_ACTIVE_LOW>; reset-assert-us = <10000>; reset-deassert-us = <80000>; smsc,disable-energy-detect; }; }; /* ---------- ENETC port 1: RMII + LAN8720 via MDIO -------------------- */ &enetc_port1 { phy-mode = "rmii"; phy-handle = <&ethphy_lan>; }; Re: i.MX95 RMII (ETH1_RMII_REF50_CLK) Hi @ArcherLang  You can refer the below dts file at the link below: https://github.com/nxp-imx/linux-imx/blob/lf-6.18.y/scripts/dtc/include-prefixes/arm64/freescale/imx95-19x19-evk-tja1104-rmii.dts I have tested the CLK of my IMX95 EVK board, the clk is 50Mhz. B.R Re: i.MX95 RMII (ETH1_RMII_REF50_CLK) Also, we can get RMII working by setting the assigned clockrate to 50,000 - but that breaks rgmii on the other phy. Re: i.MX95 RMII (ETH1_RMII_REF50_CLK) Thanks @pengyong_zhang ! Didn't find the dts on that branch, but I did track it down here: https://github.com/nxp-imx/linux-imx/blob/lf-6.12.y/arch/arm64/boot/dts/freescale/imx95-19x19-evk-tja1104-rmii.dts Looks like we were working with an old kernel (6.6.xx) that doesn't have NETC_BLK_CTL.  Will update to 6.12xx and test. Re: i.MX95 RMII (ETH1_RMII_REF50_CLK) Hi we've compiled the new bsp and kernel to test the patch, still getting the same result. See decompiled dtb attached. dtb is applied as we ARE seeing a clock on TD2, it's just the wrong frequency as tested with oscilliscope. Does IMX95 support 1xRGMII + 1x RMII?
View full article
I.MX93,A55 boot failure when M33 is initialized from U-boot Hello NXP Engineers, We are attempting to initialize the M33 core from U-Boot on the i.MX93 EVK board, but we are encountering some issues during the process. Below are the steps we followed for M33 initialization. As you can see, the auxiliary core is up and running, and we are able to observe the demo code being executed through the M33 debug port: u-boot=> fatload mmc 0:1 0x98000000 sdk20-app.bin 13680 bytes read in 4 ms (3.3 MiB/s) u-boot=> cp.b 0x98000000 0x201e0000 0x10000 u-boot=> bootaux 0x1ffe0000 0 ## Starting auxiliary core addr = 0x1FFE0000... However, when we attempt to boot the A55 using the "boot" command, we encounter the following failure conditions: [ 1.874795] remoteproc remoteproc0: imx-rproc is available [ 1.880384] remoteproc remoteproc0: attaching to imx-rproc [ 1.885904] Unable to handle kernel paging request at virtual address ffff8000433d3e00 [ 1.893806] Mem abort info: [ 1.896591] ESR = 0x0000000096000005 [ 1.900331] EC = 0x25: DABT (current EL), IL = 32 bits [ 1.905635] SET = 0, FnV = 0 [ 1.908681] EA = 0, S1PTW = 0 [ 1.911814] FSC = 0x05: level 1 translation fault [ 1.916684] Data abort info: [ 1.919553] ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000 [ 1.925030] CM = 0, WnR = 0, TnD = 0, TagAccess = 0 [ 1.930079] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0 [ 1.935379] swapper pgtable: 4k pages, 48-bit VAs, pgdp=0000000082031000 [ 1.942069] [ffff8000433d3e00] pgd=10000000fffff003, p4d=10000000fffff003, pud=0000000000000000 [ 1.950763] Internal error: Oops: 0000000096000005 [#1] PREEMPT SMP [ 1.957016] Modules linked in: [ 1.960060] CPU: 0 PID: 26 Comm: kworker/u4:1 Not tainted 6.6.23-lts-next-g812033a2bd7c #1 [ 1.968308] Hardware name: NXP i.MX93 11X11 EVK board (DT) [ 1.973779] Workqueue: events_unbound deferred_probe_work_func [ 1.979610] pstate: 00400009 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--) [ 1.986560] pc : rproc_handle_resources.constprop.0+0x64/0x18c [ 1.992384] lr : rproc_boot+0x37c/0x57c [ 1.996206] sp : ffff80008245b9f0 [ 1.999508] x29: ffff80008245b9f0 x28: ffff800081b3e510 x27: ffff00007fbcfb98 [ 2.006632] x26: 0000000000000007 x25: ffff800083610000 x24: ffff8000433d3e00 [ 2.013756] x23: 0000000000000000 x22: ffff000004caa038 x21: ffff800082163798 [ 2.020880] x20: 0000000000000000 x19: ffff000004caa000 x18: 0000000000000006 [ 2.028004] x17: ffff800082109330 x16: 000000009fc9d337 x15: c0ffee00c0ffee00 [ 2.035128] x14: c0ffee00c0ffee00 x13: c0ffee00c0ffee00 x12: c0ffee00c0ffee00 [ 2.042252] x11: c0ffee00c0ffee00 x10: c0ffee00c0ffee00 x9 : c0ffee00c0ffee00 [ 2.049376] x8 : c0ffee00c0ffee00 x7 : c0ffee00c0ffee00 x6 : c0ffee00c0ffee00 [ 2.056500] x5 : ffff0000043ce400 x4 : ffff8000823d5000 x3 : 000000003f0015fc [ 2.063624] x2 : 00000000c0ffee00 x1 : ffff8000433d3e04 x0 : ffff8000823d5000 [ 2.070748] Call trace: [ 2.073185] rproc_handle_resources.constprop.0+0x64/0x18c [ 2.078661] rproc_boot+0x37c/0x57c [ 2.082136] rproc_add+0x144/0x17c [ 2.085525] imx_rproc_probe+0x4d0/0x5e0 [ 2.089433] platform_probe+0x68/0xc8 [ 2.093091] really_probe+0x148/0x2b0 [ 2.096739] __driver_probe_device+0x78/0x12c [ 2.101081] driver_probe_device+0x3c/0x15c [ 2.105250] __device_attach_driver+0xb8/0x134 [ 2.109679] bus_for_each_drv+0x88/0xe8 [ 2.113501] __device_attach+0xa0/0x190 [ 2.117323] device_initial_probe+0x14/0x20 [ 2.121491] bus_probe_device+0xac/0xb0 [ 2.125313] deferred_probe_work_func+0x80/0xb8 [ 2.129829] process_one_work+0x138/0x248 [ 2.133833] worker_thread+0x320/0x438 [ 2.137568] kthread+0x110/0x114 [ 2.140783] ret_from_fork+0x10/0x20 [ 2.144357] Code: 6b020063 8b22c098 91001301 540007c4 (b862c880) [ 2.150431] ---[ end trace 0000000000000000 ]--- We suspect that this is a memory address issue, so we tried reserving the M33 address in the Device Tree Source (DTS) as shown below: reserved-memory { #address-cells = <2>; #size-cells = <2>; ranges; linux,cma { compatible = "shared-dma-pool"; reusable; alloc-ranges = <0 0x80000000 0 0x40000000>; size = <0 0x10000000>; linux,cma-default; }; ethosu_mem: ethosu_region@C0000000 { compatible = "shared-dma-pool"; reusable; reg = <0x0 0xC0000000 0x0 0x10000000>; }; vdev0vring0: vdev0vring0@a4000000 { reg = <0 0xa4000000 0 0x8000>; no-map; }; vdev0vring1: vdev0vring1@a4008000 { reg = <0 0xa4008000 0 0x8000>; no-map; }; vdev1vring0: vdev1vring0@a4010000 { reg = <0 0xa4010000 0 0x8000>; no-map; }; vdev1vring1: vdev1vring1@a4018000 { reg = <0 0xa4018000 0 0x8000>; no-map; }; rsc_table: rsc-table@2021e000 { reg = <0 0x2021e000 0 0x1000>; no-map; }; vdevbuffer: vdevbuffer@a4020000 { compatible = "shared-dma-pool"; reg = <0 0xa4020000 0 0x100000>; no-map; }; ele_reserved: ele-reserved@a4120000 { compatible = "shared-dma-pool"; reg = <0 0xa4120000 0 0x100000>; no-map; }; cm33_reserved: cm33_reserved@1ffe0000 { compatible = "shared-dma-pool"; reg = <0 0x1ffe0000 0 0x10000>; no-map; }; }; Despite these changes, the issue persists. We would greatly appreciate any suggestions or solutions from NXP regarding this problem. Thank you in advance. Best regards, Vinisha. Re: I.MX93,A55 boot failure when M33 is initialized from U-boot @vinisha can you please attach your full dts so that we may check ? Re: I.MX93,A55 boot failure when M33 is initialized from U-boot Hi @vinisha, Have you found a solution for this issues? Thanks!
View full article
CAAM 演出 你好 我有一个项目示例(源于 SDK 25.06.00 CAAM 示例),附在后面,我想测量仅计算 CRC 的 CAAM 性能。事实上,当我运行这个示例时,我立刻感觉它太慢了。为此,我使用了DWT->CYCCNT 寄存器。 我还将其与软件实施进行了比较。 我在 RT1170-EVKB 上运行它,得到的结果是这样的:   如果说第一项计算对于 CAAM 这样的加速器来说已经显得太慢(甚至比软件实现还要慢),那么第二项计算就太疯狂了。 有什么问题?也许是 SDK 中的一个错误? 顺祝商祺! 最大值 Re: CAAM performaces 你好@Kan_Li 感谢您的回复。 不幸的是,你的回答恰恰证实了我的担忧:在回复之前,所附项目显然根本没有打开过。 我这样说的原因很简单,也很客观: 该项目已经使用了 CAAM_CRC()。这不是我忽视的理论可能性,也不是我忘记尝试的替代途径。在随附的示例中,它@@ 已经存在了,而这正是我的测量中表现最差的路径。 因此,我想再次澄清,我并没有发布关于如何使用驱动程序的通用问题。我花时间准备并附上了一个源自SDK示例的完整项目,特别是为了让恩智浦的支持人员可以直接构建、运行和验证行为。 我比较了相同 CRC 的计算结果: 软件中 与 CAAM 结果与我报告的问题如出一辙:对于硬件加速器来说,测得的性能出乎意料地差,在其中一个测试案例中,性能比软件实现要差得多。 这就是问题所在。 而不是 "也许可以试试 CAAM_CRC()"。 这已经完成了。 当客户附加一个可随时运行的项目时,通常不会浪费论坛存储空间、网络带宽或任何人的时间。这是因为客户希望支持人员能亲手重现问题,尤其是在项目已经为此最小化的情况下。 也许是我太相信附带的复制项目会在回答之前得到真正的审查。如果是这样,那就是我的责任了。 但如果这就是对附带完整复制器的技术帖子的关注程度,那么坦率地说,许多用户抱怨他们得到的支持质量不高也就不足为奇了。 因此,让我以一种现在不可能被误解的方式来重述这个问题: 所附项目已经使用了 CAAM_CRC()。 我使用 DWT->CYCCNT 测量了周期计数。 我比较了同一目标上的软件 CRC 和 CAAM CRC。 CAAM 的性能比预期的要差,有一次甚至比软件差了一大截。 鉴于这些事实,恩智浦能否采取以下措施之一: 使用所附项目重现结果、 解释管理费用的来源、 说明这是否是 SDK/驱动程序的问题、 或明确说明这些性能指标是预期的。 如果能提供具体的技术分析,我们将非常感激,而不是那些与所附例子本身已经相矛盾的建议。 致以最诚挚的问候, Max Re: CAAM performaces 你好@mastupristi、 SDK 示例使用了单独的 CRC 初始、更新和结束函数。驱动程序确实有一个一次性使用的 CAAM_CRC()函数,可以用来替代它,速度应该会更快。请尝试使用 CAAM_CRC(),并检查是否有任何不同。 祝您愉快, Kan ------------------------------------------------------------------------------- 注: - 如果本帖回答了您的问题,请点击"标记正确" 按钮。谢谢! - 我们会在最后一次发帖后的 7 周内跟踪主题,之后的回复将被忽略 如果您以后有相关问题,请打开一个新主题并参考已关闭的主题。 ------------------------------------------------------------------------------- Re: CAAM performaces 你好@mastupristi、 对不起,是我不好!我正在查看您与我们分享的另一个 CRCendianess 项目。你们的项目在我的项目视图中靠得太近了,而且它们的 main() 几乎是一样的,......。很抱歉我忽略了这一点!   我刚刚使用不同的 CRC 输入数据长度对您的项目进行了测试,当要 CRC 的数据足够长时,例如您在测试中使用的数据长度的两倍,基于 CRC 初始、更新和结束的硬件计算比软件实现要好,但 CAAM_CRC() 在测试中总是最差的情况。 感谢您的耐心等待! 祝您愉快, Kan ------------------------------------------------------------------------------- 注: - 如果本帖回答了您的问题,请点击"标记正确" 按钮。谢谢! - 我们会在最后一次发帖后的 7 周内跟踪主题,之后的回复将被忽略 如果您以后有相关问题,请打开一个新主题并参考已关闭的主题。 ------------------------------------------------------------------------------- Re: CAAM performaces 你好@mastupristi、 看来我的主板出了点问题,我刚刚使用另一个 RT1170EVKB 主板得出了以下结果。 你还有其他板可以再试一次吗? 祝您愉快, Kan ------------------------------------------------------------------------------- 注: - 如果本帖回答了您的问题,请点击"标记正确" 按钮。谢谢! - 我们会在最后一次发帖后的 7 周内跟踪主题,之后的回复将被忽略 如果您以后有相关问题,请打开一个新主题并参考已关闭的主题。 ------------------------------------------------------------------------------- Re: CAAM performaces 你好@Kan_Li 令我担忧的是,在3个板和总共4次测试中,我们看到的行为截然不同,数字也截然不同。 让我们牢记一点:CAAM 是 MCU 的内部外设,它与 MCU 内部的 RAM 相互影响。实际上,板上的哪些外部元器件会以如此显著且不一致的方式影响 CAAM? 在这一阶段,似乎有理由考虑关键问题实际上是否可能在 MCU 方面。 这是我的 EVK 上的照片 另外,能否请您说明一下,您是在什么确切条件下从 3 次测试中得出这些数字的?特别是 使用了哪个板, 安装了哪个 MCU、 以及在设置或条件方面是否存在其他相关差异。 最重要的是,你如何解释我和你的数字之间的差异? 目前我没有其他板可供进一步测试。 此致问候 最大值   Re: CAAM performaces 你好@mastupristi, 我这边的设备是 MIMXRT1176DVMAA/0P94B/CTAS2152A,和你的设备一样,在我的测试中,为了避免任何程序在调试你的代码之前在闪存启动,我将启动模式设置为串行下载模式并在SRAM中运行你的代码。你也这样做了吗?有可能从你这边跨板分享你的结果吗? 顺祝商祺! 坎 Re: CAAM performaces 你好@Kan_Li 我尝试了 "将应用程序链接到 RAM"(项目附后) 通过这种设置,我得到了以下结果: 如您所见,情况有了明显改善,但真正令人惊讶的是,使用 CAAM 进行首次 CRC 计算所需的时间与 SW 版本相同。 使用 CAAM(CAAM_CRC())进行最新的 CRC 计算需要耗费 3.37 亿个周期(以前需要 14.22 亿个周期,因此只减少了 4 倍)。 我设法借到了另一个 EVKB,上面有这个微控制器 结果如下 因此,软件实现在这两个板上的行为完全相同。这并不奇怪,事实上,这正是我所期待的。 第一个 CAAM 所需的时间稍长,而第二个 CAAM 所需的时间要短得多(2.52 亿个周期)。 以下是摘要: SW CRC32 iSCSI SW CRC16 CCITT 硬件 (CAAM) CRC32 iSCSI(分别调用 init、update 和 finalize) 硬件 (CAAM) CRC16 CCITT(调用 CAAM_CRC() 这给我提出了很多问题 这种表现上的不一致性,尤其是第 4 号,令人十分担忧。是什么原因造成的? 与软件实现相比,这种加速器似乎根本没有加快速度。真的是这样吗,还是我遗漏了什么? 此致问候 最大值 Re: CAAM performaces 你好@mastupristi、 我仍在对 4 号检测结果进行内部核查,有更多信息时会通知你们。 对于其他测试,您是否按 SW/HW 计算了更多数据? 在核心上运行的 SW 确实能从缓存中获得一些好处,但当你放入更多数据时,你就会发现其中的差别。 顺祝商祺! 坎 Re: CAAM performaces 你好@mastupristi、 内部之后。经过讨论,我们发现问题是由 DCACHE 失效引起的: DCACHE invalidate 函数会降低函数的性能,因为项目使用了写入缓存 ("CACHE_MODE_WRITE_THROUGH=1") 配置,这也启用了宏 ("CAAM_OUT_INVALIDATE") 。这是在 SDK 示例中实现的,以避免数据一致性问题,主要是在中间件中。由于出现 ERR050396(如下),TCM 无法用于写入。 以下是该功能的测量结果: 在本例中,"输出" 位于非缓存区域,因此无需在该特定函数中进行无效处理。 /*!@brief CRC 的输出缓冲区。*/ uint8_t AT_NONCACHEABLE_SECTION(crc_output[4U]); 因此,当 DCACHE 失效被取消时: 最高优化 -O3 已启用: 考虑到数据访问的限制以及 CAAM 配置结构的处理,在这种情况下,从 ITCM 执行的优化 SW 实现(数据在 DTCM 中,频率为 @800 MHz)可能比 CAAM 更快。我认为,这取决于有效载荷的大小以及 SW 计算是否经常中断的整体应用概念。 顺祝商祺! 坎
View full article
LS1043 DDR DQS vs DQ Calibration Hi, I am running QCVS DDR 1D margin test on my board, and I am confused about how this test runs internally. My questions are: Q1: The 1D margin test sweeps the strobe signal in the data eye for each byte lane. How is it achieved? I don't see any configuration register for adjusting the data eye timing for each byte lane. Is this configuration register reserved and not shown to users? Q2: Will centering the data eye for each byte lane be automatically done in the DDR initialization flow without any customer register configuration ? Re: LS1043 DDR DQS vs DQ Calibration Dear @lingjun , Regarding your questions: Q1. The tool “sweeps the strobe signal in the data eye for each byte lane, using small timing steps”, this sweep happens after the controller has already initialized using its normal internal calibration sequence. NXP does not expose these  DQS delay registers in the memory map, they are internal PHY registers accessed by the controller firmware used during training and by the QCVS validation tool.   Q2. Yes, the DDR controller performs automatic read/write leveling and strobe centering. The QCVS margin test uses this calibrated specific value timing as the reference point.   Best regards LFGP Re: LS1043 DDR DQS vs DQ Calibration Dear LFGP:  thanks your reply, It really helpful to me. But in margin test in my board occur another wired question.  From  QCVS FAQ Guide.pdf the  bright green cells means which the controller  automatic choose strobe center point. My test result show below, the Lane 0~2  have the bright green cells,but Lane 3 don't have bright green cell. Q1: Does the controller choose strobe point fall into the failing regions cell and so no bright green shown in Lane3? Q2: can your give some suggestion how to deal with the Lane3 issue?  thanks very much.
View full article
[S32K566] MRAM OTP write Hi,  Autoever asked a question regarding the OTP write. When an OTP write operation is on execution, OTP read, MRAM read/write are not allowed. In the S32K3 RTD, there is an option of "Mem Load Access Code On Jab Start" in the S32K3_infls.jpg attached, but I couldn't find this option in the current S32K5 RTD. Do we have a plan to add this option into S32K5 RTD? In the current version, how should I implement the OPT write routine? Thanks. Jose Luis. RTD Re: [S32K566] MRAM OTP write Hi @nxf59838 , SW team follows RM to implement code, as you can see: For tasks: read MRAM - write MRAM, OTP read - MRAM write they can be executed at same time with different partitions, but this not allowed for OTP write. I think you can put this question to HW team. Best regards, Nhi Re: [S32K566] MRAM OTP write Hello Nhi, The question was related to the following: In the S32K3 RTD, there is an option of "Mem Load Access Code On Jab Start" in the S32K3_infls.jpg attached, but I couldn't find this option in the current S32K5 RTD. Do we have a plan to add this option into S32K5 RTD? In the current version, how should I implement the OPT write routine? also, another question is  - In the Mem_43_MRAM_MemMap.h file, the section MEM_43_MRAM_START_SEC_RAMCODE can be found, but it does not seem to be currently used. - Is there any plan to implement functionality using MEM_43_MRAM_START_SEC_RAMCODE? Thanks. Jose Luis. Re: [S32K566] MRAM OTP write Hi Nhi, I will sent your answer. Thanks. Jose Luis. Re: [S32K566] MRAM OTP write Hi @nxf59838 , In S32K3, the feature Mem Load Access Code On Jab Start  to load access code that was stored same block with block want to write to SRAM, and this was done before starting write task to avoid read while write. If this feature isn't supported, for some cases that allow to read while write with different partitions, you can write to other partitions(except partition store access code) to solve the problem. But K5 doesn't allow to read, write MRAM or read OTP during write OTP so this can't solve the problem.  In current driver of K5, I just saw the example with DSP core loaded to MRAM. You can refer to the example of Platform. If you load access code to OTP space, then write to OTP, the issue can happen. For this, you just can load access code to SRAM to solve the problem. Other examples (M7, M4, R52 core), access code stored in SRAM, so it can't cause the issue read while write when you execute OTP write. As far as I know, SW team has no plan to implement this feature yet.  For the question about Mem_43_MRAM_MemMap.h, the section MEM_43_MRAM_START_SEC_RAMCODE  is in SRAM. As far as I know, we don't have the plan to use this section yet. Best regards, Nhi
View full article
在 FRDM-MCXW71 EVK 上运行 BLE 示例时出现断言错误 你好,团队、 我目前正在使用 FRDM-MCXW71 EVK,用 Visual Studio Code 编写一个 BLE 应用程序。 由 mcxw71evk_cmsis_button_toggle_led 的示例成功版本、闪烁和运行。 但是,当我编译并刷新 mcxw71evk_adv_ext_peripheral_freertos 示例时,编译和调试过程成功完成,但是当我运行应用程序时,会出现断言错误。 能否请您帮我了解一下是什么原因导致了这个问题?如果 BLE 示例需要任何其他配置,请告诉我。 感谢您的支持。 致以最崇高的敬意, Ramdev #MCXW71 #BLE 模拟(ADC|CMP|DAC|OPAMPS) 开发板 Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 你好,克莉丝汀、 感谢您的反馈, 我使用的是 MCUXpresso SDK 版本 25.12.0。该项目成功构建,调试会话启动时没有任何问题。但是,一旦调试完成,我点击运行选项,应用程序就会立即出现断言错误。 我附上了终端日志供你参考。 能否请您查看一下日志,并就该问题的可能原因提供建议? 感谢您的支持。 致以最崇高的敬意, Ramdev Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 嗨,@Ramdev 感谢您为我们创建案例。 请告诉我您的 SDK 版本和重现该问题的详细步骤。 如果可能,也请帮助提供相关截图和日志。 我倾向于在本地检查是否能重现这个问题。 顺祝商祺! Christine。 Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 您好,恩智浦团队, 我想跟进我之前的询问。请您在方便时提供最新信息。 如果需要我提供任何补充信息,请告诉我。 谨致 Ramdev Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 您好,恩智浦团队, 。请您在方便时提供最新信息。 如果需要我提供任何补充信息,请告诉我。 谨致 Ramdev Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 你好,@Ramdev 请尝试以下方法: 1. 修改 frdm_mcxw71\ mcuxsdk\ 中间件\ 无线\ 蓝牙\ boards\ frdmcxw71\ 蓝牙\ adv_ext_preinclude.h #define gAppLowpowerEnabled_d 1 //从 0 到 1   2.使用 blhost 加载位于以下目录中的 NBU FW: mcuxsdk\ 中间件\ 无线\ ble_controller\ bin\ mcxw71_nbu_ble_hosted.sb3   如果您不知道如何使用 blhost 闪存 NBU FW bin,请参考以下链接: https://community.nxp.com/t5/MCX-W71-Training-Secure-MCUs-for/FRDM-MXCW71-Hands-On-2-Recognize-NBU-Incompatible-Versions/ta-p/1970129   我已经在本地进行了验证,现在可以正常工作了:   扩展广告应用程序 - 外围设备 按 WAKESW 查看菜单 扩展广告应用程序 - 外围设备 按 WAKESW 查看菜单 扩展广告应用程序 - 外围设备 按 WAKESW 查看菜单 扩展广告应用程序 - 外围设备 按 WAKESW 查看菜单 扩展广告应用程序 - 外围设备 2 ss WAKESW 查看菜单 扩展可扫描广告 从手柄 0 开始   请告诉我您的结果,如果对您有效,请帮助将我的答案标记为该问题的解决方案。这样我们就可以结案了。 谢谢您!   顺祝商祺! Christine。 Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 嗨,@Ramdev 对不起,我被另一项更优先的任务挡住了。 我会尽量在今天检查这个问题,并及时分享我的更新。 顺祝商祺! Christine。 Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 嗨,Christine, 感谢您提供的最新信息。期待您的回复。 谨致 Ramdev Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 你好,克里斯蒂安,我这边的 CMSIS GPIO 示例也能正常运行,问题是当我运行"mcxw71evk_adv_ext_peripheral_freertos" 这样的示例时,会出现断言错误,你能验证一下吗? Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 你好 Christine, 在 launch.jason 中我更新了 .elf文件,除此之外我没有做任何更改。 我也做了同样的事,但效果很好。 谨致 Ramdev Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 你好,@Ramdev 感谢您的耐心等待。 我在本地进行了尝试,但没有遇到您的错误。 我可以成功版本、调试和运行它。 请参阅下面的测试结果输出: ---- 打开串行端口 COM4 ---- CMSIS GPIO 示例! 使用按钮切换 LED! CMSIS GPIO 示例! 使用按钮切换 LED! CMSIS GPIO 示例! 使用按钮切换 LED! CMSIS GPIO 示例! 使用按钮切换 LED! CMSIS GPIO 示例! 使用按钮切换 LED! 按下按钮! 按下按钮! 按下按钮! 按下按钮! 按下按钮! 按下按钮! 按下按钮! 按下按钮! 你修改了什么地方吗? 我正在使用 SDK25.12.00,并使用这个工具链来构建: .mcuxpressotools/arm-gnu-toolchain-14.2.rel1-mingw-w64-x86_64-arm-none-eabi/bin/arm-none-bin/arm-none-eabi-none-none-eabi-none-     请检查您的工具链。   如果你修改了任何地方,请告诉我。   下面的附件是我的控制台日志,似乎与你的类似。   但在你的控制台日志中,我看到 : [21923] 信息:Launcher.core.短截线:[短截线 (2336)] Nc:状态-正在运行或正在执行RESET请求-重读状态失败-rc Nn (05)。DAP 访问中的导线 ACK 故障   能否请您用其他例子试一试?像 hello_world 一样?       顺祝商祺! Christine。 Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 你好,@Ramdev 你修改过什么吗?还是只使用我们的默认示例? 当然,我也可以在我这边试试这个例子:adv_ext_peripher_freertos 。 稍后,我将与大家分享我的成果。 顺祝商祺! Christine。 Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK Hi Christine , 感谢您提供的最新信息。 没问题,我理解。 谨致 Ramdev Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 嗨,@Ramdev 感谢您的回复。 我尝试了这个 BLE 示例:frdmmcxw71_adv_ext_peripheral_freertos,也遇到了和您一样的问题。 以下是错误信息: [11834] 调试:Launcher.core.短截线:短截线 (13333)-> GDB (2340):b '+' [35169] info: Launcher.core.短截线:[短截线 (2340)] Nc:状态-正在运行或正在执行RESET请求-重读状态失败-rc Nn (05)。DAP 访问中出现电线 ACK 故障 [35214] info: Launcher.core.短截线:[短截线 (2340)] Nc:状态-正在运行或正在执行RESET请求-重读状态失败-rc Nn (05)。DAP 访问中出现电线 ACK 故障 [35259] info: Launcher.core.短截线:[短截线 (2340)] Nc:状态-正在运行或正在执行RESET请求-重读状态失败-rc Nn (05)。DAP 访问中出现电线 ACK 故障 [35286] info: Launcher.core.短截线:[短截线 (2340)] Nc:状态-正在运行或正在执行RESET请求-重读状态失败-rc Nn (05)。DAP 访问中出现电线 ACK 故障 [35333] info: Launcher.core.短截线:[短截线 (2340)] Nc:状态-正在运行或正在执行RESET请求-重读状态失败-rc Nn (05)。DAP 访问中出现电线 ACK 故障 [35368] INFO:launcher.core.短截线:[短截线 (2340)] Nc:状态-正在运行或正在执行RESET请求-重读状态失败-rc Nn (05)。DAP 访问中出现电线 ACK 故障 [35401] info: launcher.core.短截线:[短截线 (2340)] Nc:状态-正在运行或正在执行RESET请求-重读状态失败-rc Nn (05)。DAP 访问中出现电线 ACK 故障 [35435] info: Launcher.core.短截线:[短截线 (2340)] Nc:状态-正在运行或正在执行RESET请求-重读状态失败-rc Nn (05)。DAP 访问中出现电线 ACK 故障 [35520] info: Launcher.core.短截线:[短截线 (2340)] Nc:状态-正在运行或正在执行RESET请求-重读状态失败-rc Nn (05)。DAP 访问中的导线 ACK 故障 让我检查一下,尽快反馈给您。 顺祝商祺! Christine。 Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 嗨克里斯汀, 很抱歉回复晚了。我遇到了另一个调试会话无法启动的问题。 在 VS Code 版 McuXpresso 中,出现以下错误: 无法启动:远程连接已关闭 (从目标选择扩展远程 172.0.0. 1:2356) 我还尝试过使用 LinkFlash (v25.12.83) 对主板进行编程,但它显示以下错误:无法连接到核心 Et: 31: 无法连接到芯 片的调试端 口 Pc: (100) 目标操作失败 在硬件方面,USB_ACT 绿色 LED 亮起,ISP_EN_MLINK 红色 LED 闪烁,USB LED 也亮起。 之前板运行良好,但现在我无法在 FRDM-MCXW71 板上调试或刷新任何示例。 由于这个问题,我无法检查您之前提到的断言错误解决方案。您能建议如何解决这个问题吗? 致敬、 拉姆德夫 Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 嗨,Christine, 感谢您提供的最新信息。我已为此问题创建了一个支持链接 链接:https://community.nxp.com/t5/Wireless-MCU/FRDM-MCXW71-debug-issue/m-p/2327185#M20304 周一有空时,能否请您看一看? 谨致 Ramdev Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 你好,@Ramdev 对于新问题,能否请您帮助创建一个新的主题? 为避免混淆,我们通常建议客户用一个案例跟踪一个问题。 下周一我会拿给你检查,现在我正在处理另一个问题。 感谢您的企业。 顺祝商祺! Christine。 Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 你好,@Ramdev 它对你有用吗? 如果在您那边可行,能否请您帮忙将我的答案标记为此例的解决方案? 这样我们就能及时结案。 如果您有任何其他问题,请随时向我们提交新案例。 顺祝商祺! Christine。 Re: Assert Error While Running BLE Example on FRDM-MCXW71 EVK 嗨,@Ramdev 感谢您创建新主题。 我看到我们的同事已经在新的主题上支持你了。 新问题解决后,请继续测试该问题,并告诉我是否还需要我们的帮助。 顺祝商祺! Christine。
View full article
S32K3 - 電源ドメインとコントローラブロックの概要 どの電源ドメイン (V11、V15、VDD_HV_A、VDD_HV_B など) がコントローラー上のどのブロックに電力を供給しているかの概要はありますか?特に、V11、V15、VDD_HV_A、VDD_HV_B については、どのペリフェラルがどの電源ドメインから供給されるかについての説明が見つかりませんでした。データシートの表 2 の絶対最大定格では、非常に大まかな説明のみが記載されています。 Re: S32K3 - Overview power domains supplies versus controller blocks 迅速なご対応ありがとうございます。 Re: S32K3 - Overview power domains supplies versus controller blocks こんにちは@DirkEtzlerさん、 S32K3—パワーマネージメントトレーニングプレゼンテーションを参照してください。 モジュールについては、S32K3XX リファレンス マニュアルの31.7 章(モジュール リセット ステータス) を参照してください。この章には、どのモジュールがどのドメイン (スタンバイまたは実行) にあるかが記載されています。 使用しているデバイスに応じて、PMC のブロック図については、第 42/43/44/45 章(電源管理) を参照してください。 最後に、Excel シートS32K3XX_IOMUX.xlsx (S32K3 リファレンス マニュアルの埋め込み添付ファイル) の「IO 信号テーブル」タブの「I/O 電源ドメイン」列で、どのパッドがレールVDD_HV_Aに関連し、どのパッドがVDD_HV_Bに関連しているかを確認できます。 よろしくお願いします、 ジュリアン
View full article
[Zephyr ® Series] Part 2: First build and running on a real device (Japanese blog) In the second installment of the Zephyr series, we will actually set up a Zephyr development environment and create an environment where we can build. Next, we will build the Zephyr application and write it to a real device to check that it works. Don't worry, setting up your development environment is incredibly easy. And finally, in the third session, we will create a program to blink an LED and experience Zephyr-style coding. So let's get started. table of contents Preparing your Zephyr development environment Installation Instructions Step 1: Install VS Code and the extension Step 2: Setting up your Zephyr development environment Step 3: Import the Zephyr repository Step 4: Import the Zephyr sample application Building HelloWorld Debugging and operation check summary   Preparing your Zephyr development environment This article will introduce how to install the Zephyr project in a Windows environment and prepare the build environment. In addition, this time we will install Visual Studio Code using Windows 11.   Note: Here we will introduce the steps for Windows 11, but you can set it up in the same way on other operating systems by installing VS Code.   Preparing the development evaluation board Here we will use the FRDM-MCXA153 . The same steps can be followed for NXP microcontrollers (MCX series) and crossover microcontrollers (i.MX RT series). FRDM-MCXA/C/N/E series i.MX RT10xx-EVK Series LPC series (partially supported) Installation Instructions We will install the following items: VS Code and MCUXpresso for VS Code extension Zephyr development environment including Zephyr SDK VS Code Zephyr repository   Step 1: Install VS Code and the "MCUXpresso for VS Code" extension If you don't already have Visual Studio Code (VS Code) installed, search for "visual studio code" in the Microsoft Store and install it. Next, install "MCUXpresso For VS Code". Extensions view in VS Code Alternatively, click Ctrl+Shift+X. Click the search field at the top of the Extensions view and type "mcuxpresso" . Select MCUXpresso for VS Code and click the "Install" button to install the extension. Once the installation is successful, it will be added to the installed list. 拡張機能ビューボタンExtended Functions View Button VS Code 拡張機能 マーケットプレイスVS Code Extension Marketplace MCUXpresso for VS CodeのインストールInstalling MCUXpresso for VS Code     Step 2: Zephyr development environment including the Zephyr SDK Open the MCUXpresso for VS Code extension. Click "Open MCUXpresso Installer" in the Quick Start panel. Quick StartパネルQuick Start Panel   MCUXpressoツールの選択オプションMCUXpresso Tool Selection Options MCUXpressoツール選択オプション2MCUXpresso Tool Selection Option 2   Now click on the tool you need to select it. Zephyr Developer Arm GNU Toolchain LinkServer Here we will be using the NXP onboard ICE for debugging, so the LinkServer option is required. Tips: NXP EVK uses LinkServer by default. Install the necessary tools for your debug probe. LinkServer, Segger JLink and PEmicro tools are available for installation. Once you have selected your installation options, click the "Install" button. The status bar at the bottom will display the installation status. Restart VS Code.   Step 3: Import the Zephyr repository Next, import the Zephyr repository. Open the MCUXpresso view in VS Code and click Import Repository in the Quickstart panel.   リポジトリのインポートImporting a Repository   Zephyr is open source and available on github. You can import this github repository. Release tag : A stable version. You can specify various versions by specifying a tag. main branch : latest head of Zephyr Here, we will import the release tag v4.0.0. Location : Select the folder location where you want to import the Zephyr repository. Repository : Select "Zephyr" as the repository. The github URL will also be displayed. Revision : In the revision field, use v4.0.0. Change it to another release if necessary. Once you've finished entering the information, click Import. If you want to import the Zephyr main branch, change the revision field to main. Note: Importing the Zephyr repository takes time, typically around an hour. Although not required for Zephyr projects, the MCUXpresso SDK can be imported as well.   Step 4: Import the Zephyr sample application By completing the steps up to Step 3, you are now ready to start developing applications for Zephyr OS. Finally, you will be able to import, build, and debug Zephyr sample applications. To import a sample application from the Zephyr repository, click "Import Sample from Repository" from the Quick Start panel.   レポジトリからExampleのインポートImporting an Example from the Repository Hello_WorldプロジェクトのインポートImporting the Hello_World Project   Application type: We chose Repository application. We will use the original sample project folder in the Zephyr repository. Name: Set the project name. Zephyr SDK: This is the software package that provides the Zephyr compiler, libraries, and tools. Select "Default Zephyr SDK".   Building HelloWorld To compile and build the program, click the Build button to build the Hello World project. It's very easy. Zephyr is usually built using the command line, with the build started with the West command, but it can also be built with a single build button in the GUI. There's no need to remember complicated command options. ビルドボタンBuild button   Once the build is complete, the memory capacity and usage will be listed. Hello Worldプロジェクトのビルド結果Hello World project build results   Debugging and actual device operation Now, we will finally write the Zephyr program to the actual device and check its operation. Before checking the operation, connect the PC to the USB Type-C cable as shown in the photo. There are two USB connectors installed, but connect to the J15 USB connector side. FRDM-MCXA153FRDM-MCXA153   To start debugging, click the play button "▷". デバッグ開始Start Debugging It will stop at the entry of the main() function, allowing you to perform step execution. Here, press the play button for step execution to run. ステップ実行の様子Step execution   Among the multiple tabs at the bottom center of VS Code, there is a serial monitor function. Set it as shown below and click "Start Monitoring" to check the Printf output (standard output). シリアルモニターSerial Monitor   summary This time, we installed the Zephyr development environment, built a Hello World project, and checked its operation on an actual device. Using "MCUXpresso for VS Code" simplified the installation of the Zephyr development environment, dependent libraries, and tools, allowing me to set up the environment very easily and quickly. In the next issue, we will finally introduce the world of Zephyr regarding software reusability through an LED blinking program. (Please wait until it is released.) Click here for the previous article [Zephyr ® Series] Part 1: What is the popular Zephyr OS? (Japanese blog) =========================​ We are currently unable to respond to comments in the " Comment " section of this post . We apologize for the inconvenience, but when making inquiries, please refer to " How to contact NXP with technical questions ( Japanese blog ) " . (If you are already an NXP distributor or have a relationship with NXP , you may contact the person in charge directly. ) In this second installment of the Zephyr series, "Building for the first time and running it on a real device," we will introduce how to install the Zephyr development environment and build it. We will then flash it onto a real device and check that it works. MCX SW | Downloads Japanese Blog
View full article
Lauterbach drops connection to S32K388EVB-Q289 I am using the S32K388 board with Lauterbach as external debugger.  Frequently, the Lauterbach drops the connection to the board. As described in the document S32K388EVB-Q289 HWUM (Chapter 15.2), the necessary hardware changes have been implemented (e.g., J822, J848 disconnected, R43, R161, R181, R192 depopulated).  The schematic and board revisions are: Schematic - SCH-88925 REV B Layout - 700-88925-REV X1 (I do not experience any problems when using the PEMicro debug probe together with the S32DS.)  Re: Lauterbach drops connection to S32K388EVB-Q289 Hi@DirkEtzler I cannot reproduce your problem; I've run several tests on my device and haven't found any issues. I suggest you contact Lauterbach's technical support for assistance. https://support.lauterbach.com/ Re: Lauterbach drops connection to S32K388EVB-Q289 Hi @Senlent, thanks for the quick check.  I can reproduce the issue more frequently, when I am trying to reset the board through the Lauterbach (e.g., SYStem.Reset or similar).  Do you mind checking this for me on your board as well? As a side note-I have not experienced or noticed any issues with the S32Z2 (S32Z270-DC) evaluation board I am using.  Re: Lauterbach drops connection to S32K388EVB-Q289 Hi@DirkEtzler I can reproduce the issue more frequently, when I am trying to reset the board through the Lauterbach (e.g., SYStem.Reset or similar).  Do you mind checking this for me on your board as well? Sure, here is my test and you can see it work well. Re: Lauterbach drops connection to S32K388EVB-Q289 Hi@DirkEtzler This is a discussion and troubleshooting guide for a similar problem that I saw on the Lauterbach forum. You can refer to it. https://support.lauterbach.com/kb/articles/arm-system-up-system-attach-returns-debug-port-fail Re: Lauterbach drops connection to S32K388EVB-Q289 Hi @Senlent, thanks for checking and support.
View full article
Training material(PPT and Video) list for S32K3 (until Jan. 2026) Hi,     After you login www.nxp.com and       请切换到ENGLISH模式          点击下面链接 https://www.nxp.com/design/design-center/training:TRAINING-EVENTS?collection=trainings&start=0&max=12&sorting=sort_date.desc&parameters=TrainingType.Topics.deviceTax.applicationTax.country.region.application.TrainingLanguage.TrainingFormat.skillLevel.durationTime.provider&language=en&query=TrainingFormat%3E%3EOnline::training_date%3E%3E2026-02-02..*&keyword=s32k&siblings=false    You can get the following training topics with input the topic as searching keyword.  S32K3  Part 1 MKT Overview (DFAE Only) Training Presentation S32K3  Part 3 Hardware and Software Tools Overview (DFAE Only) Training Presentation S32K3  Part 5 RTD Overview and Demo (DFAE Only) Training Presentation S32K3 and MCSPTE1AK344 Motor Control Kit Training Presentation S32K3 Booting and Startup Process Memory (Chinese) Training Video S32K3 Debug Based on MCAL and FreeMASTER S32K3 Debug Based-On MCAL EB Freemaster (Chinese) Training Video S32K3 Debugging Skills Training Presentation S32K3 Deep Dive and Design Tips Part 1 Training Presentation S32K3 Deep Dive and Design Tips Part 2 Training Presentation S32K3 Deep Dive and Design Tips Part 3 Training Presentation S32K3 Deep Dive and Design Tips Part 4 Training Presentation S32K3 DFAE Day 1 Training Presentation S32K3 DFAE Day 2 Training Presentation S32K3 DFAE Training  HSE Security Aspects Day 2 S32K3 DFAE Training  Memory Link Boot Day 2 S32K3 DFAE Training Day 1 S32K3 Documents Location On Security Safety (Chinese) Training Video S32K3 Getting Started Training Presentation S32K3 How to Request Access to Safety Documentation S32K3 HSE Security Library Enablement Training Presentation S32K3 HSE-B with Demo (Chinese) Training Video S32K3 Memory Link Boot (Chinese) Training Video S32K3 Part 2 Architecture and Technical Overview DFAE Only Training Presentation S32K3 Part 4 K1 to K3 Hardware and Software Migration Guide DFAE Only Training Presentation S32K3 Safey Design Consideration Training Presentation S32K3 Software Enablement DFAE Training Part 1 S32K3 Software Enablement DFAE Training Part 1 - Auto MCU RTD Demo Porting Techniques S32K3 Software Enablement DFAE Training Part 1 - Getting Start with S32K RTD Features S32K3 Software Enablement DFAE Training Part 1 - HAL and EL demos Show S32K3 Software Enablement DFAE Training Part 1 - How to Import RTD MCAL to IAR project S32K3 Software Enablement DFAE Training Part 1 - How to Import RTD MCAL to S32DS project S32K3 Software Enablement DFAE Training Part 1 - How to Use GHS Complier Build S32K3 RTD MCAL S32K3 Software Enablement DFAE Training Part 1 - SW Commercial Offering HAL and EL Bundle S32K3 Software Enablement DFAE Training Part 2 S32K3 Software Enablement DFAE Training Part 2 - AUTOSAR and MCAL Architecture S32K3 Software Enablement DFAE Training Part 2 - MCAL Training AE S32K3 Software Enablement DFAE Training Part 2 - MCAL Training CAN S32K3 Software Enablement DFAE Training Part 2 - MCAL Training CRC S32K3 Software Enablement DFAE Training Part 2 - MCAL Training Crypto S32K3 Software Enablement DFAE Training Part 2 - MCAL Training Dio S32K3 Software Enablement DFAE Training Part 2 - MCAL Training DPGA S32K3 Software Enablement DFAE Training Part 2 - MCAL Training ETH S32K3 Software Enablement DFAE Training Part 2 - MCAL Training Fee S32K3 Software Enablement DFAE Training Part 2 - MCAL Training GDU S32K3 Software Enablement DFAE Training Part 2 - MCAL Training I2C S32K3 Software Enablement DFAE Training Part 2 - MCAL Training Icu S32K3 Software Enablement DFAE Training Part 2 - MCAL Training MCL S32K3 Software Enablement DFAE Training Part 2 - MCAL Training MCU S32K3 Software Enablement DFAE Training Part 2 - MCAL Training Mem S32K3 Software Enablement DFAE Training Part 2 - MCAL Training Mem Acc S32K3 Software Enablement DFAE Training Part 2 - MCAL Training Mem Eep S32K3 Software Enablement DFAE Training Part 2 - MCAL Training Mem EXFIs S32K3 Software Enablement DFAE Training Part 2 - MCAL Training Mem INFIs S32K3 Software Enablement DFAE Training Part 2 - MCAL Training Multicore S32K3 Software Enablement DFAE Training Part 2 - MCAL Training Ocu S32K3 Software Enablement DFAE Training Part 2 - MCAL Training Port S32K3 Software Enablement DFAE Training Part 2 - MCAL Training SPI S32K3 Software Enablement DFAE Training Part 2 - MCAL Training UART S32K3 Software Enablement DFAE Training Part 3 S32K3 Software Enablement DFAE Training Part 3 - Function Safety General S32K3 Software Enablement DFAE Training Part 3 - Hands-On Creating Projects with Multiple MCAL Modules S32K3 Software Enablement DFAE Training Part 3 - Hands-On Creating Projects with Multiple MCAL Modules S32K3 Software Enablement DFAE Training Part 3 - HSE Hands-On Workshop-S32K3 HSE Security Library Enablement S32K3 Software Enablement DFAE Training Part 3 - HSE Hands-On Workshop-S32K3 HSE Security Library Enablement S32K3 Software Enablement DFAE Training Part 3 - HSE NXP Security on S32K3 S32K3 Software Enablement DFAE Training Part 3 - HSE NXP Security on S32K3 S32K3 Software Enablement DFAE Training Part 3 - Integrating Safety with S32 Safety Software Framework S32K3 Software Enablement DFAE Training Part 3 - Introduction of S32K3 HSE and Debugging Techniques S32K3 T-BOX Business Training Presentation S32K3 Zonal Aggregators, Telematics Box and Communications Protocols Training Presentation GC DFAE Training S32K SW Day 5 Training Presentation Introduction to S32K Hardware Security Engine HSE Library and Debugging Techniques Training Presentation K3 booting and startup process           Re: Training material(PPT and Video) list for S32K3 (until Jan. 2026) 享受这些培训! 干杯 奥利弗 Re: Training material(PPT and Video) list for S32K3 (until Jan. 2026) 我现在在哪里可以找到这些材料? 回复: Training material(PPT and Video) list for S32K3 (until Jan. 2026) 现在看不见了。我需要crypto的配置视频
View full article
LPC54018 崩溃问题 我的客户在使用 LPC54018J2M 时遇到了一个问题。 情况描述如下 客户通过I2C将新版本编程到以太备份代码块来更新固件后,重启后,启动代码首先检查以太备份代码中是否有更新的固件。如果有,它就会覆盖以太 CODE,然后执行它。 闪存布置 |-------------------------------------| 0x10000000 - 0x1000FFFF | 启动 CODE(64k) 10000| |-------------------------------------| 0x10010000 - 0x100fffff | Ether CODE(960k) f0000| |-------------------------------------| 0x10100000 - 0x101effff | Ether Back Up CODE(960k) f0000| |-------------------------------------| 0x101f0000 - 0x10200000 | 已保留 (64k) 10000| |-------------------------------------| 对于少数设备,固件更新完成后,软件会正常运行一段时间。然而,一段时间后,代码突然卡住了。在这种情况下,即使尝试重新编程或擦除也无法恢复系统,必须更换集成电路。 对于异常集成电路,我们使用 JTAG 进行了进一步测试。最初,示例代码程序无法正常运行,IC 在闪烁后会立即卡住。 对于客户软件,启动代码会检查闪存,然后在 SPIFI 初始化期间卡住。 但是,通过 JTAG 对 SDK_2.x_LPC54018J2M(版本 24.12)中的示例代码进行编程后,集成电路可以正常工作,后续编程也能按预期进行。 对于异常集成电路,直接重新编程客户代码并不能恢复正常运行。有必要先对示例代码进行编程,以便从异常状态中恢复。 客户代码目前是基于 SDK 2.11 开发的。 恢复正常运行的示例代码来自 SDK 24.12。 我还建议客户尽可能升级到新版本,但这可能需要一些时间。 因此,我想在这里讨论可能导致这个问题的原因——它是否与SDK版本有关,或者是否需要调整内存配置。 尽管我们目前可以通过JTAG恢复设备,但我们希望找到一种方法来完全防止此问题发生。 LPC54xxx Re: LPC54018 Crash Issue 你好@ZRay 谢谢您的帖子! 它可能与 LPC54XX 设备上的勘误表有关,勘误 表 lpc540xx_lpc54s0xx 中的功能问题描述 3.8 RO M.1:启动时外围设备引脚保持配置或驱动状态 另外,我建议您查看 MCUXpresso SDK发行说明,另一项建议将始终使用可用的最新版本的SDK。 您提到的示例代码是否执行了引脚配置?
View full article
バス障害 IMPRECISERR こんにちは、 私はNXP i.MXRT1064 EVKに取り組んでおり、内部 ADCを使用してオーディオ ノイズ センサの出力を読み取っています。 ADCピン: GPIO_AD_B1_02 (ADC1チャネル/ADC1_IN7) プログラムはほとんどの場合正常に動作しますが、予期しないタイミングでランダムに BusFault/HardFault が発生します(添付のスクリーンショットを確認してください)。障害は一定の時点で発生しないため、再現が困難です。この障害はなぜ発生するのか、またこの障害を解決するにはどうすればよいでしょうか。 評価ボード Re: Bus Fault IMPRECISERR こんにちは@Subhasri 、 弊社の製品にご興味をお持ちいただき、またコミュニティをご利用いただき誠にありがとうございます。 提供された情報に基づいて、BusFault/HardFault の正確な根本原因を特定することは困難です。 以下の点を確認することをお勧めします。 1: メモリとスタックの使用量 スタック オーバーフローまたは範囲外のメモリ アクセスがあるかどうかを確認します。 2:キャッシュとDMAの一貫性 ADC を DMA で使用する場合は、DMA バッファがキャッシュ不可能なメモリに割り当てられていることを確認してください (たとえば、AT_NONCACHEABLE_SECTION_ALIGN を使用)。 3:最小限のテストケースを使用して問題を切り分ける アプリケーション コードの一部を一時的に無効にして、段階的に確認してみることをお勧めします。 たとえば、オーディオ ノイズ センサのみを読み取るか、内部 ADC 出力を使用するかして、問題が再現できるかどうかを確認します。 よろしくお願いいたします。 メイリュー
View full article
IMX8QX DDR RPA_tool 構成、レジスタ情報が欠落しています こんにちは、 IMX8QX 上の DDR3L 用の RPA_tool の構成に記載されているいくつかのレジスタに関する情報が必要です。次のようなレジスタ アドレスが記述されています。 0x41C80044 0x41C80208 0x41C80204 0x41C82C00 0x41C83800 しかし、それらはドキュメントのどこにも記載されていません。 それぞれの機能と設定フィールドを教えていただけますか。 よろしくお願い申し上げます。 Re: IMX8QX DDR RPA_tool configuration, missing register information こんにちは、 @CPE さん。 この設定ファイルは、サードパーティのIPベンダーによって提供されています。ポイント付きレジスタはNDAドキュメントには表示されていません。i.MX8X実装の場合、提供された値以外に選択肢はないとご理解ください。 よろしくお願いいたします。
View full article
FreeMaster 3.2 not working with S32k344 Hello NXP MBDT Team, I am working freemaster3.2 on S32k344 and MBDT1.5. I am facing a weird issue like, when I am configuring the single CAN0 with single Rx-Tx CAN object, the free master works. But on configuring more CAN instances with respective single Rx-Tx object the free master stopped working. i have attached the model for your reference where I am calling the free master APIs, because the same issue was face with free master block also.   Re: FreeMaster 3.2 not working with S32k344 Hello May I ask why do you custom code for the FreeMASTER? Why don't you use the included blocks for FreeMASTER? Moreover, if you don't have any hard limitation, I recommend you to install the latest version for S32K3 Toolbox (v1.8.0).  Best regards, Sorin Bancila Re: FreeMaster 3.2 not working with S32k344 I want to stick to MBDT 1.5. We have performed multiple tests using the FreeMASTER blocks provided with the toolbox, but the results show that FreeMASTER is not working properly. Could you please check the model shared in the previous post and make it work for me, or provide a similar model that is compatible with and works correctly with MBDT 1.5? Thanks Re: FreeMaster 3.2 not working with S32k344 Can anyone get the issue.
View full article
WeChat ID: xins4698 セントーサ社に登録したゲームアカウントのパスワードを忘れてしまいました。 WeChat ID: xins4698 セントーサ社に登録したゲームアカウントのパスワードを忘れてしまいました。 LPCマーケティング LPC11xx LPC12xx lpc13xx lpc15xx LPC51Uxx LPC546xx LPC54xxx LPC55xx LPC800
View full article
RW610 / RW612 知识中心 RW61x 系列是一款高度集成的低功耗三射频无线 MCU,集成了 MCU 以及 Wi-Fi ® 6 + Bluetooth ® 低功耗 (LE) 5.4 / 802.15.4 射频,适用于广泛的应用场景,包括联网智能家居设备、企业和工业自动化、智能配件以及智能能源领域。 RW61x 系列 MCU 子系统包含一个 260 MHz 的 Arm ® Cortex ® -M33 内核(带 Trustzone ™ -M)、1.2 MB 片上 SRAM,以及一个高带宽 Quad SPI 接口(配备实时解密引擎,用于安全访问片外 XIP 闪存)。 RW61x 系列配备全功能的 1x1 双频段(2.4 GHz/5 GHz)20 MHz Wi-Fi 6(802.11ax)子系统,与前一代 Wi-Fi 标准相比,能提供更高的吞吐量、更好的网络效率、更低的延迟和更远的覆盖范围。蓝牙 LE 射频支持 2 Mbit/s 高速数据传输率、远距离传输和扩展广播功能。片上 802.15.4 射频可支持最新的 Thread mesh 网络协议。此外,RW612 还支持 Wi-Fi 上的 Matter 协议或 Thread 上的 Matter 协议,能在不同生态系统和产品间提供通用、可互操作的应用层。 NXP RW61x Block DiagramNXP RW61x 框图 文件 RW610 Datasheet: RW610 Datasheet RW612 Datasheet: RW612 Datasheet RW61x 用户手册:UM11865:RW61x 用户手册 RW61x 寄存器手册:RM00278:RX16x 寄存器   RW61x 模块 Azurewave: RW612 - AW-CU570:一款高度集成的低功耗三射频无线 RW612 MCU,集成了 MCU 以及 Wi-Fi 6 + 蓝牙低功耗 (LE) 5.2 / 802.15.4 射频,适用于广泛的应用场景。 RW610 - AW-CU598:一款高度集成的低功耗三射频无线 RW610 MCU,集成了 MCU 以及 Wi-Fi 6 + 蓝牙低功耗 (LE) 5.3 射频,适用于广泛的应用场景。 U-blox: RW612 - IRIS-W10 系列:小型独立式双频段 Wi-Fi 和蓝牙低功耗无线微控制器单元 (MCU) 模块。这些模块非常适合希望在其终端产品中添加高级无线连接功能的用户。 RW610 - IRIS-W16 系列:小型独立式双频段 Wi-Fi 和蓝牙低功耗无线模块,包含集成到终端产品所需的所有组件。这些模块非常适合希望在其终端产品中添加高级无线连接功能的用户。 Murata: RW612 - LBES0ZZ2FR-580:Murata 的 Type 2FR 是基于 NXP RW612 组合芯片组的小型且高性能模块,支持 IEEE 802.11a/b/g/n/ac/ax + 蓝牙 LE 5.4 / IEEE 802.15.4。 RW610 - LBES0ZZ2FP-580:Type 2FR/2FP 是一系列小型且高度集成的多射频模块,内置高性能 MCU(带高级安全功能),适用于智能家居、企业和工业自动化、智能配件及智能能源领域的联网智能设备。它支持最新的 Matter 智能家居连接协议。 California Eastern Laboratories (CEL): RW612 - CMP4612:一款全集成双频段、三模式(Wi-Fi 6、BT5.4、802.15.4)射频,包含主机 MCU、闪存、RAM、外设和众多接口(SDIO、UART、USB、以太网、SPI、I2C),支持无主机(RTOS)和有主机(NCP 模式)架构。CEL 的解决方案包含板载天线或连接器。 评估板  FRDM-RW612 FRDM-RW612 是一款紧凑且可扩展的开发板,用于 RW61x 系列 Wi-Fi 6 + 蓝牙低功耗 + 802.15.4 三射频无线 MCU 的快速原型开发。 它提供了便捷的 MCU I/O 和外设访问方式、集成的开放标准串行接口、外部闪存和板载 MCU-Link 调试器。 RDM-RW612 入门指南:FRDM-RW612 入门 FRDM-RW612 用户手册:UM12160:FRDM-RW612 板用户手册 FRDM-RW612 快速入门指南:FRDM-RW612 快速入门指南 电流测量配置: 移除0欧姆电阻R103 在JP5上焊接几个引脚。 若要测量 RW61x 的电流消耗,使用 JP5 上的引脚连接电流计。正常操作 FRDM 板时,用跳线连接 JP5 上的引脚。 u-blox   USB-IRIS-W1 USB-IRIS-W1 开发平台基于双频段 Wi-Fi 6 和蓝牙 LE 模块 IRIS-W1(基于 NXP RW610/612 芯片)构建。 开发板设计有 USB 接口,方便直接通过 PC 进行评估和原型开发。除了带集成天线的 IRIS-W1 模块外,它还集成了四个按钮、一个 RGB LED 和一个 USB/UART 转换器,进一步为便捷评估提供支持。 u-blox   EVK-IRIS-W1 EVK-IRIS-W1 评估套件提供 IRIS-W1 模块系列的独立使用,采用 NXP RW610/612 芯片组。 Azurewave    AW-CU570-EVB AW-CU570 模块的评估板包含集成三射频(Wi-Fi 6 + 蓝牙低功耗 5.3 / 802.15.4)的无线 MCU。 Murata   2FR EVK Murata Type 2FR 模块(Murata 部件号 LBES0ZZ2FR)的评估套件包含三种射频:Wi-Fi、BLE 和 802.15.4。它基于 NXP 的 RW612 芯片。 California Eastern Laboratories (CEL) CMP4612-2-EVB CMP4612 评估板 (CMP4612-2-EVB) 基于NXP RW612 芯片组,具有双频段 Wi-Fi 6、BLE 5.4 和 802.15.4 射频。该评估板包含板载以太网端口和 PHY 硬件,以及 Arduino 接口、MCULink SWD 和 USB 端口。对于希望为其终端产品使用经过认证的模块的客户,该开发板能促进无缝高效的评估过程。 应用笔记 RM00287:SDK 2.16.100 的 Wi-Fi 驱动 API:射频驱动源代码提供了通过与固件镜像通信在射频接口上发送和接收数据包的 API。本手册提供了 Wi-Fi 驱动和 Wi-Fi 连接管理器的参考文档。 UM12133:带 MCU 主机的 RW612 的 NXP NCP 应用指南 - 用户手册:本用户手册介绍: • 以 i.MX RT1060 为 MCU 主机平台的 RW612 的 NXP NCP 应用。 • 在 NXP RW612 BGA V4 板上启用 NCP 模式的四种支持 接口(UART、USB、SDIO 或 SPI)之一的硬件连接。 • 在 NCP 主机 (i.MX RT1060) 和 NCP 设备 (RW612) 上构建和运行 NCP 应用的方法。 这些应用适用于 Wi-Fi、蓝牙低功耗和 OpenThread (OT)。 UM12095:带 MPU 主机的 RW612 的 NXP NCP 应用指南 - 用户手册:本用户手册介绍: • 以 i.MX 8M Mini 为 MPU 主机平台的 RW612 的 NXP NCP 应用。 • 在 NXP RW612 BGA V4 板上启用 NCP 模式的四种支持 接口(UART、USB、SDIO 或 SPI)之一的硬件连接。 • 在 NCP 主机 (i.MX 8M Mini) 和 NCP 设备 (RW612) 上构建和运行 NCP 应用的方法。 这些应用适用于 Wi-Fi、蓝牙低功耗和 OpenThread (OT)。 AN14439:从 FRDM-RW612 板迁移到第三方模块板的指南:本应用笔记概述了将应用迁移到具有不同闪存和 pSRAM 的不同板子的相关内容。 AN14111:RW16x 上的目标唤醒时间 (TWT):本应用笔记介绍了目标唤醒时间功能,并提供了 RW61X 的相关示例。 AN13006:合规性和认证注意事项:本应用笔记提供了关于如何在 NXP Wi-Fi 设备上测试产品以确保符合法规的指导和提示。 AN13049:Wi-Fi / 蓝牙 / 802.15.4 M.2 Key E 引脚定义:本应用笔记定义了 M.2 在 NXP Wi-Fi / 蓝牙和三射频 M.2 模块设计中的使用方式。 AN14489 – RW61x 上的 Wi-Fi 固件自动恢复:介绍了 Wi-Fi 自动恢复功能,以及如何在 RW61x SDK 中启用和验证该功能。 安全性: AN14544 – 用于 MPU 和 MCU 的 EdgeLock 2GO 服务:本应用笔记介绍了 EdgeLock 2GO 服务可用于 MCU 和 MPU 设备的各种方法,以及每种方法可用的功能。 AN13813 – RW61x 上的安全启动:介绍了如何在 RW61x 上生成和运行安全启动(签名镜像)。 AN13814 – RW61x 上的调试认证:介绍了使用安全配置 SDK 工具进行调试认证的步骤。 技术论坛支持 如果你对 RW61x 系列有任何疑问,请在我们的无线 MCU 社区中留下你的评论!此处   培训 FRDM-RW612 培训:安全 i.MX RT MCU 中的 Wi-Fi 6 三射频 RW61x 系列培训 - NXP 社区 设备 无线设备:本文提供了无线设备的链接,以帮助你加快项目开发。 开发工具 SDK 构建器:MCUXpresso SDK 提供开源驱动程序、中间件和参考示例应用,以加快你的软件开发。 NXP MCUXpresso:MCUXpresso IDE 提供高级编辑、编译和调试功能,外加 MCU 特定调试功能,并支持与所有通用 Arm Cortex-M 的连接。 VSCode MCUXpresso:适用于 Visual Studio Code (VS Code) 的 MCUXpresso 为代码编辑和开发提供优化的嵌入式开发体验。 Zephyr RTOS:Zephyr 操作系统基于小尺寸内核设计,适用于资源受限的嵌入式系统:从简单的嵌入式环境传感器和 LED 可穿戴设备,到复杂的嵌入式控制器、智能手表和物联网无线应用。 NXP Application Code Hub:应用代码中心 (ACH) 存储库使工程师能够轻松找到由我们内部专家开发的微控制器软件示例、代码片段、应用软件包和演示。该平台提供了一种快速、简便且一致的方式来查找微控制器应用。 NXP SPSDK:一个统一、可靠且易于使用的 Python SDK 库,适用于整个 NXP MCU 产品组合,为从快速客户原型设计到生产部署提供坚实基础。 NXP SEC Tool:MCUXpresso 安全配置工具是一个基于 GUI 的应用程序,旨在简化 NCP MCU 设备上可引导可执行文件的生成和配置。 NXP OTAP Tool:一款帮助用户对 NXP 开发板执行空中固件更新的应用程序。 用于无线 MCU 的 SDK 示例:无线示例包含许多常见的连接配置。 有用链接 蓝牙规范 蓝牙 5.0 功能概述 蓝牙 5.1 功能概述 蓝牙 5.2 功能概述 Bluetooth_5.3_功能概述 Bluetooth_5.4_功能概述 Bluetooth_6_Feature_Overview   FRDM 培训 动手实践培训 产品:WiFi RW6XX 协议:802.15.4 协议:BLE -> 连接性 协议:蓝牙 协议:Matter 协议:Thread 协议:Wi-Fi 协议:Zigbee
View full article
LX2160A 最多支持多少个 DPDMUX 实例 Hi, LX2160A 中可以创建的最大 DPDMUX 实例是多少? 我尝试创建 8 个 dpdmux 对象,但只有 6 个成功。 我创建 dpdmux 的参数是 #--default-if=1 --num-ifs=2 --method DPDMUX_METHOD_CUSTOM --options=DPDMUX_OPT_CLS_MASK_SUPPORT,DPDMUX_OPT_AUTO_MAX_FRAME_LEN 尝试第 7 次时出现以下错误: MC 错误:无可用内存(状态 0x9) 回复:LX2160A 支持的最大 DPDMUX 实例是多少 这是有关调整 DPAA2 资源使用情况的一些有用信息。但仍然需要进一步微调,以将所有对象(8x DPDMUX + DPMACs/DPNIs)塞入 DPAA2 使用的内存缓冲区。 - DPNI:如果流量仅用于管理目的,则降低流量控制规则,参数“--fs-entries” - DPDMUX:如果分割不复杂,则降低自定义规则的使用,参数“--max-dmat-entries”。并且在创建 dpdmux 时降低内存(PEB 缓冲区)的使用率,参数“--mem-size” 进一步的调整正在进行中。希望这对社区有所帮助。 回复:LX2160A 支持的最大 DPDMUX 实例是多少 @dunk  太感谢了, 祝您有美好的一天。 BR, 赫克托尔 回复:LX2160A 支持的最大 DPDMUX 实例是多少 你好,赫克托, 是的,感谢恩智浦的支持。我会继续和你们的团队成员讨论。并尝试与社区分享我最近获得的一些有用的信息。 回复:LX2160A 支持的最大 DPDMUX 实例是多少 Hello @dunk  希望这篇文章对你有帮助, 我们注意到我们的一名团队成员已经为您提供有关此主题的支持。 为了避免任何混淆,并尽可能保持沟通清晰, 请与我们的团队成员保持沟通。 祝您有美好的一天。 BR, 赫克托尔 回复:LX2160A 支持的最大 DPDMUX 实例是多少 你好@Hector_Villarruel , 对于我对 DPAA2 内存设置的反馈有什么评论吗? 我仍然无法在我的设置中创建 8 个 DPDMUX。 回复:LX2160A 支持的最大 DPDMUX 实例是多少 谢谢, @Hector_Villarruel 。 这是我的 MC 固件的配置和内存分配。 -u-boot:mcmemsize=0x70000000 -dpc:total_bman_buffers = <0x9EB100> 我在我的 DPC 文件中找不到 total_num_buffers,所以我推测它的默认设置是 640000。 对于如上的配置和设置,我相信内存应该足够了。我还遗漏了什么吗? 回复:LX2160A 支持的最大 DPDMUX 实例是多少 Hello @dunk  希望您收到这封邮件后一切安好, 当您超过有关 MC 内存限制的最大缓冲区数量时,可能会遇到此错误( MC 错误:无可用内存(状态 0x9)) ,请参阅 DPAA2UM、Rev 53、08/2023 中的 3.5 最低内存要求。 请注意,LX2160 具有 256MB 内存,但有以下限制: 所有队列中可同时存在的缓冲区总数限制为 640000。如果 dpc 文件中的 total_num_buffers 大于 640000 MC 将无法启动。 如果 dpc 文件中缺少 total_num_buffers,MC 将使用默认值 640000。 祝您有美好的一天。 BR, 赫克托·维拉鲁埃尔
View full article
最新の SDK_25_12_00 ではデバッグ ツールがグレー表示され、古い SDK_25_03_00 では正常に動作します MCUXpresso IDE V25.6.136 を実行中+ SDK_25_12_00 を搭載した evkmimxrt685 ボード。デバッグが開始されると、すべてのデバッグ ツール (再開 ..) がグレー表示され、プロジェクトを実行できなくなります。古い SDK_25_03_00 では正常に動作しますが、SDK_25_06_00 および SDK_25_09_00 でも同じ問題が発生します。デバッグツールを復元するにはどうすればいいですか Re: Debug tools greyed out with latest SDK_25_12_00, work fine with older SDK_25_03_00 こんにちは、カルロス。これは、Hello World を含むすべての例で発生します。常に「void ResetISR(void)関数の最初の行、つまりstartup_mimxrt685s.cの行__asm volatile ("cpsid i") (行番号381)で停止します。スタートアップディレクトリ内のファイル。evkmimxrt685_dsp_mu_polling_cm33 を実行しようとしています。この例は 25.03 バージョンでは正常に動作します。以降のすべてのバージョン (06、09、12) でこの問題が発生します。24.03 以降の SDK バージョンでは IDE に何か変更を加える必要がありますか?スクリーンショットはあるのですが、どうやって投稿すればいいですか。ありがとう@bobvr Re: Debug tools greyed out with latest SDK_25_12_00, work fine with older SDK_25_03_00 こんにちは、カルロス。スクリーンショットを投稿します。 Hello Worldを含むすべてのサンプルで発生します。常に「void ResetISR(void)」関数の最初の行、つまりスタートアップディレクトリのstartup_mimxrt685s.cファイルの__asm volatile ("cpsid i")行(行番号381)で停止します。main()関数が実行されず、実行が開始されません。evkmimxrt685_dsp_mu_polling_ cm33を実行しようとしています。このサンプルはバージョン25.03では正常に動作します。それ以降のバージョン(06、09、12)ではこの問題が発生しています。24.03以降のSDKバージョンでは、IDEに何か変更を加える必要があるでしょうか?bobvrさん、ありがとうございます。 Re: Debug tools greyed out with latest SDK_25_12_00, work fine with older SDK_25_03_00 こんにちは@bobvr お使いのコンピュータにインストールされている OS を教えていただけますか?Linux、Windows 10、Windows 11? EVK の BOOT_SEL が正しく選択されているか確認してください。 Re: Debug tools greyed out with latest SDK_25_12_00, work fine with older SDK_25_03_00 こんにちは@bobvr セットアップの詳細を共有していただきありがとうございます。 フラッシュを一括消去して、デバッグを再試行してください。 これを行うには、クイックスタートパネルでリンクサーバーアクションを変更してください。 その後、LinkServer プローブを使用してデバッグに戻します。 プロセス中にエラー メッセージが表示された場合は、スクリーンショットを共有してください。 Re: Debug tools greyed out with latest SDK_25_12_00, work fine with older SDK_25_03_00 Dell Alder Lake デスクトップで Windows 11 を実行しています。ブート ジャンパー (JP1) は開いています。これは、マニュアル (MIMXRT685-AUD-EVKUM Rev 3 - 2023 年 7 月 21 日) によるとデフォルトです。これが「EVK の BOOT_SEL を確認する」という意味だと思います。ありがとうbobvr Re: Debug tools greyed out with latest SDK_25_12_00, work fine with older SDK_25_03_00 カルロス、ありがとう。これを実行する前に、私は常に SEGGER J-Link プローブを使用しており、「SEGGER J-Link プローブを使用したフラッシュ アクションの消去」メニュー オプションがあることをお知らせしたいと思います。それを使用して消去する必要がありますか、それとも上記のようにリンク サーバー プローブを使用して消去する必要がありますか。 Re: Debug tools greyed out with latest SDK_25_12_00, work fine with older SDK_25_03_00 カルロス、リンク サーバーで一括消去を試みましたが、エラー メッセージが表示されました - スクリーンショットを添付します。ありがとう Re: Debug tools greyed out with latest SDK_25_12_00, work fine with older SDK_25_03_00 こんにちは、カルロス。Segger J-Link プローブを使用してフラッシュを削除しました (リンク サーバー プローブは Segger ファームウェアによって上書きされているため、リンク サーバー プローブではありません)。ARM コアと HiFi4 DSP の両方をデバッグするには、Segger プローブを使用する必要があることを理解しています。また、Segger ファームウェアを最新バージョン 8.98 にアップデートしました。デバッグ起動ファイルを削除し、起動時に新しいワークスペースを生成するためにワークスペースを削除し、ボードの電源を入れ直しました。まだ同じ問題です。デバッグセッションが実行中であると表示されますが、デバッグできません。前述したように、これは 03 以降のすべてのバージョン (06、09、12) で発生します。startup_mimxrt685s.c で停止します以前と同じようにファイルします。デバッガー コンソールに警告メッセージが表示されますが、これはおそらく無害です。「警告: 'main' をホスト エンコーディング (CP1252) から UTF-32 に変換できませんでした。 通常、このようなことは起きませんので、バグレポートを提出してください。 モニター実行 SetRestartOnClose=1 次のステップについてアドバイスをお願いします。ありがとう、bobvr。 Re: Debug tools greyed out with latest SDK_25_12_00, work fine with older SDK_25_03_00 こんにちは@bobvr ご利用いただいていることを共有いただきありがとうございます。 リンク サーバーでデバッグを試みても問題は解決しませんか?エラーメッセージが表示された場合は、それを共有してください。
View full article
D1が赤く点灯しているため、S32K146EVB-Q144ボードをフラッシュできません 当初は正常に動作していた S32K146EVB-Q144 評価ボードを持っています。 Lin スタックを実装したデバッグ セッション中に、動作が停止しました。 コントローラをリセットすると、D1 の赤いライトが点灯し続け、他の 2 つの緑のライトも点灯したままになります。 USB ソースからの電源を選択するために、位置 2-3 の J10 と J107 を使用し、OpenSDA アプリのフラッシュ モードを選択するために、位置 2-3 の J104 を使用しました。 現在、私のコントローラは S32DS によってまったく検出されません。 症状はまったく同じであるように思われたので、以下の投稿に記載されている手順を試してみました。 Re: S32K144 D2 赤色 LED が常時点灯 - NXP コミュニティ ここで、P&E Kinetics Recovery Tool を使用して OpenSDA でプロセッサを停止できましたが、それでも新しいアプリケーションをフラッシュすることはできませんでした。 停止に成功しても再度点滅させることができず、赤色のライトが点灯したままになります。 コントローラはジャンパー J104 を調整することでブートローダーモードに入ることもでき、実際にブートローダーアプリをフラッシュすることもできました。しかし、どういうわけか私は再びフラッシュを書き込むことができず、サンプルの.srecをフラッシュしようとするとファイルでは、D2 は定期的に点滅し続けます (通常、正常に点滅すると 1 回点滅してからアプリの実行が開始されます)。 つまり、簡単に言うと: - コントローラがメインに到達できない、または継続的にリセットされる - コントローラはフラッシュに再度書き込むことができません (セキュリティ上の問題である可能性があります)。 私はデバッグ プローブを持っていないため、SEGGER-JLINK に関連するものを除き、上記の Thread で言及されているテクニックを試しました。私は PE Multilink Universal を持っていますが、フラッシュを回復/消去することはできません。 ボードの詳細は次のとおりです。 ボード名: S32K146EVB-Q144 MicroBootカーネルバージョン: 1.08 ブートローダーのバージョンは: 1.13 インストールされたアプリケーション: PEMicro EVB-S32K144 マスストレージ/デバッグアプリ アプリケーションのバージョン: 1.25 DUID は: 39A33939-91818199-37539805-F97AE678 EUID は: 4141A238-1BDB8733-1854BA22-D38368D6 TUID: 74823938-47328196-8576CC9B-0242983E TOAは次のとおりです: 86B6E505-56F042E0-79B2A114-62BA758F TOA2 は: 86B6E505-EB1A8A7C-AF6E54B6-43532420 SUID は: 86B6E505-5BA18877-37239804-8003EC65 MCU は永久にロックされますか? そうでない場合、どうすればボードを回復できますか? ハードウェアに障害があると思われますか?(参考までに、D2とD3が緑色に点灯しているのは、5Vと3.3Vの電源レールが正常に動作していることを意味していると思います) 物理的に大量消去する方法はありますか?(ボードがまったく検出されないため、S32DS 緊急キネティクス オプションは使用できません)。 OpenSDA チップの任意のピンを接地すると、フラッシュ メモリが消去されますか? Re: Unable to flash S32K146EVB-Q144 board as D1 glowing red クリスマス休暇期間中は、サポートの応答時間は通常より長くなる場合がありますのでご了承ください。場合によっては、ご要望への対応が新年以降になることもあります。ご理解のほどよろしくお願いいたします。 Re: Unable to flash S32K146EVB-Q144 board as D1 glowing red ハイ P&E リカバリ ユーティリティがMCU を停止したら、ツールを閉じます。 次にステップ3に進みます または ステップ4 S32K146 を再プログラムします。 これが原因かどうかは分かりませんが、 アプリケーションのバージョン: 1.25 。リセットボタンSW5を押したまま、USBケーブルを挿入して MSD-DEBUG-S32K146EVB-Q144_Pemicro_v121.SDA BOOTLOADER ドライブに挿入します。これにより、 アプリケーションバージョンを1.21に。 また添付しました lpit_periodic_interrupt_s32k146.srec 。 ちなみに、外付けのSegger J-Linkは必要ありません。ステップ6に従う場合: SW5を押しながらJ7を挿入すると、OpenSDAがブートローダーモードになります。そして、 SEGGER J-Linkアプリケーションファームウェア( OpenSDA_V1.bin )をOpenSDA_V1.binにコピーします。 オンボード デバッガーは J-Link になります。 よろしくお願いします、 ロビン --------------------------------------------------------------------------------- 注記: - この投稿があなたの質問への回答である場合は、「解決策として承認」ボタンをクリックしてください。ありがとう! - Threadは最後の投稿から7週間フォローされます。それ以降の返信は無視されます。 後ほど関連する質問がある場合は、新しいThreadを開いて、閉じたThreadを参照してください。 --------------------------------------------------------------------------------- Re: Unable to flash S32K146EVB-Q144 board as D1 glowing red こんにちは、ロビン。 迅速なご返信ありがとうございます。MSD -DEBUG-S32K146EVB-Q144_Pemicro_v121.SDAにロールバックしてみましたが、 同じように動作します。ブートローダーアプリはフラッシュされますが、D1はまだ赤く点灯しており、.srecをフラッシュできません。kinetis 回復ツールを使用して停止した後のファイル。コントローラが srec をフラッシュしようとしているが、D2 が定期的に点滅するため失敗していることがわかります (通常は 3 ~ 4 回だけ点滅し、アプリがフラッシュされます)。 その後、ブートローダーをOpenSDA_V1.bin に切り替えて、その後 J-Link コマンダーを使用して接続を試みましたが、次のログが表示されました。 SEGGER J-Link Commander V8.94 (2025年12月10日 14:50:47 にコンパイル) DLLバージョンV8.94、2025年12月10日14:49:54にコンパイル USB経由でJ-Linkに接続しています...OK ファームウェア: J-Link OpenSDA コンパイル日: 2023年1月31日 13:42:36 ハードウェアバージョン: V1.00 J-Link の稼働時間(起動以降): 0d 00h 00m 28s シリアル番号: 621000000 VTref=3.300V ターゲット接続を確立するには「connect」と入力し、ヘルプを表示するには「?」と入力します J-Link>接続 デバイス/コアを指定してください。 : S32K146 選択ダイアログに「?」と入力してください デバイス>S32K146 ターゲットインターフェースを指定してください: J) JTAG (デフォルト) S) SWD T) cJTAG TIF>SWD 対象インターフェース速度[kHz]を指定します。 : 4000 kHz 速度>100 デバイス「S32K146」が選択されました。 SWD経由でターゲットに接続する ConfigTargetSettings() の開始 ConfigTargetSettings() 終了 - 22us かかりました InitTarget() 開始 SWDが選択されました。JTAG -> SWD 切り替えシーケンスを実行しています。 CPU の停止中にタイムアウトが発生しました。 InitTarget() 終了 - 392 ミリ秒かかりました ID 0x2BA01477 の SW-DP が見つかりました DPv0が検出されました CoreSight SoC-400 以前 APマップをスキャンして利用可能なすべてのAPを見つける AP[2]: APマップの終端に達したため、APスキャンを停止しました AP[0]: AHB-AP (IDR: 0x24770011, ADDR: 0x00000000) AP[1]: JTAG-AP (IDR: 0x001C0000, ADDR: 0x01000000) APマップを反復処理して使用するAHB-APを見つける AP[0]: コアを発見 AP[0]: AHB-AP ROMベース: 0xE00FF000 CPUIDレジスタ: 0x410FC241。実装者コード: 0x41 (ARM) Cortex-M4 r0p1、リトルエンディアンが見つかりました。 FPUnit: 6 つのコード (BP) スロットと 2 つのリテラル スロット CoreSight コンポーネント: ROMTbl[0] @ E00FF000 [0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7 [0][1]: E0001000 CID B105E00D PID 003BB002 DWT [0][2]: E0002000 CID B105E00D PID 002BB003 FPB [0][3]: E0000000 CID B105E00D PID 003BB001 ITM [0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU 126976バイトの作業用RAM(0x1FFF0000)を初期化しています リセットタイプ: NORMAL ( https://kb.segger.com/J-Link_Reset_Strategies ) リセット: DEMCR.VC_CORERESET によるリセット後にコアを停止します。 リセット: AIRCR.SYSRESETREQ 経由でデバイスをリセットします。 リセット: S_RESET_ST はクリアされません。CPU は永久にリセット状態のままになっているようです。 リセット: フォールバックを使用: ピンをリセットします。 リセット: DEMCR.VC_CORERESET によるリセット後にコアを停止します。 リセット: リセットピン経由でデバイスをリセットします リセット: VC_CORERESET は CPU を停止しませんでした。(デバッグ ロジックもリセット ピンによってリセットされますか?)。 リセット: 再接続して CPU を手動で停止します。 ID 0x2BA01477 の SW-DP が見つかりました DPv0が検出されました CoreSight SoC-400 以前 AP マップの検出をスキップしました。手動で構成された AP マップが見つかりました。 AP[0]: AHB-AP (IDR: 未設定、ADDR: 0x00000000) AP[0]: コアを発見 AP[0]: AHB-AP ROMベース: 0xE00FF000 CPUIDレジスタ: 0x410FC241。実装者コード: 0x41 (ARM) Cortex-M4 r0p1、リトルエンディアンが見つかりました。 CPUを停止できませんでした リセット: コアはリセット後に停止せず、WDT を無効にしようとしました。 リセット: DEMCR.VC_CORERESET によるリセット後にコアを停止します。 リセット: リセットピン経由でデバイスをリセットします リセット: VC_CORERESET は CPU を停止しませんでした。(デバッグ ロジックもリセット ピンによってリセットされますか?)。 リセット: 再接続して CPU を手動で停止します。 ID 0x2BA01477 の SW-DP が見つかりました DPv0が検出されました CoreSight SoC-400 以前 AP マップの検出をスキップしました。手動で構成された AP マップが見つかりました。 AP[0]: AHB-AP (IDR: 未設定、ADDR: 0x00000000) AP[0]: コアを発見 AP[0]: AHB-AP ROMベース: 0xE00FF000 CPUIDレジスタ: 0x410FC241。実装者コード: 0x41 (ARM) Cortex-M4 r0p1、リトルエンディアンが見つかりました。 CPUを停止できませんでした リセット: 失敗しました。リセット ピンを切り替えてリセット戦略を再度試します。 ID 0x2BA01477 の SW-DP が見つかりました DPv0が検出されました CoreSight SoC-400 以前 AP マップの検出をスキップしました。手動で構成された AP マップが見つかりました。 AP[0]: AHB-AP (IDR: 未設定、ADDR: 0x00000000) AP[0]: コアを発見 AP[0]: AHB-AP ROMベース: 0xE00FF000 CPUIDレジスタ: 0x410FC241。実装者コード: 0x41 (ARM) Cortex-M4 r0p1、リトルエンディアンが見つかりました。 リセット: DEMCR.VC_CORERESET によるリセット後にコアを停止します。 リセット: AIRCR.SYSRESETREQ 経由でデバイスをリセットします。 リセット: S_RESET_ST はクリアされません。CPU は永久にリセット状態のままになっているようです。 リセット: フォールバックを使用: ピンをリセットします。 リセット: DEMCR.VC_CORERESET によるリセット後にコアを停止します。 リセット: リセットピン経由でデバイスをリセットします リセット: VC_CORERESET は CPU を停止しませんでした。(デバッグ ロジックもリセット ピンによってリセットされますか?)。 リセット: 再接続して CPU を手動で停止します。 ID 0x2BA01477 の SW-DP が見つかりました DPv0が検出されました CoreSight SoC-400 以前 AP マップの検出をスキップしました。手動で構成された AP マップが見つかりました。 AP[0]: AHB-AP (IDR: 未設定、ADDR: 0x00000000) AP[0]: コアを発見 AP[0]: AHB-AP ROMベース: 0xE00FF000 CPUIDレジスタ: 0x410FC241。実装者コード: 0x41 (ARM) Cortex-M4 r0p1、リトルエンディアンが見つかりました。 CPUを停止できませんでした リセット: コアはリセット後に停止せず、WDT を無効にしようとしました。 リセット: DEMCR.VC_CORERESET によるリセット後にコアを停止します。 リセット: リセットピン経由でデバイスをリセットします リセット: VC_CORERESET は CPU を停止しませんでした。(デバッグ ロジックもリセット ピンによってリセットされますか?)。 リセット: 再接続して CPU を手動で停止します。 ID 0x2BA01477 の SW-DP が見つかりました DPv0が検出されました CoreSight SoC-400 以前 AP マップの検出をスキップしました。手動で構成された AP マップが見つかりました。 AP[0]: AHB-AP (IDR: 未設定、ADDR: 0x00000000) AP[0]: コアを発見 AP[0]: AHB-AP ROMベース: 0xE00FF000 CPUIDレジスタ: 0x410FC241。実装者コード: 0x41 (ARM) Cortex-M4 r0p1、リトルエンディアンが見つかりました。 CPUを停止できませんでした CPUを停止できませんでした CPUを停止できませんでした ****** エラー: CPU を停止できませんでした。 メモリゾーン: ゾーン: 「デフォルト」 説明: デフォルトのアクセスモード Cortex-M4 が識別されました。 J-Link> Re: Unable to flash S32K146EVB-Q144 board as D1 glowing red オシロスコープを使用してリセットピンの波形を観察し、波形を送信してリセット期間とハイレベル幅を教えてください。場合によっては回復不可能となり、S32K1 チップを交換しなければならないこともあります。   接続戦略と回復手順: 目標: デバッガーにコアを停止し、問題のあるファームウェアを無効にする機会を与えます。 A. SWD速度を下げる + 「リセット時に接続」 J-Link Commanderの場合: J-Link> device S32K146 J-Link> if SWD J-Link> speed 1000 ; start at 1 MHz; if still failing, drop to 100 kHz J-Link> connect それでも失敗する場合は、手動の connect‑under‑reset を使用します。 RESET_b を外部的に低く保持し、ボードに電源を投入します。 Commander で connect を実行します。 リセットを解除し、直ちに次の操作を実行します。 J-Link> r J-Link> h J-Link> halt 特に 100 kHz SWD 速度ではタイミングが重要になる可能性があるため、何度か試してください。 B. J-Linkリセット戦略の変更 リセット戦略の値によって動作が異なります。Commander の場合 (正確な ID はバージョンによって異なる場合があります): J-Link> SetResetType = 3 ; a common “connect under reset / halt after reset”; Try 2 / 4 / 12 etc. depending on your J-Link version J-Link> r J-Link> halt または、J-Link Commander で「リセット状態で接続」を選択してみてください。 Re: Unable to flash S32K146EVB-Q144 board as D1 glowing red S32K146EVB-SPF-29844-RB.pdfによると: J104 1-2 OpenSDAからのリセット信号 J10 2-3 P5V0 外部の 9V または 12V 電源がある場合は、 J107 1-2 P5V_SBC を接続することもできます。PEMicro Multilinkなどの外部デバッガーをお持ちの場合は、それを使用して、S32K146 用のプログラムをダウンロードできるかどうかを確認してください。 最後にダウンロードされたプロジェクトは何ですか?CSEc は有効になっていますか? 前回の質問に答えて、オシロスコープを使用して測定したリセット信号を提供してください。
View full article