Multi Source Translation Content

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi Source Translation Content

讨论

排序依据:
CodeWarrior ARMv8 11.5.0 至 11.5.12Windows 11 25H2 更新失败 期望结果 我需要一个受支持的步骤或修正后的更新包,以便使 CodeWarrior ARMv8 11.5.0 能够成功更新到 11.5.12。包括 QCVS 和场景工具,在此 Windows 11 系统上。 背景 从 2020 年到 2024 年,我已在多个 Windows 系统上成功安装和更新了此 CodeWarrior 版本,使用的更新程序相同。 我现在发现以下情况会出现可重复的故障: Windows 11 专业版 版本 25H2 操作系统版本 26200.9168 Windows 功能体验包 1000.26100.344.0 我至少重复进行了四次安装/更新测试。我两种方法都试过了: 在线更新网站: http://cache.nxp.com/lgfiles/updates/Eclipse/ARMV8_11_5_0/Windows - 离线更新存档: com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip 每次失败的原因几乎都相同。 最近一次测试是在一个干净的、沙盒化的 Windows 11 虚拟机中进行的。CodeWarrior 是从以下位置全新安装的: CW_ARMv8_v2020.06_b200629GA_Win_Offline.exe 基础安装程序 SHA256: ea32f78530f38ec33dcfd128e64e5dbdde34803d0f49ded8778369ef146e5e66 离线更新 SHA256: 212ca00092174bd98fe407572aa7b7eeb7bb1918a82fbf08c22578f687d5e418 相关 NXP 社区帖子: 1. CodeWarrior 适用于 LA1224 该用户使用相同的基础安装程序,在全新的 Windows 沙盒安装中重现了基本相同的故障。使用 FreescaleProcessCheck 将 fsl_gdb 从 13.0.0 更新到 14.0.0 时,如果设置了“param_not_set”,也会出现同样的故障。 https://community.nxp.com/t5/Layerscape/CodeWarrior-for-LA1224/td-p/2096289 2. 在我的定制 LX2080 板上使用 USB CodeWarrior Tap 调试时出现了一些问题 NXP 技术支持建议使用相同的 11.5.12 版本。更新存档,操作步骤与帮助 -> 安装新软件 -> 添加 -> 存档相同。 https://community.nxp.com/t5/CodeWarrior-for-QorIQ/some-problems-when-use-usb-codewarrior-tap-debug-on-my-custom/td-p/2139784 重现错误步骤 1. 从干净的 Windows 11 专业版 25H2 虚拟机开始。 2. 安装: CW_ARMv8_v2020.06_b200629GA_Win_Offline.exe 安装成功完成。 3. 启动 CodeWarrior。 4. 选择: 帮助 -> 安装新软件 -> 添加 -> 归档 5. 选择: com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip 6. 全选,然后单击“下一步”。 7. “安装详情”页面报告说,已安装的元器件将会更新。 8. 接受许可协议并选择“完成”。 9. 安装失败,并显示以下错误信息: 安装项目时发生错误 会话上下文为:(profile=epp.package.cpp,phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=[R]com.freescale.core.debugger.fsl_gdb13.0.0.202003111126 --> [R]com.freescale.core.debugger.fsl_gdb14.0.0.202204131357,操作=com.freescale.updater.customactions.actions.FreescaleProcessCheck)。 NLS 缺少消息:参数未设置,位于:com.freescale.updater.customactions.Messages 来自此次干净复现的相关文件: - 202608201229_DiagnosticInfo.zip - Error_Log.txt - 配置.txt - Image-1_Problem_Occured.png - Image-2_Problem_Occured-Details.png 指导 从日志中得出的最重要观察结果是: - Error_Log.txt 显示在全新基础安装开始后不久(11.5.12 版本之前),Eclipse p2 元数据出现错误。更新尝试: “unit”中缺少必需属性:id - 全新安装还包含对 NXP 构建系统路径的引用,例如: C:/w/NCProd/NC_ARMv8/Layout/... 其次是: URI 不是层级式的 - 更新失败的具体原因是替换以下内容: com.freescale.core.debugger.fsl_gdb 13.0.0.202003111126 和 14.0.0.202204131357 - 更新失败后,Configuration.txt 显示部分/混合更新状态:fsl_gdb 功能为 14.0.0.202204131357,而实际的 fsl_gdb 插件仍为 13.0.0.202003111126。 - 安装中存在 org.eclipse.emf.edapt.history 1.4.0.201902190757,尽管类似的 NXP 社区报告显示 p2 依赖项错误,声称找不到该捆绑包。 这似乎是 CodeWarrior/Eclipse p2 更新时出现的可复现问题,而不是基础安装失败的问题。 Re: CodeWarrior ARMv8 11.5.0 to 11.5.12 Update Fails on Windows 11 25H2 我在一台干净的 Windows 10 专业版 22H2 x64 虚拟机中执行了相同的 CodeWarrior 安装和升级过程。 Windows 10: 版本 22H2 操作系统版本 19045.2965 基础安装程序: CW_ARMv8_v2020.06_b200629GA_Win_Offline.exe SHA256: ea32f78530f38ec33dcfd128e64e5dbdde34803d0f49ded8778369ef146e5e66 离线更新: com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip SHA256: 212ca00092174bd98fe407572aa7b7eeb7bb1918a82fbf08c22578f687d5e418 CodeWarrior 11.5.0 基础安装已成功完成。然后我应用了 11.5.12 版本。使用与我原帖中描述的相同步骤进行离线更新: 帮助 > 安装新软件 > 添加 > 归档 > 全选 > 安装 Windows 10 系统更新已成功完成。 更新后: CodeWarrior 版本:11.5.12 版本 ID:221209 QCVS:4.24.0.0001-20221019 fsl_gdb:14.0.0.202204131357 这是同一个安装程序和同一个更新存档,但在 Windows 11 专业版 25H2,内部版本 26200.9168 上反复失败。在 fsl_gdb 13.0.0 期间-> 14.0.0 版本更新,包含: FreescaleProcessCheck NLS 缺少消息:param_not_set 我附上了 Windows 10 配置、错误日志和 CodeWarrior 相关信息的截图,作为成功案例的对比。 这强烈表明该故障与 Windows 11 25H2 兼容性有关。 Re: CodeWarrior ARMv8 11.5.0 to 11.5.12 Update Fails on Windows 11 25H2 你好@Bio_TICFSL , 感谢你的回复。 按照您的指示,我在 NXP 工单系统中创建了案例 01000640。 Re: CodeWarrior ARMv8 11.5.0 to 11.5.12 Update Fails on Windows 11 25H2 你好, 鉴于此对比证据的充分性,请执行以下操作: 在我们的系统中创建一个案例 com.freescale.updater.customactions 中的 FreescaleProcessCheck 自定义操作 需要检查该软件包是否与 Windows 11 25H2 兼容。日志中出现的 URI is not hierarchical 错误”强烈暗示在新操作系统下运行时,自定义操作的 Java 代码中存在路径解析问题。 请求提供已打补丁的更新包或变通方案——具体来说,询问是否可以提供一个绕过 FreescaleProcessCheck 步骤的 fsl_gdb 14.0.0 插件版本。 确认 Windows 11 25H2 支持状态 — 官方发行说明仅验证到 Windows 11 22H2。NXP 工程部门应正式确认是否支持 25H2 版本,或者提供修复时间表。 临时解决方案——如果客户现在需要一个可用的环境,经确认,Windows 10 专业版 22H2 可以使用完全相同的文件。Windows 10 虚拟机是一个可行的过渡解决方案。 此致
查看全文
LPC55S69: I2C registers all correct, but SDA/SCL never physically move LPC55S69: I2C4 (Flexcomm 4) master never physically drives SDA/SCL despite fully correct register configuration - I2C_MasterStart() hangs permanently in I2C_MasterCheckStartResponse() Summary On an LPC55S69-EVK, I2C_MasterTransferBlocking() hangs permanently (no timeout, confirmed via SDK source inspection) on the very first transaction attempted after I2C_MasterInit(). Every peripheral configuration register I can inspect - CFG, PSELID, CLKDIV, MSTTIME, IOCON pin function, and the Secure AHB Controller's peripheral access rules - reads back as correctly configured. However, a direct multimeter measurement of the physical SDA/SCL lines, taken while execution is frozen mid-hang inside the driver, shows both lines sitting at a clean, unchanged idle ~3.3V - meaning the I2C master's internal state machine never actually asserts a START condition onto the physical bus at all, despite software believing it did. Environment Board: LPCXpresso55S69-EVK, LPC55S69JBD100 IDE: MCUXpresso IDE v25.6 [Build 136] I2C peripheral: I2C4 (Flexcomm 4), pins P1_20 (SCL) / P1_21 (SDA) This is Core 1 (non-secure, no TrustZone - confirmed this chip's Core 1 has no TrustZone capability at all per AN12278) of a dual-core project. Core 1 is confirmed booting and executing correctly (proven via a working LED heartbeat and independent shared-memory diagnostics) - this report is specifically about the I2C peripheral, not the multicore boot sequence. Sensor: Adafruit BME688 (STEMMA QT, onboard pull-ups), address 0x77, connected via genuine Adafruit STEMMA QT-to-header cable The core evidence 1. The hang location, confirmed via SDK source inspection Reading fsl_i2c.c directly: I2C_MasterTransferBlocking() calls I2C_MasterStart() then I2C_MasterCheckStartResponse(). The latter calls I2C_PendingStatusWait(), which polls kI2C_MasterPendingFlag in a loop with no timeout at all when I2C_RETRY_TIMES is 0/undefined (confirmed this is the active code path in this project - the #else branch with an unconditional while(...) and no exit condition). Execution never returns from this call, confirmed by a shared-memory diagnostic checkpoint written immediately before the call, which is reached, and one written immediately after, which is never reached, even after 5+ seconds of continuous execution. 2. Register state at the moment of the hang (read live via debugger, not assumed) Register Address Value Meaning I2C4->STAT 0x5008A000 0x00000000 Idle. MSTPENDING=0, MSTSTATE=0, no error flags I2C4->CFG 0x5008A800 0x00000001 MSTEN=1 - master mode enabled FLEXCOMM4->PSELID 0x5008AFF8 0x1020F3 PERSEL=3 (I2C personality genuinely selected), I2CPRESENT=1 I2C4->CLKDIV 0x5008A814 74 Non-zero, plausible divider I2C4->MSTTIME 0x5008A824 102 Non-zero, plausible SCL timing IOCON->PIO[1][20] (P1_20/SCL) 0x500010D0 0x323 FUNC=3 (Flexcomm alt-function), pull-up + open-drain enabled IOCON->PIO[1][21] (P1_21/SDA) 0x500010D4 0x323 Same - correctly configured AHB_SECURE_CTRL FLEXCOMM4_RULE 0x500AC124 0 0b00 = "Non-secure and Non-privilege user access allowed" (most permissive) AHB_SECURE_CTRL IOCON_RULE 0x500AC130 0 Same - fully open, non-secure access unrestricted Every one of these is exactly what a correctly-configured, unrestricted, ready-to-transact I2C master should show. 3. Physical measurement (the decisive evidence) With execution frozen mid-hang (confirmed via the checkpoint diagnostic, STAT still reading 0x00000000 at this exact moment): SDA to GND: 3.299 V SCL to GND: 3.299 V Both lines are indistinguishable from a fully idle, untouched bus. The physical pins never moved at all, despite I2C_MasterStart() having already executed (it's called before I2C_MasterCheckStartResponse(), where we're actually hung) and despite every register above showing a fully configured, unrestricted master. What has been ruled out Sensor/cable/breadboard fault - wiring continuity confirmed with a multimeter across multiple different physical wire positions (5+ attempts); genuine Adafruit STEMMA QT cable; sensor address pad confirmed consistent with the documented 0x77 default; identical result reproduces regardless of which physical header pins are used Clock source/frequency - explicitly re-asserted CLOCK_SetupFROClocking(12000000U) immediately before attaching Flexcomm4's clock; no change Baud rate/timing miscalculation - reduced from 100 kHz to 10 kHz (10x); identical hang; CLKDIV/MSTTIME both confirmed non-zero and plausible Pin mux - confirmed via IOCON_FUNC3 write and independently re-verified via direct register read at the exact moment of the hang I2C personality selection - confirmed via PSELID Sensor driver library - bypassed bme68x.c entirely; a raw, minimal zero-length address probe built directly with the SDK's i2c_master_transfer_t struct produces the identical hang MasterEnable off/on toggle workaround (from a similar-sounding NXP community report for a different part) - no effect TrustZone/Secure AHB Controller peripheral access restriction - confirmed both IOCON and FLEXCOMM4 are set to the most permissive non-secure access rule Question Given every software-visible register indicates a correctly configured, unrestricted I2C master, but the physical SDA/SCL pins provably never move (confirmed by direct voltage measurement while frozen inside the driver call), what remaining hardware-level step is required to get the I2C4 peripheral to actually drive its pads on this part? Specifically: Is there a known LPC55S69 errata affecting Flexcomm I2C pad drive that isn't captured by the CFG/PSELID/IOCON registers I've checked? Is there an additional power-domain, pad-supply, or analog block that needs to be explicitly enabled for Flexcomm I2C physical output (something outside the digital peripheral configuration registers) that I may have missed? Given this is Core 1 (bare-metal, no RTOS, no TrustZone) in a dual-core multicore project where Core 0 runs FreeRTOS - is there any known interaction between Core 0's own boot-time configuration and Core 1's ability to drive Flexcomm4's physical pads, beyond what a register-level snapshot would reveal (e.g., something in SYSCON clock-gating for the pad IO cell itself, distinct from CLOCK_AttachClk's peripheral function clock)? Happy to provide the full project, a logic analyzer capture, or any additional register dump on request. LPC55xx Re: LPC55S69: I2C registers all correct, but SDA/SCL never physically move Resolved - root cause was an incorrect IOCON alternate function number Posting the resolution in case anyone finds this thread later with a similar symptom. The actual root cause IOCON_PIO_FUNC3 does not route P1_20/P1_21 to FC4 I2C on this board. The correct alternate function is FUNC5, with open-drain disabled at the IOCON level (the I2C peripheral's own CFG register handles open-drain behavior internally - enabling it again at the IOCON pad level was also wrong). I had derived FUNC3 by reading the pin_signal ordering in a comment (PIO1_20/FC7_RTS_SCL_SSEL1/CT_INP14/FC4_TXD_SCL_MISO_WS/PLU_OUT2) and assuming 0-indexed position = function number. That assumption was incorrect for this pin. Why this produced such a confusing symptom With the wrong alternate function selected, every I2C-internal register still read back as perfectly configured: I2C4->CFG.MSTEN = 1 (master enabled) FLEXCOMM4->PSELID showed I2C personality genuinely selected CLKDIV/MSTTIME were valid, non-zero Even IOCON->PIO[1][20/21] showed a function selected (just the wrong one) - nothing about this register's value alone signals "wrong function," only "some function is selected" None of that depends on the physical pin actually being connected to the I2C block - PSELID and CFG are entirely internal to the Flexcomm/I2C logic, independent of which alternate function the IOCON mux happens to route to. So the peripheral was internally fully configured and "ready," while the physical SDA/SCL pins were never actually wired to it at all. This produced a permanent hang in I2C_MasterTransferBlocking() (confirmed via SDK source: no timeout when I2C_RETRY_TIMES is 0) with zero error flags ever raised, and - the piece that finally proved it - a multimeter measurement showing the physical bus completely unchanged at idle voltage even while frozen mid-transaction, since the pins genuinely were never driven. How it was found Created a fresh, separate single-core test project for the same board and used the MCUXpresso wizard's own auto-generated BOARD_InitACCELPins() function (this board has an onboard accelerometer wired to the same I2C4 bus, so the wizard ships a working, verified pin mux for these exact pins). Reading that function's actual generated source showed IOCON_PIO_FUNC5 with open-drain disabled - directly contradicting my own hand-derived FUNC3/open-drain-enabled configuration. Switching to match NXP's own verified values immediately resolved the permanent hang; a subsequent, unrelated address-NAK (0x77 not acknowledging) turned out to just be a loose header-pin contact, resolved by moving the connection to different header pins. Lesson for anyone else hitting an identical symptom If a Flexcomm peripheral's own registers (PSELID, CFG, CLKDIV, etc.) all read back as correctly configured but the physical bus never shows any activity (confirmed via multimeter/scope) - don't trust a hand-derived alternate function number from reading the pin_signal comment ordering. Cross-check against any wizard-auto-generated pin mux function this SDK ships for the same physical pins on the same board (peripherals the eval board itself uses - accelerometers, codecs, etc. - are a good source of a genuinely verified reference), or regenerate the pin mux via the MCUXpresso Pins tool directly rather than hand-writing IOCON_PinMuxSet() calls from an assumed function index. Thanks again to everyone who engaged with the earlier posts in this thread and the original multicore boot thread - the register-level verification work across both investigations is what eventually made this contradiction (everything configured correctly, yet nothing on the bus) visible enough to chase down.
查看全文
S32K358 HSEがフラッシュ消去後に初期化されない NXPチームの皆様、こんにちは。 私はS32K358を使用しており、AB-SWAP(OTA)でHSEを有効にしています。HSEは以前は動作していましたが、ブートローダー+アプリケーションイメージを組み合わせてフラッシュし、部分的なコードフラッシュ消去を行うと、HSEは初期化できなくなりました。 環境 MCU:S32K358 HSE: AB-SWAP / OTA対応 HSE FW: s32k358_hse_fw_1.14.0_2.40.0_pb230807.bin.pink インストーラー: S32K344_HSE_FW_INSTALL (AB-SWAP構成) デバッガ:J-Link / PEmicroからS32 Design Studioまで アプリケーション:カスタムBMSブートローダー+SHA-256/RSAセキュアブート機能用HSEを用いたアプリケーション 最新号 フラッシュ操作後、Hse_Ip_GetHseStatus() は初期化された HSE ステータスを返しません。MU0 FSR(0x4038C104)は0x00000000のままで、インストーラーアプリケーションはHseFwInstall_WaitInitOk()で止まり、最終的にHSE_INSTALL_MU_TIMEOUTを報告します。 以下の観察結果が得られた。 0x4038C104 (MU0 FSR) = 0x00000000 0x1B000000 (UTEST HSE機能フラグ) = DDCCBBAA AABBCCDD 0x00400000には、60FFFFDBで始まるデータが含まれています... HSEのパッシブ領域0x00BD4000はデバッガを通って読み取ることができません J-Linkの受動領域の検証に失敗しました .pinkを直接読み込むJ-Linkがファイル形式がサポートされていないと報告するファイル アプリケーション/コードのフラッシュ部分を消去しました: 0x00400000 – 0x0068FFFF 私たちが理解している限りでは、これはHSE/sBAFの予約領域とは重複していません。 0x00BD4000 – 0x00BFFFFF 質問 MU FSRが0x00000000のままAB-SWAPを有効にした状態でS32K358の正しいHSE復旧・再インストール手順についてアドバイスいただけますか? 具体的には: HSEが有効化/保護された後、HSEパッシブ領域はJ-Link経由では読み取り不能になることが想定されていますか? 復旧のために、.pink を直接プログラムするのではなく、必要な IVT/ブート ヘッダーを含む完全な HSE インストーラ ELF を使用すべきでしょうか。ファイル? もしUTEST HSE機能フラグがすでにプログラムされていて、HSEファームウェアデータが0x00400000に存在している場合、どのような条件でsBAFがPOR中にHSEファームウェアをインストールまたは初期化できないのでしょうか? sBAF版とHSEファームウェア版のLC状態や互換性が原因で、明らかなエラーなしにインストールが失敗する可能性はありますか? MU0 FSRが0x00000000のままの場合、HSEの起動/インストール失敗の原因を特定するために、どのレジスタまたはステータスビットを確認すればよいでしょうか? 部分的なコードフラッシュ消去後、AB-SWAP復旧のために従わなければならない特定の手順はありますか? 期待される動作としては、PORとHSEの初期化が正常に完了した後、MU0 FSRにHSE_STATUS_INIT_OKとHSE_STATUS_RNG_INIT_OKが表示され、HSEサービスが使用できるようになることです。 正しい復旧手順と、収集すべきレジスタ/デバッグ情報についてご教示いただければ大変ありがたいです。 よろしくお願いします。 Re: S32K358 HSE not initializing after flash erase まず最初に明確にしておきたいのは、このデバイスにHSEが正常にインストールされ、実行されていたことがあるのか、それともUTESTフラグをプログラムしてHSEイメージを0x00400000にフラッシュした後に、HSEの初期インストールを実行しようとしているのかということです。 あなたの説明からは、HSEが以前にインストールされて動作していたものの、フラッシュ消去後に初期化が停止したのか、それとも今回が最初のインストール試行であり、sBAFがPOR中にHSEファームウェアをインストールしなかったのかが明確ではありません。 この情報があれば、考えられる根本原因を大幅に絞り込むことができるだろう。HSEが以前は正常に動作していたのであれば、何が変更されたのか、ファームウェアが無効化されたのか、あるいは消去されたのかに焦点を当てるでしょう。もしそれが全くうまくいかなかった場合は、インストールに必要な前提条件とイメージの有効性に焦点を当てます。 Re: S32K358 HSE not initializing after flash erase こんにちは、デイビッドさん。 確認のため申し上げますが、フラッシュ消去操作を行う前は、HSEはこのデバイスに正常にインストールされ、正しく動作していました。これは、最初のHSE(安全衛生環境)導入の試みではありません。 HSEのインストール後、HSE Cryptoのサンプルを使用して、HSEが正しく機能していることを確認しました。特に、SHA-256ハッシュアルゴリズムを正常に実行できたことで、HSEが初期化され、HSEの暗号サービスが正しく動作していることを確認できました。 一連の出来事は以下の通りでした。 AB-SWAP/OTA構成でHSEのインストールに成功しました。 HSEの初期化が成功したことを確認しました。 HSE Cryptoの機能をテストしたところ、SHA-256の実行に成功しました。 次に、ブートローダーとアプリケーションイメージを組み合わせたプログラムを書き込みました。 その後のデバッグ/プログラミング作業中に、以下の部分からコードフラッシュの消去を実行しました。 0x00400000 – 0x0068FFFF この消去操作とPORの後、HSEは初期化を停止しました。 現在、Hse_Ip_GetHseStatus() は初期化された HSE を示しておらず、インストーラーは HseFwInstall_WaitInitOk() で停止し、最終的に HSE_INSTALL_MU_TIMEOUT を報告します。 したがって、この問題はHSEの初期インストール時の問題ではなく、フラッシュ消去/プログラミング操作中に何らかの変更があったことに関連していると考えられます。 消去範囲が、HSEファームウェア、AB-SWAPメタデータ、ブート構成、またはHSE初期化に必要なその他のHSE関連情報に影響を与えた可能性があるかどうかを知りたいです。 影響を受けた箇所を特定するために、他に確認すべきメモリ位置やレジスタ値があれば教えてください。
查看全文
笔记本电脑电源管理单元 这些笔记本电脑的电池到底出了什么问题?它们是否被设定为始终尽可能消耗最多的电量?我的电脑如果拔掉电源,每分钟会消耗百分之一的电量,而且风扇会不停地运转,不管正在运行什么程序。 Re: Power management of laptops 你好 chriss232 请您更具体地说明一下,提供更多细节,以便我们看看能否解答您的问题?
查看全文
S32開発スタジオ 3.6.10RTDのインストールに失敗しました エラー こんにちは、 私は S32 Design Studio(S32DS) v3.6.10 を 無事 インストール でき 、 現在 は以下の パッケージ を使って RTD v5.0.0 のインストール を試み ています: S32K3XX_S32M27x_RTD_R21-11_5.0.0_P08_D2504_DesignStudio_updatesite.zip RTD_error.pngRTD_error.png しかし、 インストール プロセス 中に エラーが発生しており、 その 内容 は 添付 ファイル に 記載 さ れて います 。 私は S32K3 オートモーティブ 用テレマティクス ボックス(T-Box) 評価ボード を使用して おり、 RTD、 FreeRTOS/RTOS を含む完全な開発環境をシステム上で構築したいと考えていますサポート、 そして 必要な ツールチェーン および ミドルウェア コンポーネント 。 CAN you please help me: 添付 ファイル に 示されている インストール エラー を 理解し 、 解決してください 。 RTD 5.0.0 が S32DS v3.6.10 と 互換性 が あるかどうか を確認してください 。 Recommend the correct RTD and FreeRTOS パッケージ versions for my board and development setup. 追加ソフトウェア 、 SDK、 またはミドルウェア を含む開発 環境 のセットアップ 完了のための 推奨 手順 を提供 してください。 ご 指導いただけれ ば 大変 ありがたい です 。 ありがとう、シャム Re: S32 Development Studio 3.6.10 RTD Installation failed Error こんにちは、シャムさん。 S32K3 オートモーティブ テレマティクスボックス(T-Box)lwIP例示ガイドトレーニングプレゼンテーション[TP-S32K3-T-BOX-LWIP-GUIDE]の12ページによると、以下のソフトウェアをインストールする必要があります:   しかし、私の知る限り、これらのソフトウェアのバージョンはかなり前にリリースされており、古いバージョンをダウンロードする許可がないかもしれません。 これらの古いソフトウェアバージョンのダウンロード権限を内部チームに申請する間、お待ちください。 現在、あなたのアカウントがこれらのソフトウェアをダウンロードできるか分からないので、以下のリンクからダウンロードできるか試してみてください。 click S32 Design Studio – Windows/Linux -> S32 Design Studio IDE -> 前回 -> S32 Design Studio for S32 Platform v.3.4 -> S32DS.3.4_b201217_win32.x86_64.exe click S32 Design Studio – Windows/Linux -> オートモーティブ SW - S32K3 - S32 Design Studio > 前回 -> 3.4.3_D2112S32 プラットフォーム v.3.4 用 S32 Design StudioS32K3デバイスのサポートを含むアップデート3 -> SW32K3_S32DS_3.4.3_D2112.zip For S32K3 オートモーティブ テレマティクスボックス(T-Box) lwIP S32K3 コードのコードスニペット S32K3-T-BOX-LWIP-FOR-S32K3 以下のソフトウェアパッケージをダウンロードしてください: click S32K3 標準ソフトウェア -> オートモーティブ SW - S32K3/S32M27x - Cortex-M -> 2.0.0 S32K3 リアルタイム・ドライバ バージョン 2.0.0 -> SW32K3_RTD_4.4_2.0.0_DS_updatesite_D2204.zip click S32K3 標準ソフトウェア -> オートモーティブ SW - S32K3 - FreeRTOS -> 前回 -> 2.0.0 SW32K3_FreeRTOS_10.4.6_2.0.0_D2204 -> SW32K3_FreeRTOS_10_4_6_UOS_2_0_0_DS_updatesite_D2204.zip click S32K3 標準ソフトウェア -> オートモーティブ SW - S32K3 - スタック -> 1.0.1 SW32K3_TCPIP_STACK_1_0_1_D2205 -> S32K3_TCPIP_RTM_1_0_1_D2205_updatesite.zip  S32K3 自動車テレマティクスボックス(T-Box)BSP、ドライバー、ミドルウェアS32K3-T-BOX-BSP 用  以下のソフトウェアパッケージをダウンロードしてください: click S32K3 標準ソフトウェア -> 自動車ソフトウェア - S32K3/S32M27x - Cortex-M -> 1.0.0_HF02 のリアルタイム・ドライバS32K3 リアルタイム・ドライバ バージョン 1.0.0HotFix 02 -> SW32K3_RTD_4.4_1.0.0_HF02_DS_updatesite_D2112.zip click S32K3 標準ソフトウェア -> オートモーティブ SW - S32K3 - FreeRTOS -> 前回 -> 1.0.0SW32K3_FreeRTOS_10.4.5_1.0.0_D2110 -> SW32K3_FreeRTOS_10_4_5_UOS_1_0_0_DS_updatesite_D2110.zip click S32K3 標準ソフトウェア -> オートモーティブ SW - S32K3 - スタック -> 1.0.0SW32K3_TCPIP_STACK_1_0_0_D2111 -> S32K3_TCPIP_RTM_1_0_0_D2111_updatesite.zip よろしくお願いいたします ロビン
查看全文
Power management of laptops Wtf is wrong with the batteries on these laptops? Are they programmed to consume as much power as possible at all times? Mine consumes a percent per minute if it’s unplugged, and the fan is running incessantly, regardless of what processes are running. Re: Power management of laptops Hello chriss232 Could you be more specific and give more details, please, so we can see if there's anything we can do to answer your questions?
查看全文
IW416の長期安定した運用設計について NXPチームの皆様、こんにちは。 当社では、NXP IW416チップセットを搭載したu-blox MAYA-W1モジュールを使用しています。 環境 ハードウェア ホストプラットフォーム:Rock3A Wi-Fiモジュール:u-blox M2-MAYA-W1(NXP IW416ベース) u-bloxが提供する評価用ハードウェア SDIOホストインターフェース ソフトウェア Linuxカーネル:6.6.23 NetworkManager: 1.30.6 wpa_supplicant: 2.10 iw: 5.9 Wi-Fiドライバー/ファームウェア ドライバー:MM6X16542.p8-(FP92) ファームウェア: 16.92.21.p155.1 Wi-Fi設定 cntry_txpwr=1 cfg80211_wext=0xf cal_data_cfg=なし drv_dbg=0xFFFFFFFF edmac オフ その他の設定はすべてデフォルトです ホスト・インターフェース: SDIO(Wi-Fi専用、Bluetoothは使用しません。) テスト条件 このデバイスは非常に弱い信号条件下でAPに接続された状態で連続的に動作します。 RSSIは通常次のようになります。 -80 dBm~-85 dBm アクセスポイントが通信範囲の限界付近に位置しているため、接続が不安定で、再接続やスキャン動作が断続的に発生することが予想されます。 問題の説明 約10日間連続稼働すると、Wi-Fiインターフェース(mlan uap wfd)が消えます。 故障発生時: FW_IN_BAND_RESETがトリガーされます ファームウェアのリロード開始 ファームウェアのダウンロードが失敗します mlan0および関連するインターフェースは消失します ログには、次のようなエラーが含まれています。 FW_IN_BAND_RESET ... wlan_dnld_fw 失敗 ret=0xffffffff インバンドリセットシーケンスを実行しても、問題は自動的に回復しません。 質問 これはIW416ファームウェア16.92.21.p155.1の既知の問題ですか? RSSIが弱い状態(-80~-85 dBm) スキャン/再接続アクティビティの繰り返し 長時間運転 FW_IN_BAND_RESET wlan_dnld_fw 失敗 ret=0xffffffff システム設計の観点から、IW416を組み込み、長期的な安定した運用を必要とする製品に対して、NXPからの推奨される復旧戦略は何でしょうか? システム設計者は、現場運用中に時折ファームウェア復旧イベントが発生すると想定し、それに応じてより高レベルの復旧メカニズムを実装すべきでしょうか?(PDn後またはRESET後のファームウェアのリロードなど) 添付: dmesgログ FW_IN_BAND_RESET 周辺の障害ログ 追加情報 mlan0の消失は、熱の問題やWi-Fiモジュールへの電力供給不足が原因であることを理解しています。 これらの可能性を排除するため、試験中に以下の対策が講じられた。 基板は外部ファンを使用して積極的に冷却された。 基板の温度は約30℃に維持された。 最大出力60Wの専用USB Type-C電源が使用されました。 試験中、電力供給の不安定性を示す兆候は一切見られなかった。 したがって、熱や電力に関する問題が今回の故障の主な原因である可能性は低いと考えられる。 よろしくお願いいたします。 Re: Regarding the design for long-term stable operation of the IW416 こんにちは、 @developer123 最新リリースで試すのを手伝ってもらえますか: SD-WLAN-UART-BT-IW416-LNX_6_18_20-IMX8-16.92.21.p160-16.92.21.p160-MM6X16543.p18-GPL 最新のタグを選択してください:lf-6.18.20_2.0.0 FWを取得するには: GitHub - nxp-imx/imx-firmware · GitHub ドライバーを獲得するには: GitHub - nxp-imx/mwifiex: WiFi拡張機能 · GitHub よろしくお願いいたします。 Christine。 Re: Regarding the design for long-term stable operation of the IW416 こんにちは、 @developer123 詳細なフォローアップと設計哲学の質問を明確に述べてくださりありがとうございます。これは確かに生産システムにとって重要な考慮事項です。 ご質問に直接お答えします。 はい、NXPが長期的な現場運用に推奨する設計哲学は、システム設計の一部としてホスト側の復旧メカニズムを実装することです。 また、IW416はリリースノートに記載されているように 、致命的なエラーに対する自動フォールカバリをサポートしています 。 Wi-Fiファームウェアの自動復旧理論をより深く理解するために、以下を参照することをお勧めします。 Wi-Fiファームウェアの自動復旧 報告された問題に戻りますが、最新のドライバ+FWの組み合わせで試してみてください。もしまだ再現できる場合は、dmesgログ、FWダンプ、ドライバーダンプを含む完全なログの提供に協力してください。 完全なログを取得するには、以下を実行してください。 1. load driver with drvdbg=0xa0037 issue happened logs will automatically save in this directory printed like below: ======================================== [ 4221.173141] Create directory /data/dump_4220 error, try create dir in /var [ 4221.173147] Wakeup device... [ 4221.173231] Create directory /var/dump_4220 successfully [ 4221.173232] Directory name is /var/dump_4220 [ 4221.173233] === START DRIVER INFO DUMP=== [ 4221.173289] DRV dump data in /var/dump_4220/file_drv_info [ 4221.173306] Wakeup device... [ 4221.173889] SDIO Func0 (0x0-0x9): 43 03 06 00 07 00 00 02 03 00 [ 4221.175173] SDIO Func1 (0x4-0xb): 00 00 00 00 ff ff ff ff [ 4221.175879] SDIO Func1: (0x4c) 00 (0x50) 08 (0x54) 07 (0x55) 0c (0x58) 10 (0x59) 00 (0x5c) 00 (0x5d) 00 [ 4221.176284] SDIO Func1 (0xc0-0xca): dc fe 96 00 31 11 00 37 37 02 20 [ 4221.177301] | [ 4221.275861] SDIO Func1 (0xc0-0xca): dc fe a1 00 3b 00 00 37 37 02 20 [ 4221.276501] Drv info total bytes = 263150 (0x403ee) [ 4221.276503] === DRIVER INFO DUMP END===Wakeup device... [ 4221.276555] ==== DEBUG MODE OUTPUT START: 4220.878602 === ==================================================== If the dump is not auto-generated at "/var" or "/data" it can be collected manually using below "cat /proc/mwlan/adapter0/fw_dump > file_fw_dump" command. 2. If you check it doesn't print the directory in dmesg logs, 3.please get it in below way: - echo debug_dump > /proc/mwlan/adapter0/config - Wait for some time (1 or 2 min) - cat /proc/mwlan/adapter0/fw_dump > file_fw_dump drv_dump: cat /proc/mwlan/adapter0/drv_dump > file_drv_dump よろしくお願いいたします。 Christine。 Re: Regarding the design for long-term stable operation of the IW416 おすすめしていただきありがとうございます。 最新のドライバとファームウェアのリリースを評価します。 しかし、我々の主な疑問は、この特定の問題が新しいファームウェアバージョンで修正されたかどうかではありません。 実際の製品開発では、ソフトウェアのバージョンは製品リリース前のどこかで凍結されなければなりません。新しいファームウェアリリースが既知の問題を解決することはありますが、製品ライフサイクル全体を通じてすべてのファームウェアアップデートを継続的に追跡・展開することは一般的に現実的ではありません。 また、ファームウェアは時間とともに継続的に改良されており、新しいリリースで特定の問題が解決されることもありますが、将来的に追加の例外的な問題が発見される可能性もあります。 長期的に信頼性の高い現場運用を必要とする製品において、時折のファームウェア復旧イベントを通常のシステム設計の前提として考慮すべきでしょうか? 私たちはNXPのデザイン哲学を理解しようとしています。 よろしくお願いいたします。 Re: Regarding the design for long-term stable operation of the IW416 ご返信よろしくお願いします。 相当量の調査が必要であり、問題の再現にも時間がかかる。 新しい前方試験の調査には時間がかかりますが、結果が出たら再度ご連絡いたします。 よろしくお願いいたします。 Re: Regarding the design for long-term stable operation of the IW416 こんにちは、 @developer123 もちろんです。 どうぞごゆっくり。さらにサポートが必要な場合は、遠慮なくお知らせください。 よろしくお願いいたします。 Christine。
查看全文
S32K312 - SRAM保持 - コールドブート時に時折ハードフォルトが発生する こんにちは S32K312のSRAMメモリの末尾(256バイト)のデータを、機能リセット後も保持できるようにしようとしています。 私はリンカースクリプトを修正して引き戻すことでそれを行っていますram_rsvd2(したがって__INT_SRAM_END)256バイト分のため、起動アセンブリスクリプトが最後の256バイトを消去しなくなります。 Hareesh_S_0-1787256254412.pngHareesh_S_0-1787256254412.pngHareesh_S_0-1787256254412.pngHareesh_S_0-1787256254412.pngHareesh_S_0-1787256254412.png この機能をテストするために、2つのGPIO/LEDを切り替えています。1つはSRAMの内容が保持されたことを示すため、もう1つは保持されなかった/無効であることを示すためです。 Hareesh_S_1-1787256280872.pngHareesh_S_1-1787256280872.pngHareesh_S_1-1787256280872.pngHareesh_S_1-1787256280872.pngHareesh_S_1-1787256280872.png プロジェクトを最初にフラッシュしたとき、意図どおりに動作しているようです。最初のサイクルではLED_01がハイになり、その後、リセットサイクル後もLED_02がハイのままになります。 しかしコールド起動時には、どちらのLEDも高くはなく、これはMCUが保持されたSRAM領域のアドレスへのアクセス時にハードフォールトが起きたためだと確認できます。 また、MCUが稼働している間にデバッガを接続している(ハードフォールトを起こした後)、メモリモニターだけで特定のSRAM領域のデータを読み書きできないことに気づきました(データではなく????が表示されます)。これはS32 Design StudioやSegger Ozoneでも一貫しています このハードフォールトの挙動も一貫しておらず、コールドブートアップ時にプロジェクトが期待通りに動作し、LED_01が高いこともありますが、稀です。 私の問題を再現できる最小限のデモプロジェクトを添付します。もしデバッグやこの挙動の理解について何か助けをいただければ助かります! よろしくお願いいたします。 ハリーシュS Re: S32K312 - SRAM retention - occasional hardfaults on cold boot こんにちは、 また、MCUが稼働している間にデバッガを接続している(ハードフォールトを起こした後)、メモリモニターだけで特定のSRAM領域のデータを読み書きできないことに気づきました(データではなく????が表示されます)。これはS32 Design StudioやSegger Ozoneでも一貫しています これは、RAMの内容が失われ、RAMにECCエラーが含まれていることを意味します。つまり、RAMが初期化されていません。RAMの内容がリセットによって破壊されるかどうかは、どのリセットが実行されたかによって異なります。 RMG [DES/FES]レジスタを確認して、どのリセットが発生したかを確認してください。 petervlna_0-1787295026947.pngpetervlna_0-1787295026947.pngpetervlna_0-1787295026947.pngpetervlna_0-1787295026947.pngpetervlna_0-1787295026947.png petervlna_1-1787295110517.pngpetervlna_1-1787295110517.pngpetervlna_1-1787295110517.pngpetervlna_1-1787295110517.pngpetervlna_1-1787295110517.png RAMからのECCエラー読み出し時にハードフォルトが発生します。 よろしくお願いいたします。 ピーター Re: S32K312 - SRAM retention - occasional hardfaults on cold boot こんにちは、 @petervlna さん。 ご説明ありがとうございます。SRAMの内容が無効になることは認識していましたが、それがハードフォルトを引き起こすとは予想していませんでした。 追加の質問ですが、アプリケーションがスタンバイモードに入り、ウェイクアップイベントで終了すると、MC_RGMのDES/FESフラグは設定されていません。これは想定される動作ですか?もしそうなら、MCUがSTANDBYから終了したかどうかはどうやって判断すればいいですか?この件に関する続報は、別のコミュニティ投稿として掲載した方が適切でしょうか?ウェイクアップ信号によるスタンバイ状態からの復帰は、RDSSレジスタに反映されますか? Re: S32K312 - SRAM retention - occasional hardfaults on cold boot こんにちは、 他のコミュニティ投稿やリファレンス・マニュアルを見た結果、確認した方がいいと理解していますMC_ME[PREV_MODE](実際には MC_ME。MODE_STAT)RDSSと組み合わせて、MCUがスタンバイから覚醒したかどうかを知るために使います。 間違っていなければ、これで私の疑問に答えていると思います。 サポートに心から感謝します! 敬具 ハリーシュ S Re: S32K312 - SRAM retention - occasional hardfaults on cold boot こんにちは、 はい、それは想定内です。WKPUイベントによるSTANDBYからのウェイクアップは、必ずしもDESやFESのMC_RGMフラグを設定するわけではありません。MC_RGMでリセット状態が報告されない場合、STANDBYからデバイスが再開されたかどうかを確認する推奨される方法は、MC_ME PREV_MODEフィールドを確認することです。 よろしくお願いいたします。 ピーター
查看全文
can we do V/f control of a PMSM? I am making a simulink model for PMSM control by V/f method. This model works for an induction motor but the speed output for PMSM coming oscillating, i think the fields are not synchronizing. Am i missing something?
查看全文
Regarding the design for long-term stable operation of the IW416 Hello NXP Team, We are using the u-blox MAYA-W1 module based on the NXP IW416 chipset. Environment Hardware Host platform: Rock3A Wi-Fi module: u-blox M2-MAYA-W1 (NXP IW416 based) Evaluation hardware provided by u-blox SDIO host interface Software Linux Kernel: 6.6.23 NetworkManager: 1.30.6 wpa_supplicant: 2.10 iw: 5.9 Wi-Fi Driver / Firmware Driver: MM6X16542.p8-(FP92) Firmware: 16.92.21.p155.1 Wi-Fi Configuration cntry_txpwr=1 cfg80211_wext=0xf cal_data_cfg=none drv_dbg=0xFFFFFFFF edmac off All other settings are default Host Interface: SDIO(Wi-Fi only; Bluetooth not used.) Test Condition The device is operated continuously while connected to an AP under very weak signal conditions. RSSI is typically: -80 dBm to -85 dBm The connection is unstable and reconnect/scanning activities are expected to occur intermittently because the AP is located near the limit of the communication range. Issue Description After approximately 10 days of continuous operation, the Wi-Fi interface(mlan uap wfd) disappears. At the time of failure: FW_IN_BAND_RESET is triggered Firmware reload starts Firmware download fails mlan0 and related interfaces disappear The log contains errors similar to: FW_IN_BAND_RESET ... wlan_dnld_fw fail ret=0xffffffff The issue does not recover automatically after the In-Band Reset sequence. Questions Is this a known issue for IW416 firmware 16.92.21.p155.1? weak RSSI conditions (-80 to -85 dBm) repeated scan/reconnect activity long duration operation FW_IN_BAND_RESET wlan_dnld_fw fail ret=0xffffffff From a system design perspective, for products incorporating the IW416 and requiring long-term stable operation, what is the recommended recovery strategy from NXP? Should system designers assume that occasional firmware recovery events may occur during field operation and implement higher-level recovery mechanisms accordingly? (such as FW reloading after PDn or RESET) Attached: dmesg log failure logs around FW_IN_BAND_RESET Additional Information We understand that disappearance of mlan0 can sometimes be caused by thermal issues or insufficient power supplied to the Wi-Fi module. To eliminate these possibilities, the following countermeasures were applied during the test: The board was actively cooled using an external fan. Board temperature was maintained at approximately 30°C. A dedicated USB Type-C power supply with a maximum output of 60 W was used. No signs of power instability were observed during the test. Therefore, thermal and power related issues are considered unlikely to be the primary cause of this failure. Best regards Re: Regarding the design for long-term stable operation of the IW416 Hi, @developer123  Can you please help to try with our latest release: SD-WLAN-UART-BT-IW416-LNX_6_18_20-IMX8-16.92.21.p160-16.92.21.p160-MM6X16543.p18-GPL Choose the latest tag: lf-6.18.20_2.0.0 To get FW: GitHub - nxp-imx/imx-firmware · GitHub To get driver: GitHub - nxp-imx/mwifiex: WiFi extensions · GitHub Best regards, Christine. Re: Regarding the design for long-term stable operation of the IW416 Hi, @developer123  Thank you for the detailed follow-up and for clearly articulating the design philosophy question — this is indeed an important consideration for production systems. To address your question directly: Yes, NXP's recommended design philosophy for long-term field operation is to implement a host-side recovery mechanism as part of the system design. And also IW416 does support Auto FW recovery on fatal error as mentioned in our release note. To better understand our Wi-Fi firmware automatic recovery theory, I recommend you to refer to below: Wi-Fi Firmware Automatic Recovery And back to the reported issue, hope you can have a try with the latest Driver + FW combinations. If still reproduce, please help to provide the full logs, including dmesg logs, FW dump and driver dumps. To get full logs, please: 1. load driver with drvdbg=0xa0037 issue happened logs will automatically save in this directory printed like below: ======================================== [ 4221.173141] Create directory /data/dump_4220 error, try create dir in /var [ 4221.173147] Wakeup device... [ 4221.173231] Create directory /var/dump_4220 successfully [ 4221.173232] Directory name is /var/dump_4220 [ 4221.173233] === START DRIVER INFO DUMP=== [ 4221.173289] DRV dump data in /var/dump_4220/file_drv_info [ 4221.173306] Wakeup device... [ 4221.173889] SDIO Func0 (0x0-0x9): 43 03 06 00 07 00 00 02 03 00 [ 4221.175173] SDIO Func1 (0x4-0xb): 00 00 00 00 ff ff ff ff [ 4221.175879] SDIO Func1: (0x4c) 00 (0x50) 08 (0x54) 07 (0x55) 0c (0x58) 10 (0x59) 00 (0x5c) 00 (0x5d) 00 [ 4221.176284] SDIO Func1 (0xc0-0xca): dc fe 96 00 31 11 00 37 37 02 20 [ 4221.177301] | [ 4221.275861] SDIO Func1 (0xc0-0xca): dc fe a1 00 3b 00 00 37 37 02 20 [ 4221.276501] Drv info total bytes = 263150 (0x403ee) [ 4221.276503] === DRIVER INFO DUMP END===Wakeup device... [ 4221.276555] ==== DEBUG MODE OUTPUT START: 4220.878602 === ==================================================== If the dump is not auto-generated at "/var" or "/data" it can be collected manually using below "cat /proc/mwlan/adapter0/fw_dump > file_fw_dump" command. 2. If you check it doesn't print the directory in dmesg logs, 3.please get it in below way: - echo debug_dump > /proc/mwlan/adapter0/config - Wait for some time (1 or 2 min) - cat /proc/mwlan/adapter0/fw_dump > file_fw_dump drv_dump: cat /proc/mwlan/adapter0/drv_dump > file_drv_dump Best regards, Christine. Re: Regarding the design for long-term stable operation of the IW416 Thank you for the recommendation. We will evaluate the latest driver and firmware release. However, our primary question is not whether this specific issue has been fixed in a newer firmware version. In practical product development, software versions must be frozen at some point before product release. While newer firmware releases may resolve known issues, it is generally not feasible to continuously follow and deploy every firmware update throughout the entire product lifecycle. We also understand that firmware is continuously improved over time, and while a newer release may address a particular issue, additional corner-case issues may still be discovered in the future. For products that require long-term reliable field operation, should occasional firmware recovery events be considered as part of the normal system design assumptions? We are trying to understand NXP's design philosophy. Best regards. Re: Regarding the design for long-term stable operation of the IW416 Hi, @developer123  Sure. Please take your time. And once need any further support, please do not hesitate to let me know. Best regards, Christine. Re: Regarding the design for long-term stable operation of the IW416 Thank you for your reply. There is a significant amount of investigation required, and reproducing the issue takes time. The investigation into the new forward testing will take some time, but I will contact you again once the results are available. Best regards.
查看全文
S32K312 - SRAM retention - occasional hardfaults on cold boot Hello I am trying get the end of SRAM memory (256 bytes) in a S32K312 to retain data across function resets. I have done so by only modifying the linker script to pull back ram_rsvd2(and hence, __INT_SRAM_END) by 256 bytes, such that the startup assembly script no longer clears out the last 256 bytes. Hareesh_S_0-1787256254412.pngHareesh_S_0-1787256254412.pngHareesh_S_0-1787256254412.pngHareesh_S_0-1787256254412.pngHareesh_S_0-1787256254412.png To test this functionality, I am toggling 2 GPIOs/LEDs - one to indicate that the SRAM content was retained, and another to indicate that it wasn't retained/isn't valid. Hareesh_S_1-1787256280872.pngHareesh_S_1-1787256280872.pngHareesh_S_1-1787256280872.pngHareesh_S_1-1787256280872.pngHareesh_S_1-1787256280872.png On initial flashing of the project, it seems to work as intended - LED_01 is high for the first cycle, following which LED_02 stays high post reset cycles. On cold boot-up though, neither of the LEDs are high - and I can confirm that this is because the MCU has hard-faulted while trying the access the address in the retained SRAM region. I have also noticed that while attaching a debugger while the MCU is running (having hardfaulted) that I cannot read/write data in the specific SRAM region alone via Memory Monitor (it shows ???? instead of data). This is consistent across S32 Design Studio and Segger Ozone This hard-faulting behaviour is also not consistent as sometimes on a cold-bootup the project works as expected and LED_01 is high, but rarely. I am attaching a minimal demo project that reproduces my issue. If I could receive any assistance debugging/better understanding this behaviour that would be great! With regards, Hareesh S Re: S32K312 - SRAM retention - occasional hardfaults on cold boot Hello, I have also noticed that while attaching a debugger while the MCU is running (having hardfaulted) that I cannot read/write data in the specific SRAM region alone via Memory Monitor (it shows ???? instead of data). This is consistent across S32 Design Studio and Segger Ozone This means RAM content is lost and RAM contain ECC errors - RAM is not initialized. If the RAM content is destroyed by reset, depends on which reset has been executed. Check RMG [DES/ FES] registers to see which reset occurred. petervlna_0-1787295026947.pngpetervlna_0-1787295026947.pngpetervlna_0-1787295026947.pngpetervlna_0-1787295026947.pngpetervlna_0-1787295026947.png petervlna_1-1787295110517.pngpetervlna_1-1787295110517.pngpetervlna_1-1787295110517.pngpetervlna_1-1787295110517.pngpetervlna_1-1787295110517.png Hardfault is triggered on the ECC error reads from RAM. Best regards, Peter Re: S32K312 - SRAM retention - occasional hardfaults on cold boot Hello @petervlna, Thanks for the clarification. I was aware that the SRAM content would be invalid but did not expect that to cause a hardfault. I have an additional query - When my application enters standby mode and exits via a wakeup event, none of the MC_RGM DES/FES flags are set. Is this expected behaviour? If yes, how can I determine if the MCU has exited STANDBY? Would this follow-up be better suited as a different community post? Will a STANDBY exit via wakeup signal be reflected in the RDSS register? Re: S32K312 - SRAM retention - occasional hardfaults on cold boot Hello  , Having gone through other community posts and the reference manual, it is my understanding that I should check MC_ME[PREV_MODE] (which is actually MC_ME.MODE_STAT) in combination with RDSS to know if the MCU has woken up from standby. Unless I am mistaken, I believe this answers my query.  Much appreciation for the support! With regards, Hareesh S Re: S32K312 - SRAM retention - occasional hardfaults on cold boot Hello, Yes, this is expected. A wakeup from STANDBY caused by a WKPU event does not necessarily set any MC_RGM DES or FES flags. If no reset status is reported in MC_RGM, the recommended method to determine whether the device resumed from STANDBY is to check the MC_ME PREV_MODE field. Best regards, Peter
查看全文
PMSMのV/fコントロールは可能でしょうか? 私はV/f方法でPMSM制御用のSimulinkモデルを作成しています。このモデルは誘導モーターには使えますが、PMSMの出力速度が振動していて、磁場が同期していないと思います。何か見落としているでしょうか?
查看全文
关于IW416长期稳定运行的设计 您好,NXP团队, 我们使用的是基于 NXP IW416 芯片组的 u-blox MAYA-W1 模块。 环境 硬件 主机平台:Rock3A Wi-Fi 模块:u-blox M2-MAYA-W1(基于 NXP IW416) u-blox 提供评估硬件 SDIO 主机接口 软件 Linux 内核:6.6.23 NetworkManager:1.30.6 wpa_supplicant:2.10 iw:5.9 Wi-Fi 驱动程序/固件 驱动程序:MM6X16542.p8-(FP92) 固件版本:16.92.21.p155.1 Wi-Fi 配置 cntry_txpwr=1 cfg80211_wext=0xf cal_data_cfg=none drv_dbg=0xFFFFFFFF edmac 关闭 其他所有设置均为默认值 主机接口: SDIO(仅限 Wi-Fi;不使用蓝牙。) 测试条件 在信号非常弱的情况下,该设备仍能持续连接到接入点并运行。 RSSI 通常为: -80 dBm 至 -85 dBm 由于接入点位于通信范围的极限附近,因此连接不稳定,预计会间歇性地进行重新连接/扫描活动。 问题描述 连续运行约 10 天后,Wi-Fi 接口(mlan uap wfd)消失。 失败时: FW_IN_BAND_RESET 被触发 固件重新加载开始 固件下载失败 mlan0 及相关接口消失 日志中包含类似如下的错误: FW_IN_BAND_RESET ... wlan_dnld_fw 失败 ret=0xffffffff 执行带内RESET序列后,该问题不会自动恢复。 问题 这是 IW416 固件 16.92.21.p155.1 的已知问题吗? RSSI信号强度较弱(-80至-85 dBm) 重复扫描/重新连接活动 长时间运行 FW_IN_BAND_RESET wlan_dnld_fw 失败 ret=0xffffffff 从系统设计的角度来看,对于采用 IW416 且需要长期稳定运行的产品,NXP 推荐的恢复策略是什么? 系统设计人员是否应该假定现场操作期间可能会偶尔发生固件恢复事件,并相应地实施更高级别的恢复机制?(例如 PDn 或 RESET 后固件重新加载) 随附的: dmesg 日志 FW_IN_BAND_RESET 相关的故障日志 附加信息 我们了解到,mlan0 的消失有时可能是由于过热问题或 Wi-Fi 模块供电不足造成的。 为消除这些可能性,测试期间采取了以下应对措施: 电路板采用外置风扇进行主动散热。 电路板温度保持在约 30°C。 使用了一个最大输出功率为 60 瓦的专用 USB Type-C 电源。 测试过程中未发现任何电力不稳定的迹象。 因此,热力和电力相关问题不太可能是造成此次故障的主要原因。 顺祝商祺! Re: Regarding the design for long-term stable operation of the IW416 您好, @developer123 请您帮忙测试一下我们的最新版本: SD-WLAN-UART-BT-IW416-LNX_6_18_20-IMX8-16.92.21.p160-16.92.21.p160-MM6X16543.p18-GPL 选择最新标签:lf-6.18.20_2.0.0 获取固件: GitHub - nxp-imx/imx-firmware · GitHub 获取司机: GitHub - nxp-imx/mwifiex:WiFi 扩展 · GitHub 顺祝商祺! Christine。 Re: Regarding the design for long-term stable operation of the IW416 谢谢你的推荐。 我们将评估最新的驱动程序和固件版本。 然而,我们主要的问题并不是这个具体问题是否已在新固件版本中得到解决。 在实际产品开发过程中,软件版本必须在产品发布前的某个时间点冻结。虽然新的固件版本可能会解决已知问题,但在整个产品生命周期内持续跟踪和部署每一个固件更新通常是不可行的。 我们也了解到固件会随着时间的推移不断改进,虽然新版本可能会解决某个特定问题,但将来仍可能发现其他特殊情况问题。 对于需要长期可靠现场运行的产品,是否应将偶尔发生的固件恢复事件视为正常系统设计假设的一部分? 我们正在努力了解恩智浦的设计理念。 顺祝商祺! Re: Regarding the design for long-term stable operation of the IW416 您好, @developer123 感谢您详细的后续跟进,以及对设计理念问题的清晰阐述——这对于生产系统来说确实是一个重要的考虑因素。 直接回答您的问题: 是的,NXP 推荐的长期现场运行设计理念是在系统设计中实施主机侧恢复机制。 此外,正如我们的版本说明中所述, IW416 还支持在发生致命错误时自动固件恢复。 为了更好地理解我们的 Wi-Fi 固件自动恢复理论,我建议您参考以下内容: Wi-Fi固件自动恢复 回到您报告的问题,希望您能尝试使用最新的驱动程序 + 固件组合。如果问题仍然存在,请提供完整的日志,包括 dmesg 日志、固件转储和驱动程序转储。 如需获取完整日志,请: 1. load driver with drvdbg=0xa0037 issue happened logs will automatically save in this directory printed like below: ======================================== [ 4221.173141] Create directory /data/dump_4220 error, try create dir in /var [ 4221.173147] Wakeup device... [ 4221.173231] Create directory /var/dump_4220 successfully [ 4221.173232] Directory name is /var/dump_4220 [ 4221.173233] === START DRIVER INFO DUMP=== [ 4221.173289] DRV dump data in /var/dump_4220/file_drv_info [ 4221.173306] Wakeup device... [ 4221.173889] SDIO Func0 (0x0-0x9): 43 03 06 00 07 00 00 02 03 00 [ 4221.175173] SDIO Func1 (0x4-0xb): 00 00 00 00 ff ff ff ff [ 4221.175879] SDIO Func1: (0x4c) 00 (0x50) 08 (0x54) 07 (0x55) 0c (0x58) 10 (0x59) 00 (0x5c) 00 (0x5d) 00 [ 4221.176284] SDIO Func1 (0xc0-0xca): dc fe 96 00 31 11 00 37 37 02 20 [ 4221.177301] | [ 4221.275861] SDIO Func1 (0xc0-0xca): dc fe a1 00 3b 00 00 37 37 02 20 [ 4221.276501] Drv info total bytes = 263150 (0x403ee) [ 4221.276503] === DRIVER INFO DUMP END===Wakeup device... [ 4221.276555] ==== DEBUG MODE OUTPUT START: 4220.878602 === ==================================================== If the dump is not auto-generated at "/var" or "/data" it can be collected manually using below "cat /proc/mwlan/adapter0/fw_dump > file_fw_dump" command. 2. If you check it doesn't print the directory in dmesg logs, 3.please get it in below way: - echo debug_dump > /proc/mwlan/adapter0/config - Wait for some time (1 or 2 min) - cat /proc/mwlan/adapter0/fw_dump > file_fw_dump drv_dump: cat /proc/mwlan/adapter0/drv_dump > file_drv_dump 顺祝商祺! Christine。 Re: Regarding the design for long-term stable operation of the IW416 感谢您的回复。 需要进行大量调查,重现该问题也需要时间。 对新的前向测试的调查需要一些时间,但一旦结果出来,我会再次与您联系。 顺祝商祺! Re: Regarding the design for long-term stable operation of the IW416 您好, @developer123 当然。 请慢慢来。如有任何其他需要,请随时告知我。 顺祝商祺! Christine。
查看全文
DDR stress test failure on new board Hi, I have a custom imx6q board with 2GB of DDR3 using the H5TQ4G63CFR-RDC. I tested ddr with the tool the test failed. I have attached  the DDR data sheet and the programming aid I used to generate the .inc file. Could you please take a look and let me know what I'm doing wrong? Thanks, Dale dalejames_0-1787191942198.pngdalejames_0-1787191942198.png i.MX6Quad
查看全文
ノートPCのパワーマネージメント これらのノートPCのバッテリーは一体何が問題なのでしょうか?それらは常に可能な限り多くの電力を消費するようにプログラムされているのでしょうか?私のPCは電源プラグを抜いていると1分あたり1%の電力を消費し、実行中のプロセスに関係なくファンが絶えず回転しています。 Re: Power management of laptops こんにちは、chriss232さん もう少し具体的に教えていただければ、質問にお答えできることがあれば教えてください。
查看全文
CodeWarrior ARMv8 11.5.0 to 11.5.12 Update Fails on Windows 11 25H2 Requested Outcome I need a supported procedure or corrected update package that allows CodeWarrior ARMv8 11.5.0 to update successfully to 11.5.12, including QCVS and the Scenarios Tool, on this Windows 11 system. Background I have installed and updated this CodeWarrior release successfully on multiple Windows systems from 2020 through 2024 using the same general update procedure. I am now seeing repeatable failures on: Windows 11 Pro Version 25H2 OS build 26200.9168 Windows Feature Experience Pack 1000.26100.344.0 I have repeated the installation/update test at least four times. I tried both: - Online update site: http://cache.nxp.com/lgfiles/updates/Eclipse/ARMV8_11_5_0/Windows - Offline update archive: com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip The failures were nearly identical each time. The most recent test was performed in a clean, sandboxed Windows 11 VM. CodeWarrior was installed cleanly from: CW_ARMv8_v2020.06_b200629GA_Win_Offline.exe Base installer SHA256: ea32f78530f38ec33dcfd128e64e5dbdde34803d0f49ded8778369ef146e5e66 Offline update SHA256: 212ca00092174bd98fe407572aa7b7eeb7bb1918a82fbf08c22578f687d5e418 Relevant NXP Community posts: 1. CodeWarrior for LA1224 This user reproduced essentially the same failure in a clean Windows Sandbox installation using the same base installer. The failure also occurs while updating fsl_gdb from 13.0.0 to 14.0.0 through FreescaleProcessCheck with "param_not_set". https://community.nxp.com/t5/Layerscape/CodeWarrior-for-LA1224/td-p/2096289 2. some problems when use usb codewarrior tap debug on my custom lx2080 board NXP TechSupport recommends the same 11.5.12 update archive and the same Help -> Install New Software -> Add -> Archive procedure. https://community.nxp.com/t5/CodeWarrior-for-QorIQ/some-problems-when-use-usb-codewarrior-tap-debug-on-my-custom/td-p/2139784 Steps To Reproduce Error 1. Start with a clean Windows 11 Pro 25H2 VM. 2. Install: CW_ARMv8_v2020.06_b200629GA_Win_Offline.exe Installation completes successfully. 3. Start CodeWarrior. 4. Select: Help -> Install New Software -> Add -> Archive 5. Select: com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip 6. Select All, then Next. 7. The "Install Details" page reports that already-installed components will be updated. 8. Accept the license and select Finish. 9. Installation fails with: An error occurred while installing the items session context was:(profile=epp.package.cpp, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=[R]com.freescale.core.debugger.fsl_gdb 13.0.0.202003111126 --> [R]com.freescale.core.debugger.fsl_gdb 14.0.0.202204131357, action=com.freescale.updater.customactions.actions.FreescaleProcessCheck). NLS missing message: param_not_set in: com.freescale.updater.customactions.Messages Relevant files from this clean reproduction: - 202608201229_DiagnosticInfo.zip - Error_Log.txt - Configuration.txt - Image-1_Problem_Occured.png - Image-2_Problem_Occured-Details.png Guidance The most important observations from the logs are: - Error_Log.txt shows Eclipse p2 metadata errors shortly after the clean base installation starts, before the 11.5.12 update attempt: Missing required attribute in "unit": id - The clean installation also contains references to NXP build-system paths such as: C:/w/NCProd/NC_ARMv8/Layout/... followed by: URI is not hierarchical - The update then fails specifically while replacing: com.freescale.core.debugger.fsl_gdb 13.0.0.202003111126 with 14.0.0.202204131357 - After the failed update, Configuration.txt shows a partial/mixed update state: the fsl_gdb feature is 14.0.0.202204131357 while the actual fsl_gdb plug-in remains 13.0.0.202003111126. - org.eclipse.emf.edapt.history 1.4.0.201902190757 is present in the installation, even though similar NXP Community reports show p2 dependency errors claiming that bundle cannot be found. This appears to be a reproducible CodeWarrior/Eclipse p2 update problem rather than a failed base installation. Re: CodeWarrior ARMv8 11.5.0 to 11.5.12 Update Fails on Windows 11 25H2 I performed the same CodeWarrior installation and upgrade procedure in a clean Windows 10 Pro 22H2 x64 VM. Windows 10: Version 22H2 OS Build 19045.2965 Base installer: CW_ARMv8_v2020.06_b200629GA_Win_Offline.exe SHA256: ea32f78530f38ec33dcfd128e64e5dbdde34803d0f49ded8778369ef146e5e66 Offline update: com.freescale.armv8.11.5.12.GA.Win.updatesite.221209.zip SHA256: 212ca00092174bd98fe407572aa7b7eeb7bb1918a82fbf08c22578f687d5e418 The base CodeWarrior 11.5.0 installation completed successfully. I then applied the 11.5.12 offline update using the same procedure described in my original post: Help -> Install New Software -> Add -> Archive -> Select All -> Install The update completed successfully on Windows 10. After the update: CodeWarrior Version: 11.5.12 Build ID: 221209 QCVS: 4.24.0.0001-20221019 fsl_gdb: 14.0.0.202204131357 This is the same installer and same update archive that repeatedly fail on Windows 11 Pro 25H2, Build 26200.9168, during the fsl_gdb 13.0.0 -> 14.0.0 update with: FreescaleProcessCheck NLS missing message: param_not_set I am attaching the Windows 10 Configuration, Error Log, and About CodeWarrior screenshot as a successful comparison case. This strongly suggests that the failure is related to Windows 11 25H2 compatibility. Re: CodeWarrior ARMv8 11.5.0 to 11.5.12 Update Fails on Windows 11 25H2 Hello, Given the strength of this comparison evidence, please do the following Open a case in our system — The FreescaleProcessCheck custom action in the com.freescale.updater.customactions bundle needs to be examined for Windows 11 25H2 compatibility. The URI is not hierarchical error in the log strongly suggests a path-resolution issue in the custom action's Java code when run under the newer OS. Request a patched update archive or a workaround — Specifically, ask whether a version of the fsl_gdb 14.0.0 plug-in can be provided that bypasses the FreescaleProcessCheck step Confirm Windows 11 25H2 support status — The official release notes only validate up to Windows 11 22H2. NXP engineering should formally confirm whether 25H2 is supported or provide a timeline for a fix. Interim workaround — If the customer needs a functional environment now, Windows 10 Pro 22H2 is confirmed working with the exact same files. A Windows 10 VM is a viable interim solution. Regards Re: CodeWarrior ARMv8 11.5.0 to 11.5.12 Update Fails on Windows 11 25H2 Hello @Bio_TICFSL , Thank you for your reply.  As you instructed, I created case 01000640 with the NXP ticketing system.
查看全文
S32K358 闪存擦除后 HSE 未初始化 您好,NXP团队, 我正在使用 S32K358,并且已经通过 AB-SWAP (OTA) 启用了 HSE。HSE 之前可以正常工作,但在刷入组合引导加载程序 + 应用程序映像并执行部分代码闪存擦除后,HSE 不再初始化。 环境 MCU:S32K358 HSE:支持 AB-SWAP / OTA HSE固件:s32k358_hse_fw_1.14.0_2.40.0_pb230807.bin.pink 安装程序:S32K344_HSE_FW_INSTALL,带 AB-SWAP 配置 调试器:J-Link / PEmicro 通过 S32 设计工作室 应用:自定义 电池管理系统 引导加载程序 + 使用 HSE 实现 安全散列算法 (SHA)-256/RSA 安全启动功能的应用程序 当前问题 闪存操作后,Hse_Ip_GetHseStatus() 不返回已初始化的 HSE 状态。MU0 FSR (0x4038C104) 仍然为 0x00000000,安装程序应用程序卡在 HseFwInstall_WaitInitOk() 中,最终报告 HSE_INSTALL_MU_TIMEOUT。 观察到以下现象: 0x4038C104 (MU0 FSR) = 0x00000000 0x1B000000(UTEST HSE 功能标志)= DDCCBBAA AABBCCDD 0x00400000 包含以 60FFFFDB 开头的数据... 调试器无法读取 HSE 被动区域 0x00BD4000。 J-Link对被动区域的验证失败 直接加载 .pink 文件使用 J-Link 处理该文件时,报告称文件格式不受支持。 我们擦除了应用程序/代码闪存区域: 0x00400000 – 0x0068FFFF 据我们了解,这与 HSE/sBAF 保留区域不重叠: 0x00BD4000 – 0x00BFFFFF 问题 请问对于启用了 AB-SWAP 且 MU FSR 保持为 0x00000000 的 S32K358,正确的 HSE 恢复/重新安装步骤是什么? 具体来说: 启用/保护 HSE 后,HSE 被动区域是否预计无法通过 J-Link 读取? 对于恢复操作,我们是否应该使用包含所需 IVT/启动标头的完整 HSE 安装程序 ELF 文件,而不是直接对 .pink 文件进行编程?文件? 如果 UTEST HSE 功能标志已被编程,并且 HSE 固件数据存在于 0x00400000,那么在 POR 期间,哪些情况可能会阻止 sBAF 安装或初始化 HSE 固件? sBAF 版本与 HSE 固件版本之间的 LC 状态或兼容性是否会导致安装失败而没有明显的错误? 当 MU0 FSR 保持为 0x00000000 时,我们应该检查哪些寄存器或状态位来确定 HSE 启动/安装失败的原因? 部分代码闪存擦除后,是否有特定的 AB-SWAP 恢复顺序需要遵循? 预期行为是,在成功完成 POR 和 HSE 初始化后,MU0 FSR 应指示 HSE_STATUS_INIT_OK 和 HSE_STATUS_RNG_INIT_OK,从而允许使用 HSE 服务。 非常感谢您能提供关于正确恢复步骤以及我们应该收集哪些寄存器/调试信息的指导。 谢谢! Re: S32K358 HSE not initializing after flash erase 我认为首先需要澄清的是,HSE 是否曾经成功安装并运行在该设备上,或者您是否在对 UTEST 标志进行编程并将 HSE 映像烧录到 0x00400000 后尝试执行初始 HSE 安装。 根据您的描述,尚不清楚 HSE 是否之前已安装并运行,但在闪存擦除后停止初始化,或者这是第一次安装尝试,而 sBAF 在 POR 期间从未安装 HSE 固件。 这些信息将大大缩小可能的原因范围。如果 HSE 之前运行正常,我们会重点关注发生了哪些变化,以及固件是否失效或被擦除。如果始终无法成功,我们将重点检查安装前提条件和镜像有效性。 Re: S32K358 HSE not initializing after flash erase 你好,大卫, 经确认,在执行闪存擦除操作之前,HSE 已成功安装并在此设备上正常工作。这不是 HSE 的首次安装尝试。 安装 HSE 后,我使用 HSE Crypto 示例验证了 HSE 是否正常运行。具体来说,我成功执行了 SHA-256 哈希算法,这证实了 HSE 已初始化,并且 HSE 加密服务运行正常。 事件经过如下: 我已成功使用 AB-SWAP/OTA 配置安装了 HSE。 我已确认 HSE 初始化成功。 我测试了 HSE 加密功能,并成功执行了 SHA-256。 然后我编写了我的引导加载程序+应用程序组合映像。 在随后的调试/编程活动中,我执行了部分代码闪存擦除操作,擦除范围如下: 0x00400000 – 0x0068FFFF 完成擦除操作和上电复位后,HSE 停止初始化。 目前,Hse_Ip_GetHseStatus() 未指示 HSE 已初始化,安装程序卡在 HseFwInstall_WaitInitOk() 中,最终报告 HSE_INSTALL_MU_TIMEOUT。 因此,我认为问题与闪存擦除/编程操作期间发生的变化有关,而不是 HSE 的初始安装问题。 我想了解擦除范围是否可能影响 HSE 固件、AB-SWAP 元数据、启动配置或 HSE 初始化所需的其他 HSE 相关信息。 请告知我还需要检查哪些内存位置或寄存器值才能确定哪些部分受到了影响。
查看全文
S32 开发工作室 3.6.10RTD安装失败错误 你好, 我 已经 成功 安装了 S32 Design Studio(S32DS) v3.6.10 , 目前 正在 尝试 使用 以下 软件包 安装 RTD v5.0.0 : S32K3XX_S32M27x_RTD_R21-11_5.0.0_P08_D2504_DesignStudio_updatesite.zip RTD_error.pngRTD_error.png 但是, 在 安装 过程 中 , 我 遇到 了 错误, 这些 错误 已 捕获 在 附件 文档 中 。 我 正在 使用 S32K3 汽车远程信息处理 盒(T-Box) 评估板 , 并 希望 在 我 的 系统 上 建立 一个 完整 的 开发 环境 , 包括 RTD 、 FreeRTOS / RTOS 支持 以及 所需 的 工具链 和 中间件 组件 。 请 你 帮助 我 好吗 : 请理解 并 解决 附件 中 所示 的 安装 错误 。 请 确认 RTD 5.0.0 是否 与 S32DS v3.6.10 兼容 。 Recommend the correct RTD and FreeRTOS 代码包,软件包 versions for my board and development setup. 提供 完成 开发 环境 设置 的 建议 步骤 , 包括 可能 需要 的 任何 其他 软件、 SDK 或 中间件 。 非常 感谢 您 的 指导 。 谢谢你,沙姆 Re: S32 Development Studio 3.6.10 RTD Installation failed Error 嗨, Shyam, 根据S32K3 汽车远程信息处理盒 (T-Box) lwIP 示例指南培训演示文稿[TP-S32K3-T-BOX-LWIP-GUIDE] 第 12 页,需要安装以下软件:   但是,据我所知,这些软件版本发布已久,您可能没有权限下载这些旧版本。 请稍候,我正在向内部团队申请您账户的旧版本软件下载权限。 由于我不确定您的帐户目前是否可以下载这些软件,请尝试以下链接,看看您是否可以下载: 点击 S32 设计工作室 – Windows/Linux -> S32 设计工作室 IDE -> 上一页 -> S32 平台版 S32 设计工作室 v.3.4 -> S32DS.3.4_b201217_win32.x86_64.exe 点击 S32 设计工作室 – Windows/Linux -> 汽车软件 - S32K3 - S32 设计工作室 > 上一页 -> 3.4.3_D2112S32平台S32设计工作室 v.3.4更新 3,支持 S32K3 设备->SW32K3_S32DS_3.4.3_D2112.zip 为了 S32K3 汽车远程信息处理盒 (T-Box) lwIP 示例代码,适用于 S32K3 代码片段S32K3-T-BOX-LWIP-FOR-S32K3请下载以下软件包: 点击 S32K3 标准软件 -> 汽车软件 - S32K3/S32M27x - Cortex-M 实时驱动程序 -> 2.0.0 S32K3 实时驱动程序版本 2.0.0 -> SW32K3_RTD_4.4_2.0.0_DS_updatesite_D2204.zip 点击 S32K3 标准软件 -> 汽车软件 - S32K3 - FreeRTOS -> 上一版本 -> 2.0.0 SW32K3_FreeRTOS_10.4.6_2.0.0_D2204 -> SW32K3_FreeRTOS_10_4_6_UOS_2_0_0_DS_updatesite_D2204.zip 点击 S32K3 标准软件 -> 汽车软件 - S32K3 - 协议栈 -> 1.0.1 SW32K3_TCPIP_STACK_1_0_1_D2205 -> S32K3_TCPIP_RTM_1_0_1_D2205_updatesite.zip 为了 S32K3 汽车远程信息处理盒 (T-Box) 电路板支持包、驱动程序和中间件S32K3-T-BOX-BSP 请下载以下软件包: 点击 S32K3 标准软件 -> 汽车软件 - S32K3/S32M27x - Cortex-M 实时驱动 -> 1.0.0_HF02S32K3 实时驱动程序版本 1.0.0HotFix 02 -> SW32K3_RTD_4.4_1.0.0_HF02_DS_updatesite_D2112.zip 点击 S32K3 标准软件 -> 汽车软件 - S32K3 - FreeRTOS -> 上一版本 -> 1.0.0SW32K3_FreeRTOS_10.4.5_1.0.0_D2110 -> SW32K3_FreeRTOS_10_4_5_UOS_1_0_0_DS_updatesite_D2110.zip 点击 S32K3 标准软件 -> 汽车软件 - S32K3 - 堆栈 -> 1.0.0SW32K3_TCPIP_STACK_1_0_0_D2111 -> S32K3_TCPIP_RTM_1_0_0_D2111_updatesite.zip 此致敬礼, Robin
查看全文
LPC55S69:I2C寄存器全部正确,但SDA/SCL始终没有物理移动。 LPC55S69:尽管寄存器配置完全正确,但 I2C4 (Flexcomm 4) 主设备始终无法物理驱动 SDA/SCL - I2C_MasterStart() 函数永久挂起在 I2C_MasterCheckStartResponse() 函数中。 摘要 在 LPC55S69-EVK 上,I2C_MasterTransferBlocking() 在 I2C_MasterInit() 之后尝试的第一个事务时会永久挂起(没有超时,已通过 SDK 源代码检查确认)。我能检查的每个外设配置寄存器——CFG、PSELID、CLKDIV、MSTTIME、IOCON 引脚功能以及安全 AHB 控制器的外设访问规则——都显示配置正确。然而,在驱动程序执行过程中卡住时,使用万用表直接测量物理 SDA/SCL 线,结果显示两条线都处于干净、不变的空闲 ~3.3V 状态——这意味着 I2C 主设备的内部状态机实际上根本没有向物理总线发出 START 条件,尽管软件认为它已经发出了。 环境 电路板:LPCXpresso55S69-EVK、LPC55S69JBD100 IDE:MCUXpresso IDE v25.6 [版本 136] I2C 外设:I2C4(Flexcomm 4),引脚 P1_20(SCL)/ P1_21(SDA) 这是双核项目的核心 1(不安全,没有 TrustZone - 根据 AN12278 确认,该芯片的核心 1 完全没有 TrustZone 功能)。核心 1 已确认启动和执行正常(通过正常工作的 LED 心跳和独立的共享内存诊断证明)——本报告专门针对 I2C 外设,而不是多核启动序列。 传感器:Adafruit BME688(STEMMA QT,板载上拉电阻),地址 0x77,通过原装 Adafruit STEMMA QT 转接头连接线连接 核心证据 1.通过 SDK 源代码检查确认了挂起位置。 正在读取 fsl_i2c.c直接调用:I2C_MasterTransferBlocking() 调用 I2C_MasterStart(),然后调用 I2C_MasterCheckStartResponse()。后者调用 I2C_PendingStatusWait(),当 I2C_RETRY_TIMES 为 0/未定义时,该函数会循环轮询 kI2C_MasterPendingFlag,且完全没有超时(已确认这是此项目中的活动代码路径 - 具有无条件 while(...) 且没有退出条件的 #else 分支)。执行永远不会从此调用返回,这由调用之前立即写入的共享内存诊断检查点(已到达)和调用之后立即写入的检查点(即使在连续执行 5 秒以上后也永远不会到达)所证实。 2. 记录挂起瞬间的寄存器状态(通过调试器实时读取,而非假设) 寄存器地址值含义 I2C4->STAT 0x5008A000 0x00000000 闲置的。MSTPENDING=0,MSTSTATE=0,无错误标志 I2C4->CFG 0x5008A800 0x00000001 MSTEN=1 - 主模式已启用 FLEXCOMM4->PSELID 0x5008AFF8 0x1020F3 PERSEL=3(I2C人格真实选择),I2CPRESENT=1 I2C4->CLKDIV 0x5008A814 74 非零、合理的分频器 I2C4->MSTTIME 0x5008A824 102 非零且合理的SCL时序 IOCON>PIO[1][20] (P1_20/SCL) 0x500010D0 0x323 FUNC=3(Flexcomm 备用功能),上拉电阻 + 开漏电阻启用 IOCON>PIO[1][21] (P1_21/SDA) 0x500010D4 0x323 相同 - 配置正确 AHB_SECURE_CTRL FLEXCOMM4_RULE 0x500AC124 0 0b00 = “允许非安全和非特权用户访问”(最宽松) AHB_SECURE_CTRL IOCON_RULE 0x500AC130 0 相同——完全开放,非安全访问不受限制 这些都是配置正确、不受限制、随时可以进行交易的 I2C 主设备应该显示的内容。 3. 实物测量(决定性证据) 程序执行过程中卡住(已通过检查点诊断确认,此时 STAT 仍然显示 0x00000000): SDA 至 GND:3.299 V SCL 至 GND:3.299 V 这两条线路与完全停放、未使用的总线没有任何区别。尽管 I2C_MasterStart() 已经执行(它在 I2C_MasterCheckStartResponse() 之前调用,而我们实际上卡在了 I2C_MasterCheckStartResponse() 中),并且上面的每个寄存器都显示一个完全配置、不受限制的主控器,但物理引脚根本没有移动。 已排除的选项 传感器/线缆/面包板故障 - 使用万用表在多个不同的物理引脚位置(尝试 5 次以上)确认线路连通性;使用原装 Adafruit STEMMA QT 线缆;传感器地址引脚确认与文档中记录的默认值 0x77 一致;无论使用哪个物理排针,结果都相同。 时钟源/频率 - 在连接 Flexcomm4 时钟之前,立即显式地重新断言了 CLOCK_SetupFROClocking(12000000U);无变化 波特率/时序计算错误 - 从 100 kHz 降低到 10 kHz(10 倍);出现同样的卡顿;CLKDIV/MSTTIME 均确认非零且合理。 引脚复用已通过 IOCON_FUNC3 写入确认,并在系统挂起的瞬间通过直接读取寄存器进行了独立复核。 I2C人格选择——已通过PSELID确认 传感器驱动库 - 已绕过 bme68x.c完全一样;直接使用 SDK 的 i2c_master_transfer_t 结构体构建的原始、最小的零长度地址探测也会产生完全相同的挂起。 MasterEnable 开关切换的变通方法(来自 NXP 社区中针对不同器件的类似报告)——无效 TrustZone/Secure AHB 控制器外围设备访问限制 - 已确认 IOCON 和 FLEXCOMM4 均设置为最宽松的非安全访问规则 问题 鉴于每个软件可见的寄存器都表明 I2C 主设备配置正确且不受限制,但物理 SDA/SCL 引脚却从未移动(通过在驱动程序调用中冻结时直接电压测量得到确认),那么还需要哪些硬件级步骤才能使 I2C4 外设真正驱动该部件上的焊盘? 具体来说: 是否存在已知的 LPC55S69 勘误,会影响 Flexcomm I2C 焊盘驱动器,但未被我检查过的 CFG/PSELID/IOCON 寄存器捕获? 是否还有其他需要显式启用才能实现 Flexcomm I2C 物理输出的功率域、焊盘供电或模拟模块(数字外设配置寄存器之外的某些东西)是我可能遗漏的? 鉴于这是双核多核项目中的核心 1(裸机,无 RTOS,无 TrustZone),而核心 0 运行 FreeRTOS,核心 0 自身的启动时配置与核心 1 驱动 Flexcomm4 物理焊盘的能力之间是否存在任何已知的交互,除了寄存器级快照所能揭示的之外(例如,SYSCON 时钟门控中与焊盘 I/O 单元本身不同的某些内容,与 CLOCK_AttachClk 的外设功能时钟不同)? 我很乐意根据要求提供完整的项目文件、逻辑分析仪捕获文件或任何其他寄存器转储文件。 LPC55xx Re: LPC55S69: I2C registers all correct, but SDA/SCL never physically move 已解决 - 根本原因是 IOCON 备用功能编号错误。 把解决方法贴出来,以防以后有人遇到类似症状并找到这个帖子。 真正的根本原因 IOCON_PIO_FUNC3 不会将 P1_20/P1_21 路由到此板上的 FC4 I2C。正确的替代功能是FUNC5 ,在 IOCON 级别禁用开漏(I2C 外设自身的 CFG 寄存器在内部处理开漏行为 - 在 IOCON 焊盘级别再次启用它也是错误的)。 我通过读取注释中的引脚信号顺序(PIO1_20/FC7_RTS_SCL_SSEL1/CT_INP14/FC4_TXD_SCL_MISO_WS/PLU_OUT2)推导出 FUNC3,并假设从 0 开始索引的位置 = 功能编号。对于这个引脚来说,这个假设是错误的。 为什么会产生如此令人困惑的症状 即使选择了错误的备用功能,所有 I2C 内部寄存器仍然会读取为配置完全正确: I2C4->CFG.MSTEN = 1(主控启用) FLEXCOMM4->PSELID 展现了 I2C 个性,真正经过筛选 CLKDIV/MSTTIME 为有效且非零值 即使 IOCON->PIO[1][20/21] 也显示已选择某个功能(只是选错了)——该寄存器的值本身并不能表明“功能错误”,只能表明“选择了某个功能”。 这一切都不取决于物理引脚是否实际连接到 I2C 模块——PSELID 和 CFG 完全是 Flexcomm/I2C 逻辑内部的,与 IOCON 多路复用器碰巧路由到哪个备用功能无关。因此,该外设内部已完全配置并“准备就绪”,而物理 SDA/SCL 引脚实际上根本没有连接到它。这导致 I2C_MasterTransferBlocking() 永久挂起(通过 SDK 源代码确认:当 I2C_RETRY_TIMES 为 0 时没有超时),并且从未发出任何错误标志,最终证明这一点的是万用表测量结果,显示即使在事务处理过程中冻结,物理总线在空闲电压下也完全没有变化,因为引脚实际上从未被驱动。 它是如何被发现的 为同一块板创建了一个全新的、独立的单核测试项目,并使用了 MCUXpresso 向导自动生成的 BOARD_InitACCELPins() 函数(该板有一个板载加速度计连接到同一 I2C4 总线,因此向导提供了一个适用于这些引脚的、经过验证的引脚复用器)。阅读该函数的实际生成源代码显示 IOCON_PIO_FUNC5 的开漏功能已禁用 - 与我自己手动推导出的 FUNC3/开漏启用配置直接矛盾。切换到与 NXP 自身验证值匹配后,永久性挂起问题立即得到解决;随后出现的无关地址 NAK(0x77 未确认)问题,原来只是接头引脚接触不良,通过将连接移至不同的接头引脚即可解决。 对其他出现相同症状的人来说,这是一个教训。 如果 Flexcomm 外设自身的寄存器(PSELID、CFG、CLKDIV 等)全部读取为配置正确,但物理总线始终没有任何活动(通过万用表/示波器确认)——不要相信从读取 pin_signal 注释顺序中手动推导出的备用功能号。将本 SDK 提供的同一板上相同物理引脚的向导自动生成的引脚复用函数进行交叉检查(评估板本身使用的外围设备——加速度计、编解码器等——是经过验证的参考的良好来源),或者直接通过 MCUXpresso Pins 工具重新生成引脚复用函数,而不是从假定的函数索引手动编写 IOCON_PinMuxSet() 调用。 再次感谢所有参与本帖及原多核启动帖讨论的各位——正是这两项调查中的寄存器级验证工作最终使这一矛盾(所有配置都正确,但总线上却没有任何信号)显露出来,从而得以追踪。
查看全文
S32 Development Studio 3.6.10 RTD Installation failed Error Hello, I have successfully installed S32 Design Studio (S32DS) v3.6.10 and am currently trying to install RTD v5.0.0 using the package: S32K3XX_S32M27x_RTD_R21-11_5.0.0_P08_D2504_DesignStudio_updatesite.zip RTD_error.pngRTD_error.png However, during the installation process, I am encountering errors, which are captured in the attached document. I am using an S32K3 Automotive Telematics Box (T-Box) evaluation board and would like to set up a complete development environment on my system, including RTD, FreeRTOS/RTOS support, and the required toolchain and middleware components. Could you please help me: Understand and resolve the installation errors shown in the attachment. Verify whether RTD 5.0.0 is compatible with S32DS v3.6.10. Recommend the correct RTD and FreeRTOS package versions for my board and development setup. Provide the recommended steps to complete the development environment setup, including any additional software, SDKs, or middleware that may be required. Your guidance would be greatly appreciated. Thank you, Shyam Re: S32 Development Studio 3.6.10 RTD Installation failed Error Hi Shyam, According to page 12 of S32K3 Automotive Telematics Box (T-Box) lwIP Example Guide Training Presentation[TP-S32K3-T-BOX-LWIP-GUIDE] those software need to be installed:   However, as far as I know, these software versions were released a long time ago, and you may not have permission to download such old versions. Please wait while I apply to the internal team for download permissions for these older software versions for your account. Since I'm unsure if your account can currently download these software, please try the following link to see if you can download them:  click S32 Design Studio – Windows/Linux -> S32 Design Studio IDE -> Previous -> S32 Design Studio for S32 Platform v.3.4 -> S32DS.3.4_b201217_win32.x86_64.exe click S32 Design Studio – Windows/Linux -> Automotive SW - S32K3 - S32 Design Studio > Previous -> 3.4.3_D2112 S32 Design Studio for S32 Platform v.3.4 Update 3 with support for S32K3 devices -> SW32K3_S32DS_3.4.3_D2112.zip For S32K3 Automotive Telematics Box (T-Box) lwIP Example Code for S32K3 Code Snippets S32K3-T-BOX-LWIP-FOR-S32K3 Please download below software package: click S32K3 Standard Software -> Automotive SW - S32K3/S32M27x - Real-Time Drivers for Cortex-M -> 2.0.0 S32K3 Real Time Drivers Version 2.0.0 -> SW32K3_RTD_4.4_2.0.0_DS_updatesite_D2204.zip click S32K3 Standard Software -> Automotive SW - S32K3 - FreeRTOS -> Previous -> 2.0.0 SW32K3_FreeRTOS_10.4.6_2.0.0_D2204 -> SW32K3_FreeRTOS_10_4_6_UOS_2_0_0_DS_updatesite_D2204.zip click S32K3 Standard Software -> Automotive SW - S32K3 - Stacks -> 1.0.1 SW32K3_TCPIP_STACK_1_0_1_D2205 -> S32K3_TCPIP_RTM_1_0_1_D2205_updatesite.zip For S32K3 Automotive Telematics Box (T-Box) BSPs, Drivers and Middleware S32K3-T-BOX-BSP Please download below software package: click S32K3 Standard Software -> Automotive SW - S32K3/S32M27x - Real-Time Drivers for Cortex-M -> 1.0.0_HF02 S32K3 Real Time Drivers Version 1.0.0 HotFix 02 -> SW32K3_RTD_4.4_1.0.0_HF02_DS_updatesite_D2112.zip click S32K3 Standard Software -> Automotive SW - S32K3 - FreeRTOS -> Previous -> 1.0.0 SW32K3_FreeRTOS_10.4.5_1.0.0_D2110 -> SW32K3_FreeRTOS_10_4_5_UOS_1_0_0_DS_updatesite_D2110.zip click S32K3 Standard Software -> Automotive SW - S32K3 - Stacks -> 1.0.0 SW32K3_TCPIP_STACK_1_0_0_D2111 -> S32K3_TCPIP_RTM_1_0_0_D2111_updatesite.zip Best Regards, Robin
查看全文