Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
LPC5514JBD64E 用于 WS2812。 您好, LPC5514JBD64E 适合初学者使用 WS2812 吗?如果适合,我可以在哪里找到代码和其他详细信息? 谢谢! LPC55xx Re: LPC5514JBD64E Use for WS2812. 嗨@Kishore02 感谢您的帖子! 目前尚无关于 LPC551x 上 WS2812 实现的信息,您可以使用可编程逻辑单元 (PLC) 来实现。在其他设备中,有使用 FlexIO 模块的示例,例如 MCXA366 的应用代码中心: https://mcuxpresso.nxp.com/appcodehub ?search=an-emulating-ws2812-bus-with-flexio-on-mcx366 此外,一位同事还发布了一篇关于如何在 Kinetis 开发板上实现该协议的文章: NXP FlexIO Generator for the WS2812B LED Stripe Protocol 希望这些信息对您有所帮助。 Re: LPC5514JBD64E Use for WS2812. LPC5514JBD64E(采用运行频率高达150MHz的ARM Cortex-M33内核)是一款功能强大的微控制器,但对于使用WS2812(NeoPixel)可寻址LED的初学者来说,它并非理想之选。
View full article
S32 DSのS32プラットフォームv.3.5更新 S32 Design Studio for S32 プラットフォーム v.3.5 ライセンス要到期了、請問如何续呢? xzhao_0-1787825210468.pngxzhao_0-1787825210468.png
View full article
MBDT_S32E2_问题 各位同事,我目前无法安装 S32Z/E 的基于模型的设计工具箱,因此我联系你们寻求帮助。我的系统上安装了 MATLAB 2024b(甚至尝试过 MATLAB 2026a),并且我还有一个有效的 NXP 帐户。我下载了 NXP_Support_Package_S32ZE_1.4.0_D2512.mltbx 文件,但是当我尝试继续安装时,该过程无限期地卡住,既没有完成也没有进一步进展。我非常感谢您能帮忙找出导致此问题的原因,并指导我如何才能成功完成安装。如果有什么日志或其他细节需要我提供以协助排查问题,请告诉我。感谢您提前给予的支持。 附图供您参考。 Re: MBDT_S32E2_Issue 感谢Joey_z的回复。 我已按照 MBD Toolbox S32Z/E 系列快速入门指南中的说明进行操作。但问题依旧存在。 另外,这个工具箱支持 MATLAB 2026a 吗? 谢谢并致以诚挚的问候 拉维 Re: MBDT_S32E2_Issue 你好, RaviThade1 感谢您与我们联系。 请参考以下链接进行申请: MBD 工具箱 基于模型的设计工具箱 | 恩智浦半导体 BR 乔伊 Re: MBDT_S32E2_Issue 添加更多信息(附截图)。 Re: MBDT_S32E2_Issue 嗨 Joey_z, 您有时间看一下我发给您的详细资料吗?我已经提供了所有细节。 您的回复说“用户需要执行工具箱 m 脚本”,但是 2024b/2026a 并没有生成工具箱 m 脚本。原因可能是什么? 我还有什么遗漏的吗? 提前致谢, 此致, 拉维 Re: MBDT_S32E2_Issue 你好,RaviThade1 请参阅入门指南信息。 基于模型的设计工具箱使用了由以下方式公开的工具链机制: 使用 MATLAB/Simulink 和 Embedded Coder 工具箱实现自动代码生成。经过 默认情况下,工具链配置为 MATLAB 2022a 版本。对于任何其他 MATLAB 版本,用户需要执行工具箱 m 脚本来生成安装环境的适当设置。 BR 乔伊 Re: MBDT_S32E2_Issue 你好,RaviThade1 感谢您的回复。 本频道主要讨论与 S32Z/E 相关的技术问题。 目前,MBDT 相关的详细信息查询将在以下 MBDT 社区获得更多支持: https://community.nxp.com/community/mbdt 您能否在上述社区中创建一个新帖子?负责此主题的工程师会积极监测该论坛,并能为您提供进一步的帮助。 BR 乔伊
View full article
如何将 Plug and Trust MW 集成到 OP-TEE 中 NXP社区的各位朋友,大家好! 我目前正在努力将 Plug and Trust 中间件与 OP-TEE(用于带有 TrustZone 的 MCU 的绑定)集成到我们的项目中。 我已查阅了 AN12662(将主机设备绑定到 EdgeLock SE05x)修订版 1.1,但我找不到详细的分步说明或涵盖确切集成过程的具体章节。 请问您能否指出 AN12662 中介绍此集成的具体章节或页面,或者提供其他文档/示例代码,说明如何构建 Plug and Trust MW 并将其与 OP-TEE 集成? 以下是我的环境详情: 电路板:MCIMX8M-WEVK 和 OM-SE051ARD Plug and Trust MW 版本:v04.07.01 OP-TEE 操作系统版本:3.19.0 Linux 内核:6.1.151 任何指导、应用笔记或相关代码库的链接都将不胜感激。 SE050 Re: How to integrate Plug and Trust MW into OP-TEE 嗨@Uc_S , 感谢您提出的详细问题。您说得对, AN12662 Rev. 1.1 不包含 OP-TEE 的逐步构建说明——它涵盖了概念绑定架构。与您的用例最相关的章节是第 3.2 节(第 12-13 页):“使用 TrustZone 的 MCU 绑定” ,其中描述了如何将 Plug & Trust MW 加载到 TEE 中,以便从可信执行环境内部处理 SCP03 通道的建立。 实际的**版本**集成是通过不同的路径处理的——以下是适用于您环境的正确方法的摘要。 工作原理 与其在 OP-TEE 内部以独立组网 \\(SA\\) TA 的形式运行完整的 Plug & Trust MW,不如使用 OP-TEE内置的 SE05x 加密驱动程序 ( CFG_NXP_SE05X=y )。该驱动程序在 OP-TEE 构建时将 Plug & Trust MW 链接为静态库,从而允许 OP-TEE 内核将 RSA、ECC、RNG 和其他操作卸载到 SE051。 步骤 1 — 禁用 SE051 总线的 Linux I2C 连接到 SE051 的 I2C 控制器必须由 OP-TEE 独家拥有。你需要一个 Linux DTB 来禁用该 I2C 接口,这样 Linux 在启动时就不会探测到它。从包含此更改的分支构建板的 DTB,或者在 DTS 中手动禁用相关的 I2C 节点。 步骤 2 — 使用 SE05x 驱动程序构建 OP-TEE 操作系统 通过 CFG_NXP_SE05X_PLUG_AND_TRUST 将版本指向您提取的 Plug & Trust MW v04.07.01 目录。示例构建命令(请根据您的开发板调整 PLATFORM= ): make -j8 PLATFORM=imx-mx8mevk O=./build-imx8m-se050 CFG_TEE_CORE_LOG_LEVEL=4 CFG_NXP_CAAM=n CFG_NXP_SE05X=y CFG_IMX_I2C=y CFG_STACK_{THREAD,TMP}_EXTRA=8192 CFG_NXP_SE05X_RSA_DRV=y CFG_NXP_SE05X_ECC_DRV=y CFG_NXP_SE05X_CTR_DRV=n CFG_NXP_SE05X_RNG_DRV=y CFG_WITH_SOFTWARE_PRNG=n CFG_NXP_SE05X_PLUG_AND_TRUST=/path/to/plug-and-trust 如果要同时启用 CAAM 和 SE051(例如,CAAM 处理 AES/RNG,SE051 处理 RSA/ECC),请相应地替换 CAAM 标志: CFG_NXP_CAAM=y CFG_NXP_CAAM_AE_{GCM,CCM}_DRV=y CFG_NXP_CAAM_RNG_DRV=y CFG_NXP_SE05X_RNG_DRV=n CFG_WITH_SOFTWARE_PRNG=n CFG_NXP_SE05X_{DIEID,RSA,ECC,CTR}_DRV=y CFG_NXP_SE05X_RSA_DRV_FALLBACK=y CFG_NXP_SE05X_ECC_DRV_FALLBACK=y CFG_CRYPTO_DRV_{CIPHER,ACIPHER,AUTHENC}=y 步骤 3 — 验证 OP-TEE 启动时是否检测到 SE051 启动成功后,您应该在 OP-TEE 控制台中看到类似以下的输出: I/TC: se050: Info: Applet Major = 7 I/TC: se050: Info: OEF ID a8.fa OEF ID A8FA 确认您拥有 SE051C2 型号,该型号与 OM-SE051ARD 板匹配。 已知注意事项 MCIMX8M-WEVK (i.MX8MQ EVK)平台标志可能与 imx-mx8mmevk 略有不同。调整 PLATFORM= 值以匹配您的电路板。 当 RSA 被卸载到 SE051 时,运行繁重的 OP-TEE 加密回归测试(例如 xtest regression_4007_rsa )可能会耗尽 SE051 的持久 NVM。这是一个已知的限制——如果需要,您可以使用 ssscli se05x reset 清除 SE051 NVM。 您的 Linux 内核版本为 6.1.151应该可以工作,但请确保在内核 DTS 中完全禁用 SE051 的 I2C 控制器节点。 有用的外部参考资料 Foundries.io 团队已发布了关于此集成的详细公开文档,是对 NXP 应用笔记的良好补充: 参考手册: https://docs.foundries.io/86/reference-manual/security/secure-elements/secure-element.050.html 博客第一部分(I2C,早期启动): https://foundries.io/insights/blog/se050-000.processor-to-se-comms/ 博客第二部分(SCP03 与 OP-TEE): https://foundries.io/insights/blog/se050-001.scp03/ 如果您在版本过程中遇到任何问题,请告诉我,我将很乐意提供进一步的帮助。   祝你有美好的一天, 坎 ------------------------------------------------------------------------------- 笔记: - 如果此回复解答了您的问题,请点击“标记为正确答案”按钮。谢谢你! - 我们会持续关注帖子,从最后一条回复发出后持续7周,之后的回复将被忽略。 如果您之后有相关问题,请另开新帖并引用已关闭的帖子。 -------------------------------------------------------------------------------
View full article
Profinet VS 代码示例在 FRDM-IMXRT1186 上无法运行 我想基于RT11186开发一个PROFINET设备,并根据UG10320 V1.0、UG10455 V1.0和AN15104 V1.0测试PROFINET演示程序。我执行了以下操作: 1. 解压 Profinet-Stack-Library 和 AN15104.zip。 2. 将 frdm_pn.patch 复制到 Profinet 堆栈的文件夹中,并按照 readme 中的说明应用补丁。 3. 根据 prj.conf.rej/mcux_include.json.rej/mcuxpresso-tool.json.rej 文件手动修改项目配置。这与AN15104的4.3章内容相同。 以下定义已包含在 cakelist.txt 文件中。它们没有被修改。 -DCPU_MIMXRT1186CVJ8C_cm33 -DMIMXRT1186_cm33_系列 -DXIP_BOOT_HEADER_ENABLE=1 4. 添加 "#if (defined(CPU_MIMXRT1186CVJ8C_cm7)... #ifndef configENABLE_FPU...." 以启用 FPU。指南中未包含此步骤。如果不进行修改,编译将会失败,因为FreeRTOSConfig.h中默认的CPU是RT1189。 5. 将基于 SDK 2.6.3 的 Profinet 项目导入 VS Code。 6. 根据 UG10455 第 5 章的步骤 8 和 9,在 sysbuild.cmake 中添加项目“31_led_button”。 7. 将 FRDM-IMXRT1186 的 J12 和 J18 改为 1-2 连接,以启用 NETC PHY。 8. 构建项目并将镜像下载到 FRDM-IMXRT1186。 9. 安装 JDK、Npcap 并打开 ICE。ICE 版本为 V1.7,提取自 port-ICE-202509180853-win32.win32.x86_64.zip。 10.根据 UG10320 第 6 章,Profinet 设备已成功扫描。 11. 根据 UG10320 第 7.1 章的步骤 1~7 设置 DAP、模数和缩减比。按照7.1章第8步的步骤,点击连接按钮后失败了。 您能帮我分析一下为什么无法建立循环沟通吗? 能否提供 FRDM-IMXRT1186 的 Profinet 镜像,以便我检查问题是出在 VS Code 项目还是 IEC/硬件上? 顺祝商祺! Re: Profinet VS code example does not work on FRDM-IMXRT1186 亲爱的@wlfworld , 我在 RT1180 EVK 上进行了测试,观察到了相同的现象:扫描过程中可以发现设备,但连接失败。因此,这似乎与您的移植工作无关。 我们目前正在内部调查此事。一旦我们确定了根本原因或有任何更新,我们将尽快与您联系。 顺祝商祺! 雪莉 Re: Profinet VS code example does not work on FRDM-IMXRT1186 亲爱的@wlfworld , 你使用的是哪个GSDML文件?我之前使用了错误的文件,所以才无法使其正常运行。切换到 GSDML-V2.45-portExample-test-20260120.xml(位于 Profinet-Stack-Library\RT1180_PROFINET_MCTC_LIB_GOAL_V_3_1_0-2\appl\goal_pnio\31_led_button 中)后,我能够使用 ICE 工具建立循环通信。 ShellyZhang_0-1787654308913.pngShellyZhang_0-1787654308913.pngShellyZhang_0-1787654308913.pngShellyZhang_0-1787654308913.png 请问您在哪个步骤遇到了问题?如果可以的话,能否分享一下屏幕截图?一般来说,如果在扫描过程中能够发现 PNIO 设备,则设置通常不会出现重大问题。您可能还需要安装 Wireshark 并检查是否有任何 PROFINET 通信数据包正在交换。 如果方便的话,请同时上传您的图片文件。我可以在我这边进行测试并比较结果。 顺祝商祺! 雪莉 Re: Profinet VS code example does not work on FRDM-IMXRT1186 @ShellyZhang非常感谢! 如果应用 GSDML-V2.45-portExample-test-20260120.xml,则会建立循环通信。我在之前的操作中选择了二进制压缩包中的 xml 文件。 顺祝商祺! Re: Profinet VS code example does not work on FRDM-IMXRT1186 你好 wlfworld, 我很高兴您能够解决这个问题。如果您还有其他问题,请随时创建新帖。 此致, 雪莉
View full article
RT1176 外部闪存启动失败 我是RT1176开发新手。在 J-Link SWD 模式下,陀螺仪、Wi-Fi 和其他外围设备均已完全调试完毕,工作正常。但是,我从 Flash 启动时遇到问题,总是失败。请问我应该检查哪些方面? HW-开源 Re: RT1176 external flash boot failure 嗨@Amily , 除了 Marek 提到的内容之外,以下知识库文章是了解 i.MX RT 如何从 FlexSPI 启动的良好起点。 i.MX RT FLEXSPI 启动指南 此外,您能否帮我解答以下问题? 进行测试时,您使用的是 EVK 测试板,还是使用了定制的测试板? 如果您使用的是定制电路板,您使用的是哪种闪存设备?它和EVK上使用的设备是同一型号吗? 你使用的是哪个集成开发环境(IDE)? 你使用的是哪个SDK版本? 在调试外设时,您是否使用了任何 SDK 示例? 此致, 巴勃罗 Re: RT1176 external flash boot failure 嗨@Amily 我建议您检查一下 FCB(闪存配置块)是否正确。 考虑使用安全配置工具( https://nxp.com/sec )将可启动应用程序安装到闪存中。它可以帮助你发现常见的错误。
View full article
Secondary failed allocate mbuff from DPDK Pool hi All, Using : LX2160  LSDK 2108 main  MC firmware version: 10.32.0 DPDK Version : dpdk_19_11_tags_LSDK20.04-isc-09 Primary ( DPDK ) Process : Create a mbuff Pool using [ rte_pktmbuf_pool_create("dlmempool", ] Secondary ( DPDK ) Process : fails to allocate mbuff using API [ rte_pktmbuf_alloc(mempool) ] In Secondary i can see mempool is correct. I can see mbuff available is full. The failure happens for 1st mbuff allocation using  rte_pktmbuf_alloc. Any solution for this. Thanks. Re: Secondary failed allocate mbuff from DPDK Pool thanks i will try these options and update you by tomorrow Re: Secondary failed allocate mbuff from DPDK Pool Hello, The secondary process must map hugepages at the same virtual address as the primary. If ASLR is active, the secondary will resolve the mempool pointer to a different virtual address, causing the first allocation to fail. echo 0 > /proc/sys/kernel/randomize_va_space   Run this before launching either the primary or secondary process. 2. Provision Sufficient DPMCP Objects Create as many DPMCP objects as the total number of processes (primary + secondary). For 1 primary + 1 secondary, you need at least 2 DMPCPs: export DPMCP_COUNT=3 # for 1 Primary + 2 Secondary (always provision +1 as buffer) ./dynamic_dpl.sh dpmac.X 3. Provision Sufficient DPIO Objects Each process needs its own DPIO portals. The formula is: (Total Processes) × (cores per process + 1 extra per process) For example, 1 primary (2 cores) + 1 secondary (2 cores) = at minimum 9 DPIOs. export DPIO_COUNT=20 # set generously 4. Correctly Blacklist/Whitelist Devices in the Secondary The secondary process must NOT re-initialize I/O devices (dpni, dpbp, dpcon, dpseci). Only dpio and dpmcp should be initialized by the secondary. Pass the correct blacklist flags: # Secondary process example — blacklist all dpni/dpbp/dpcon, allow only dpio + dpmcp ./your_secondary_app --proc-type=secondary \ -b fslmc:dpni.X \ -b fslmc:dpbp.X \ -b fslmc:dpcon.X \ -- [app args]   Or alternatively, explicitly whitelist only the dpio and dpmcp objects assigned to the secondary: ./your_secondary_app --proc-type=secondary \ -w fslmc:dpio.Y \ -w fslmc:dpmcp.Z \ -- [app args] 5. Use --proc-type=secondary EAL Argument Ensure the secondary is launched with the correct EAL flag: ./your_secondary_app -c -n 1 --proc-type=secondary ...   Or use --proc-type=auto to let DPDK auto-detect. 6. Verify the Mempool Lookup in Secondary In the secondary, do not call rte_pktmbuf_pool_create again. Instead, look up the existing pool created by the primary: // In secondary process: struct rte_mempool *mempool = rte_mempool_lookup("dlmempool"); if (mempool == NULL) { // Error: pool not found — ASLR or hugepage mapping issue } struct rte_mbuf *m = rte_pktmbuf_alloc(mempool);     If rte_mempool_lookup returns a valid non-NULL pointer but rte_pktmbuf_alloc still returns NULL, the issue is almost certainly the DPIO portal not being initialized for the secondary's thread/core.   Regards
View full article
S32 DS for S32 Platform v.3.5 更新 S32 Design Studio for S32 Platform v.3.5 许可证要兑了,请问如何续呢? xzhao_0-1787825210468.pngxzhao_0-1787825210468.png
View full article
BT firmware accepted over UART but controller never runs; and EdgeFast download corrupts at the 3M   I have raised a related/companion support ticket with u-blox, case **CA-276115** (same hardware, module-vendor questions). My questions below are about NXPs **IW416 ROM's firmware-authentication behaviour** and an **EdgeFast download bug on NXP's own reference board**. Every figure is a measurement and full logs attached. ## 1. Summary — two DISTINCT failures, please keep them separate On a **u-blox M2-MAYA-W161** (NXP **IW416**) in a **MIMXRT1170-EVKB Rev C3**, BT HCI over LPUART2: **Failure A — the core question.** With a clean 115200-baud UART download, the BT firmware **downloads completely and is accepted** (the ROM stops requesting data and does not re-announce), and the controller then **never transmits** — no HCI response at any baud rate. **Failure B — an EdgeFast/board bug.** NXP's stock EdgeFast download flow switches to **3,000,000 baud mid-download** and the link **corrupts at the switch** on this board; the download never completes. This is separate from Failure A and reproducible with NXP software only. > These have different root points. Fixing B (the 3 Mbaud corruption) would not > address A (the post-download silence). We are asking about both, separately. Wi-Fi (SDIO) on the same card works fully — enumeration, station, micro-AP, throughput — so the card, its power, and its level shifters are healthy. --- ## 2. Configuration | Item | Value | |---|---| | Chipset / module | NXP **IW416** in u-blox M2-MAYA-W161-00C-00 | | Host board | MIMXRT1170-EVKB Rev C3, M.2 J54, LPUART2 | | SDK | MCUXpresso **v26.06.00-LTS** | | BT firmware | `uartIW416_bt.bin` **16.92.21.p155.2**, FP92, `w8978`, 131,840 B | | Also tested | **16.92.21.p142.5** (FP91, from `github.com/NXP/wifi_nb_fw@a91d9d6`, Jan 2025) — same result | | Module select | `WIFI_IW416_BOARD_MURATA_1XK_M2` (the SDK has no MAYA profile) | | Board rework | `R404` (PDn) + `R1901` (module→MCU RXD) fitted & verified; flow-control pair `R1816`/`R1902` **not** done — see §5 | --- ## 3. Failure A — the image is accepted, then the controller is silent ### The download completes and is accepted Our own clean-room V3 loader (protocol only, at 115200), instrumented: ``` bt_fw_download=ok chip_id=0x7201 loader_ver=0 start_inds=2 chunks=142 sent=131856/131840 max_off=131840 retx=1 crc_err=0 ``` All 131,840 bytes; the card requested every chunk (16-byte headers, 2048-byte payloads, including out-of-order re-requests at the tail); **one CRC error was reported by the card and recovered by retransmission** — so the ROM's own integrity checking is live. ### Then nothing — and the ROM behaves as if the image was ACCEPTED, not rejected ``` bt_post_dnld[0..3]: n=0 (four 500 ms raw-capture windows after download) bt_raw_reset[0..2]: n=0 (raw HCI_Reset 01 03 0C 00 at 115200, x3) HCI_Reset at 3000000 / 921600 / 460800 / 115200 : no response, framing=0 at all ``` The **key discriminator**: after the UART download the ROM **stops requesting and does not re-announce**. For contrast, when the combo image is downloaded over **SDIO**, the BT core **does re-announce** on the UART (`AB 01 72 00 47` reappears) — i.e. that is what "still in bootloader / not accepted" looks like on this part. So the UART download is **accepted and the loader exited**, and the failure is *between accepting a CRC-valid image and running a controller*. ### Firmware version is not the variable Two official builds — **FP92 p155.2** (2026-03) and **FP91 p142.5** (2025-01, different internal structure, load `0x00080000` vs `0x000A2010`, 178 vs 142 chunks) — both download completely, both are accepted, both leave the controller silent. So this is not a stale/wrong *version*. ### Questions for NXP (Failure A) 1. **Does the IW416 ROM authenticate the UART-downloaded BT firmware against OTP-fused keys**, and if so, **how is a rejection signalled to the host?** We observe: every block accepted, ROM stops requesting, no error frame, no re-announcement, then silence. Is that byte-pattern the documented secure-boot / signature-reject behaviour, or does an authentic image behave this way for another reason? 2. **Is stock `uartIW416_bt.bin` (16.92.21.p155.2) built for a generic / un-fused IW416**, or does it require a matching OTP/secure-boot provisioning on the part? (If the part is fused for a specific OEM key, is the stock image expected to be rejected — which would point us back to u-blox, CA-276115.) 3. **What is the expected controller behaviour in the first seconds after a successful UART download** at 115200 — should it answer `HCI_Reset` immediately, or is a vendor command / delay required first? --- ## 4. Failure B — EdgeFast download corrupts at the 3 Mbaud switch (MIMXRT1170-EVKB) Reproducible with **NXP software only**, on **NXP's own reference board**. Built `examples/edgefast_bluetooth_examples/shell` for the 1170 with `DEBUG_PRINT` enabled so NXP's `fw_loader_uart.c` narrates. From its trace: 1. 115200 header requests are clean and CRC-valid (`REQ=0xA7 Len=10 Off=0 Err=0`); 2. a type-5 UART-config block is sent and **ACKed** (so the type-5 command is accepted in-context on this board/firmware); 3. `change baud-rate req to 3000000`, `changeBaudrate() ret 0` — the switch **reports success**; 4. immediately after: `Invalid Header 0x00` / `0x71`, `REQ = 0xA7, Len = 10a7, Off = 5400, Err = 400, CRC = 0`, `CRC Mismatched`, and `file download: 0: 131840` — stuck at offset 0. The offsets are byte-concatenations (`5400` = two bytes run together): **framing loss**, not overflow. So the card switched to 3 Mbaud and is transmitting; the RT1176 LPUART2 at 3,000,000 baud on this board — DMA-fed, **no usable hardware flow control** — cannot recover the frames. With stock flow-control settings the first post-switch header times out, the loader falls back to 115200, retries, and **loops indefinitely** (>20 min observed). Root cause on the board: **LPUART2's RTS/CTS pads are the gigabit PHY's reset/interrupt lines** (`R1866` → `ETHPHY_RST_B`, `R1816` → `RGMII1_PHY_INTB`), so there is no clean host-RX back-pressure path even after NXP's documented five-item rework — `R1866` is not in that rework. At 3 Mbaud without flow control the host cannot keep up. ### Questions for NXP (Failure B) 4. On the **MIMXRT1170-EVKB**, is the 3 Mbaud EdgeFast BT firmware download a **known limitation without the full flow-control rework** (remove `R1816`, fit `R1902`) — and even with it, given `R1866` keeps the host RTS on the PHY reset, is 3 Mbaud actually supported on this board, or should the `fw_download_secondary_speed` be left at 115200? 5. Is the **infinite retry loop** on a failed secondary-baud switch (`fw_loader_uart.c`) intended? A hard failure after N retries would be far easier to diagnose than an endless progress-dot stream. ### Minor, low priority (same tree) 6. In `edgefast_bluetooth`'s shell, `SHELL_CMD_REGISTER(bt, ...)` registers the `bt` command with a **0-parameter range**, so `fsl_shell.c` rejects every subcommand (`bt init` → "Incorrect command parameter(s)"); the working invocation is the dotted `bt.init`. Likely an `SHELL_ADVANCE` / range-init mismatch worth a look. --- ## 5. What we have already eliminated (so these need not be suggested) All on silicon, MIMXRT1170-EVKB: | Hypothesis | Verdict | |---|---| | type-5 UART-config block missing | our standalone injection is rejected (`CRC_ERR 0x0001`); but NXP's in-flow type-5 IS accepted (§4) — so this is not the blocker for Failure A | | wrong firmware **version** | refuted — FP91 and FP92 both accepted, both silent (§3) | | combo-over-SDIO needed | it does **not** bring BT up on this module — the BT core re-announces from ROM after the SDIO combo download completes | | host download truncating | refuted — 15 s idle poll leaves `sent` unchanged | | HCI baud rate | refuted — 4 rates, `framing=0`, zero bytes | | `wakeUpControllerFromBootSleep()` GPIO pulse | implemented; the card **reacts** (extra greeting) but outcome unchanged | CPU state during the silence (SWD, console detached): `DHCSR 0x01010001` (running; `S_HALT`/`S_LOCKUP` clear), `CFSR`/`HFSR` = 0 — the host MCU is alive and blocked in `controller_init`, not crashed. Only **signature / secure-boot rejection** remains for Failure A, which is exactly Q1/Q2 — and it is the seam between this ticket and u-blox CA-276115. --- ## 6. Reproduction (Failure B, NXP software only) ``` west build -b evkbmimxrt1170 examples/edgefast_bluetooth_examples/shell \ --toolchain armgcc --config flexspi_nor_debug -- -Dcore_id=cm7 \ -DCONFIG_MCUX_COMPONENT_component.wifi_bt_module.IW416=y \ -DCONFIG_MCUX_COMPONENT_component.wifi_bt_module.board_murata_1xk_m2=y ``` Flash, reset, at the `@bt>` prompt type `bt.init`. The download prints progress dots and never completes; enabling `DEBUG_PRINT` in `fw_loader_uart.c` shows the corruption at the 3 Mbaud switch. (`edgefast_open`'s newer shell for the 1170 accepts space-separated `bt init` and hangs the same way.) For Failure A: full instrumented download + HCI evidence at 115200 is attached Re: BT firmware accepted over UART but controller never runs; and EdgeFast download corrupts at the Hi @nicnewdigate , Before we dig deeper into this, could you please confirm a few points? - The MIMXRT1170EVKB_hwrework.md guide lists five required modifications: remove R183, remove R1816, populate R404, populate R1901, and populate R1902. From your notes, it looks like R404 and R1901 have already been completed. Can you confirm the status of R183, R1816, and R1902 as well? - Could you provide a serial log from one of the standard NXP examples running without any changes to app? It could be the bluetooth shell. Build the project for the Murata 1XK M2 - Send over the complete log. - Is the board powered only through USB, or are you using an external 5 V supply? Please use external power. Regards, Daniel. Re: BT firmware accepted over UART but controller never runs; and EdgeFast download corrupts at the Hi @DanielRuvalcaba - thank you for your quick response and your suggestions!  I've completed all three items you asked for. Summary first, then the log. **1. Rework — complete.** All five items of the EdgeFast BT PAL rework for the MIMXRT1170-EVKB are done: R404 and R1901 (fitted earlier), plus **R1902 fitted** and **R1816 + R183 removed**. We confirmed the two removals did not harm the readable BT link — our own 115200-baud loader still downloads the full image cleanly (131,840 bytes, framing errors = 0, byte-identical to before the removals). **2. External power — done.** J38 → 1–2, 5 V into the J43 barrel jack, SW5 on. **3. Unmodified-shell log — captured.** We built `examples/edgefast_bluetooth_examples/shell` from MCUXpresso SDK v26.06.00-LTS, `--config flexspi_nor_debug -Dcore_id=cm7`, armgcc. The only change from stock is the module selection for our card, in the board `prj.conf`: ``` CONFIG_MCUX_COMPONENT_component.wifi_bt_module.IW61X=y → IW416=y CONFIG_MCUX_COMPONENT_component.wifi_bt_module.board_murata_2el_m2=y → board_murata_1xk_m2=y ``` (These are the two Kconfig `choice` members that select the module. Our card is a u-blox MAYA-W161 — an IW416 — so we selected the 1XK/IW416 profile you named. `CONFIG_BT_SIGNING=y` and everything else is stock.) Result at the shell prompt: ``` @bt> bt.init [FW Download] Start to download firmware from 0x301198fc: 6812 download starts(131840) ...................................................................... (141 dots) download success! [FW Download]BLE FW is downloaded: 8265 ← then nothing, for the remaining 90+ seconds. bt.init never returns. ``` **Two things changed since our earlier report, and both matter:** **A — the 3 Mbaud download now COMPLETES.** Before the flow-control rework the stock loader corrupted at the 115200 → 3,000,000-baud switch and looped indefinitely. With R1902 fitted and R1816 removed (real CTS back-pressure), it now moves all 131,840 bytes in ~1.45 s (timestamps 6812 → 8265 ms — the high-speed rate) and prints `download success!`. So the rework fixed the download-side problem, exactly as expected — thank you for insisting on it. **B — the controller is still silent after a SUCCESSFUL download.** This is the core question. After `download success!` / `BLE FW is downloaded`, the stack receives nothing from the controller — no `Bluetooth initialized`, no error — and `bt.init` hangs. The host MCU is alive and blocked, not crashed; with the console detached we read over SWD: ``` DHCSR = 0x01010001 (running: S_HALT=0, S_LOCKUP=0, S_RETIRE_ST=1) CFSR = 0x00000000 (no configurable fault) HFSR = 0x00000000 (no hard fault ever taken) ``` So the CM7 is waiting in the stack for an HCI reply that never comes. This is now a very clean data point: on NXP's **own unmodified EdgeFast stack**, with the full rework and external power, the card **accepts a complete, CRC-checked firmware image and then runs no HCI controller**. The earlier "the 3 Mbaud download is corrupt" explanation no longer applies — the download demonstrably succeeds. **Our questions (unchanged, now isolated from any download-integrity variable):** 1. Does the IW416 ROM authenticate the UART-downloaded BT firmware (e.g. against OTP-fused keys), and if so, how is a rejection signalled to the host? We see every block accepted, `download success!`, then silence — no error frame and no re-announcement. 2. Is the stock `uartIW416_bt.bin` (16.92.21.p155.2) built for a generic / un-fused IW416, or does a part fused for a specific OEM key require a matching signed image? If so, that points us back to u-blox (companion case CA-276115). 3. In the first seconds after a successful UART download, should the controller answer `HCI_Reset` immediately at the post-download rate, or is a vendor command / delay required first? I'm happy to share the full serial capture and the complete SWD register block, and we can enable `DEBUG_PRINT` in `fw_loader_uart.c` for a narrated download trace if that would help. Thanks so much for your time and effort - Its hugely appreciated!!! cheers - Nic
View full article
MCX-N947 Motor Control example code is not available in SDK. Hi Team, I am unable to find the motor control SDK example for the MCX-N947. I am using the latest SDK downloaded through the NXP SDK Builder. Could you please let me know where I can find the example code for motor control on the MCX-N947? Thank you. MCXN Motor Control Re: MCX-N947 Motor Control example code is not available in SDK. Hello @embedabu , Thanks for your post. Regarding the Motor Control demo, it is not necessarily included in every SDK release. If the demo has not changed compared to the previous SDK version, it is typically not repackaged in subsequent SDK releases. You can refer to the MCUXpresso SDK for Motor Control | NXP Semiconductors webpage to identify which SDK version contains the latest available release of a specific demo. For example, for FRDM-MCXN947, the demo can be found in SDK v26.03. for MCXN9XX EVK board, the demo can be found in SDK v2.14. Celeste_Liu_0-1787886386939.pngCeleste_Liu_0-1787886386939.png Hope it helps. BR Celeste
View full article
IW610 (USB) ファームウェアが「WLAN FW がアクティブ」になってから約 4 秒後にクラッシュします。 こんにちは、 OpenWrt 25(カーネル6.12)でIW610Gモジュールを起動するのに苦労しています。列挙は順調に進み、ファームウェアのダウンロードも問題なさそうですが、クラッシュが発生します。 USBの列挙とファームウェアのダウンロードは毎回成功します。モジュールはメインファームウェアを起動し、「WLAN FW is active」と表示し、VDLLブロック(48000バイト)をロードします。その後、**一貫して約3.9~4.1秒後**にファームウェアがクラッシュし、独自のダンプ(「FW trigger fw dump」)がトリガーされます。このタイミングは数十回のブート(コールドブートとウォームEHCIリバインドサイクルの両方)で非常にデターミニスティックであり、ランダムな信号ノイズではなく固定された内部タイマー/ウォッチドッグであると推測します。 この正確な起動時からのフルファームウェアダンプ(「file_fwdump」、1,230,600バイト)とドライバー情報ダンプ(「file_drv_info」、259,772バイト)が添付されています。 最新のクリーンブート時の関連するdmesgの抜粋全文: [ 34.484411] usb 1-1: 新しいUSBデバイスが見つかりました。idVendor=0471、idProduct=0214、bcdDevice=40.00 [ 34.500356] USB 1-1: 製品:NXPワイヤレスデバイス [ 34.525526] VID/PID = 471/214、Boot2 バージョン = 4000 [ 34.573668 リクエストファームウェア:nxp/usbusb_iw610.bin.se [ 37.189918] fw_dnld: 808824バイトダウンロード [ 37.381917] USB 1-1:USB切断、デバイス番号2 [ 37.883662] USB 1-1:EHCIプラットフォームを使用した新しい高速USBデバイス番号3 [ 38.115044] USB 1-1:新しいUSBデバイスが発見、idVendor=0471、idProduct=0215、bcdDevice=32.01 [ 38.131013] USB 1-1:製品:BluetoothおよびワイヤレスLANコンポジットデバイス [ 38.288804] USB probe: idVendor=471 idProduct=215 bInterfaceNumber=0 [ 38.295470] VID/PID = 471/215、Boot2 バージョン = 3201 [ 38.300509] woal_usb_probe: 無効なエンドポイント割り当て [ 38.306315] USB probe: idVendor=471 idProduct=215 bInterfaceNumber=0 [ 38.312906] VID/PID = 471/215、Boot2 バージョン = 3201 [ 38.318003] woal_usb_probe: 無効なエンドポイント割り当て [ 38.473628] USB probe: idVendor=471 idProduct=215 bInterfaceNumber=0 [ 38.480227] VID/PID = 471/215、Boot2 バージョン = 3201 [ 38.485411] モアルハンドル操作を取り付けろ、カードインターフェースタイプ:0x40d [ 38.628304 ] WLAN FWは稼働中 [ 38.631408 on_time 38628138922 [ 38.655388] VDLL: ファームウェアをリクエスト:nxp/usbusb_iw610.bin.se [ 38.671234] VDLLイメージ: 長さ=48000 [ 38.675868] fw_cap_info=0x487cbf03、dev_cap_mask=0xffffffff [ 38.681912] uuid: 30548cc5aad797baaa0885c430d55486 [ 38.686932] max_p2p_conn = 8、max_sta_conn = 8 [ 42.576334] FW トリガー fw ダンプ <-- 「WLAN FW がアクティブです」から約 3.95 秒後 [ 42.579535] =====FWトリガーダンプ==== [ 42.589155] ディレクトリ /var/dump_42 の作成に成功しました [ 42.601497] ファームウェアダンプディレクトリ名は /var/dump_42 です [ 42.607105] DRVダンプデータは/var/dump_42/file_drv_infoにあります [ 43.786094] IOCTL が失敗しました: d64defa8 id=0xd0000、sub_id=0xd0004 action=1、status_code=0x80000007 [CMD_CANCEL] (MLAN_OID_11D_DOMAIN_INFO_EXT) [ 43.796200] IOCTL が失敗しました: 12d298a2 id=0x30000、sub_id=0x30003 action=2、status_code=0x80000007 [CMD_CANCEL] (MLAN_OID_ANT_CFG) [43.807348] 11D: FW でドメイン情報を設定する際にエラーが発生しました [ 43.844117] ファームウェア情報の取得に失敗しました!ステータス=-1、エラーコード=0x0 [43.954897] ファームウェア初期化失敗 [43.963379] カードが削除されました: -2 [ 44.027311] woal_usb_probe: woal_add_card が失敗しました 「WLAN FWがアクティブになった」状態から約4秒後に発生するという決定性、およびキャンセルされた2つのコマンド(`ANT_CFG`、`11D_DOMAIN_INFO_EXT`)を考慮すると、このクラッシュのシグネチャは`MM6X18540`シリーズの既知の問題と一致しますか?それとも、ファームウェアダンプで確認すべき特定の事項がありますか?必要であれば、`file_fwdump`/`file_drv_info`を直接共有することも可能です。どのような方法で送信すればよろしいでしょうか? アドバイスをいただければ幸いです。 - **ホストSoC**:Qualcomm Atheros QCA9533(AR9531/QCA9533ファミリ)、カスタムボード、OpenWrt、Linuxカーネル6.12.71(ath79ターゲット)。 - **モジュール**:NXP IW610(Wi-Fi 6 + BLE 5.4 + 802.15.4コンボ)、このテスト用にUSB2.0(Wi-Fi + BT)経由で接続;SPI(802.15.4)リンクはボード上にありますが、現在は無効化されています(下記参照)。 - **ドライバ**: 'nxp-imx/mwifiex', コミット '09f41e1423e4806a127507d5fa284cd02c46772f' — 「ホットフィックスリリースMM6X18540.p41のドライバコミット(2025-12-23)、ブランチ `hotfix/lf-6.12.49_2.2.0_hotfix`。`MLAN_RELEASE_VERSION "540.p41"`をコンパイルしました。 - **ファームウェア**: `usbusb_iw610.bin.se`(Wi-Fi+BTのみ、SPIブロックなし)、`nxp-imx/imx-firmware`コミット`216a015fea`から取得 — "ホットフィックスリリースMM6X18540.p41 2025-12-23のファームウェアコミット"、内部タグ`IW610-18.99.5.p86`。これはNXP独自のリリースノートとp41ドライバーのペアです。 - モジュールパラメータ (`wifi_mod_para.conf`):'USBIW610 = { dual_nb=0 fw_name=nxp/usbusb_iw610.bin.se }' — これは明示的に2つ目の狭帯域(802.15.4/SPI)ファームウェアブロックを無効化するため、純粋なUSB Wi-Fi+BTを単独でテストしています。 Re: IW610 (USB) firmware crashes ~4s after "WLAN FW is active" デバッグモードでは、DOMIAN INFO が FW から応答されなかった最後のコマンドのようです。 [ 1221.243476]QUEUE_CMD: 802_11_SNMP_MIB [0x16] がキューに追加されました [ 1221.251155] 11D:Country=US band=0 sub-band=1 dfs_region=1 [ 1221.256730] 11D: 最初のチャネル=1、チャネル数=11、最大送信電力=23 [ 1221.262395] mlan%d: [ 1221.262402]QUEUE_CMD:802_11D_DOMAIN_INFO[0x5b]がキューに入っています [ 1221.270406 wlan_set_regiontable: 2.4G 0x10 [ 1221.274723 wlan_set_regiontable: 5G 0x10 [ 1221.283423] mlan%d: [ 1221.283454]DNLD_CMD (1221.280171):802_11_SNMP_MIB [0x16]、act 0x1、len 16、seqno 0x18、タイムアウト 5000 [ 1221.295486] mlan_write_data_async_complete: CMD [ 1221.300210] mlan_recv: CMD (1221.296961) [ 1221.313352] mlan%d: [ 1221.313384]CMD_RESP (1221.310098):802_11_SNMP_MIB [0x8016]、結果 0、長さ 16、シーケンス番号 0x18 [ 1221.324316] mlan%d: [ 1221.324327]DNLD_CMD (1221.321067):802_11D_DOMAIN_INFO [0x5b]、act 0x1、len 32、seqno 0x19、タイムアウト 5000 [ 1221.336726] mlan_write_data_async_complete: CMD [ 1221.498408] mlan%d: [ 1221.498441]QUEUE_CMD:802_11_RF_ANTENNA[0x20]がキューに入っています [ 1221.540732 mlan_recv: イベント0x73 (1221.537479) [ 1221.545540]FWトリガーfwダンプ [ 1221.548946] =====FWトリガーダンプ==== Re: IW610 (USB) firmware crashes ~4s after "WLAN FW is active" Big Endian版では変換が見落とされているようです Nxpケースはもう使えないので、ここでパッチを投稿しています Re: IW610 (USB) firmware crashes ~4s after "WLAN FW is active" こんにちは、 @Nicolas07 現時点では、最新リリースでこの問題がまだ起きているかどうか試してみることをおすすめします。 FW: imx-firmware/FwImage_IW610_USB (lf-6.18.20_2.0.0) · nxp-imx/imx-firmware · GitHub ドライバ: GitHub - nxp-imx/mwifiex: WiFi拡張機能 · GitHub 同時に、これが既知の問題かどうかを社内で確認し、また、当社のI.MX 8MMiniボードとIW610-EVK(USB-USBモードに設定)を使用して、当社のボードに問題があるかどうかを試してみます。 よろしくお願いいたします。 Christine。
View full article
LPC5514JBD64EはWS2812用です。 こんにちは、初心者LPC5514JBD64E WS2812の扱いに適していますか?もしそうなら、コードやその他の詳細はどこで入手できますか? よろしくお願いします。 LPC55xx Re: LPC5514JBD64E Use for WS2812. こんにちは、@Kishore02さん 投稿ありがとうございます! LPC551x向けのWS2812の実装については情報がありませんが、プログラマブルロジックユニットを使うことができます。他のデバイスでは、アプリケーションコードハブのMCXA366 https://mcuxpresso.nxp.com/appcodehub?search=an-emulating-ws2812-bus-with-flexio-on-mcx366  また、Kinetisボード向けに実装した同僚の投稿もあります:NXP FlexIO Generator for the WS2812B LED Stripe Protocol( LED Stripe Protocol) この情報が参考になれば幸いです。 Re: LPC5514JBD64E Use for WS2812. LPC5514JBD64E(最大150MHzのARM Cortex-M33コア搭載)は強力なマイクロコントローラですが、WS2812(NeoPixel)アドレッサブルLEDを扱う初心者には理想的な選択肢ではありません。
View full article
TapLinx Java Classic Library に ClassicFactory クラスがありません 親愛なるNXPサポートチームへ、 MIFARE Classic S70 4K カード で動作させるためにJava TapLinxライブラリをダウンロードしました 。しかし、 ClassicFactory.class ファイルがClassic TapLinxのJARに含まれていない ことに気付きました。 私の理解では、 ClassicFactoryはClassicカードインスタンスを作成するために必要であり、 DESFireカードでDESFireFactoryを使用するのと同様です。 IDESFireEV3 desfire = DESFireFactory.getInstance() .getDESFireEV3(TapLinx.INSTANCE.getCustomModules()); 以下の点についてアドバイスをいただけますか? ClassicFactoryは別のJARファイルまたはライブラリとして含まれていますか? もしそうなら、使うべき正しいライブラリやバージョンを教えていただけませんか? Java TapLinxライブラリを使ってMIFARE Classic S70 4Kを扱うための別のAPIや推奨の方法はありますか? Classic TapLinxライブラリは、私が使っているJava(非Android)環境と互換性がありますか? TapLinxを使ってMIFARE Classic S70 4Kカードを正しく初期化し、通信する方法についてご指導いただけるとありがたいです。 アプリ登録 認証サーバーの問題 コード・サンプル オフライン認証 オンライン認証 Re: ClassicFactory class Missing from TapLinx Java Classic Library お世話になります。 私たちの製品にご関心を持っていただき、ありがとうございます。 MIFARE Classicは新しいデザインには推奨されていないことを覚えておいてください。これは製品サポートページに記載されています:MIFARE Classic EV1 1K - 4K | NXP Semiconductors MIFARE DESFire Light | NXP Semiconductors をお勧めします。 MIFARE Classicの正しいAPIを取得するには、Taplinx AndroidのJavaDocを開いてください: https://www.nxp.com/webapp/Download?colCode=ANDROIDJAVADOC&appType=license このドキュメントでは、MFClassic の API について説明します。   Fabian_R_0-1787778230590.pngFabian_R_0-1787778230590.pngFabian_R_0-1787778230590.pngFabian_R_0-1787778230590.png Re: ClassicFactory class Missing from TapLinx Java Classic Library Fabian_Rさん、迅速なご対応ありがとうございました。 しかし、問題は添付画像に示されているとおりです。 JARファイルにはDESFireFactoryが存在しません。 Islam_Elmasry_0-1787823985814.pngIslam_Elmasry_0-1787823985814.pngIslam_Elmasry_0-1787823985814.png Re: ClassicFactory class Missing from TapLinx Java Classic Library お世話になります。 その通りです。JavaDocにも記載されているように、DESFireには存在しません。使用されるDESFireカードに応じて、インターフェースとクラスは各タイプごとに設計されています。 使用に関する詳細は、当サイトが提供するサンプルアプリケーションをご覧ください。ドキュメントのユーザーガイド(UG10044)には、Taplinxプロジェクトのセットアップ方法が示されています。 Fabian_R_0-1787849561908.pngFabian_R_0-1787849561908.png
View full article
蓝牙固件已通过 UART 接口接收,但控制器始终无法运行;EdgeFast 下载在 3M 处损坏。   我已向 u-blox 提交了一份相关/配套的支持工单,案例编号为: **CA-276115** (相同的硬件,模块供应商问题)。 以下问题与恩智浦半导体(NXP)的**IW416 ROM的固件认证行为**有关。 以及**NXP 自家参考板上的 EdgeFast 下载漏洞** 。每个数字都是 测量数据和完整日志已附上。 ## 1. 总结——两个不同的故障,请分开记录。 在**MIMXRT1170-EVKB Rev C3**中的**u-blox M2-MAYA-W161** (NXP **IW416** )上, BT HCI over LPUART2: **故障A——核心问题。**使用干净的115200波特率UART下载, 蓝牙固件**已完全下载并被接受** (ROM停止请求 数据(并且不会重新广播),然后控制器**永远不会传输** —— 在任何波特率下均无 HCI 响应。 **故障 B — EdgeFast/板错误。** NXP 的 EdgeFast 标准下载流程 下载过程中切换到**3,000,000波特率** ,链接**在**处损坏 此板上的开关**;下载永远不会完成。这与……无关 故障 A 仅在使用 NXP 软件时可重现。 >这些问题的根源不同。修复 B(3 Mbaud 损坏)不会 >问题 A(下载后的沉默)。我们分别询问这两个问题。 同一张卡上的 Wi-Fi (SDIO) 功能完全正常——枚举、站点、微型 AP, 吞吐量——因此该卡、其电源和其电平转换器都运行良好。 --- 2. 配置 | 项目 | 金额 | |---|---| | 芯片组/模块 | NXP **IW416**芯片组,采用 u-blox M2-MAYA-W161-00C-00 封装 | | 主机板 | MIMXRT1170-EVKB Rev C3,M.2 J54,LPUART2 | | SDK | MCUXpresso **v26.06.00-LTS** | | 蓝牙固件 | `uartIW416_bt.bin`**16.92.21.p155.2** ,FP92, `w8978` ,131,840 B | | 也测试了 | **16.92.21.p142.5** (FP91,来自`github.com/NXP/wifi_nb_fw@a91d9d6`,2025年 1 月) — 结果相同 | | 模块选择 | `WIFI_IW416_BOARD_MURATA_1XK_M2` (该 SDK 没有 MAYA 配置文件) | | 电路板返工 | `R404` (PDn) + `R1901` (模块→MCU RXD) 已安装并验证;流控对`R1816` / `R1902` **未**完成 — 参见第5节 | --- ## 3. 故障 A — 图像被接受后,控制器无反应 下载完成并已被接受 我们自己的洁净室 V3 装载机(仅限协议,地址 115200),配备仪器: ``` bt_fw_download=ok chip_id=0x7201 loader_ver=0 start_inds=2 chunks=142 已发送=131856/131840 最大关闭时间=131840 转发=1 CRC错误=0 ``` 总共 131,840 字节;该卡请求了每个数据块(16 字节的头部,2048 字节)。 有效载荷(包括尾部的乱序重新请求);**一个 CRC 错误是 由卡片报告并通过重传恢复**——因此是ROM自身的 完整性检查已启动。 然后就什么反应也没有了——ROM 的行为就像镜像已被接受,而不是被拒绝。 ``` bt_post_dnld[0..3]: n=0(下载后四个 500 毫秒的原始捕获窗口) bt_raw_reset[0..2]: n=0 (原始 HCI_Reset 01 03 0C 00,采样率为 115200,x3) HCI_Reset 在 3000000 / 921600 / 460800 / 115200 处:无响应,帧格式为 0 ``` **关键鉴别器** :UART 下载完成后,ROM **停止请求** 并且不会重新宣布**。相比之下,当下载组合图像时 通过**SDIO** ,蓝牙核心会在 UART 上重新广播( `AB 01 72 00 47`)。 重新出现)——也就是说,这就是“仍在引导加载程序中/未被接受”的样子 关于这部分。因此,UART 下载已**接受,加载程序已退出** ,并且 故障发生在*接受 CRC 验证成功的镜像和运行控制器之间* 。 ### 固件版本不是变量 两个官方版本—— **FP92 p155.2** (2026-03)和**FP91 p142.5** (2025-01, 内部结构不同,加载地址分别为`0x00080000`和`0x000A2010` ,大小分别为 178 和 142。 分块下载)——两者都已完全下载,两者都被接受,两者都离开控制器 静默。所以这不是过时/错误的*版本* 。 ### 针对恩智浦的问题(故障 A) 1. IW416 ROM 是否会验证通过 UART 下载的蓝牙固件? 如果密钥采用 OTP 熔丝, **如何向主机发出拒绝信号?** 我们观察到:每个数据块都被接受,ROM停止请求,没有错误帧,没有 再次宣布后,一片沉寂。这个字节模式是文档中提到的吗? 安全启动/签名拒绝行为,或者说,一个真实的镜像是否表现出这种行为 这样做还有其他原因吗? 2. **是否为通用 / 构建了标准`uartIW416_bt.bin` (16.92.21.p155.2)? 未熔合的 IW416**,还是需要匹配的 OTP/安全启动配置? 部分?(如果该部件是为特定原厂钥匙熔接的,则为库存图片) 预计会被驳回——这将使我们再次关注 u-blox,CA-276115。) 3. **在事件发生后的最初几秒内,控制器的预期行为是什么? UART 下载成功**,地址为 115200 — 是否应响应`HCI_Reset` 立即生效,还是需要先收到厂商指令/延迟通知? --- ## 4. 故障 B — EdgeFast 下载在 3 Mbaud 交换机处损坏 (MIMXRT1170-EVKB) 仅使用NXP 软件在NXP 自有参考板上可重现此问题。 为 1170构建了`examples/edgefast_bluetooth_examples/shell` 已启用`DEBUG_PRINT` ,因此 NXP 的`fw_loader_uart.c`会显示输出信息。从其输出跟踪信息来看: 1. 115200 个标头请求干净且 CRC 有效( `REQ=0xA7 Len=10 Off=0 Err=0` ); 2.发送了一个 5 型 UART 配置块,并已收到确认(因此 5 型命令为:) 在本板/固件的上下文中已接受); 3. `更改波特率请求为 3000000` , `changeBaudrate() 返回 0` — 该开关 **报告成功** ; 4.紧随其后: `无效标头 0x00` / `0x71` , `REQ = 0xA7, Len = 10a7, Off = 5400, Err = 400, CRC = 0` , `CRC 不匹配` , `文件下载:0:131840` — 卡在偏移量 0 处。偏移量是 字节拼接( `5400` = 两个字节连在一起): **帧丢失** ,而非 溢出。 因此,该卡切换到 3 Mbaud 并开始传输;RT1176 LPUART2 处于 该板卡支持 3,000,000 波特率——采用 DMA 传输, **没有可用的硬件流控制** —— 无法恢复帧。库存流量控制设置第一阶段 切换后标头超时,加载器回退到 115200,然后重试。 **无限循环** (观察到超过 20 分钟)。 板载根本原因:**LPUART2 的 RTS/CTS 焊盘是千兆 PHY 芯片。 RESET/中断线**( `R1866` → `ETHPHY_RST_B` , `R1816` → `RGMII1_PHY_INTB` ), 因此,即使在NXP文档中明确指出之后,仍然存在清晰的主机接收反压路径。 五项重构——`R1866`不包含在重构中。3 Mbaud 无流量 主机控制力不足。 ### 针对恩智浦半导体(失败案例 B)的问题 4.在**MIMXRT1170-EVKB**上,是否有 3 Mbaud EdgeFast BT 固件下载? **已知限制,无需进行完整的流程控制重构** (移除`R1816` , 适用于`R1902` )——即使如此,鉴于`R1866`仍将主机 RTS 保留在 PHY 上, RESET, 这块板真的支持 3 Mbaud 吗?还是应该…… `fw_download_secondary_speed`是否应保留为 115200? 5. **无限重试循环**是否发生在备用波特率交换机故障上 ( `fw_loader_uart.c` )是预期行为吗?N次重试后出现硬性失败是远远不够的。 比无休止的进度点流更容易诊断。 ### 次要,低优先级(同一树) 6.在`edgefast_bluetooth`的 shell 中, `SHELL_CMD_REGISTER(bt, ...)`注册了 `bt`命令的参数范围为**0 个参数** ,因此`fsl_shell.c`会拒绝所有此类请求。 子命令( `bt init` → "命令参数错误");工作状态 调用方式是使用点号分隔的`bt.init` 。很可能是`SHELL_ADVANCE` / range-init操作。 不匹配的情况值得一看。 --- ## 5. 我们已经排除的选项(因此无需赘述) 所有芯片均采用硅材料,MIMXRT1170-EVKB: | 假设 | 结论 | |---|---| | 缺少 type-5 UART 配置块 | 我们的独立组网 (SA) 注入被拒绝( `CRC_ERR 0x0001` );但 NXP 的流入 type-5 被接受(§4)——因此这不是故障 A 的阻塞原因 | | 固件版本错误| 已驳回 — FP91 和 FP92 均已接受,均未发出警告(§3) | | 需要通过 SDIO 进行组合 |此模块**不会**启动蓝牙——蓝牙核心会在 SDIO 组合下载完成后从 ROM 重新广播 | | 主机下载截断 | 已驳斥 — 15 秒空闲轮询后`sent`保持不变 | | HCI 波特率 | 已驳回 — 4 个速率, `framing=0` ,零字节 | | `wakeUpControllerFromBootSleep()` GPIO 脉冲 | 已实现;卡片**有反应** (额外问候),但结果不变 | 静默期间的 CPU 状态(SWD,控制台已分离): `DHCSR 0x01010001` (运行中; `S_HALT` / `S_LOCKUP`已清除), `CFSR` / `HFSR` = 0 — 主机 MCU 处于活动状态 程序阻塞在`controller_init`中,但没有崩溃。 故障 A仅剩下**签名/安全启动拒绝**一项,即 正好是 Q1/Q2 — 这是这张票和 u-blox CA-276115 之间的接缝。 --- ## 6. 复现(故障 B,仅限 NXP 软件) ``` west build -b evkbmimxrt1170 examples/edgefast_bluetooth_examples/shell \ --toolchain armgcc --config flexspi_nor_debug -- -Dcore_id=cm7 \ -DCONFIG_MCUX_COMPONENT_component.wifi_bt_module.IW416=y \ -DCONFIG_MCUX_COMPONENT_component.wifi_bt_module.board_murata_1xk_m2=y ``` 刷机、RESET,在`@bt>`提示符下输入`bt.init` 。下载过程会打印进度。 出现点且永远不会完成;在`fw_loader_uart.c`中启用`DEBUG_PRINT`会显示 3 Mbaud 交换机出现故障。( `edgefast_open`是 1170 的较新 shell) 接受以空格分隔的`bt init`并会以同样的方式挂起。) 对于故障 A:已附上完整的仪器化下载文件以及位于 115200 的人机交互证据。 Re: BT firmware accepted over UART but controller never runs; and EdgeFast download corrupts at the 嗨@nicnewdigate , 在我们深入探讨这个问题之前,能否请您确认以下几点? - MIMXRT1170EVKB_hwrework.md 指南列出了五项必要的修改:移除 R183、移除 R1816、填充 R404、填充 R1901 和填充 R1902。 从你的记录来看,R404 和 R1901 似乎已经完成了。您能否也确认一下 R183、R1816 和 R1902 的状态? - 能否提供一份在未对应用程序进行任何更改的情况下运行的标准 NXP 示例的串行日志? 可能是蓝牙外壳。 为 Murata 1XK M2 构建项目 - 请发送完整日志。 - 该电路板仅通过 USB 供电,还是使用了外部 5V 电源?请使用外接电源。 问候, 丹尼尔。 Re: BT firmware accepted over UART but controller never runs; and EdgeFast download corrupts at the 嗨@DanielRuvalcaba - 非常感谢您的快速回复和建议! 您要求的三项任务我都完成了。先给出摘要,再给出日志。 **1.重做工作完成。EdgeFast BT PAL 重制版的全部五项内容如下: MIMXRT1170-EVKB 已完成:R404 和 R1901(之前已安装),另加 **R1902** **R1816 + R183 已移除**。我们确认这两次移除并未造成损害。 可读的 BT 链接——我们自己的 115200 波特率加载器仍然可以下载完整图像。 干净利落地(131,840 字节,帧错误 = 0,与删除前字节完全相同)。 **2.外部电源——已完成。**J38 → 1–2,5V 输入 J43 桶形插孔,SW5 打开。 **3.已捕获未修改的 shell 日志。我们建造了 来自 MCUXpresso SDK v26.06.00-LTS 的 `examples/edgefast_bluetooth_examples/shell` `--config flexspi_nor_debug -Dcore_id=cm7`,armgcc。与库存相比,唯一的变化是 在板的 `prj.conf` 文件中,我们配置了卡的模块选择: ``` CONFIG_MCUX_COMPONENT_component.wifi_bt_module.IW61X=y → IW416=y CONFIG_MCUX_COMPONENT_component.wifi_bt_module.board_murata_2el_m2=y→ board_murata_1xk_m2=y ``` (这是选择模块的两个 Kconfig `choice` 成员。我们的卡是 u-blox MAYA-W161 — 是一款 IW416 — 所以我们选择了您指定的 1XK/IW416 配置。 `CONFIG_BT_SIGNING=y`,其他设置均为默认值。) shell 提示符下的结果: ``` @bt> bt.init [固件下载] 开始从 0x301198fc: 6812 下载固件 下载开始(131840) ......................................................................(141个点) 下载成功! [固件下载]BLE固件已下载:8265 ← 然后,在接下来的 90 多秒内,什么也不会发生。bt.init 始终不返回。 ``` 自我们上次报告以来,有两件事发生了变化,而且这两件事都很重要: **A — 3 Mbaud 下载现已完成。**在进行流量控制改造之前 库存加载器在波特率从 115200 切换到 3,000,000 时损坏并循环运行 无限期。安装 R1902 并移除 R1816(真正的 CTS 背压),它 现在所有 131,840 字节的数据都在约 1.45 秒内传输完毕(时间戳 6812 → 8265 毫秒)。 高速下载)并打印“下载成功!”。所以,重做解决了这个问题。 下载端的问题果然不出所料——谢谢你的坚持。 **B — 下载成功后,控制器仍然没有反应。**这是 核心问题。在“下载成功!”/“BLE固件已下载”之后,协议栈 控制器没有返回任何信息——既没有“蓝牙已初始化”的提示,也没有错误信息——而且 `bt.init` 程序卡住了。主机MCU处于存活状态且处于阻塞状态,并未崩溃;控制台显示正常。 我们脱离了SWD的阅读范围: ``` DHCSR = 0x01010001(运行状态:S_HALT=0,S_LOCKUP=0,S_RETIRE_ST=1) CFSR = 0x00000000(无可配置故障) HFSR = 0x00000000(从未发生过硬故障) ``` 因此,CM7 正在堆栈中等待 HCI 回复,但永远不会收到回复。 现在这是一个非常清晰的数据点:基于NXP**自身未经修改的EdgeFast协议栈**, 经过全面改造并接入外部电源后,该显卡**可接受完整的** CRC校验固件映像,然后不运行HCI控制器**。越早“ “3 Mbaud 下载文件已损坏”的解释不再适用——下载 明显成功。 **我们的问题(未作更改,现已与任何下载完整性变量隔离):** 1. IW416 ROM 是否验证通过 UART 下载的 BT 固件(例如,反对 如果密钥采用 OTP 融合技术,如何向主机发出拒绝信号?我们看到 每个数据块都被接受,显示“下载成功!”,然后就一片寂静——没有错误帧。 不再另行通知。 2. 是否为标准的 `uartIW416_bt.bin`(16.92.21.p155.2) 为通用 / 构建 未熔丝的 IW416,或者特定 OEM 钥匙的熔丝部件是否需要匹配的部件 签名图像?如果真是这样,那就说明问题出在 u-blox 身上(相关案例 CA-276115)。 3. 在 UART 下载成功后的最初几秒内,控制器是否应该 立即以下载后速率响应 `HCI_Reset`,或者是一个供应商 是否需要先执行命令/延迟操作? 我很乐意分享完整的串口捕获数据和完整的SWD寄存器块。 我们可以在 `fw_loader_uart.c` 中启用 `DEBUG_PRINT`。提供旁白下载 追踪一下看是否有帮助。 非常感谢您抽出宝贵时间,付出了很多努力——感激不尽!!! 谢谢 - NIC
View full article
修改im8QM的A72核的CNTFRQ_el0的值 您好! 如何修改im8QM的A72核的CNTFRQ_el0的值,目前是8000000, 想改为16M, 谢谢! Re: 修改im8QM的A72核的CNTFRQ_el0的值 i.MX8QM 上不建议、也基本不能把 A72 的 CNTFRQ_EL0 对应的真实计数频率从 8 MHz 改成 16 MHz 。原因是: CNTFRQ_EL0 只是让软件“发现”System Counter 频率的寄存器;即使软件能写这个寄存器值,也不会改变硬件 System Counter 的实际频率。 对 i.MX8QM,参考手册里说明 SCU ROM 会启用 System Counter,并给它输入 24 MHz 时钟;System Counter 内部再分频生成 8 MHz 时钟。 相关 clock root 也属于 System Controller Firmware 管理的时钟域,文档显示 SCU_MSLICE0_CLK_ROOT / SCU_MSLICE1_CLK_ROOT 可作为 SYS COUNTER 的 root clock,且 root clock generation 由 SC FW 控制。 所以如果你现在读到: CNTFRQ_EL0 = 8000000 想改成: CNTFRQ_EL0 = 16000000 需要区分两件事: 只改 CNTFRQ_EL0 的寄存器值 这可能让部分软件“以为”timer 是 16 MHz ,但硬件 counter 仍按 8 MHz 跑,会导致时间、调度、延时、profiling 等全部按 2 倍比例出错。 真正把 System Counter 改成 16 MHz 从我检索到的 i.MX8QM 资料看,System Counter 是 SCU ROM 初始化为 24 MHz / 3 = 8 MHz ,没有公开的寄存器或流程可以把它改成 16 MHz 。 类似 i.MX8 系列讨论中也明确说过,system counter frequency 是硬件固定的, it can't be changed 。 如果你的目标是让 Linux/RTOS 使用正确频率,建议保持 CNTFRQ_EL0 = 8000000 ,并检查 device tree / firmware / bootloader 是否错误覆盖 timer frequency。不要仅为了满足 16 MHz 需求而伪改 CNTFRQ_EL0 ,除非你明确要做一个非真实频率的实验。 结论:i.MX8QM 的 A72 CNTFRQ_EL0 不应从 8 MHz 改为 16 MHz ;真实 System Counter 由 SCU/SCFW 初始化并实际为 8 MHz ,单独改寄存器值不会改变硬件频率,反而会破坏系统时间基准。
View full article
MPXM2053GS 的标记 标记 KCY547C 代表什么意思?一卷线器上有两种不同的标记是正常的吗?
View full article
imxrt1024..5A のセキュアブート こんにちは。CSTを使用して、FCFB、IVT、およびその他のブートコンポーネントを含むブート可能なイメージに署名しようとしていますが、いくつか理解しておきたいことがあります。 CSF.txt / hab.csfファイルを作成し、 cst.exeを使用してcsf.binを生成する必要がありますか?その後、 elftosb.exeを使用して最終的なブートイメージを生成する必要がありますか? もしelftosb.exeが必要なら、どこで見つけられますか?私のCSTインストールでは、cst.exeとsrktool.exeしか見つかりません 。 ご存知のとおり、SPTはnopadding_signed.binを生成します。FCFBブロックを保持したまま、ブート可能なファームウェアイメージに署名することは可能でしょうか? PKIには4つのSRKが含まれており、私はSRKハッシュをOTPに焼き込めます。もし4つのSRK(IMG_1、IMG_2、IMG_3、IMG_4)に対応する秘密鍵でファームウェアに署名した場合、4つの署名済みイメージすべてがHAB認証を通過できますか? i.MXRT 102x Re: Secure boot on imxrt1024..5A CSTを使う理由は、サインしたいファームウェアのリージョンを選べるからだと思います。例えばSPTのように、ファームウェアに署名させてからFCFBブロックをファームウェアから削除し、その後手動でFCFBブロックを連結する必要があるからです。開発チームがバイナリを提供してくれたら、それに署名して、すぐに使える署名済みのファームウェア.binを出荷してほしい。 Re: Secure boot on imxrt1024..5A こんにちは、 @Abhay2080 さん。 すみませんが、なぜまだCSTパッケージを使っているのですか?i.MX RTのお客様には、SPTを主要なツールとして推奨します。開発やプロトタイピングにはGUIを使用し、生成されたスクリプト(SPSDKで駆動)を大量生産に活用しましょう。これはNXPが公式に推奨する手順であり、 elftosb 、 cst.exe 、またはBDファイル作成を手動で行う必要がなくなります。詳細については、 https://www.nxp.com/applications/industrial/factory-automation/mobile-robotics/mcuxpresso-secure-provisioning-tool :MCUXPRESSO-SECURE-PROVISIONING を参照してください。 お役に立てば幸いです。 すてきな一日を、 カン ------------------------------------------------------------------------------- 注記: この投稿があなたの質問への回答になっている場合は、「正解としてマーク」ボタンをクリックしてください。ありがとうございます! - 前回の投稿から7週間Threadをフォローしており、その後の返信は無視しています もし後で関連する質問があれば、新しいThreadを開き、閉じたThreadを参照してください。 -------------------------------------------------------------------------------
View full article
LPC1778 IAP烧录CCLK越大反而烧录越慢 您好,我在使用LPC1778的IAP模式进行烧录时,发现CCLK越大反而烧录越慢。 IAP指令大多可以传入CCLK参数,手册中的描述是:Param3: CPU Clock Frequency (CCLK) in kHz。 我在调试LPC1778时,将驱动默认的CCLK值从12000(12MHz)改为4000(4Mhz),发现烧录速度反而变快了。我尝试了多个值,发现CCLK参数越大,烧录反而越慢,请问这是什么原因?这个CCLK指的是什么频率? 回复: LPC1778 IAP烧录CCLK越大反而烧录越慢 Hi @BianHaopeng1  CCLK 在 LPC1778/LPC178x 文档中指 ARM processor clock frequency / Main CPU clock ,也就是内核 CPU 时钟,IAP 的擦除命令明确要求传入 CPU Clock Frequency (CCLK) in kHz 。 原因大概率不是“CCLK 越低 Flash 物理写入越快”,而是 IAP ROM 例程把你传入的 CCLK 当作当前 CPU 主频来计算 Flash 擦写时序/等待时间 。因此,如果实际 CPU 仍在较高频率运行,而你只把传给 IAP 的参数从 12000 改成 4000 ,IAP 会按 4 MHz 去生成更短的延时/时序,表现上烧录变快;但这属于给 IAP 传了错误时钟,Flash 擦写可靠性、温度/电压边界和长期保持不一定有保证。 正确做法是: CCLK 参数应填写调用 IAP 时真实的 CPU 主频,单位 kHz 。 BR Harry
View full article
S32 DS for S32 Platform v.3.5 renew S32 Design Studio for S32 Platform v.3.5 许可证要到期了, 请问如何续呢? xzhao_0-1787825210468.pngxzhao_0-1787825210468.png
View full article
S32K344 EVB Flashing Procedure Using PEmicro 10-Pin JTAG/SWD and S32DS 3.6.8 Hi Team, I am using an S32K344 EVB with a PEmicro 10-pin JTAG/SWD debug probe and S32 Design Studio (S32DS) version 3.6.8. I would like to flash an application into the normal internal Program Flash of the S32K344. I am not using HSE Secure Boot, Secure Debug, or any other security features. Could someone please provide the detailed steps for: Connecting the PEmicro 10-pin JTAG/SWD debugger to the S32K344 EVB. Creating the correct Debug/Run configuration in S32DS 3.6.8. Selecting the proper interface (SWD or JTAG). Configuring flash programming settings (Erase, Program, Verify). Setting the correct target device and connection mode. Any required linker or memory configuration for standard internal flash programming. Recommended settings to avoid Secure Debug/HSE-related issues. Troubleshooting steps if the debugger detects the device but fails during flash programming. I am looking for a complete flashing procedure and the exact S32DS configuration required for successful programming and debugging of the S32K344 EVB using a PEmicro probe. Thank you. Re: S32K344 EVB Flashing Procedure Using PEmicro 10-Pin JTAG/SWD and S32DS 3.6.8 Hello @Aravind_Togaralli , Thank you for the clarification and screenshots. Before changing the S32DS configuration, please verify the debugger connection on the board. If you are using the FRDM-A-S32K344, previously referred to as the S32K344MINI-EVB, the external debugger must be connected to the J9 20-pin Cortex Debug + ETM header. According to UM12406, Table 1, jumper JP11 must be removed to enable the external debug interface. Therefore, please check the following: Confirm that the external PEmicro Multilink is connected to J9, which is a 20-pin debug header. Your description mentions an external 10-pin connector, so please verify the connector and any adapter being used. Remove JP11 when using the external Multilink debugger. Verify the orientation of the debug cable and pin 1 alignment. Power-cycle the board and the Multilink after changing JP11, then refresh the Port selection in the PEmicro debug configuration. As an initial bring-up test, you can alternatively use the on-board debugger with JP11 installed. This can help determine whether the project and MCU are working before switching to the external Multilink. Please note that the USB connection must remain connected, as it is required to supply power to the board, even when an external debugger is used.   You can also use the following verified project as a reference: Example S32K344 EMAC lwIP FreeRTOS miniEVB, S32DS 3.6.1, RTD 6.0.0 This project was tested on the S32K344MINI-EVB using the on-board debugger and the Debug_FLASH configuration. Please try launching this project first and compare its Debug_FLASH settings with your current project. If the on-board debugger works but the external Multilink does not, the problem is most likely related to the external debug path, particularly JP11, the J9 connection, cable orientation, or adapter. In that case, you may also try another USB port and USB cable, preferably with the Multilink connected directly to the PC without a docking station or USB hub. Related discussions: PEmicro Connection Assistant PEmicro Multilink connection and target-voltage checks If the issue remains, please provide: a photo showing the debugger connection to the board, the exact adapter used between the Multilink and J9, if applicable, the complete PEmicro GDB server output from the S32DS Console. Please also note that I will be out of office for the next few days, so my responses may be delayed. Best regards, Pavel Re: S32K344 EVB Flashing Procedure Using PEmicro 10-Pin JTAG/SWD and S32DS 3.6.8   Following up on my earlier query. I followed the steps your team suggested, but I'm still unable to flash/debug the device — the connection fails during launch. Setup: Board: Custom board with S32K344 (not an NXP EVB) Probe: P&E Multilink Universal FX Rev D, connected via external 10-pin JTAG connector on the board (I am not using an onboard/embedded debugger — I explicitly selected the external Multilink FX port under "Port" in the debug configuration, as shown in the screenshots) IDE: S32DS, Debug Configuration = GDB PEmicro Interface Debugging Interface settings: SWD protocol enabled, Debug Shift Freq = 5000 KHz, "Provide power to target" enabled What happens: On clicking Debug, the PEmicro Connection Assistant pops up with: "An error occurred while connecting to the interface hardware or target specified in the Launch Configuration Dialog," prompting me to retry the connection with the same USB Multilink port. Attached screenshots: Debug Configuration — Main tab (project/elf selected) PEmicro Debugger tab — Interface, Port, Target device (S32K344), Core (M7), SWD enabled, Power settings PEmicro Debugger tab (scrolled) — Debug Shift Freq, GDB Server/Client settings PEmicro Connection Assistant error popup after failed connect attempt Thanks, Aravind_Togaralli_1-1787741560103.pngAravind_Togaralli_1-1787741560103.pngAravind_Togaralli_1-1787741560103.png Aravind_Togaralli_2-1787741576274.pngAravind_Togaralli_2-1787741576274.pngAravind_Togaralli_2-1787741576274.png Aravind_Togaralli_3-1787741587983.pngAravind_Togaralli_3-1787741587983.pngAravind_Togaralli_3-1787741587983.png Aravind_Togaralli_4-1787741596878.pngAravind_Togaralli_4-1787741596878.pngAravind_Togaralli_4-1787741596878.png Re: S32K344 EVB Flashing Procedure Using PEmicro 10-Pin JTAG/SWD and S32DS 3.6.8 Hello @Aravind_Togaralli , This setup was discussed recently in the following thread: https://community.nxp.com/t5/S32K/Assistance-Required-for-Flash-Programming-S32K344-Using-USB/m-p/2402539 For the detailed PEmicro debug configuration procedure, please also refer to: https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Build-a-Project-and-Setup-Debugging-with-GDB-PEMicro/ta-p/1941848 For standard internal flash programming without HSE or AB Swap, the automatically generated PEmicro debug configuration and the default flash programming algorithm should be used. No special linker configuration is required. Please follow the referenced procedure first. If it fails, provide the exact board name, PEmicro probe model and revision, screenshots of the debug configuration, and the complete PEmicro console log. This will allow us to identify the actual point of failure. Best regards, Pavel Re: S32K344 EVB Flashing Procedure Using PEmicro 10-Pin JTAG/SWD and S32DS 3.6.8 Hi, I am using a FRDM-A-S32K344 board and an external PEmicro debugger. On the PEmicro debugger, I am using the Port G (10-pin connector). I connected the 10-pin cable from the PEmicro Port G to the board's J13 (10-pin JTAG/OpenSDA header) and removed the JP11 jumpers to disconnect the onboard debugger. However, when I try to flash the device, I still get the same error. Could you please confirm the following: Is connecting the PEmicro Port G (10-pin) cable to J13 the correct connection? Is removing JP11 sufficient to disable the onboard debugger? Should I instead use the J9 (20-pin Cortex Debug/JTAG connector) for external debugging and flashing? Are there any additional hardware connections, jumper settings, or S32DS debugger configurations required? I am using S32 Design Studio with the FRDM-A-S32K344 board. Thank you for your support.
View full article