Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
How to flash a .bin at a specific flash offset on i.MX RT1064 using PEMicro Multilink LC? Hi, I’m working with an i.MX RT1064 and using a PEMicro Multilink LC debug probe. I need to program a bootloader and application at different offsets in program flash. For example, the bootloader would be placed at the start of flash and the application at a defined offset. With the i.MX RT1064 EVK, I was able to use LinkFlash to program a .bin file at a specified flash address. However, I’m now using the PEMicro Multilink LC and would like to know what the equivalent programming workflow is. I cannot merge the bootloader and application into a single .bin, because the application is part of a partitioned firmware layout and needs to be signed as a separate firmware image. Therefore, I need to keep the bootloader and application as separate binaries and program the application at its designated flash offset. What external programming application/tool should I use with the PEMicro Multilink LC to flash a .bin file at a specific address/offset on the i.MX RT1064? Ideally, I would like to be able to select the .bin file, specify its destination address, and program it directly, without having to merge the bootloader and application into a single binary. Thanks! Boot ROM|Booting | Flash Re: How to flash a .bin at a specific flash offset on i.MX RT1064 using PEMicro Multilink LC? Hi @shreya_v16 , NXP LinkServer/LinkFlash supports programming a standalone .bin file at a specified address, but it does not support the PEMicro Multilink LC probe. To continue using the PEMicro Multilink LC, please use PEmicro PROG-HL-ARM (PROGACMP). Recent versions support the QB command. Therefore, the bootloader and signed application can remain separate and be programmed at their respective addresses without merging them. Please refer to: 1. https://www.pemicro.com/products/product_viewDetails.cfm?product_id=15320181 2. https://www.nxp.com/docs/en/user-guide/PROGACMP_UM.pdf Best regards, Gavin Re: How to flash a .bin at a specific flash offset on i.MX RT1064 using PEMicro Multilink LC? Hi @Gavin_Jia, Thank you for your prompt reply. Yes, I am aware of PROG-HL-ARM (PROGACMP) but as you know it is a paid tool. I was looking for any free alternatives. Please suggest if you know of any
View full article
Modify the value of CNTFRQ_el0 on the A72 core of the im8QM. Hello! How do I modify the CNTFRQ_el0 value of the A72 core on the im8QM? It's currently 8000000, and I want to change it to 16M. Thanks! Re: 修改im8QM的A72核的CNTFRQ_el0的值 On the i.MX8QM, it is not recommended, and it is practically impossible, to change the actual counting frequency corresponding to CNTFRQ_EL0 of the A72 from 8 MHz to 16 MHz. The reason is that CNTFRQ_EL0 is just a register that allows the software to "discover" the System Counter frequency; even if the software can write this register value, it will not change the actual frequency of the hardware System Counter. For the i.MX8QM, the reference manual states that the SCU ROM will enable the System Counter and input a 24 MHz clock; the System Counter internally divides this to generate an 8 MHz clock. The relevant clock root also belongs to the clock domain managed by the System Controller Firmware. The documentation shows that SCU_MSLICE0_CLK_ROOT / SCU_MSLICE1_CLK_ROOT can be used as the root clock for the SYS COUNTER, and the root clock generation is controlled by the SC FW. So if you are reading this now: CNTFRQ_EL0 = 8000000 I want to change it to: CNTFRQ_EL0 = 16000000 Two things need to be distinguished: Modifying only the CNTFRQ_EL0 register value may cause some software to "think" that the timer is 16 MHz, but the hardware counter still runs at 8 MHz, resulting in errors in time, scheduling, latency, profiling, etc., all being 2 times the normal value. The System Counter was actually changed to 16 MHz. Based on the i.MX8QM documentation I found, the System Counter is initialized to 24 MHz / 3 = 8 MHz in the SCU ROM, and there are no publicly available registers or procedures to change it to 16 MHz. Similar discussions in the i.MX8 series have also clearly stated that the system counter frequency is fixed in hardware and cannot be changed. If your goal is to get Linux/RTOS using the correct frequency, it's recommended to keep CNTFRQ_EL0 = 8000000 and check if the device tree/firmware/bootloader is incorrectly overriding the timer frequency. Don't modify CNTFRQ_EL0 just to meet a 16 MHz requirement unless you're specifically doing an experiment with a non-real frequency. Conclusion: The A72 CNTFRQ_EL0 of the i.MX8QM should not be changed from 8 MHz to 16 MHz; the actual System Counter is initialized by the SCU/SCFW and is actually 8 MHz. Changing the register value alone will not change the hardware frequency, but will instead disrupt the system time base. Re: 修改im8QM的A72核的CNTFRQ_el0的值 Hello: Thank you for your reply! Could you provide a method or demo code for setting the System Counter to 16MHz in an SCU or SCFW? Thanks!
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 包含四个 SRK,并且我将 SRK 哈希值烧录到 OTP 中,如果我使用与四个 SRK(IMG_1、IMG_2、IMG_3 和 IMG_4)中每个 SRK 对应的私钥对我的固件进行签名,那么所有四个签名的镜像都能通过 HAB 认证吗? i.MX RT102x Re: Secure boot on imxrt1024..5A 使用 CST 的原因我想我们可以选择要签名的固件区域,就像在 SPT 中,如果我给固件签名,它会从固件中删除 FCFB 块,然后我们必须手动连接 FCFB 块。我希望开发团队如果给我二进制文件,只需对其进行签名,然后发布可直接使用的 signed_firmware.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周,之后的回复将被忽略。 如果您之后有相关问题,请另开新帖并引用已关闭的帖子。 ------------------------------------------------------------------------------- Re: Secure boot on imxrt1024..5A 你好@Abhay2080 , 谢谢你的解释!我的评论如下: 1. 我们需要创建 CSF.txt/hab.csf 文件并使用 cst.exe 生成 csf.bin 吗?那么,我们需要使用 elftosb.exe 来生成最终的启动映像吗? - 是的,CSF + cst.exe。对于 RT1024,elftosb 是 NXP 标准文档工作流程的一部分——但如果您已经有了预编译的二进制文件,则不需要它。 RT1024 有两种有效的工作流程: 1. 标准 NXP 工作流程(elftosb + CST,由组件构建的镜像) 这在 AN12079(如何使用 RT 安全启动)和 AN12681(如何在 i.MX RT10xx 中使用 HAB 安全启动)中有详细记录,这是 RT1024 的主要参考资料。 elftosb 读取 BD 文件,在内部调用 CST 生成签名,并在一步中组装最终映像,其中包括 FCFB、IVT 和应用程序: 2. CST-direct 工作流程(预组装二进制文件,用于“接收→签名→发货”) 如果开发团队交付预组装的 firmware.bin (已包含 FCFB + IVT + App,并预留了 CSF 空间),则可以直接使用 CST,完全不需要 elftosb。 2. 如果需要 elftosb.exe,我可以在哪里找到它?在我的 CST 安装中,我只找到了 cst.exe 和 srktool.exe。 - 正确 - elftosb.exe 故意不与 CST 捆绑在一起。CST 仅提供 cst.exe 和 srktool.exe 。 elftosb 是一个独立于 flashloader/启动 实用程序生态系统的工具。 对于i.MX RT1024 ,您可以从以下途径获取: MCUBoot Flashloader 软件包:— 可从 NXP 官网下载,适用于 i.MX RT102x。该工具的文档位于elftosb 用户指南中:https://www.nxp.com/docs/en/user-guide/MBOOTELFTOSBUG.pdf Kan_Li_0-1787913209797.pngKan_Li_0-1787913209797.png 更多详情请参阅https://www.nxp.com/docs/en/nxp/application-notes/AN12238.pdf 。   3. 我们知道,SPT 会生成 nopadding_signed.bin。是否可以在保留 FCFB 块的情况下对可启动固件映像进行签名? 是的——CST Direct 正是满足这一需求的正确方法。RT1024 的完整工作流程: # 步骤 1:生成 CSF 二进制文件(CST 仅读取 firmware.bin 进行哈希处理,绝不会对其进行修改) cst.exe --i hab.csf --o csf.bin # 步骤 2:将 CSF 追加到原始二进制文件(文件偏移量 0x000 处的 FCFB 保持不变) cat firmware.bin csf.bin > signed_firmware.bin signed_firmware.bin = FCFB (0x000–0x3FF) + IVT + App + CSF 附加。直接闪光。完毕。 以下是 RT1024 的一个 hab.csf 示例: [标题] 版本 = 4.3 哈希算法 = sha256 发动机配置 = 0 证书格式 = X509 签名格式 = CMS [安装SRK] 文件 = "../crts/SRK_1_2_3_4_table.bin" 源索引 = 0 [安装 CSFK] 文件 = "../crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem" [验证脑脊液] [安装密钥] 验证指数 = 0 目标指数 = 2 文件 = "../crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem" [验证数据] 验证指数 = 2 Blocks = 0x60001000 0x1000 0x "firmware.bin" 4. 由于 PKI 包含四个 SRK,并且我将 SRK 哈希值烧录到 OTP 中,如果我使用与四个 SRK(IMG_1、IMG_2、IMG_3 和 IMG_4)中每个 SRK 对应的私钥对我的固件进行签名,那么所有四个签名的镜像都能通过 HAB 认证吗? - 是的——只要没有 SRK 撤销位被烧毁,这四个都会通过。 希望我解释清楚了。 祝你有美好的一天, 坎 ------------------------------------------------------------------------------- 笔记: - 如果此回复解答了您的问题,请点击“标记为正确答案”按钮。谢谢你! - 我们会持续关注帖子,从最后一条回复发出后持续7周,之后的回复将被忽略。 如果您之后有相关问题,请另开新帖并引用已关闭的帖子。 -------------------------------------------------------------------------------
View full article
Secure boot on imxrt1024..5A Hi, I am trying to sign my bootable image (which contains the FCFB, IVT, and other boot components) using CST, and I need to understand a few things: Do we need to create a CSF.txt/hab.csf file and use cst.exe to generate csf.bin? Then, do we need to use elftosb.exe to generate the final boot image? If elftosb.exe is required, where can I find it? In my CST installation, I can only find cst.exe and srktool.exe. As we know, SPT generates a nopadding_signed.bin. Is it possible to sign a bootable firmware image while retaining the FCFB block? Since the PKI contains four SRKs and I burn the SRK hash into OTP, if I sign my firmware using the private key corresponding to each of the four SRKs (IMG_1, IMG_2, IMG_3, and IMG_4), will all four signed images be able to pass HAB authentication? i.MXRT 102x Re: Secure boot on imxrt1024..5A The reason to use CST is that i guess we can just select the region of firmware we want to sign, like in SPT if i give firmware to sign it remove FCFB block from the firmware and then manually we have to concatenate the FCFB block. I want that if development team gives me binary  just signed it and ship the signed_firmware.bin that is ready to use Re: Secure boot on imxrt1024..5A Hi @Abhay2080 , I am sorry, but why are you still using CST package? For i.MX RT customers, we recommend SPT as the primary tool — use the GUI for development/prototyping, then leverage the generated scripts (powered by SPSDK) for mass production. This is NXP's official recommended path and eliminates the need to manually deal with elftosb , cst.exe , or BD file authoring. Please refer to https://www.nxp.com/applications/industrial/factory-automation/mobile-robotics/mcuxpresso-secure-provisioning-tool:MCUXPRESSO-SECURE-PROVISIONING for more details. Hope that helps, Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: Secure boot on imxrt1024..5A Hi @Abhay2080 , Thanks for the clarification! Please have my comments as below: 1. Do we need to create a CSF.txt/hab.csf file and use cst.exe to generate csf.bin? Then, do we need to use elftosb.exe to generate the final boot image? - Yes to CSF + cst.exe. For RT1024, elftosb is part of the standard NXP-documented workflow — but is NOT required if you already have a pre-assembled binary. There are two valid workflows for RT1024: 1. Standard NXP workflow (elftosb + CST, image built from components) This is documented in AN12079 (How to use RT Security Boot) and AN12681 (How to use HAB secure boot in i.MX RT10xx), the primary references for RT1024. elftosb reads a BD file, calls CST internally to generate the signature, and assembles the final image including the FCFB, IVT, and App in a single step: 2. CST-direct workflow (pre-assembled binary, for "receive → sign → ship") If the development team delivers a pre-assembled firmware.bin (already containing FCFB + IVT + App with CSF space reserved), CST is used directly and elftosb is not needed at all. 2. If elftosb.exe is required, where can I find it? In my CST installation, I can only find cst.exe and srktool.exe. - Correct -  elftosb.exe is intentionally not bundled with CST. CST only ships cst.exe and srktool.exe . elftosb is a separate tool from the flashloader/boot utility ecosystem. For i.MX RT1024, you can obtain it from: MCUBoot Flashloader Package: — download from NXP's website for i.MX RT102x. The tool is documented in the elftosb User's Guide  https://www.nxp.com/docs/en/user-guide/MBOOTELFTOSBUG.pdf  Kan_Li_0-1787913209797.pngKan_Li_0-1787913209797.png  You may refer to https://www.nxp.com/docs/en/nxp/application-notes/AN12238.pdf for more details.   3. As we know, SPT generates a nopadding_signed.bin. Is it possible to sign a bootable firmware image while retaining the FCFB block? - Yes — and CST direct is the correct approach for this exact requirement. The complete workflow for RT1024: # Step 1: Generate CSF binary (CST only reads firmware.bin for hashing — never modifies it) cst.exe --i hab.csf --o csf.bin # Step 2: Append CSF to original binary (FCFB intact at file offset 0x000) cat firmware.bin csf.bin > signed_firmware.bin signed_firmware.bin = FCFB (0x000–0x3FF) + IVT + App + CSF appended. Flash directly. Done. The following is a sample hab.csf for RT1024: [Header] Version = 4.3 Hash Algorithm = sha256 Engine Configuration = 0 Certificate Format = X509 Signature Format = CMS [Install SRK] File = "../crts/SRK_1_2_3_4_table.bin" Source index = 0 [Install CSFK] File = "../crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem" [Authenticate CSF] [Install Key] Verification index = 0 Target index = 2 File = "../crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem" [Authenticate Data] Verification index = 2 Blocks = 0x60001000 0x1000 0x "firmware.bin" 4. Since the PKI contains four SRKs and I burn the SRK hash into OTP, if I sign my firmware using the private key corresponding to each of the four SRKs (IMG_1, IMG_2, IMG_3, and IMG_4), will all four signed images be able to pass HAB authentication? - Yes — all four will pass, as long as no SRK revocation bits have been burned. Hope that makes sense, Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
View full article
BTファームウェアはUART経由で承認されていますが、コントローラーは動作しません。そしてEdgeFastのダウンロードが3Mで破損します   私はu-bloxに関連または伴随サポートチケットを提出しました。CASE **CA-276115** (同じハードウェア、モジュールベンダーの質問です)。 以下の質問はNXPの、IW416 ROMのファームウェア認証の挙動についてです。 そして、 NXP独自の参照ボード上のEdgeFastダウンロードバグ。すべての図は 測定値と詳細なログを添付します。 ## 1. 要約 — 2つの異なる失敗です。分けて扱ってください。 **MIMXRT1170-EVKB Rev C3**内の**u-blox M2-MAYA-W161** (NXP **IW416** )上で、 LPUART2経由のBT HCI: **失敗A — 核心的な問題。** 115200ボーのUARTダウンロードが正常に行われた場合、 BTファームウェア**ダウンロードが完了し、承認されました** (ROMは要求を停止します データと再アナウンスはしません)、そしてコントローラーは **送信しません** — どのボーレートでもHCIからの応答がありません。 **失敗B — EdgeFast/ボードのバグ。** NXPの標準EdgeFastダウンロードフロー ダウンロード中に**3,000,000ボー*に切り替わり**リンクが破損します。 このボードのスイッチ**;ダウンロードは決して完了しません。これは別物です 失敗Aで、NXPソフトウェアのみで再現可能。 これらは異なる根本原因を持っています。B (3 Mbaud の破損)を修正しても アドレスA(ダウンロード後の沈黙)について。私たちは両方について、それぞれ個別に質問しています。 同じカード上の Wi-Fi (SDIO) は完全に動作します - 列挙、ステーション、マイクロ AP、 スループット — つまりカード、その電力、レベルシフターは健全です。 --- ## 2. 設定 | アイテム | 値 | |---|---| | チップセット/モジュール | u-blox M2-MAYA-W161-00C-00 のNXP **IW416** | | ホストボード | MIMXRT1170-EVKB Rev C3、M.2 J54、LPUART2 | |SDK |MCUXpresso **v26.06.00-LTS** | | BTファームウェア | `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ローダー(プロトコルのみ、115200bps)、計測機器搭載: 「`」 bt_fw_download=ok chip_id=0x7201 loader_ver=0 start_inds=2 chunks=142 送信=131856/131840 max_off=131840 retx=1 crc_err=0 「`」 全131,840バイト。カードはすべてのチャンク(16バイトのヘッダー、2048バイト)を要求しました。 ペイロード(末尾での順不同の再要求を含む))**CRCエラーが1件発生しました カードによって報告され、再送信によって復元された** — つまりROM自身の 整合性チェックが稼働中です。 ### その後何も起こらず、ROMはイメージが拒否されたのではなく、受け入れられたかのように動作する。 「`」 bt_post_dnld[0..3]: n=0 (ダウンロード後の500ミリ秒の生データキャプチャウィンドウが4つ) bt_raw_reset[0..2]: n=0 (raw HCI_Reset 01 03 0C 00 at 115200, x3) HCI_Reset at 3000000 / 921600 / 460800 / 115200 : 応答なし、フレーム化=0 「`」 **キー識別子** : UARTダウンロード後、ROMは**要求を停止します** そして再発表はしない**。対照的に、コンボイメージがダウンロードされると **SDIO**を介して、BT コアはUART ( `AB 01 72 00 47`で再アナウンスします。 (再び表示されます)—つまり、「まだブートローダー内 / 受け入れられていません」とはこういうことです この部分について。つまり、UARTのダウンロードは **受け入れられ、ローダーは終了**、そして 失敗は*CRC有効なイメージを受け入れるかコントローラを実行するかの間に*起こる*です。 ### ファームウェアバージョンは変数ではありません 2 つの公式ビルド — **FP92 p155.2** (2026-03) および**FP91 p142.5** (2025-01、 内部構造が異なり、ロード値`0x00080000`と`0x000A2010` 、178 と 142 が異なる。 チャンク)— 両方とも完全にダウンロードし、どちらも受け入れられ、どちらもコントローラを離れます 沈黙。ですから、これは古臭い/間違った*バージョン*ではありません。 ### NXPへの質問(失敗例A) 1. **IW416 ROMはUARTでダウンロードしたBTファームウェアを認証しますか? OTP融合キー**、もしそうなら、 **拒否はホストにどのように通知されるのか?** 観察結果: ブロックが受け入れられるたびに、ROM の要求が停止し、エラー フレームがなく、 再発表の後、沈黙が訪れた。そのバイトパターンは文書化されているものですか? セキュアブート/署名拒否の動作、または正規イメージの動作 別の理由でこうしているのですか? 2. **ストックの`uartIW416_bt.bin` (16.92.21.p155.2) は汎用 / 用にビルドされていますか? 非融合IW416**、または対応するOTP/セキュアブートプロビジョニングが必要ですか? その側で?(部品が特定のOEMキー用に溶着されている場合、ストックイメージは 却下されると予想される(そうなると、u-blox社のCA-276115に戻ることになる)。 3. ** 最初の数秒間におけるコントローラーの期待される挙動とは何か UARTダウンロードが115200で成功しました。`HCI_Reset`に応答するはずです。 即座に実行されるのか、それともベンダーからのコマンドや遅延処理が最初に必要なのか? --- ## 4.失敗B — 3 MBAUDスイッチ(MIMXRT1170-EVKB)でEdgeFastのダウンロードが破損 **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設定ブロックを送信し、 **ACK処理** (したがってタイプ5コマンドは このボード/ファームウェアでは、文脈上受け入れられています。 3. 「ボーレート要求を30000000に変更」、「変化ボーレート() ret 0」— スイッチ **成功を報告** ; 4.直後: `Invalid Header 0x00` / `0x71` 、 `REQ = 0xA7、Len = 10a7、Off = 5400、Err = 400、CRC = 0` 、 `CRC 不一致`、 ` file download: 0: 131840` — オフセット 0 で停止しています。オフセットは バイト連結( `5400` = 2バイトを連結): **フレーム損失** 、いいえ オーバーフロー。 そのためカードは3 Mbaudに切り替わり送信を開始しました。RT1176 LPUART2 このボードでは3,000,000ボーの通信が可能で、DMA方式、 **ハードウェアによるフロー制御は利用できません** 。 フレームを復元できません。ストックフロー制御設定で最初の スイッチ後のヘッダーがタイムアウトすると、ローダーは115200に戻り、リトライし、 **無限ループ** (20分以上経過したことを確認しました)。 ボード上の根本原因: **LPUART2 の RTS/CTS パッドはギガビット PHY です リセット/割り込みライン**( `R1866` → `ETHPHY_RST_B` 、 `R1816` → `RGMII1_PHY_INTB` )、 そのため、NXPが文書化した後でも、ホスト-RXのクリーンなバックプレッシャーパスはありません 5項目のリワーク — `R1866`はそのリワークに含まれていません。フローなしで3 Mbaud。 ホストはコントロールできない。 ### NXPへの質問(Bの失敗) 4. **MIMXRT1170-EVKB**では、3 Mbaud EdgeFast BT ファームウェアのダウンロードは **フロー制御の完全な再作業なしでは既知の制限** ( `R1816`を削除、 `R1902`に適合する)— そして、 `R1866` がホスト RTS を PHY 上に保持していることを考慮すると、 リセット、このボードでは実際に3 Mbaudがサポートされていますか、それとも `fw_download_secondary_speed`は115200のままにしておくべきでしょうか? 5. 失敗したセカンダリボースイッチの**無限リトライループ**は ( `fw_loader_uart.c` ) 意図的でしょうか? N 回再試行してもハード クラッシュするのは、 延々と続く進捗状況を示す点の羅列よりも、診断しやすい。 ### 軽微な問題、優先度低(同じツリー) 6. `edgefast_bluetooth`のシェルでは、 `SHELL_CMD_REGISTER(bt, ...)`が登録します。 パラメータ範囲が**0の'bt'コマンドなので、「fsl_shell.c'はすべてのを拒否します サブコマンド( `bt init` → "コマンドパラメータが正しくありません"); 動作確認済み 呼び出しはドット付きの`bt.init`です。おそらく`SHELL_ADVANCE` / range-initです。 一見の価値のあるミスマッチ。 --- ## 5.すでに排除したもの(だからこれらは提案する必要はない) すべてシリコンチップ上に実装されたMIMXRT1170-EVKB: 仮説 | 結論 | |---|---| | type-5 UART-configブロックが欠落 | 単独の注入が却下されます('CRC_ERR 0x0001');しかしNXPのin-flow型-5は受け入れられています(§4)—つまりこれはFailure Aのブロッカーではありません | | ファームウェアのバージョンが間違っています |反論済み — FP91 と FP92 は両方とも受け入れられ、両方ともサイレント (§3) | | コンボオーバーSDIOが必要 |このモジュールではBTは起動しません- SDIOコンボのダウンロードが完了すると、BTコアがROMから再アナウンスします | | ホストのダウンロードを切り捨てています | 反論済み — 15 秒間のアイドル ポーリングにより`sent`は変更されません | | HCI ボーレート | 反証済み — 4 つのレート、 `framing=0` 、0 バイト | | `wakeUpControllerFromBootSleep()` GPIO パルス | 実装済み。カードは**反応** する(追加の挨拶) が、結果は変わらない | サイレント中のCPU状態(SWD、コンソール切断時): `DHCSR 0x01010001` (走る; 「S_HALT」/「S_LOCKUP' クリア)、 「CFSR」/「HFSR」 =0 — ホストMCUは生きている クラッシュしたのではなく、 `controller_init`でブロックされました。 失敗Aについては、 **署名/セキュアブート拒否**のみが残っています。 まさにQ1/Q2です――そしてこのチケットとユーブロックス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 「`」 フラッシュしてリセットし、 `@bt>`プロンプトで`bt.init`と入力します。ダウンロードの進行状況が表示されます。 ドットが表示され、完了しません。`fw_loader_uart.c` で `DEBUG_PRINT` を有効にすると、 3 Mbaudスイッチでの汚染。(1170用の新しいシェルedgefast_open スペース区切りの`bt init`も受け付けますが、同じようにハングアップします。) 障害Aの場合:完全な計測済みダウンロードと115200のHCI証拠が添付されています Re: BT firmware accepted over UART but controller never runs; and EdgeFast download corrupts at the こんにちは、 @nicnewdigate さん、 この件を深く掘り下げる前に、いくつか確認していただけますか? - MIMXRT1170EVKB_hwrework.md ガイドには、必要な変更が 5 つ記載されています。R183 の削除、R1816 の削除、R404 の実装、R1901 の実装、および R1902 の実装です。 あなたのメモから判断すると、R404とR1901は既に完了しているようですね。R183、R1816、R1902の状況も確認できますか? - アプリの変更なしに動作する標準的なNXPのシリアルログを提供できますか? Bluetoothのシェルが原因かもしれません。 Murata 1XK M2 用のプロジェクトを作成します 完全なログを送信してください。 基板への給電はUSB経由のみですか、それとも外部の5V電源を使用していますか?外部電源をご使用ください。 よろしくお願いいたします。 ダニエル。 Re: BT firmware accepted over UART but controller never runs; and EdgeFast download corrupts at the こんにちは、 @DanielRuvalcabaさん。迅速なご返信とご提案、ありがとうございます! ご依頼いただいた3つの項目すべてを完了しました。まず概要、次にログです。 **1.改修作業完了。EdgeFast BT PAL のリワークの 5 つのアイテムすべて MIMXRT1170-EVKBの作業完了:R404とR1901(以前に取り付け済み)、さらに**R1902を取り付け済み** そして、**R1816 + R183 が削除されました**。2つの除去が 読み取り可能なBTリンク - 当社独自の115200bpsローダーは依然として完全なイメージをダウンロードします きれいに(131,840バイト、フレーミングエラー=0、削除前とバイト単位で同一)。 **2.外部電源供給完了。J38 → 1–2、J43バレルジャックに5Vを入力、SW5をオンにする。 3.変更されていないシェルログ - 取得済み。私たちは築きました 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 「`」 (これらはモジュールを選択する 2 つの Kconfig `choice` メンバーです。)私たちのカードは u-blox MAYA-W161 — IW416 — なので、あなたが挙げた1XK/IW416プロファイルを選びました。 `CONFIG_BT_SIGNING=y`以外は標準設定です。) シェルプロンプトでの結果: 「`」 @bt> bt.init [FWダウンロード] 0x301198fcからファームウェアのダウンロードを開始します: 6812 ダウンロード開始(131840) ...................................................................... (141ドット) ダウンロード成功! [ファームウェアダウンロード]BLEファームウェアがダウンロードされました: 8265 ←その後、残りの90秒以上は何も起こらない。bt.init は決して戻り値を返さない。 「`」 **前回の報告から2つのことが変わりましたが、どちらも重要です:** **A — 3 Mbaudのダウンロードが完了しました。**流量制御の再設計以前は ストックローダーは115200→3,000,000ボーのスイッチで破損しループ化しました 無期限に。R1902を装着し、R1816を取り外した(実際のCTS背圧)と、 これで 131,840 バイトすべてを約 1.45 秒で移動します (タイムスタンプ 6812 → 8265 ms — 高速レート)でダウンロードに成功し、「ダウンロード成功!」と表示されます。つまり、リワークで ダウンロード側の問題、予想通りです — 強く勧めてくれてありがとうございます。 **B — ダウンロード成功後もコントローラが静かなままです。**これは 核心的な問題。「ダウンロード成功!」/「BLE FWがダウンロードされました」の後、スタック コントローラーからは何も受信できません — 『Bluetooth initializeded』もエラーもなし — そして 「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キー用にヒューズが取り付けられた部品には、一致するものが必要ですか? 署名入りの画像?もしそうなら、それはあなた-ブロックス(伴奏ケースCA-276115)に繋がります。 3. UARTダウンロードに成功した直後の数秒間に、コントローラーは ダウンロード直後の速度で「HCI_Reset」と答えてください、またはベンダーです まず指揮か遅延が必要ですか? シリアルキャプチャの全文とSWDレジスタブロック全体を喜んで共有します。 そして「fw_loader_uart.c」で「DEBUG_PRINT」を有効にすることができます。ナレーション付きダウンロード トレースすれば役に立つかもしれません。 お時間と労力をいただき、本当にありがとうございます。本当に感謝しています!! よろしくお願いします - ニック Re: BT firmware accepted over UART but controller never runs; and EdgeFast download corrupts at the 解決済み/クロージングアップデート — ご助言ありがとうございます。こちらが答えです 後でこのスレッドを見つけた方はどうぞ。 改修作業を完了し、外部電源に移行した後(ダニエルの3つの 前提条件を満たした上で、**モジュール置換テスト**を実行しました。その他すべてを抱えています 同一で、同じMIMXRT1170-EVKB、同じリワーク、同じ外部5V、同じMCUXpressoです SDK v26.06.00-LTS、同じ純正の「uartIW416_bt.bin」です。そして*同じコンパイル EdgeFast `shell`バイナリ* — u-blox M2-MAYA-W161を純正品に交換しました **Embedded Artists Murata Type 1XK M.2 (EAR00385)** (IW416モジュール `board_murata_1xk_m2`プロファイルターゲット)。 Murata 1XKでは、`bt.init`は正常に実行されます。 「`」 ダウンロード成功! [ファームウェアダウンロード]BLEファームウェアがダウンロードされました Bluetoothが初期化されました 設定が読み込まれました 「`」 コントローラは問題なく出てきます。u-blox MAYA-W161、*同じ*バイナリ ダウンロードは同じように(「ダウンロード成功!」)、その後コントローラーは静かになります。 **つまりこれはNXPの問題ではなかったのです。**ボード、SDK、ストック 「uartIW416_bt.bin」とEdgeFastスタックはすべて正しいと証明されています — 村田によって証明されています IW416モジュールを同じセットアップでライブコントローラに接続しています。故障は u-blox MAYA-W161(そのファームウェアのプロビジョニング/認証)に特化したもの、 そして私たちはそれをあなたに伝えます。 この掲示板の他のユーザーにとって役立つ補足事項が2つあります。 * **以前報告した 3 Mbaud のダウンロード破損は、 流量制御の再作業。「R1902」を取り付け、「R1816」(NXPの)を外した後 5項目のEdgeFastリワーク)、ストックローダーの115200→3,000,000ボーのスイッチ きれいに完了し、ダウンロードは成功します。そのリワーク前は、 そのスイッチとループ;リワークで修正されました。 * MIMXRT1170-EVKBでは、ローダーは3 Mbaudで十分なデータ供給を維持する必要があります。 その流量制御の再作業は既に完了しており、115200では無条件です。 改めて、リワークと外部供給の要件を教えてくれてありがとうございます — どちらも重要で、二人で本物の村田モジュールを完成させました。 ありがとう、 @DanielRuvalcaba。uBloxに問い合わせてみます。
View full article
[S32DS 3.6.1]更新失敗 つまらない CY9_0-1787712759742.pngCY9_0-1787712759742.pngCY9_0-1787712759742.pngCY9_0-1787712759742.pngCY9_0-1787712759742.png 必要なアイテムが一つ以上見つからず、インストールを完了できません。 インストール中のソフトウェア:C/C++開発ツール 12.5.0.202606022100(org.eclipse.cdt.feature.group 12.5.0.202606022100) 不足している要件: GDB Common 7.2.500.202603111352(org.eclipse.cdt.gdb 7.2.500.202603111352)'osgi.bundle' が必要です。org.eclipse.core.runtime [3.34.0,4.0.0)' ですが、見つけられませんでした 依存性を満たせない: 差出人:C/C++開発ツール 12.5.0.202606022100(org.eclipse.cdt.feature.group 12.5.0.202606022100) 宛先:org.eclipse.equinox.p2.iu;org.eclipse.cdt.gdb.feature.group [12.5.0.202603111352, 12.5.0.202603111352] 依存性を満たせない: 差出人:C/C++ 共通GDBサポート 12.5.0.202603111352(org.eclipse.cdt.gdb.feature.group 12.5.0.202603111352) 宛先: org.eclipse.equinox.p2.iu; org.eclipse.cdt.gdb [7.2.500.202603111352,7.2.500.202603111352] 必要なアイテムが一つ以上見つからず、インストールを完了できません。 インストール中のソフトウェア:リモートサービス 12.5.0.202603111352(org.eclipse.remote.feature.group 12.5.0.202603111352) 欠けている要件:Eclipse Remote Development ドキュメントプラグイン 12.5.0.202603111352(org.eclipse.remote.doc.isv 12.5.0.202603111352)'osgi.bundle' が必要です。org.eclipse.help [3.10.500,4.0.0)"ですが、見つかりませんでした 依存性を満たせない: 差出人:リモートサービス 2026年5月12日 03111352(org.eclipse.remote.feature.group 12.5.0.202603111352) 宛先: org.eclipse.equinox.p2.iu; org.eclipse.remote.doc.isv [12.5.0.202603111352,12.5.0.202603111352] 必要なアイテムが一つ以上見つからず、インストールを完了できません。 インストール中のソフトウェア:C/C++開発ツール 12.5.0.202606022100(org.eclipse.cdt.feature.group 12.5.0.202606022100) 不足している要件: GDB Common 7.2.500.202603111352(org.eclipse.cdt.gdb 7.2.500.202603111352)'osgi.bundle' が必要です。org.eclipse.core.runtime [3.34.0,4.0.0)' ですが、見つけられませんでした 依存性を満たせない: 差出人:C/C++開発ツール 12.5.0.202606022100(org.eclipse.cdt.feature.group 12.5.0.202606022100) 宛先:org.eclipse.equinox.p2.iu;org.eclipse.cdt.gdb.feature.group [12.5.0.202603111352, 12.5.0.202603111352] 依存性を満たせない: 差出人:C/C++ 共通GDBサポート 12.5.0.202603111352(org.eclipse.cdt.gdb.feature.group 12.5.0.202603111352) 宛先: org.eclipse.equinox.p2.iu; org.eclipse.cdt.gdb [7.2.500.202603111352,7.2.500.202603111352] 必要なアイテムが一つ以上見つからず、インストールを完了できません。 インストール中のソフトウェア:C/C++開発プラットフォーム 12.5.0.202606022100(org.eclipse.cdt.platform.feature.group 12.5.0.202606022100) 不足している要件: C/C++ 開発ツール コアネイティブユーティリティ 6.6.200.202603111352(org.eclipse.cdt.core.native 6.6.200.202603111352)'osgi.bundle' が必要です。org.eclipse.core.runtime [3.34.0,4.0.0)' ですが、見つけられませんでした 依存性を満たせない: 差出人:C/C++ 開発ツール ネイティブユーティリティ 12.5.0.202606022100(org.eclipse.cdt.native.feature.group 12.5.0.202606022100) 宛先: org.eclipse.equinox.p2.iu; org.eclipse.cdt.core.native [6.6.200.202603111352,6.6.200.202603111352] 依存性を満たせない: 差出人:C/C++開発プラットフォーム 12.5.0.202606022100(org.eclipse.cdt.platform.feature.group 12.5.0.202606022100) 宛先:org.eclipse.equinox.p2.iu;org.eclipse.cdt.native.feature.group [12.5.0.202606022100,12.5.0.202606022100] 必要なアイテムが一つ以上見つからず、インストールを完了できません。 インストール中のソフトウェア:C/C++ GCC クロスコンパイラサポート 12.5.0.202603111352(org.eclipse.cdt.build.crossgcc.feature.group 12.5.0.202603111352) 欠けている要件:CDT GCCクロスコンパイラサポート 1.3.800.202603111352(org.eclipse.cdt.build.crossgcc 1.3.800.202603111352)'osgi.bundle' が必要です。org.eclipse.core.runtime [3.34.0,4.0.0)' ですが、見つけられませんでした 依存性を満たせない: 差出人:C/C++ GCCクロスコンパイラサポート 12.5.0.202603111352(org.eclipse.cdt.build.crossgcc.feature.group 12.5.0.202603111352) 宛先: org.eclipse.equinox.p2.iu; org.eclipse.cdt.build.crossgcc [1.3.800.202603111352,1.3.800.202603111352] 必要なアイテムが一つ以上見つからず、インストールを完了できません。 インストール中のソフトウェア:C/C++開発ツールネイティブユーティリティ12.5.0.202606022100(org.eclipse.cdt.native.feature.group 12.5.0.202606022100) 不足している要件: C/C++ 開発ツール コアネイティブユーティリティ 6.6.200.202603111352(org.eclipse.cdt.core.native 6.6.200.202603111352)'osgi.bundle' が必要です。org.eclipse.core.runtime [3.34.0,4.0.0)' ですが、見つけられませんでした 依存性を満たせない: 差出人:C/C++ 開発ツール ネイティブユーティリティ 12.5.0.202606022100(org.eclipse.cdt.native.feature.group 12.5.0.202606022100) 宛先: org.eclipse.equinox.p2.iu; org.eclipse.cdt.core.native [6.6.200.202603111352,6.6.200.202603111352] 必要なアイテムが一つ以上見つからず、インストールを完了できません。 インストール中のソフトウェア:C/C++ Common GDB サポート 12.5.0.202603111352(org.eclipse.cdt.gdb.feature.group 12.5.0.202603111352) 不足している要件: GDB Common 7.2.500.202603111352(org.eclipse.cdt.gdb 7.2.500.202603111352)'osgi.bundle' が必要です。org.eclipse.core.runtime [3.34.0,4.0.0)' ですが、見つけられませんでした 依存性を満たせない: 差出人:C/C++ 共通GDBサポート 12.5.0.202603111352(org.eclipse.cdt.gdb.feature.group 12.5.0.202603111352) 宛先: org.eclipse.equinox.p2.iu; org.eclipse.cdt.gdb [7.2.500.202603111352,7.2.500.202603111352] 必要なアイテムが一つ以上見つからず、インストールを完了できません。 インストール中のソフトウェア:C/C++ メモリビュー強化 12.5.0.202603111352(org.eclipse.cdt.debug.ui.memory.feature.group 12.5.0.202603111352) 不足している要件: デバッグ コア メモリ 0.2.300.202512020204(org.eclipse.cdt.debug.core.memory 0.2.300.202512020204)'osgi.bundle' が必要です。org.eclipse.core.runtime [3.34.0,4.0.0)' ですが、見つけられませんでした 依存性を満たせない: 差出人:C/C++ メモリビュー強化 12.5.0.202603111352(org.eclipse.cdt.debug.ui.memory.feature.group 12.5.0.202603111352) 宛先: org.eclipse.equinox.p2.iu; org.eclipse.cdt.debug.core.memory [0.2.300.202512020204,0.2.300.202512020204] 必要なアイテムが一つ以上見つからず、インストールを完了できません。 インストール中のソフトウェア:C/C++ GNU ツールチェーンビルドサポート 12.5.0.202603111352(org.eclipse.cdt.gnu.build.feature.group 12.5.0.202603111352) 欠けている要件:CDT Build Core 2.1.800.202512020204に対するGCCサポート(org.eclipse.cdt.build.gcc.core 2.1.800.202512020204)'osgi.bundle' が必要です。org.eclipse.core.runtime [3.34.0,4.0.0)' ですが、見つけられませんでした 依存性を満たせない: 差出人:C/C++ GNU ツールチェーンビルドサポート 12.5.0.202603111352(org.eclipse.cdt.gnu.build.feature.group 12.5.0.202603111352) 宛先: org.eclipse.equinox.p2.iu; org.eclipse.cdt.build.gcc.core [2.1.800.202512020204,2.1.800.202512020204] 必要なアイテムが一つ以上見つからず、インストールを完了できません。 インストール中のソフトウェア:C/C++ GDBハードウェアデバッグ 12.5.0.202603111352(org.eclipse.cdt.debug.gdbjtag.feature.group 12.5.0.202603111352) 不足している要件: Eclipse GDB ハードウェアデバッグコアプラグイン 10.8.500.202512020204(org.eclipse.cdt.debug.gdbjtag.core 10.8.500.202512020204)'osgi.bundle' が必要です。org.eclipse.core.runtime [3.34.0,4.0.0)' ですが、見つけられませんでした 依存性を満たせない: 差出人:C/C++ GDBハードウェアデバッグ 12.5.0.202603111352(org.eclipse.cdt.debug.gdbjtag.feature.group 12.5.0.202603111352) 宛先: org.eclipse.equinox.p2.iu; org.eclipse.cdt.debug.gdbjtag.core [10.8.500.202512020204,10.8.500.202512020204] 必要なアイテムが一つ以上見つからず、インストールを完了できません。 インストール中のソフトウェア:C/C++ GNU ツールチェーンデバッグサポート 12.5.0.202603111352(org.eclipse.cdt.gnu.debug.feature.group 12.5.0.202603111352) 欠けている要件:C/C++開発ツールの起動サポート 11.0.300.202603111352(org.eclipse.cdt.launch 11.0.300.202603111352)'osgi.bundle' が必要です。org.eclipse.ui.ide [3.22.600,4.0.0)"ですが、見つかりませんでした 依存性を満たせない: 差出人:C/C++ GNU ツールチェーン デバッグサポート 12.5.0.202603111352(org.eclipse.cdt.gnu.debug.feature.group 12.5.0.202603111352) 宛先: org.eclipse.equinox.p2.iu; org.eclipse.cdt.launch [11.0.300.202603111352,11.0.300.202603111352] 必要なアイテムが一つ以上見つからず、インストールを完了できません。 インストール中のソフトウェア:C/C++ DSF GDB デバッガ統合 12.5.0.202603111352(org.eclipse.cdt.gnu.dsf.feature.group 12.5.0.202603111352) 不足している要件: GDB DSF デバッガー統合コア 7.3.100.202601271447(org.eclipse.cdt.dsf.gdb 7.3.100.202601271447)'osgi.bundle' が必要です。org.eclipse.core.runtime [3.34.0,4.0.0)' ですが、見つけられませんでした 依存性を満たせない: 差出人:C/C++ DSF GDB デバッガ統合 12.5.0.202603111352(org.eclipse.cdt.gnu.dsf.feature.group 12.5.0.202603111352) 宛先: org.eclipse.equinox.p2.iu; org.eclipse.cdt.dsf.gdb [7.3.100.202601271447,7.3.100.202601271447] CY9_1-1787712805898.pngCY9_1-1787712805898.pngCY9_1-1787712805898.pngCY9_1-1787712805898.pngCY9_1-1787712805898.png CY9_2-1787712826729.pngCY9_2-1787712826729.pngCY9_2-1787712826729.pngCY9_2-1787712826729.pngCY9_2-1787712826729.png 必要なアイテムが一つ以上見つからず、インストールを完了できません。 インストール中のソフトウェア:リモートサービス 12.5.0.202603111352(org.eclipse.remote.feature.group 12.5.0.202603111352) 欠けている要件:Eclipse Remote Development ドキュメントプラグイン 12.5.0.202603111352(org.eclipse.remote.doc.isv 12.5.0.202603111352)'osgi.bundle' が必要です。org.eclipse.help [3.10.500,4.0.0)"ですが、見つかりませんでした 依存性を満たせない: 差出人:リモートサービス 2026年5月12日 03111352(org.eclipse.remote.feature.group 12.5.0.202603111352) 宛先: org.eclipse.equinox.p2.iu; org.eclipse.remote.doc.isv [12.5.0.202603111352,12.5.0.202603111352] Re: [S32DS 3.6.1] Update Fail こんにちは、 @CY9 さん。 インストールしようとしているパッケージ、更新サイト、RTD、プラグインを教えてもらえますか? エラーログを見ると、CDT 12.5.0のインストールを試みているようですが、最新のS32DSリリースはEclipse 2023-12フレームワーク、 CDT 11.4、 Java17をサポートしています。 S32DSのアップデートと拡張機能インターフェースだけ を使ってアップデートを試しましたか? Julin_AragnM_0-1787853046969.pngJulin_AragnM_0-1787853046969.pngJulin_AragnM_0-1787853046969.pngJulin_AragnM_0-1787853046969.png よろしくお願いします、 ジュリアン Re: [S32DS 3.6.1] Update Fail あなたは遅刻しています。 参照: https ://community.nxp.com/t5/S32K/S32DS-3-6-1-Example-Code-disappear/mp/2408504 私は既にこのSHxTを削除しています。問題が多すぎる。 バージョンは3.6.1ではなく、実際には3.6.10です。 Re: [S32DS 3.6.1] Update Fail こんにちは、 @CY9 さん。 S32DSおよび一般的な環境に関して、多くの問題を引き起こしてしまったのであれば、お詫び申し上げます。他の投稿から、あなたはRTM 4.0.2を使いたいと考えているようですが、これはS32DS 3.6.10ではサポートされていません 。 代わりに、同僚のロビンが提案したように、以下をインストールする必要があります。 S32 デザインスタジオ 3.4 S32K1xx サービスパック 1 これで、S32K1XX RTMが表示されるはずです。私の場合はRTM 4.0.3を使っています: Julin_AragnM_0-1787933831435.pngJulin_AragnM_0-1787933831435.png そうでなければ、S32DS 3.6.10 を使用する場合、リアルタイム・ドライバ(RTD)を必ず使用してください。 S32SDKは非推奨化され、RTDパッケージに置き換えられました。RTDパッケージは低レベル(IP)および高レベル(MCAL)の例とドライバも提供しています。 S32SDKのインストール中にご迷惑をおかけしたことをお詫び申し上げます。 よろしくお願いします、 ジュリアン
View full article
RTD 4.0.0環境下でのS32K344フラッシュドライバ開発中に遭遇したいくつかの問題 こんにちは、皆さん 現在、SRAM(特にキャッシュを有効にせずにDTCM)で動作するFlashドライバを開発しています。いくつか問題が発生したので、ご意見をいただけると幸いです。 プロジェクトの背景: 私は2つのプロジェクトを持っています。1つはC40ドライバーを含み、もう1つはC40ドライバーを含み、もう1つは(ここではfls_drv_demoと呼び ます)は含まれていません。私の目標は、C40対応プロジェクトでドライバーをコンパイルし、 ATリンカー指令で アドレス 0x00500000 に配置し、 fls_drv_demo で memcpy を使って 意図したDTCMアドレスにコピーすることです。その後、関数アドレスをハードコードし、Flashの挙動変化を観察して検証します。 これまでにやったこと: C40対応プロジェクトでは、C40 IPレイヤーのすべての機能を.ramcodeセクションに配置し、それらをflash_driverセクションにまとめました。 初期化とプログラミングのためのカスタム関数は、.Fls_Api_Tab セクションに配置され、 flash_driver にもまとめられます 。 リンカースクリプトはそれに応じて修正されました。 現在の問題点: fls_drv_demo プロジェクト では 、関数ポインタを呼び出すとき、それが Fls_Init であろうとプログラミング関数で あろうと、 ((uint32_t (*)(const uint32_t, const uint8_t*, const uint32_t))(0x2000702C | 1))(0x00540000, flswritearray, 16); — 内部のIPレイヤー機能が完了すると、 実行は常に 0x00406764 にジャンプします。 具体的には: Fls_Initは正常に実行されました。 しかし、書き込み関数中、内部のC40_Ip_MainInterfaceSectorErase が終了して戻り (pop) しようとすると、PC ポインタは0x00000000になります。 私の推測: 内部関数の一部がまだ.text や.mcal.text のセクション にコンパイルされて いて、プログラムが間違ったスタブ領域にアクセスしてこの動作を引き起こしているのではないかと考えています。それとも、私が見落としている追加のセットアップステップがあるのでしょうか? この時点で完全に手詰まり状態なので、何かアドバイスやご指導をいただけると大変ありがたいです。 表現が少し不自然な箇所があるかもしれませんが、ご了承ください。これはAIによる翻訳です。参考までに、プロジェクトと問題のスクリーンショットをいくつか添付しました。 よろしくお願いいたします!   C40ドライバープロジェクトにおけるリンカーファイルの設定 20260825-102549.jpg20260825-102549.jpg20260825-102549.jpg20260825-102549.jpg20260825-102549.jpg20260825-102549.jpg20260825-102549.jpg .mapファイル(関数およびスタブ領域アドレス割り当て)は、C40ドライバープロジェクトでリンカーを修正した後に生成されます 20260825-103800.jpg20260825-103800.jpg20260825-103800.jpg20260825-103800.jpg20260825-103800.jpg20260825-103800.jpg20260825-103800.jpg 20260825-103746.jpg20260825-103746.jpg20260825-103746.jpg20260825-103746.jpg20260825-103746.jpg20260825-103746.jpg20260825-103746.jpg   fls_drv_demo プロジェクト の具体的な内容 20260825-103909.jpg20260825-103909.jpg20260825-103909.jpg20260825-103909.jpg20260825-103909.jpg20260825-103909.jpg20260825-103909.jpg   書き込み関数を実行するとき( 0x2000702C ) は、内部 RTD ライブラリ関数に入ります。 C40_IP_メインインターフェースセクター消去 (で 0x200074EC )。 0x20007502にジャンプします 0x20007B52となり、PC は格納されているアドレスを指します。 0x20007B54は 0x00406764 。その後、 ポップ 指導 0x00406778の値 r3 図に示すように、 0x2001FFD8 。 0x2001FFD8 そして指し示す 0x20007BA8の値 0x7BA8 は 0x00000000となり、プログラムがクラッシュ/暴走します。 20260825-105216.jpg20260825-105216.jpg20260825-105216.jpg20260825-105216.jpg20260825-105216.jpg20260825-105216.jpg20260825-105216.jpg 20260825-110659.jpg20260825-110659.jpg20260825-110659.jpg20260825-110659.jpg20260825-110659.jpg20260825-110659.jpg20260825-110659.jpg 20260825-110639.jpg20260825-110639.jpg20260825-110639.jpg20260825-110639.jpg20260825-110639.jpg20260825-110639.jpg20260825-110639.jpg 20260825-110710.jpg20260825-110710.jpg20260825-110710.jpg20260825-110710.jpg20260825-110710.jpg20260825-110710.jpg20260825-110710.jpg 1.jpg1.jpg1.jpg1.jpg1.jpg1.jpg1.jpg 2.jpg2.jpg2.jpg2.jpg2.jpg2.jpg2.jpg 20260825-111431.jpg20260825-111431.jpg20260825-111431.jpg20260825-111431.jpg20260825-111431.jpg20260825-111431.jpg20260825-111431.jpg 20260825-130859.jpg20260825-130859.jpg20260825-130859.jpg20260825-130859.jpg20260825-130859.jpg20260825-130859.jpg20260825-130859.jpg 20260825-130909.jpg20260825-130909.jpg20260825-130909.jpg20260825-130909.jpg20260825-130909.jpg20260825-130909.jpg20260825-130909.jpg Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme こんにちは@yunaidejieziさん はい、C40_Ipから呼び出されるすべての関数をSRAMに配置する必要があります。 以下の例では、SchM_Mem_43_INFLS.h の関数も SRAM に配置する必要がありました。 https://community.nxp.com/t5/S32K-Knowledge-Base/S32K312-C40-Ip-SRAM-RTD-500-DS35/ta-p/2074245 はい、RTD 4.0.0 にその例があります。 Mem_InFls_Example_S32K344 danielmartynek_0-1787734274169.pngdanielmartynek_0-1787734274169.pngdanielmartynek_0-1787734274169.pngdanielmartynek_0-1787734274169.pngdanielmartynek_0-1787734274169.pngdanielmartynek_0-1787734274169.pngdanielmartynek_0-1787734274169.pngdanielmartynek_0-1787734274169.png よろしくお願いいたします。 ダニエル Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme こんにちは、 @danielmartynek お返事ありがとうございます。 分解は 0x00406764 fls_drv_demo プロジェクトで運営されています 。実際に指し示している関数は OsIf_SuspendAllInterrupts() C40ドライバプロジェクトのものではないかもしれませんが、実行される命令は割り込みを無効化するためのものです。この関数はコンパイル時にインライン化されたのかもしれません。なぜなら、アドレスは.map ファイルに見つからないため 、この要素は関係ないかもしれません。次に、内部で呼び出された関数を c40_ip.flash_driver セクションに移してみます。さらに、あなたの提案された Mem_43_InFls MCALドライバーについてですが、MCALでFlashドライバーを作る例はありますか?実は、MCALを一度も使ったことがありません。 Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme こんにちは@yunaidejieziさん 逆アセンブルによると、OsIf_SuspendAllInterrupts()関数をDCTMに移動し忘れています。C40_Ipドライバが呼び出すすべての関数はDCTMに含まれているはずです。 Mem_43_InFls MCALドライバーを使うことをおすすめします。これは実行時に自動的にRAMへのコピーを処理し、手動の依存関係追跡を避けられます。 BR、ダニエル Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme こんにちは、 @danielmartynek ご返信よろしくお願いします。 私は2つのプロジェクトを開きました: Mem_InFls_Example_S32K344 and S32K312_C40_Ip_SRAM_RTD_500_DS35 。しかし今、非常に深刻な問題を発見しました。インポートしたRTDバージョンには Mem_43_INFLS_Driver コンポーネントが含まれていないようです。 Mem_InFls_Example_S32K344を開いた後 、MCALレイヤーで Mem_43_INFLS_Driver 見つけられませんでした 。また、 S32K312_C40_Ip_SRAM_RTD_500_DS35 projectでは、 Mem_43_INFLS_Driver は使われていないようです( mainで Mem_FLs レイヤー関数の呼び出しは見当たりませんでした)。しかし、プロジェクトエクスプローラーのRTDフォルダには SchM_Mem_43_INFLS.c/hが含まれています 。.map ファイルでは、 SchM_Enter_Mem_43_INFLS_MEM_EXCLUSIVE_AREA_04 のような関数 もSRAM領域に配置されています。 C40を使用する場合、 SchM_Mem_43_INFLS.c/.h 必ず含める必要がありますか?C40は内部的に次のような関数を呼び出しますか? SchM_Enter_Mem_43_INFLS_MEM_EXCLUSIVE_AREA_04 ? 20260827-102145.jpg20260827-102145.jpg20260827-102145.jpg20260827-102145.jpg20260827-102145.jpg20260827-102145.jpg20260827-102145.jpg Mem_InFls_Example_S32K344 プロジェクトには Mem_43_INFLS_Driver が存在しません   20260827-102152.jpg20260827-102152.jpg20260827-102152.jpg20260827-102152.jpg20260827-102152.jpg20260827-102152.jpg20260827-102152.jpg これは私のRTDバージョンです   20260827-102157.jpg20260827-102157.jpg20260827-102157.jpg20260827-102157.jpg20260827-102157.jpg20260827-102157.jpg20260827-102157.jpg Mem_InFls_Example_S32K344プロジェクトのRTDバージョン。 20260827-103214.jpg20260827-103214.jpg20260827-103214.jpg20260827-103214.jpg20260827-103214.jpg20260827-103214.jpg20260827-103214.jpg S32K312_C40_Ip_SRAM_RTD_500_DS35プロジェクトのRTDバージョン Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme こんにちは@yunaidejieziさん RTDバージョンを使っているに関わらず、Flashの例にはデフォルトでMCAL FLSドライバーが搭載されているはずです。もしそこに見当たらず追加できない場合は、IDEに問題がある可能性があります。おそらく、1つのIDEインストール内に複数のRTDバージョンがあるからでしょう。 はい、SchM_Mem_43_INFLS.h も必要です。SRAM内の機能。 https://community.nxp.com/t5/S32K-Knowledge-Base/S32K312-C40-Ip-SRAM-RTD-500-DS35/ta-p/2074245 BR、ダニエル Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme こんにちは、 @danielmartynek 私の説明が十分明確ではなかったのかもしれません。 スクリーンショットに複数のバージョンが表示されているのは、私が同時に複数のプロジェクトを開いているためです。 FLs_drv_demo 、 Mem_InFls_Example_S32K344 、および S32K312_C40_Ip_SRAM_RTD_500_DS35 。 私が作成したプロジェクトの場合、RTDバージョンは前回の投稿の図2に示すとおりです。 S32K3_RTD_4_0_0_P24_D2405_ASR_REL_4_4_REV_0000_20240515 。 あなたが私に勧めてくれた2つのプロジェクトのバージョンは以下のとおりです。 S32K3_RTD_5_0_0_D2408_ASR_REL_4_7_REV_0000_20241002 S32K3_RTD_6_0_0_QLP04_D2508_ASR_REL_4_7_REV_0000_20250822 質問ですが、RTDのバージョンの違いにより、 fls_drv_demo projectでは、 Mem_43_INFLS_Driver コンポーネントはMcalで利用できず、私のプロジェクトではファイル SchM_Mem_43_INFLS も生成されません。これは以下のスクリーンショットのプロジェクトマネージャー比較で明確に示されています。 20260827-163404.jpg20260827-163404.jpg20260827-163404.jpg20260827-163404.jpg20260827-163404.jpg 20260827-163400.jpg20260827-163400.jpg20260827-163400.jpg20260827-163400.jpg20260827-163400.jpg 全体的に見て、私の現在のRTDバージョンは、 Mem_43_INFLS_Driver です 。そこで知りたいのですが、 C40 コンポーネントを使うプロジェクトでは 、以下の関数を生成してSRAMに配置することが必須ですか? 20260827-163521.jpg20260827-163521.jpg20260827-163521.jpg20260827-163521.jpg20260827-163521.jpg Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme こんにちは@yunaidejieziさん これは互換性の問題のようです。あなたが投稿したスクリーンショットには多くの異なるRTDバージョンが見られます。S32DS IDEインストールごとに単一のRTDバージョンを使用してください。そのバージョンは使いたいRTDのリリースノートと一致しているはずです。より多くのRTDバージョンを扱う必要がある場合は、複数のS32DS IDEをインストールすることも可能です。 Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme こんにちは、 @danielmartynek 返信が遅くなり申し訳ありません。 私が確認できるのは、IDEで複数のRTDを同時にインストールしたことは一度もないということです。ただ、あなたが言及したMCAL FLSドライバーは私のセットアップに存在しているようですが、 Mem_43_INFLS_Driverとは名前が違うだけなので、はっきりとはわかりません。参考のために下に載せておきます。 20260828-095254.jpg20260828-095254.jpg20260828-095254.jpg 20260828-095249.jpg20260828-095249.jpg20260828-095249.jpg この部品が使用可能かどうかを知りたいです。SRAM領域にコードを自動的に配置する機能が内蔵されているようです。     Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme こんにちは@yunaidejieziさん なるほど、ありがとうございます。 これはRTDリリースが異なるAUTOSAR仕様に基づいているためです。 AUTOSAR 4.4.0はFLSドライバーを使用し、AUTOSAR 4.7.0(R21-11)はMem_43_INFLSを使用します。 命名規則は変更されましたが、機能は非常に似ています。 ご指摘の通り、ジョブ開始時にアクセスコードを読み込むオプションもあります。設定ツールのレイアウトは異なり、SRAMアドレスの設定は別のタブにありますが、それ以外の設定は同じです。 よろしくお願いいたします。 ダニエル
View full article
Clocks tool calls to CLOCK_OSC_GateOscRc400M, which no longer exists in SDK 26.6's fsl_clock.h After updating to iMXRT1166 SDK 26.6.0, the project fails to build because clock_config.c (generated by the Clocks tool) calls CLOCK_OSC_GateOscRc400M(false), but this function has been removed from fsl_clock.h in this SDK release. Looking online it seems this was removed because of updates to RM1170 Rev. 5 PDF. https://github.com/nxp-mcuxpresso/mcux-devices-rt/issues/2  The same updates have not been made to RM1160 so is iMXRT1166 SDK 26.6.0 incorrect or should the Clocks tool be updated to remove or modify its call? Re: Clocks tool calls to CLOCK_OSC_GateOscRc400M, which no longer exists in SDK 26.6's fsl_clock.h Dear @lh_dan , After comparing SDK 25.09 with SDK 26.06, I confirmed that this function has been removed in SDK 26.06. The observed difference is an expected change introduced by the SDK/tool version upgrade, rather than a software issue. We recommend upgrading MCUXpresso Config Tools to version 26.06 and then regenerating the project configuration files.   Best Regards, Shelly   Re: Clocks tool calls to CLOCK_OSC_GateOscRc400M, which no longer exists in SDK 26.6's fsl_clock.h Hi Shelly, Thanks for your response. I have updated to the latest version of Configuration Tools that the MCUXpresso IDE installs. This version still generates code using CLOCK_OSC_GateOscRc400M. lh_dan_0-1787581772610.pnglh_dan_0-1787581772610.pnglh_dan_0-1787581772610.pnglh_dan_0-1787581772610.pnglh_dan_0-1787581772610.pnglh_dan_0-1787581772610.png I noticed that there is a newer standalone version of the MCUXpresso Config Tools (26.6). Is this version not available in the MCUXpresso IDE?  Also, IMXRT1170RM Rev. 5 PDF has been updated to remove CLOCK_OSC_GateOscRc400M but IMXRT1160RM Rev. 1, which was last modified May 26, 2025, does not. Re: Clocks tool calls to CLOCK_OSC_GateOscRc400M, which no longer exists in SDK 26.6's fsl_clock.h Dear @lh_dan , To help us better understand and reproduce the issue, could you please provide the following information? 1. Which SDK version were you using previously? 2. Has your MCUXpresso Config Tools version been updated? If so, what was the previous version, and what version are you using now? This information will help us determine whether the issue may be related to changes introduced by the SDK or toolchain update. Thank you in advance for your support. Best regards, Shelly Re: Clocks tool calls to CLOCK_OSC_GateOscRc400M, which no longer exists in SDK 26.6's fsl_clock.h Dear @lh_dan , You can use the standalone version of MCUXpresso Config Tools v26.06 to generate the code, and it should work correctly. Alternatively, you may update the Config Tools integrated in your IDE by following the update process:Updating Config Tools in the MCUXpresso IDE - NXP Community We noticed that your current Config Tools version is 25.12, which is quite outdated and is likely the cause of the issue. I have verified the project using the IDE, and the build completes successfully on my side. Since MCUXpresso IDE is no longer updated on a quarterly base, we recommend considering Visual Studio Code together with the MCUXpresso for VS Code extension for new development and long-term support. Best Regards, Shelly Re: Clocks tool calls to CLOCK_OSC_GateOscRc400M, which no longer exists in SDK 26.6's fsl_clock.h Shelly, The other day when I attempted to update MCUXpresso like you showed, it said there was no updates available. Today it said there was an update available and moved to 26.6. This version did not use CLOCK_OSC_GateOscRc400M. Thanks! lh_dan_0-1787692788884.pnglh_dan_0-1787692788884.pnglh_dan_0-1787692788884.png As for your suggestion to use Visual Studio Code together with the MCUXpresso for VS Code. I did try this at the beginning of this project but we could not get the freeRTOS examples to work with the imxrt 1166 eval board. When support found the same issues, we had to use the MCUXpresso IDE. Re: Clocks tool calls to CLOCK_OSC_GateOscRc400M, which no longer exists in SDK 26.6's fsl_clock.h Dear lh_dan, I'm very glad to hear that you have resolved the issue. At the moment, the VS Code extension may still have some areas that need further improvement. However, our long-term plan is to gradually transition from MCUXpresso IDE to the VS Code based development environment. Best Regards, Shelly
View full article
Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environment Hi everyone, I'm currently working on a Flash driver that runs in SRAM (specifically, in DTCM without cache enabled for convenience). I've run into some issues and would appreciate your insights. Project background: I have two projects: one includes the C40 driver, and the other (which I'll call fls_drv_demo) does not. My goal is to compile the driver in the C40-enabled project, place it at address 0x00500000 via the AT linker directive, and then in fls_drv_demo, use memcpy to copy it to the intended DTCM address. After that, I hardcode the function addresses and call them to observe Flash behavior changes for verification. What I've done so far: In the C40-enabled project, I placed all C40 IP-layer functions into the .ramcode section and collected them in the flash_driver section. Custom functions for initialization and programming are placed in the .Fls_Api_Tab section, also collected into flash_driver. Linker scripts have been modified accordingly. The current problem: In the fls_drv_demo project, when I call a function pointer—whether it's Fls_Init or a programming function like ((uint32_t (*)(const uint32_t, const uint8_t*, const uint32_t))(0x2000702C | 1))(0x00540000, flswritearray, 16); —the execution always jumps to 0x00406764 after some internal IP-layer function completes. Specifically: Fls_Init executes successfully. However, during the write function, after the internal C40_Ip_MainInterfaceSectorErase finishes and is about to return (pop), the PC pointer ends up at 0x00000000. My suspicion: I'm wondering whether some internal functions are still being compiled into .text or .mcal.text sections, causing the program to access the wrong stub area and leading to this behavior. Or is there some additional setup step I'm missing? I'm completely stuck at this point and would really appreciate any suggestions or guidance. Apologies if the phrasing is a bit off—this was translated with AI assistance. I've attached some screenshots of the project and the issue for reference. Thanks in advance!   Linker file configuration in the C40 driver project 20260825-102549.jpg20260825-102549.jpg20260825-102549.jpg20260825-102549.jpg20260825-102549.jpg20260825-102549.jpg20260825-102549.jpg The .map file (function and stub region address allocation) generated after modifying the linker in the C40 driver project 20260825-103800.jpg20260825-103800.jpg20260825-103800.jpg20260825-103800.jpg20260825-103800.jpg20260825-103800.jpg20260825-103800.jpg 20260825-103746.jpg20260825-103746.jpg20260825-103746.jpg20260825-103746.jpg20260825-103746.jpg20260825-103746.jpg20260825-103746.jpg   The specific contents of the fls_drv_demo project 20260825-103909.jpg20260825-103909.jpg20260825-103909.jpg20260825-103909.jpg20260825-103909.jpg20260825-103909.jpg20260825-103909.jpg   When running the write function (at 0x2000702C), it goes into the internal RTD library function C40_Ip_MainInterfaceSectorErase (at 0x200074EC). At 0x20007502, it jumps to 0x20007B52, and then the PC points to the address stored at 0x20007B54, which is 0x00406764. Subsequently, when executing the pop instruction at 0x00406778, the value of r3 is as shown in the figure, pointing to 0x2001FFD8. 0x2001FFD8 then points to 0x20007BA8, and the value at 0x7BA8 is 0x00000000, causing the program to crash/run away. 20260825-105216.jpg20260825-105216.jpg20260825-105216.jpg20260825-105216.jpg20260825-105216.jpg20260825-105216.jpg20260825-105216.jpg 20260825-110659.jpg20260825-110659.jpg20260825-110659.jpg20260825-110659.jpg20260825-110659.jpg20260825-110659.jpg20260825-110659.jpg 20260825-110639.jpg20260825-110639.jpg20260825-110639.jpg20260825-110639.jpg20260825-110639.jpg20260825-110639.jpg20260825-110639.jpg 20260825-110710.jpg20260825-110710.jpg20260825-110710.jpg20260825-110710.jpg20260825-110710.jpg20260825-110710.jpg20260825-110710.jpg 1.jpg1.jpg1.jpg1.jpg1.jpg1.jpg1.jpg 2.jpg2.jpg2.jpg2.jpg2.jpg2.jpg2.jpg 20260825-111431.jpg20260825-111431.jpg20260825-111431.jpg20260825-111431.jpg20260825-111431.jpg20260825-111431.jpg20260825-111431.jpg 20260825-130859.jpg20260825-130859.jpg20260825-130859.jpg20260825-130859.jpg20260825-130859.jpg20260825-130859.jpg20260825-130859.jpg 20260825-130909.jpg20260825-130909.jpg20260825-130909.jpg20260825-130909.jpg20260825-130909.jpg20260825-130909.jpg20260825-130909.jpg Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme Hi @yunaidejiezi, Yes, you need to place all the functions called from the C40_Ip to SRAM. In the below example, I had to place functions from SchM_Mem_43_INFLS.h to SRAM too.  https://community.nxp.com/t5/S32K-Knowledge-Base/S32K312-C40-Ip-SRAM-RTD-500-DS35/ta-p/2074245 Yes, there is this example in RTD 4.0.0. Mem_InFls_Example_S32K344 danielmartynek_0-1787734274169.pngdanielmartynek_0-1787734274169.pngdanielmartynek_0-1787734274169.pngdanielmartynek_0-1787734274169.pngdanielmartynek_0-1787734274169.pngdanielmartynek_0-1787734274169.pngdanielmartynek_0-1787734274169.pngdanielmartynek_0-1787734274169.png Regards, Daniel Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme Hi, @danielmartynek     Thank you for your reply.     The disassembly at 0x00406764 is running in the fls_drv_demo project. The function it actually points to may not be OsIf_SuspendAllInterrupts() from the C40 driver project, but the instructions executed are indeed those for disabling interrupts. I think this function might have been inlined at compile time, since its address is not found in the .map file, so this factor may be irrelevant. Next, I will try to move the functions called internally by c40_ip into the .flash_driver section. In addition, regarding your suggestion to use the Mem_43_InFls MCAL driver, are there any reference examples of making a Flash driver with MCAL? Actually, I have never used MCAL at all. Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme Hi @yunaidejiezi, Based on the disassembly, you forgot to move the OsIf_SuspendAllInterrupts() function to DCTM, all the functions called by the C40_Ip driver must be in DCTM. I would recommend using the Mem_43_InFls MCAL driver, which handles the copy-to-RAM automatically at runtime and avoids all of this manual dependency tracking. BR, Daniel Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme Hi @yunaidejiezi, This looks like a compatibility issue. I can see many different RTD versions in the screenshots you posted. Please use a single RTD version per S32DS IDE installation, and the IDE version should match the release notes of the RTD you want to use. You can have multiple S32DS IDE installations if you need to work with more RTD versions. Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme Hi,@danielmartynek  It's possible that my description wasn't clear enough. The reason multiple versions appear in the screenshots is that I have several projects open at the same time: FLs_drv_demo, Mem_InFls_Example_S32K344, and S32K312_C40_Ip_SRAM_RTD_500_DS35. For the project I created, the RTD version is as shown in Figure 2 in the previous post: S32K3_RTD_4_0_0_P24_D2405_ASR_REL_4_4_REV_0000_20240515. The versions of the two projects you recommended to me are: S32K3_RTD_5_0_0_D2408_ASR_REL_4_7_REV_0000_20241002 S32K3_RTD_6_0_0_QLP04_D2508_ASR_REL_4_7_REV_0000_20250822 My question is: due to the RTD version differences, in the fls_drv_demo project, the Mem_43_INFLS_Driver component is not available in Mcal, and the file SchM_Mem_43_INFLS is not generated in my project. This is clearly shown in the project manager comparison between the two projects in the screenshots below. 20260827-163404.jpg20260827-163404.jpg20260827-163404.jpg20260827-163404.jpg20260827-163404.jpg20260827-163404.jpg 20260827-163400.jpg20260827-163400.jpg20260827-163400.jpg20260827-163400.jpg20260827-163400.jpg20260827-163400.jpg Overall, my current RTD version likely does not support developing a flash driver based on the Mem_43_INFLS_Driver. Therefore, I would like to know: for a project that uses the C40 component, is it mandatory to generate the following functions and place them in SRAM? 20260827-163521.jpg20260827-163521.jpg20260827-163521.jpg20260827-163521.jpg20260827-163521.jpg20260827-163521.jpg Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme Hi,@danielmartynek  Thank you for your reply. I have opened two projects: Mem_InFls_Example_S32K344 and S32K312_C40_Ip_SRAM_RTD_500_DS35. Now I have discovered a very serious issue: it seems that the RTD version I imported does not contain the Mem_43_INFLS_Driver component. After opening Mem_InFls_Example_S32K344, I could not find Mem_43_INFLS_Driver in the MCAL layer. Also, in the S32K312_C40_Ip_SRAM_RTD_500_DS35 project, it appears that Mem_43_INFLS_Driver is not used (since I did not see any calls to Mem_FLs layer functions in main). However, the RTD folder in the Project Explorer does contain SchM_Mem_43_INFLS.c/.h. In the .map file, functions like SchM_Enter_Mem_43_INFLS_MEM_EXCLUSIVE_AREA_04 are also placed into the SRAM area. I would like to know: when using C40, is SchM_Mem_43_INFLS.c/.h mandatory to be included? Does C40 internally call functions like SchM_Enter_Mem_43_INFLS_MEM_EXCLUSIVE_AREA_04? 20260827-102145.jpg20260827-102145.jpg20260827-102145.jpg20260827-102145.jpg20260827-102145.jpg There is no Mem_43_INFLS_Driver in the Mem_InFls_Example_S32K344 project   20260827-102152.jpg20260827-102152.jpg20260827-102152.jpg20260827-102152.jpg20260827-102152.jpg This is my RTD version   20260827-102157.jpg20260827-102157.jpg20260827-102157.jpg20260827-102157.jpg20260827-102157.jpg The RTD version of the Mem_InFls_Example_S32K344 project. 20260827-103214.jpg20260827-103214.jpg20260827-103214.jpg20260827-103214.jpg20260827-103214.jpg The RTD version of the S32K312_C40_Ip_SRAM_RTD_500_DS35 project Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme Hi @yunaidejiezi, Regardless of the RTD version you use, there must be an MCAL FLS driver in the Flash example added by default. If you do not see it there and it cannot be added, there is a problem with the IDE - probably because you have multiple RTD versions in a single IDE installation. Yes, you also need the SchM_Mem_43_INFLS.h functions in SRAM. https://community.nxp.com/t5/S32K-Knowledge-Base/S32K312-C40-Ip-SRAM-RTD-500-DS35/ta-p/2074245 BR, Daniel Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme Hi,@danielmartynek  I apologize for the delayed reply. What I can confirm is that I have never tried installing multiple versions of RTD simultaneously in the IDE. However, it seems that the MCAL FLS driver you mentioned does exist in my setup—just under a different name than Mem_43_INFLS_Driver, so I'm not entirely sure. I've placed it below for reference. 20260828-095254.jpg20260828-095254.jpg20260828-095254.jpg 20260828-095249.jpg20260828-095249.jpg20260828-095249.jpg I would like to know whether this component is usable. It does appear to have a built-in feature for automatically placing code into the SRAM region.     Re: Some issues encountered during Flash driver development on S32K344 under the RTD 4.0.0 environme Hi @yunaidejiezi, I see, thank you. This is because the RTD releases are based on different AUTOSAR specifications. AUTOSAR 4.4.0 uses the Fls driver, while AUTOSAR 4.7.0 (R21-11) uses Mem_43_INFLS. The naming convention changed, but the functionality is very similar. As you mentioned, there is also the option to Load Access Code On Job Start. The Configuration Tool layout is different - the SRAM address configuration is located on a different tab, but otherwise the configuration is equivalent. Regards, Daniel
View full article
确认 S9KEAZN64AMLH FIT 值 该项目选择了 MCU S9KEAZN64AMLH。现在,车辆制造商需要芯片的 FIT 参数,如下图所示。请帮忙确认并回复。感谢您的支持。 mengfanpeng_0-1787884740955.png Re: Confirmation of S9KEAZN64AMLH FIT value 你好@mengfanpeng , 感谢你的帖子。 这些信息不适合在公共社区分享。我稍后会通过私人邮件发送给你。 BR 塞莱斯特
View full article
[S32DS 3.6.1] Update Fail boring  CY9_0-1787712759742.pngCY9_0-1787712759742.pngCY9_0-1787712759742.pngCY9_0-1787712759742.pngCY9_0-1787712759742.png Cannot complete the install because one or more required items could not be found. Software being installed: C/C++ Development Tools 12.5.0.202606022100 (org.eclipse.cdt.feature.group 12.5.0.202606022100) Missing requirement: GDB Common 7.2.500.202603111352 (org.eclipse.cdt.gdb 7.2.500.202603111352) requires 'osgi.bundle; org.eclipse.core.runtime [3.34.0,4.0.0)' but it could not be found Cannot satisfy dependency: From: C/C++ Development Tools 12.5.0.202606022100 (org.eclipse.cdt.feature.group 12.5.0.202606022100) To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.gdb.feature.group [12.5.0.202603111352,12.5.0.202603111352] Cannot satisfy dependency: From: C/C++ Common GDB Support 12.5.0.202603111352 (org.eclipse.cdt.gdb.feature.group 12.5.0.202603111352) To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.gdb [7.2.500.202603111352,7.2.500.202603111352] Cannot complete the install because one or more required items could not be found. Software being installed: Remote Services 12.5.0.202603111352 (org.eclipse.remote.feature.group 12.5.0.202603111352) Missing requirement: Eclipse Remote Development documentation plug-in 12.5.0.202603111352 (org.eclipse.remote.doc.isv 12.5.0.202603111352) requires 'osgi.bundle; org.eclipse.help [3.10.500,4.0.0)' but it could not be found Cannot satisfy dependency: From: Remote Services 12.5.0.202603111352 (org.eclipse.remote.feature.group 12.5.0.202603111352) To: org.eclipse.equinox.p2.iu; org.eclipse.remote.doc.isv [12.5.0.202603111352,12.5.0.202603111352] Cannot complete the install because one or more required items could not be found. Software being installed: C/C++ Development Tools 12.5.0.202606022100 (org.eclipse.cdt.feature.group 12.5.0.202606022100) Missing requirement: GDB Common 7.2.500.202603111352 (org.eclipse.cdt.gdb 7.2.500.202603111352) requires 'osgi.bundle; org.eclipse.core.runtime [3.34.0,4.0.0)' but it could not be found Cannot satisfy dependency: From: C/C++ Development Tools 12.5.0.202606022100 (org.eclipse.cdt.feature.group 12.5.0.202606022100) To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.gdb.feature.group [12.5.0.202603111352,12.5.0.202603111352] Cannot satisfy dependency: From: C/C++ Common GDB Support 12.5.0.202603111352 (org.eclipse.cdt.gdb.feature.group 12.5.0.202603111352) To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.gdb [7.2.500.202603111352,7.2.500.202603111352] Cannot complete the install because one or more required items could not be found. Software being installed: C/C++ Development Platform 12.5.0.202606022100 (org.eclipse.cdt.platform.feature.group 12.5.0.202606022100) Missing requirement: C/C++ Development Tools Core Native Utilities 6.6.200.202603111352 (org.eclipse.cdt.core.native 6.6.200.202603111352) requires 'osgi.bundle; org.eclipse.core.runtime [3.34.0,4.0.0)' but it could not be found Cannot satisfy dependency: From: C/C++ Development Tooling Native Utilities 12.5.0.202606022100 (org.eclipse.cdt.native.feature.group 12.5.0.202606022100) To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.core.native [6.6.200.202603111352,6.6.200.202603111352] Cannot satisfy dependency: From: C/C++ Development Platform 12.5.0.202606022100 (org.eclipse.cdt.platform.feature.group 12.5.0.202606022100) To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.native.feature.group [12.5.0.202606022100,12.5.0.202606022100] Cannot complete the install because one or more required items could not be found. Software being installed: C/C++ GCC Cross Compiler Support 12.5.0.202603111352 (org.eclipse.cdt.build.crossgcc.feature.group 12.5.0.202603111352) Missing requirement: CDT GCC Cross Compiler Support 1.3.800.202603111352 (org.eclipse.cdt.build.crossgcc 1.3.800.202603111352) requires 'osgi.bundle; org.eclipse.core.runtime [3.34.0,4.0.0)' but it could not be found Cannot satisfy dependency: From: C/C++ GCC Cross Compiler Support 12.5.0.202603111352 (org.eclipse.cdt.build.crossgcc.feature.group 12.5.0.202603111352) To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.build.crossgcc [1.3.800.202603111352,1.3.800.202603111352] Cannot complete the install because one or more required items could not be found. Software being installed: C/C++ Development Tooling Native Utilities 12.5.0.202606022100 (org.eclipse.cdt.native.feature.group 12.5.0.202606022100) Missing requirement: C/C++ Development Tools Core Native Utilities 6.6.200.202603111352 (org.eclipse.cdt.core.native 6.6.200.202603111352) requires 'osgi.bundle; org.eclipse.core.runtime [3.34.0,4.0.0)' but it could not be found Cannot satisfy dependency: From: C/C++ Development Tooling Native Utilities 12.5.0.202606022100 (org.eclipse.cdt.native.feature.group 12.5.0.202606022100) To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.core.native [6.6.200.202603111352,6.6.200.202603111352] Cannot complete the install because one or more required items could not be found. Software being installed: C/C++ Common GDB Support 12.5.0.202603111352 (org.eclipse.cdt.gdb.feature.group 12.5.0.202603111352) Missing requirement: GDB Common 7.2.500.202603111352 (org.eclipse.cdt.gdb 7.2.500.202603111352) requires 'osgi.bundle; org.eclipse.core.runtime [3.34.0,4.0.0)' but it could not be found Cannot satisfy dependency: From: C/C++ Common GDB Support 12.5.0.202603111352 (org.eclipse.cdt.gdb.feature.group 12.5.0.202603111352) To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.gdb [7.2.500.202603111352,7.2.500.202603111352] Cannot complete the install because one or more required items could not be found. Software being installed: C/C++ Memory View Enhancements 12.5.0.202603111352 (org.eclipse.cdt.debug.ui.memory.feature.group 12.5.0.202603111352) Missing requirement: Debug Core Memory 0.2.300.202512020204 (org.eclipse.cdt.debug.core.memory 0.2.300.202512020204) requires 'osgi.bundle; org.eclipse.core.runtime [3.34.0,4.0.0)' but it could not be found Cannot satisfy dependency: From: C/C++ Memory View Enhancements 12.5.0.202603111352 (org.eclipse.cdt.debug.ui.memory.feature.group 12.5.0.202603111352) To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.debug.core.memory [0.2.300.202512020204,0.2.300.202512020204] Cannot complete the install because one or more required items could not be found. Software being installed: C/C++ GNU Toolchain Build Support 12.5.0.202603111352 (org.eclipse.cdt.gnu.build.feature.group 12.5.0.202603111352) Missing requirement: GCC support for CDT Build Core 2.1.800.202512020204 (org.eclipse.cdt.build.gcc.core 2.1.800.202512020204) requires 'osgi.bundle; org.eclipse.core.runtime [3.34.0,4.0.0)' but it could not be found Cannot satisfy dependency: From: C/C++ GNU Toolchain Build Support 12.5.0.202603111352 (org.eclipse.cdt.gnu.build.feature.group 12.5.0.202603111352) To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.build.gcc.core [2.1.800.202512020204,2.1.800.202512020204] Cannot complete the install because one or more required items could not be found. Software being installed: C/C++ GDB Hardware Debugging 12.5.0.202603111352 (org.eclipse.cdt.debug.gdbjtag.feature.group 12.5.0.202603111352) Missing requirement: Eclipse GDB Hardware Debug Core Plug-in 10.8.500.202512020204 (org.eclipse.cdt.debug.gdbjtag.core 10.8.500.202512020204) requires 'osgi.bundle; org.eclipse.core.runtime [3.34.0,4.0.0)' but it could not be found Cannot satisfy dependency: From: C/C++ GDB Hardware Debugging 12.5.0.202603111352 (org.eclipse.cdt.debug.gdbjtag.feature.group 12.5.0.202603111352) To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.debug.gdbjtag.core [10.8.500.202512020204,10.8.500.202512020204] Cannot complete the install because one or more required items could not be found. Software being installed: C/C++ GNU Toolchain Debug Support 12.5.0.202603111352 (org.eclipse.cdt.gnu.debug.feature.group 12.5.0.202603111352) Missing requirement: C/C++ Development Tools Launching Support 11.0.300.202603111352 (org.eclipse.cdt.launch 11.0.300.202603111352) requires 'osgi.bundle; org.eclipse.ui.ide [3.22.600,4.0.0)' but it could not be found Cannot satisfy dependency: From: C/C++ GNU Toolchain Debug Support 12.5.0.202603111352 (org.eclipse.cdt.gnu.debug.feature.group 12.5.0.202603111352) To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.launch [11.0.300.202603111352,11.0.300.202603111352] Cannot complete the install because one or more required items could not be found. Software being installed: C/C++ DSF GDB Debugger Integration 12.5.0.202603111352 (org.eclipse.cdt.gnu.dsf.feature.group 12.5.0.202603111352) Missing requirement: GDB DSF Debugger Integration Core 7.3.100.202601271447 (org.eclipse.cdt.dsf.gdb 7.3.100.202601271447) requires 'osgi.bundle; org.eclipse.core.runtime [3.34.0,4.0.0)' but it could not be found Cannot satisfy dependency: From: C/C++ DSF GDB Debugger Integration 12.5.0.202603111352 (org.eclipse.cdt.gnu.dsf.feature.group 12.5.0.202603111352) To: org.eclipse.equinox.p2.iu; org.eclipse.cdt.dsf.gdb [7.3.100.202601271447,7.3.100.202601271447] CY9_1-1787712805898.pngCY9_1-1787712805898.pngCY9_1-1787712805898.pngCY9_1-1787712805898.pngCY9_1-1787712805898.png CY9_2-1787712826729.pngCY9_2-1787712826729.pngCY9_2-1787712826729.pngCY9_2-1787712826729.pngCY9_2-1787712826729.png Cannot complete the install because one or more required items could not be found. Software being installed: Remote Services 12.5.0.202603111352 (org.eclipse.remote.feature.group 12.5.0.202603111352) Missing requirement: Eclipse Remote Development documentation plug-in 12.5.0.202603111352 (org.eclipse.remote.doc.isv 12.5.0.202603111352) requires 'osgi.bundle; org.eclipse.help [3.10.500,4.0.0)' but it could not be found Cannot satisfy dependency: From: Remote Services 12.5.0.202603111352 (org.eclipse.remote.feature.group 12.5.0.202603111352) To: org.eclipse.equinox.p2.iu; org.eclipse.remote.doc.isv [12.5.0.202603111352,12.5.0.202603111352] Re: [S32DS 3.6.1] Update Fail You are late . Ref: https://community.nxp.com/t5/S32K/S32DS-3-6-1-Example-Code-disappear/m-p/2408504  I'd already remove this SHxT. Too much problems .  It's *NOT* v3.6.1 , it's v3.6.10 actually .  Re: [S32DS 3.6.1] Update Fail Hello @CY9, Could you share what package, updatesite, RTD or plugin you are trying to install?  From the error log, I can see you are trying to install CDT 12.5.0, however, latest S32DS release supports Eclipse 2023-12 framework, CDT 11.4, and Java17. Have you tried to update only through the S32DS Updates and Extensions interface?  Julin_AragnM_0-1787853046969.pngJulin_AragnM_0-1787853046969.pngJulin_AragnM_0-1787853046969.png Best regards, Julián Re: [S32DS 3.6.1] Update Fail Hello @CY9, I apologize if S32DS and general environment gave you too many issues. By your other post, I can see you are looking to use RTM 4.0.2, which is not supported by S32DS 3.6.10.  Instead, as my colleague Robin suggested, you must install:  S32 Design Studio 3.4  S32K1xx Service Pack 1 With this, you should be able to see S32K1XX RTM. In my case, I use RTM 4.0.3: Julin_AragnM_0-1787933831435.pngJulin_AragnM_0-1787933831435.png Otherwise, if you use S32DS 3.6.10, you must use Real-Time Drivers (RTD). S32SDK has been deprecated and replaced by RTD package, which also provides examples and drivers for low level (IP) and high level (MCAL). I apologize for the inconveniences while trying to install S32SDK. Best regards, Julián
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 Re: BT firmware accepted over UART but controller never runs; and EdgeFast download corrupts at the Resolved / closing update — thank you for the help, and here is the answer for anyone who finds this thread later. After completing the rework and moving to external power (per Daniel's three preconditions), we ran a **module-substitution test**. Holding *everything* else identical — same MIMXRT1170-EVKB, same rework, same external 5 V, same MCUXpresso SDK v26.06.00-LTS, the same stock `uartIW416_bt.bin`, and the *same compiled EdgeFast `shell` binary* — we swapped the u-blox M2-MAYA-W161 for a genuine **Embedded Artists Murata Type 1XK M.2 (EAR00385)** (the IW416 module the `board_murata_1xk_m2` profile targets). With the Murata 1XK, `bt.init` runs to completion: ``` download success! [FW Download]BLE FW is downloaded Bluetooth initialized Settings Loaded ``` The controller comes up cleanly. With the u-blox MAYA-W161, the *same* binary downloads identically (`download success!`) and then the controller is silent. **So this was not an NXP problem.** The board, the SDK, the stock `uartIW416_bt.bin`, and the EdgeFast stack are all correct — proven by the Murata IW416 module running to a live controller on the identical setup. The fault is specific to the u-blox MAYA-W161 (its firmware provisioning / authentication), and we are taking that to u-blox. Two useful side notes for others on this board: * **The 3 Mbaud download corruption we reported earlier was the missing flow-control rework.** After fitting `R1902` and removing `R1816` (NXP's five-item EdgeFast rework), the stock loader's 115200 → 3,000,000-baud switch completes cleanly and the download succeeds. Before that rework it corrupted at the switch and looped; the rework fixes it. * On the MIMXRT1170-EVKB the loader must stay well-fed at 3 Mbaud, which needs that flow-control rework in place; at 115200 it is unconditional. Thanks again for pointing us at the rework and the external-supply requirement — both mattered, and together they got a genuine Murata module all the way up. Cheers @DanielRuvalcaba, I will follow up with uBlox. 
View full article
FS32K144UAT0VLLT使用SW连接,解锁后RST管脚仍然有三角波,不连接RST管脚上位机不能和单片机连接。 一 J-LINK使用SWDIO和SWCLK,GND 连接单片机FS32K144UAT0VLLT, 程序下载电路,VCC和单片机都是5V: RST管脚有三角波:f=1.8KHZ,2.6Vp-p的三角波: 三.在J-Link>输入unlock kinetis显示有错误不能连接: 四.J-Link添加RST复位管脚连接单片机97管脚PTA5(*JTAG_TRST/*RESET,连接成功,解密成功。这是解密成功吗? 五.使用Keil uVision5连接电路板,不使用RST不能连接单片机,只有使用RST才能连接单片机, 9.png9.png9.png9.png9.png9.png9.png 并且复位管脚三角波仍然存在,如下图:        请问NXP老师: 这块电路板(使用FS32K144UAT0VLLT单片机),以前只使用SWDIO,SWCLK,GND连接可以正常下载程序,这次为什么只有连接RST后才能下载程序,这是什么原因?谢谢! 回复: FS32K144UAT0VLLT使用SW连接,解锁后RST管脚仍然有三角波,不连接RST管脚上位机不能和单片机连接。 Hi 不接 RESET_b 时,J-Link 无法控制 S32K1 的复位时序;只要用户程序、看门狗、低功耗或引脚复用影响了调试口,就可能出现偶发无法连接。  因为Flash中没有代码(比如新芯片,Flash为空),MCU将由于内核死锁(lockup)不断地周期性复位。又因为外部RC所以方波变成了三角波。 等你下载新的可以正常运行的程序,RESET_b引脚就恢复高电平了。 Best Regards, Robin 回复: FS32K144UAT0VLLT使用SW连接,解锁后RST管脚仍然有三角波,不连接RST管脚上位机不能和单片机连接。 各位老师: 不好意思,昨天发的问题插图没有配好,非常混乱看不清楚,今天重新发布,希望各位老师尽快给讲解! FS32K144UAT0VLLT使用SW连接,解锁后RST管脚仍然有三角波,不连接RST管脚上位机不能和单片机连接。 一 JLINK使用SWDIO和SWCLK,GND 连接单片机FS32K144UAT0VLLT, 程序下载电路,VCC和单片机都是5V: 11.png11.png11.png11.png11.png11.png11.png 二 RST管脚有三角波:f=1.8KHZ,2.6Vp-p的三角波: 22.png22.png22.png22.png22.png22.png22.png 三 在J-Link>输入unlock kinetis显示有错误不能连接: 33.png33.png33.png33.png33.png33.png33.png 四 J-Link添加RST复位管脚连接单片机97管脚PTA5(*JTAG_TRST/*RESET,连接成功,解密成功。 44.png44.png44.png44.png44.png44.png44.png 五 使用Keil uVision5连接电路板,不使用RST不能连接单片机,只有使用RST才能连接单片机, 并且复位管脚三角波仍然存在,如下图: 22.png22.png22.png22.png22.png22.png22.png 回复: FS32K144UAT0VLLT使用SW连接,解锁后RST管脚仍然有三角波,不连接RST管脚上位机不能和单片机连接。 老师:上面文版本错乱,请查看下面Word文档,是同一个问题,谢谢! 回复: FS32K144UAT0VLLT使用SW连接,解锁后RST管脚仍然有三角波,不连接RST管脚上位机不能和单片机连接。 Robin_Shen : How are you ! 经理你好,看到你的回复非常高兴,学到了很多知识,谢谢! 我们这次实验板共4块,其中1块下载程序后连接正常,只使用SWDIO,SWCLK,GND就可以连接,RST管脚已经恢复高电平。 但另外3块下载程序后,RST管脚仍然是三角波,J-link只使用SWDIO,SWCLK,GND三个管脚不能连接单片机FS32K144UAT0VLLT,必须连接RST管脚才能正常连接,请问应该怎么处理?谢谢! 回复: FS32K144UAT0VLLT使用SW连接,解锁后RST管脚仍然有三角波,不连接RST管脚上位机不能和单片机连接。 成功下载正确的程序后,RESET_b应该保持高电平。 AN5426 Hardware Design Guidelines for S32K1xx Microcontrollers (Rev. 6 December, 2021).pdf 推荐的调试口就包含了RESET_b,建议修改硬件。 回复: FS32K144UAT0VLLT使用SW连接,解锁后RST管脚仍然有三角波,不连接RST管脚上位机不能和单片机连接。 Robin_Shen : 经理:你好,有点疑惑,还需要继续请教: 1. FS32K144UAT0VLLT使用SWDIO,SWCLK,GND下载程序时,正常状态也包含RST管脚吗?RST连接也属于SWD模式下载? 2. 有的电路板只使用SWDIO,SWCLK,GND三条导线下载程序,有的电路板需要使用SWDIO,SWCLK,GND,RST四线下载程序,都属于正常下载吧?都属于SWD模式正常下载? 谢谢! 回复: FS32K144UAT0VLLT使用SW连接,解锁后RST管脚仍然有三角波,不连接RST管脚上位机不能和单片机连接。 SWD 标准通信不强制连接 RESET_b ,但 S32K1 的可靠烧录、Connect Under Reset 和恢复场景强烈依赖它,建议作为调试接口必接信号处理。 但当前S32K1 是全新的里面没程序,芯片在反复复位。若没有把 RESET_b 接到 J-Link,J-Link 就无法稳定执行真正的 Connect Under Reset ,所以有些芯片能“碰巧”抓住窗口,有些芯片抓不住。 如果你有PEMicro的调试器,那么可以使用https://community.nxp.com/t5/S32K/S32K144-D2-RED-LED-is-ON-always/m-p/1567621 里的P&E Recovery Utility 工具在反复上电瞬间halt MCU。 你的J-Link应该也可以参考上面工具的方法: J-Link 先处于反复 connect / attach / halt 的状态; 然后给目标板断电再上电; 尽量在 Power-on Reset 后、应用或空片跑飞前抓住 SWD。 你可以参考 S32K1xx系列MCU应用指南之芯片锁死(lockup)复位原因分析与恢复方法详解 里的 S32K1xx_MassErase_Read_MDM-AP_Registers_Command_Script.txt 命令脚本。 回复: FS32K144UAT0VLLT使用SW连接,解锁后RST管脚仍然有三角波,不连接RST管脚上位机不能和单片机连接。 Robin_shen: 问题已经解决,谢谢!
View full article
BSP 6.18.20_2.0.0ビルドimx8mp uboot-imxが失敗 NXPチームの皆さん、こんにちは。 6.18.20_2.0.0 BSP Yocto build for IMX8MPでuboot-imxエラーが発生しました。添付のビルドログをご覧ください。 Re: BSP 6.18.20_2.0.0 build imx8mp uboot-imx fail $ sudo apt install efitools Re: BSP 6.18.20_2.0.0 build imx8mp uboot-imx fail すみません、私もUbuntu 22.04を使っていました。 フォルダ tmp/work/imx8mp_lpddr4_evk-poky-linux/u-boot-imx/2026.04/build/imx8mp_evk_defconfig-sd にアクセスし、ファイルcapsule_esl_fileが存在するか確認してください。 $ find .-name capsule_esl_file Re: BSP 6.18.20_2.0.0 build imx8mp uboot-imx fail 何も変更なし。 私のビルド環境はUbuntu 22.04です。 Re: BSP 6.18.20_2.0.0 build imx8mp uboot-imx fail 私のUbuntu 24.04 PCでデフォルトのビルド構成を確認しましたが、問題はありませんでした。 Yoctoのビルド環境で何か変更しましたか?例えば、u-boot-imx-2026.04のソースコードなど。 Re: BSP 6.18.20_2.0.0 build imx8mp uboot-imx fail 参考までに Re: BSP 6.18.20_2.0.0 build imx8mp uboot-imx fail ビルドログをアップロードしていただけますか?
View full article
AUTOSAR 网络管理睡眠/唤醒之间的连接 您好,我目前正在调试 EcuM 和网络管理功能。我查阅了一些规格手册,但仍然有些困惑,希望得到指导。 网络管理的睡眠/唤醒是否必须与 EcuM 协调(即 EcuM 验证唤醒原因)? 在网络管理睡眠/唤醒过程中,ECU 是否需要进入睡眠状态(即 EcuM 睡眠)? 如果问题 1 的答案是肯定的,则 EcuM 通过接口获取唤醒事件。 EcuM_SetWakeupEvent 。然而,AUTOSAR EcuM 规范 SWS_EcuM_04318 指出: “与所选睡眠模式无关的唤醒事件将被忽略。” 我应该如何理解这句话? AUTOSAR EcuM 规范中还包含两个关于接口的条目。 EcuM_ValidateWakeupEvent – SWS_EcuM_02790 和 SWS_EcuM_02791。它指出与通信通道关联的唤醒源在任何阶段都应有效。这是否意味着在任何阶段,唤醒事件都可以被挂起(即,成功通过)。 然后进行验证(EcuM_SetWakeupEvent)? Re: The connection between AUTOSAR Network Management sleep/wake-up 您好, 1. NM 睡眠/觉醒是否需要 EcuM 协调? 未必。NM/ComM 管理网络通信,而 EcuM 管理 ECU 电源状态。ECU唤醒验证主要与ECU实际进入ECU睡眠状态有关。 2. NM睡眠是否意味着ECU必须进入ECUM睡眠状态? 不。网络可以进入总线睡眠状态,而 ECU 仍处于运行模式并继续执行本地功能。 3. 如何理解 SWS_EcuM_04318? 这意味着 EcuM 只接受为当前选定的睡眠模式配置的唤醒事件。来自未在该睡眠模式下启用的唤醒源的唤醒事件将被忽略。它可以防止虚假硬件事件意外唤醒 ECU。 4. 在任何 EcuM 阶段,ComM 相关唤醒源是否可以得到验证? 是的。这是一个特例。通用唤醒源仅在睡眠期间被接受,但通信通道关联的源(例如,CAN 唤醒帧)可以通过 EcuM_SetWakeupEvent 挂起,并通过 EcuM_ValidateWakeupEvent 在任何 EcuM 阶段进行验证。这样,唤醒事件就可以中止正在进行的 Go-Sleep 序列——这是将 NM 唤醒与 EcuM 连接起来的关键机制。 简而言之:NM睡眠≠ECU睡眠,并且与ComM连接的唤醒源在ECUM中会得到特殊处理,从而允许在正常的唤醒序列之外进行验证。 BR,彼得
View full article
PFE EMAC0 ECUウェイクアップ後の無効なバッファアクセス こんにちは、 EMAC0を2500 Mbpsで設定し、必要なSERDESチャネル設定も行っています。ECUの稼働状態中は、イーサネット通信が正常に動作しています。 Eth通信にアクセスするアプリケーションをシャットダウンした後、ECUMからECUスリープリクエストをトリガーし、MCUモードをSOCスタンバイに設定し、HSE_CM7をメインコアとして選択します。 ウェイクアップ後、ECUは通常の動作に戻り、COM、SOAD、TCPIP、ETHIFのレイヤーは期待通りに動作します。EthのIFレイヤーでは、API呼び出し中の「Provide TX buffer」が「Provide TX buffer」が空いていないというエラーを返し、その後Ethフレームの送信が停止します 問題解決のために試された修正方法のリスト: 1. 「Eth_43_Pfe_Deinit」を使ってPFEドライバをシャットダウンし、「Eth_43_Pfe_Init」を呼んでPFEドライバを起動しようとしましたが、実行後にCPUがロックされてしまいました。 2. EthコントローラをEth_43_Pfe_SetControllerモードで下げてアクティブに戻そうとしたところ、バス障害が発生しました この問題の解決策を教えてください。 追伸> 使用コンフィギュレーター:EB tresos Eth PFE RTDバージョン:1.3.0 SDK:GOLDVIP
View full article
MPC5777C MPU potentially increasing inter-core timing interferences? Hello, I would like to know if using of the MPU in the MPC5777C may increase memory access times. Specifically, I would like to know if there is any contention on MPU when both cores perform simultaneous accesses that pass through the MPU (e.g. CPU0 making a PRAMC_0 access simultaneously with an EBI access by CPU1 - both would pass through MPU_0). Thanks, Ricardo Re: MPC5777C MPU potentially increasing inter-core timing interferences? Hello, The MPU does not introduce any additional contention or latency between the two cores. The MPU evaluates accesses on each of its slave ports independently and in parallel using combinational logic — there is no shared resource or serialization inside the MPU module between its slave ports. In your specific example (CPU0 accessing PRAMC_0 via MPU_0 slave port 1, and CPU1 accessing EBI via MPU_0 slave port 0), both slave ports are served simultaneously with no interference from the MPU side. The actual source of inter-core timing interference is the XBAR (crossbar switch), which arbitrates access when two masters target the same XBAR slave port at the same time. Since PRAMC_0 and EBI are different XBAR slave ports (port 2 and port 1 respectively), your example scenario causes no contention at the XBAR level either. Best regards, Peter Re: MPC5777C MPU potentially increasing inter-core timing interferences? Hope the document below may help. BTW, why do you want to know the timing content? Any application related? AN12080: The Clock Monitor Unit (CMU) – Application Note AN12176: MPC5777C Clock Calculator Guide – Application Note Re: MPC5777C MPU potentially increasing inter-core timing interferences? Thanks for the replies! @db16122 , I am assessing the use of the MPC5777C in a dual-core configuration for a safety critical application that must meet very strict guidelines - every source of potential interference between cores must be known and characterized to make sure our timing analyses are safe. As @petervlna pointed out, XBAR arbitration over shared resources is a known interference source, and I was wondering if something similar could happen if I enabled the MPU to validate accesses over the memories it can protect. It is good news to know the MPU is not another resource contention point. Best regards, Ricardo
View full article
mcf54415 mcPWM prescaler anyone had mcPWM prescaler working ? I tried in several different sequences, but all works only with prescaler at 0, otherwise, submodule counter is not increasing. Would be nice to know if this prescaler ever worked, if there is a sure-working example around, thanks Re: mcf54415 mcPWM prescaler Hi, so, i have seen several similar cases where prescaler was not working, i can post the solution for my case. Seems not declared in any place in the RM, but if you use a logic as INIT and VAL0 = 0, all unsigned, as i was using for simplicity, prescaler will not work. To have it working, signed logic must be used.
View full article
Autosar 网络休眠唤醒与EcuM的联系 你好,我现在在调试EcuM与网络管理,查了一些规范手册,但是仍然有一些困惑,请求指导 网络管理休眠唤醒是不是就得需要EcuM进行配合(EcuM进行验证唤醒原因)? 网络管理休眠唤醒过程中,需要ECU休眠(EcuM休眠)吗? 如果问题1是需要的话,那么EcuM获取唤醒事件就是通过EcuM_SetWakeupEvent这个接口,但是这个接口在Autosar的EcuM手册中SWS_EcuM_04318规范介绍到:应当忽略传入参数中所有与所选休眠模式不关联的唤醒事件;这个我怎么理解。 Autosar的EcuM手册中还有两个关于EcuM_ValidateWakeupEvent接口的规范SWS_EcuM_02790和SWS_EcuM_02791,在任何阶段,关联到ComM通道的唤醒源都要起作用,这个是说明任何阶段唤醒事件都能挂起(成功通过EcuM_SetWakeupEvent这个接口)并进行验证吗 Re: Autosar 网络休眠唤醒与EcuM的联系 您好, 看起来和https://community.nxp.com/t5/S32K/The-connection-between-AUTOSAR-Network-Management-sleep-wake-up/mp/2409039/highlight/false#M60730一样。 BR,彼得
View full article
S32DS3.6.4での構築エラーRTD7.0.0 S32K312_CAN_Bootloader_RTD2d0 のコンパイルを試みます 私のプラットフォーム情報: S32 プラットフォーム用 S32 Design Studio 3.6.4.202509291535 RTD S32K3XX 7.0.0.202511041347 s32k312min-evb。 S32K312_CAN_Bootloader_RTD2d0 (unified_bootloader_demo_V2.1 より) 少なくとも9つのエラーが発生し、コミュニティを確認したところ、 Robin_chen@NXP 2023による解決策は「SW32K3_S32DS_3.4.3_D2112.zipをオフラインでインストールする」ことのようです。 私の質問は s32ds3.6.4とRTD7.0.0を組み合わせて、unified_bootloader_demo_V2.1からプロジェクトS32K312_CAN_Bootloader_RTD2d0をコンパイルできる解決策はありますか? Re: building error when s32ds3.6.4 RTD7.0.0 try to compile S32K312_CAN_Bootloader_RTD2d0 millerhughes_0-1787901530017.pngmillerhughes_0-1787901530017.pngmillerhughes_0-1787901530017.png ご返信ありがとうございます。私のNXPアカウントから、本日2006年8月28日、 「NXP オートモーティブ > オートモーティブ SW - S32K3 - S32 Design Studio >『前回』タブ」 見せる: 最初のリリース3.5.1_D2209からAと最終リリース3.3.1_D2009、 リリースは3回のみ 3.4.1_D2110(2021年10月7日) 3.4.1_D2108(2021年8月12日) 3.4(2021年12月21日) 2025年に誰かがRobin_shenにこの質問をしたようで、Robin_shenはオフラインダウンロードSW32K3_S32DS_3.4.3_D2112.ZIPで返信した。 しかし、SW32K3_S32DS_3.4.3_D2112は既に2025年から削除されていました。 SW32K3_S32DS_3.4.3_D2112をダウンロードできるソースはどこですか? Re: building error when s32ds3.6.4 RTD7.0.0 try to compile S32K312_CAN_Bootloader_RTD2d0 こんにちは、 @millerhughes さん、 すでにサポートケース(01001309)に入っているのが見えます。このコミュニティThreadを通じて、または希望すれば内部サポートCASEを通じて連絡を続けることができます。 「NXP Software > Automotive SW - S32K3 - S32 Design Studio >『前回』タブ」で利用可能なソフトウェアの写真を共有してもらえますか? よろしくお願いします、 ジュリアン Re: building error when s32ds3.6.4 RTD7.0.0 try to compile S32K312_CAN_Bootloader_RTD2d0 追加: SW32K3_S32DS_3.4.3_D2112.zip は nxp の Web サイトからダウンロードできないため削除しました。 Re: building error when s32ds3.6.4 RTD7.0.0 try to compile S32K312_CAN_Bootloader_RTD2d0 こんにちは、 @millerhughes さん、 SW32K3_S32DS_3.4.3_D2112のアップデートサイトは新規アカウントでは利用できなくなり、以前にこのソフトウェアをダウンロードした顧客にのみ表示されるようになったと思われます。 ただし、オンラインインストールではS32DS Updates and Extensionsから最新の開発パッケージが取得されるため、RTD 2.0.0はS32DS 3.4に問題なくインストールできるはずです。 S32DS v3.4とRTD 2.0.0をインストールしてから、Unified Bootloaderのサンプルをインポートしてみてください。 Julin_AragnM_0-1787935193465.pngJulin_AragnM_0-1787935193465.png よろしくお願いします、 ジュリアン
View full article