Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
MCUXpresso for VS Code: Combine MCUXpresso or Zephyr projects using AI Introduction This tutorial shows how GitHub Copilot AI, along with the MCUXpresso Combine Projects agent, delivered in the MCUXpresso for VS Code extension, can drive the creation of new projects based on selected examples. MCUXpresso SDK and Zephyr examples from NXP provide a great starting point for learning, but often developers want to combine these examples to rapidly develop prototypes. Instead of manually merging files and resolving build conflicts by hand, an engineer describes the intended combined application in plain language and the agent orchestrates every step.   In this scenario, the engineer asks the agent to accomplish an end-to-end task: Target the FRDM-iMXRT1186 (CM33) board with Zephyr 4.4. Combine the blinky, shell_module, and hello_world examples, all imported fresh from the repository as Freestanding. Add shell commands to turn LED blinking on/off and control the blink rate from the UART console. Clean up the source examples after a successful build. The agent decomposes this request into a sequence of ordered phases – verifying tool availability, selecting and importing examples, enforcing constraints, detecting conflicts, scaffolding a combined project, merging configuration and source, building, and cleaning up. The sections below follow that same order.   The agent supports both Zephyr (prj.conf + devicetree overlays, Zephyr ARM toolchain) and MCUXpresso SDK (SDK components + linker scripts, Arm GNU Toolchain) project types. The scenario shown here uses Zephyr; MCUXpresso SDK projects follow the same flow with the appropriate SDK repository and toolchain.   The agent only performs actions through the extension's own tools, so every step it takes maps directly to functionality you could also trigger manually from the MCUXpresso for VS Code UI. For all structured choices – SDK type, board confirmation, appType , conflict resolution, and cleanup options – the agent uses the #askQuestion tool to surface clickable buttons in the chat UI to reduce the need to type a letter or number by hand. System Architecture   MCUXpresso Combine PROJECTS Agent End-to-End Workflow Overview 📄 Source Projects blinky, shell_module, hello_world (imported or in workspace)     Merge 🤖 Combine Agent MCUXpresso Skills Copilot chat agent     Build 📦 Combined Project combined_ _ single built applicatione   Component Description Source Projects Two or more MCUXpresso Zephyr or MCUXpresso SDK projects targeting the same board. May already be in the workspace or imported fresh by the agent using importExampleFromRepo . Combine Agent The MCUXpresso skill files allow the Copilot agent to orchestrate the full workflow: tool verification, example selection and import (Zephyr or MCUXpresso SDK), constraint enforcement, conflict detection,  project scaffolding, configuration application, source merge, build with DTS regression check(Zephyr only), and cleanup. Uses #askQuestion for all structured choices. Combined Project A new project named combined_ _ , scaffolded from a fresh hello_world example for the same board. The agent merges configuration and source so both functionalities run in the combined app. Getting started   The engineer describes the combined application in a single natural-language prompt, and the agent carries out the ordered phases below – starting the agent, selecting examples, enforcing constraints, resolving conflicts, scaffolding, merging, building, and cleaning up. Prerequisites   Before starting you should have: Visual Studio Code with the MCUXpresso for VS Code extension installed and activated, and GitHub Copilot Chat available. The MCUXpresso tool set enabled in Copilot Chat – click Configure Tools in the bottom-left corner of the chat input window and make sure MCUXpresso is toggled on. At least one SDK or Zephyr repository registered in the extension. A Zephyr / Zephyr NXP repository requires a Zephyr ARM toolchain; an MCUXpresso SDK repository requires an Arm GNU Toolchain. A compatible toolchain installed and reachable from the project's MCUXpresso integrated terminal (installed via the MCUXpresso Installer or the extension's toolchain management). Examples do not need to be imported beforehand – the agent can import them for you during the flow.   Step 1 – Start the agent Open Copilot Chat, select the MCUXpresso Combine Projects agent from the agent picker, or type /mcuxpresso-combine-projects in the chat input. The agent immediately verifies that the MCUXpresso extension tools are accessible in this session by calling listProjectsFromWorkspace . Select the Combine Projects agent or run the /mcuxpresso-combine-projects prompt to start the flow. Phase 0 passes and the agent asks for the SDK type.Select the Combine Projects agent or run the /mcuxpresso-combine-projects prompt to start the flow. Phase 0 passes and the agent asks for the SDK type. Select the Combine Projects agent or run the /mcuxpresso-combine-projects prompt to start the flow. Phase 0 passes and the agent asks for the SDK type.   Alternatively, you can include all required details in the opening prompt and the agent will proceed without asking for them one by one: Providing board, SDK version, example names, appType, and cleanup preference in one prompt lets the agent skip the individual selection questions and go straight to board confirmation.   If the tool call succeeds, the agent proceeds to example selection. If it fails – because the MCUXpresso tool set is not enabled – it stops and tells the user how to enable it via Configure Tools.   Throughout the flow the agent uses the #askQuestion tool to present structured choices (SDK type, board confirmation, appType , conflict resolution, cleanup options) as clickable buttons in the chat UI. You never need to type a letter or number by hand. Plain text is accepted as a fallback when #askQuestion is unavailable.   Constraint: the agent will not advance past this point until the MCUXpresso tools are confirmed available in the current chat session.   Step 2 – Select examples The agent asks for the SDK type (Zephyr or MCUXpresso SDK), then lists the projects currently in the workspace. The engineer chooses which examples to combine – by picking from the workspace list, by naming examples to import fresh, or by mixing both approaches. When more than one matching repository is installed, the agent asks which one to use, then collects the example names and target board.   For any example not yet in the workspace, the agent runs the full import discovery chain: listRepositories → filter to the chosen SDK type → repository selection (if more than one matching repository is found, the agent presents them as a numbered list and asks which one to use for all imports in this session) → listSupportedBoards → explicit board confirmation → listSupportedExamples → user chooses appType → importExampleFromRepo . After each import, listProjectsFromWorkspace is called to confirm the project is registered. If the project files exist on disk but do not appear in the workspace list, the agent automatically falls back to importProject to register the on-disk folder. The agent always asks the user to explicitly confirm the resolved board before listing or importing any examples.   The agent resolves the exact template IDs for each requested example and asks for confirmation before importing.   The agent imports all confirmed source examples into the workspace.   Constraints: the SDK type must be chosen explicitly; appType must be chosen by the user for every import – the agent never assumes a default. The board is always confirmed with the user before any example is listed or imported. The chosen repository is reused consistently for every import in the session, including the hello_world scaffold.   Step 3 – Verify constraints Before any merging begins, the agent enforces three hard constraints across all selected examples: At least two examples must be in the confirmed set. Same SDK type – all examples must use the SDK type chosen in the previous step (Zephyr or MCUXpresso SDK). Same board and core – the BOARD id and variant/core qualifier must be identical across all examples. Different cores of the same SoC do not match.   Constraint: if any gate check fails, the agent stops immediately, reports exactly what is wrong, and waits for the user to correct the problem. It will not fabricate a board match or SDK-type match.   Step 4 – Detect conflicts The agent scans all selected examples for devicetree, Kconfig, and memory-layout conflicts – pin or pinctrl reuse for different functions, chosen nodes pointing at different UARTs, the same CONFIG_* symbol set to incompatible values, and overlapping flash partitions or memory regions.   Non-conflicting settings – distinct peripheral enables, independent Kconfig flags, additional aliases, non-overlapping memory regions – are auto-merged into the combined project without asking. They appear in an Auto-merged summary. The conflict report lists auto-merged settings and presents any true conflicts as numbered options for the user to choose from.   Conflicting settings are presented as a numbered list: option A keeps the value from example X, option B keeps the value from example Y, and option C provides a safe combined value where one genuinely exists. The agent records every decision before continuing.   When no true conflicts are found, the agent says so explicitly, lists the full auto-merged configuration union, and continues straight to scaffolding the combined project without asking for any resolution choices.   Constraint: the agent never resolves a conflict silently – every conflict requires an explicit user choice. Non-conflicting settings are always auto-merged without prompting. Step 5 – Create the combined project The agent imports a fresh hello_world example for the same board – following the same import discovery chain and asking the user for appType – and uses it as the scaffold for the combined application. The default name is combined_ _ ; the user can accept the default or provide a custom name. The agent asks for both the project name and the appType for the scaffold before importing it. The agent confirms the combined project name and appType, then imports the fresh hello_world scaffold as the base for the merge.   The agent then applies the conflict resolutions chosen in the previous phase and auto-includes all non-conflicting configuration from every source example – every peripheral enable, Kconfig flag, alias, and memory region that was listed as auto-merged is added without further prompting.   Constraint: the agent never silently drops a setting a source example needed, and never adds settings that were not present in at least one source example. Step 6 – Merge sources The agent merges the application source from every example into the combined project so both functionalities run. It inventories each example's source files and CMakeLists.txt entries, then: Copies source and header files into the combined project, renaming collisions (e.g. main.c → app_blinky.c ) and prefixing any clashing symbols. Refactors each example's main() into a callable init/run function. Writes a combined main() that runs both workloads – using separate Zephyr threads if either example blocks or loops forever, cooperative calls if both are short. Merges CMakeLists.txt source lists, component dependencies, include directories, and linked libraries, removing duplicates. The merged main.c combines both workloads; prj.conf reflects the union of all required Kconfig settings.   Shared resources – console, GPIO, timers – are reconciled according to the conflict-resolution decisions from the previous phase. Both examples' output is routed to the single chosen console.   Step 7 – Build and verify The agent builds the combined project using the MCUXpresso for VS Code extension build tools ( buildProject / rebuildProject ). It monitors compile and link errors, iterates on fixes, and reports the final FLASH and RAM usage from the build output.   Build restriction: the agent never invokes cmake , ninja , make , or west build directly in a terminal. All builds, cleans, and rebuilds go exclusively through the MCUXpresso extension tools ( #buildProject , #cleanProject , #rebuildProject ). Running build commands in a raw terminal bypasses the extension's environment and toolchain configuration and will produce incorrect results.   After a successful build the agent provides a full summary: what was combined, the conflicts and their resolutions, the new project name and location, and how to flash the firmware to the target board.   Step 8 – Clean up Once the build succeeds, the agent asks what to do with the source examples used for combining. It never touches the combined project itself: A. Keep all source examples in the workspace. B. Remove all source examples from the workspace (with a separate confirmation for disk deletion). C. Choose per example – the agent asks about each one individually. The agent offers three cleanup options for the source examples and asks for explicit confirmation before any disk deletion.   For any removal the agent calls removeProject , asks a follow-up question confirming whether the files should also be deleted from disk, and then re-checks the workspace list to confirm the cleanup is complete.   Constraint: the agent never deletes files from disk without explicit user confirmation. The combined project is never offered for removal. Verifying the Result   The workflow is successful when all of the following hold: The verification gate passed: at least two examples, all sharing the same SDK type and the same board and core. All conflicts were resolved by explicit user choice; all non-conflicting settings were auto-merged. The combined project (e.g. combined_blinky_shell_module_hello_world ) appears in the workspace (confirm with listProjectsFromWorkspace ). The build completed without errors and produced a firmware artifact. The build summary reports the expected FLASH and RAM usage for both combined workloads. Source examples were handled per your chosen cleanup option Troubleshooting   Most issues fall into one of the categories below.   Symptom Likely cause Suggested action MCUXpresso tools not available The MCUXpresso tool set is not enabled in Copilot Chat Click Configure Tools in the bottom-left corner of the chat input, enable the MCUXpresso tool set, then restart the conversation. Verification gate fails – board mismatch Selected examples target different boards or core variants Re-import the mismatched example targeting the correct board, or replace it with a compatible one. Import did not register in workspace importExampleFromRepo succeeded but the project is not listed by listProjectsFromWorkspace The agent automatically falls back to importProject to register the on-disk folder. If this also fails, manually add the project folder via the MCUXpresso Projects view. Configure fails after import Board revision in CMakePresets.json uses the wrong case (e.g. @b instead of @B ) The agent detects and corrects the board revision in CMakePresets.json , cleans the build directory, and re-runs configure and build automatically. Build fails with stale CMake cache A previous failed configure left a partial build directory The agent cleans the build/ directory and re-runs configure before rebuilding. You can also delete the build/ folder manually and run configure again from the MCUXpresso terminal.   Examples
View full article
i.MX RT1176 – FlexIO2 并行接收:可实现的最大时钟移位是多少?仅达到约 48 MSPS iMXR1176 SDK 25.09.00 清单 3.15.0 目标 我正在从 i.MX RT1176 上的 LTC2164 16 位 ADC 获取数据。数据路径为: LTC2164(全速率CMOS输出)→ FlexIO2(并行接收)→ eDMA → 外部同步动态随机存取存储器(SDRAM) 硬件设置 LTC2164 配置为全速率 CMOS 输出模式,由外部 100 MHz 振荡器提供时钟信号(即 100 MSPS,16 位并行)。 ADC 数据输出 D0–D15 连接到 GPIO_AD_00 … GPIO_AD_15。 ADC CLKOUT+ 连接到 GPIO_AD_30,用作 FlexIO 定时器时钟(外部引脚时钟源)。 软件设置 FlexIO2 配置为并行接收器,数据锁存到移位器 7;移位器 7->0 串联起来,以便在 DMA 请求钳位之前缓冲 32 字节。 eDMA 由 kDmaRequestMuxFlexIO2Request0Request1 触发,使用两个 TCD 以乒乓(分散/聚集)模式运行。每次主循环完成时都会引发中断,即每 16384 个样本一次。 FlexIO2 功能时钟:120 MHz。 总线时钟(eDMA / SEMC 侧):240 MHz。 问题 在 100 MSPS 下,采集 16384 个样本需要163.84 µs 。通过测量两个连续 DMA 中断之间的时间(GPIO 切换 + 示波器),我始终得到338 µs ,即 ~2.06 倍。 这相当于大约48 MSPS的有效持续速率,这表明瓶颈在于 FlexIO 端,而不是 ADC 或 SDRAM。 问题 RT1176 上 FlexIO 在并行接收模式下是否有记录在案的最大移位时钟频率?我在参考手册或数据表中都找不到这样的数据。 当定时器时钟源为外部引脚时,FlexIO 功能时钟与外部移位时钟之间所需的比率是多少?我的 FlexIO 时钟 (120 MHz) 只是输入 100 MHz 时钟的 1.2 倍——这足够吗?还是输入同步逻辑需要 2 倍或 4 倍? 鉴于我观察到的几乎精确的 ×2 比率,这是否可能是由于 FlexIO 定时器在时钟的两个边沿递减(TIMCMP 约定)造成的,这意味着我的定时器比较值实际上将吞吐量减半? 任何关于 FlexIO + eDMA 在此部分上的最大实际持续吞吐量的指导都将非常有帮助,因为这决定了我是否需要迁移到不同的外设或外部 FIFO。 先行致谢。 通信与控制(I3C | I2C | SPI | FlexCAN | 以太网 | FlexIO) Re: i.MX RT1176 – FlexIO2 parallel receive: maximum achievable shift clock? Only ~48 MSPS reached 您好,谢谢您的回复。我确实达到了预期的性能,但这仅仅是通过超过 Flexio 外设的最大推荐时钟频率来实现的;具体来说,要达到 100 MSps 的采集速率,需要将时钟频率配置为 200 MHz 以上,而不是 120 MHz,而 120 MHz 的配置会导致时钟边沿丢失。问题是,即使它在 200 MHz 下工作(尽管参考手册规定最大频率为 120 MHz),我也无法保证在不同的温度条件下或不同生产批次之间可靠运行。 Re: i.MX RT1176 – FlexIO2 parallel receive: maximum achievable shift clock? Only ~48 MSPS reached 你好@azed38 , 请注意,当使用外部引脚作为时钟源时,会引入较小的同步延迟。根据 RM 第 67.3.3.2 节,此延迟范围为 0.5 至 1.5 个 FlexIO 时钟周期: Habib_MS_1-1788818202534.pngHabib_MS_1-1788818202534.pngHabib_MS_1-1788818202534.png 关于 FlexIO 和 DMA 可达到的最大吞吐量,目前还没有针对 FlexIO 和 DMA 的性能测试。不过,您可能会发现AN12686很有用,因为它演示了使用 FlexIO 和 DMA 的并行通信实现,这可能会为您的用例提供相关指导。 BR 哈比卜 Re: i.MX RT1176 – FlexIO2 parallel receive: maximum achievable shift clock? Only ~48 MSPS reached 你好@azed38 , 我注意到您已经通过其他渠道获得了关于此主题的支持,因此我们将继续通过该渠道提供支持,以保持所有沟通的集中化。我只想补充一点,如果 FlexIO 的运行频率超过其最大规格,可能会导致意外行为,从而影响您的最终应用程序。根据 RM 表 15-4“时钟根”中提供的信息,我建议使用最大频率 120 MHz。 BR 哈比卜 Re: i.MX RT1176 – FlexIO2 parallel receive: maximum achievable shift clock? Only ~48 MSPS reached 您好, 这个问题很可能是由于第 67.3.3.2 节中描述的引脚同步延迟造成的。参考手册中的“引脚同步”部分。 考虑到前面提到的设置,问题的根本原因是输入数据频率与 FlexIO 上的工作时钟频率之间的比率,这是由于该模块前面提到的引脚同步延迟造成的。 例如,由于存在引脚同步延迟,FlexIO 模拟外设(如 SPI 主控)只能以 FlexIO 工作时钟频率的四分之一的最大波特率运行。如 RM 第 67.4.3 节所述:“由于同步延迟,串行输入数据的建立时间为 1.5 个 FlexIO 时钟周期,因此最大波特率除以 FlexIO 时钟频率的 4。” 在这种情况下,吞吐量预计会降低,而且由于引脚同步延迟是 FlexIO 模块固有的特性,因此没有解决办法。 因此,为了确保正常运行,FlexIO 模块的最大工作频率为 120MHz,RT1170 无法达到预期的 100MSPS。 BR 哈比卜 Re: i.MX RT1176 – FlexIO2 parallel receive: maximum achievable shift clock? Only ~48 MSPS reached 鉴于我观察到的几乎精确的 ×2 比率,这是否可能是由于 FlexIO 定时器在时钟的两个边沿递减(TIMCMP 约定)造成的,这意味着我的定时器比较值实际上使吞吐量减半? 我只是想提一下,是的,FlexIO 定时器在由引脚或触发信号驱动时,对双边沿敏感。因此,如果你的外部信号包含一个上升沿和一个下降沿,你的定时器就会对其比较值进行两次计数。 另外,根据我目前使用 FlexIO 的经验,我猜测你只能处理频率不超过 FlexIO 时钟频率一半的外部信号。除此之外,它还能如何感知双面边缘?为了检测边沿,它需要在每个时钟周期内对外部引脚进行两次采样。
View full article
i.MX8M Plus – Is there any way to access MIPI CSI-2 Embedded Data (DT 0x12) together with RAW image Hello NXP Community, we are currently integrating a MIPI CSI-2 RAW image sensor with an i.MX8M Plus and would like to clarify whether there is any supported or technically possible way to make the sensor's CSI-2 Embedded Data (Data Type 0x12) available to software on the target. Our camera stream has the typical CSI-2 structure: Frame Start Embedded Data DT = 0x12 RAW image data DT = 0x2A / 0x2B / 0x2C Frame End The image data is captured through the MIPI CSI-2 receiver → Gasket → ISI → memory/V4L2 path and this part is working correctly. The problem is that we additionally need the Embedded Data belonging to each frame. The metadata contains frame-related sensor information, and therefore it is important that the metadata can be associated with the corresponding captured image. According to the i.MX 8M Plus Applications Processor Reference Manual, the MIPI CSI-2 receiver provides configurable data-type handling through the CSI-2 receiver registers, in particular the MIPI_CSIx_ISP_CONFIG0 / DATAFORMAT configuration. The relevant MIPI CSI-2 Rx / CSIS register descriptions are in Chapter 13.5, MIPI CSI-2, and in older revisions of the Reference Manual the supported image data types are described around Section 13.5.6.13. We also found NXP Application Note AN13857 – i.MX 8M Series MIPI Capture System, especially Section 7, "Embedded data support". AN13857 states that a stream containing Embedded Data with DT=0x12 and image data with another data type is considered data type interleaving, and that the i.MX 8M series capture system does not support this mode. The suggested workaround is to configure the sensor to transmit the embedded data using the same data type as the image data. Unfortunately, this workaround is not possible with our sensor. The sensor transmits standard CSI-2 Embedded Data using DT 0x12, while the image data uses the corresponding RAW data type. The Embedded Data data type cannot be changed to the RAW image data type. However, we found an older NXP Community discussion specifically concerning the i.MX8MP where NXP TechSupport stated that the CSI hardware should support DT=0x12, while the BSP did not support metadata at that time: https://community.nxp.com/t5/i-MX-Processors/I-MX8MP-capture-MIPI-embedded-data/td-p/1383845 There is also an older discussion about accessing CSI-2 Embedded Data on i.MX8M devices: https://community.nxp.com/t5/i-MX-Processors/Does-iMX8M-CSI-support-metadata-embedded-data/m-p/977554 Therefore, we would like to clarify whether the limitation described in AN13857 applies to the complete hardware path, or mainly to the currently supported ISI/V4L2 capture architecture. Our main question is: Is there any way on the i.MX8M Plus to receive or access the payload of CSI-2 packets with Data Type 0x12 while simultaneously capturing the RAW image stream, even if this requires modifications to the Linux driver? For example, would any of the following approaches be technically possible? Route DT=0x12 and the RAW image data through different CSI/ISI paths or channels. Access the Embedded Data before the ISI, directly from the MIPI CSI-2 receiver. Configure an additional CSI-2 receiver channel/interface for DT=0x12. Use another DMA or memory path for the Embedded Data. Extend the NXP Linux CSI/ISI driver to expose the Embedded Data as a V4L2 metadata node or separate /dev/videoX device. Use any undocumented or currently unsupported hardware functionality of the CSI-2 receiver that would allow the DT=0x12 payload to reach memory. We do not necessarily require an officially supported V4L2 metadata implementation. If the i.MX8M Plus hardware is capable of transferring the DT=0x12 payload to memory, we would also be interested in implementing the necessary kernel/driver changes ourselves. Could NXP please clarify whether the restriction described in AN13857 is: a fundamental hardware limitation of the i.MX8M Plus CSI-2 → Gasket → ISI architecture, meaning that the DT=0x12 payload cannot be transferred to memory while RAW image data is being captured, or a software/driver limitation, for which a custom driver implementation could provide access to the Embedded Data? If it is a hardware limitation, is there any alternative mechanism on the i.MX8M Plus to obtain the Embedded Data payload without changing the camera's CSI-2 output format? Thank you for any clarification or implementation hints. Best regards, Peter Re: i.MX8M Plus – Is there any way to access MIPI CSI-2 Embedded Data (DT 0x12) together with RAW im Hello, The limitation in application note is a hardware architecture limitation of the i.MX8M Plus CSI. The downstream ISI block has no mechanism to separate DT=0x12 payload from the RAW stream. Unfortunately, there is no supported or officially workaround that mentioned in application note. Best regards. Re: i.MX8M Plus – Is there any way to access MIPI CSI-2 Embedded Data (DT 0x12) together with RAW im Does the answer change when using the integrated ISP instead of the ISI? Our RAW Bayer stream can alternatively be routed from the MIPI CSI-2 receiver to the integrated ISP. Is there any mechanism in the ISP capture path to receive or preserve CSI-2 Embedded Data packets (DT=0x12)? In particular, can the ISP or its input interface separate the RAW image data and Embedded Data, or provide the Embedded Data to software through an ISP statistics/metadata buffer? If not, are the DT=0x12 packets simply discarded by the CSI-to-ISP pixel interface?
View full article
定时器触发DMA传输 你好, 我目前正在使用MCXN947微控制器。 我尝试通过 CTIMER 匹配中断触发 DMA 数据传输到采样缓冲区。 其思路是通过 DMA 每隔 x 个定时器间隔(具体来说是每隔 10 微秒)将 GPIO 寄存器的状态(具体来说是某些引脚的输入值)写入采样缓冲区。 我可以确认我的GPIO引脚已正确配置为输入。 我可以确认我的计时器工作正常,每 10 微秒触发一次比赛。 我可以确认我的 DMA 传输工作正常,因为缓冲区会被值填满。 我可以确认源地址(GPIO PDIR 寄存器)在 DMA 配置中已正确设置。 我可以确认我的目标地址在 DMA 配置中也设置正确,因为它始终位于缓冲区起始地址和结束地址之间(这意味着它可以正确递增和循环)。 但不知何故,错误的值被复制到了缓冲区中。我在调试器中看到,我尝试传输的寄存器的值为0x00020000 (引脚 17 为高电平,其余引脚为低电平)。但是,我的缓冲区只填充了0秒。这是一个 uint32_t 类型的缓冲区,包含 512 个元素,全部初始化为0xFF 。随着 DMA 传输的增加,整个缓冲区逐渐被0x0填充,而不是预期的0x00020000值(该值永远不会改变 - 引脚 17 始终为高电平)。 你知道这是什么原因造成的吗?或者我可能遗漏了什么? 以下是我的驱动程序配置: 计时器: CTIMER0 kCTIMER_Match_1 CTIMER0_IRQn(中断触发回调是可选的,但我为了调试目的在我的代码中使用它) DMA: DMA0 kDma0RequestMuxCtimer0M1 kINPUTMUX_Ctimer0M1ToDma0Ch8Ena EDMA_0_CH8_IRQn(中断触发回调是可选的,但我为了调试目的在我的代码中使用它) GPIO: GPIO3 端口3 引脚 17 以下是开始采样之前寄存器的状态。 reg_gpio3.pngreg_gpio3.pngreg_gpio3.pngreg_gpio3.png reg_port3.pngreg_port3.pngreg_port3.pngreg_port3.png reg_edma0_ch8.pngreg_edma0_ch8.pngreg_edma0_ch8.pngreg_edma0_ch8.png reg_inputmux0_dma.pngreg_inputmux0_dma.pngreg_inputmux0_dma.pngreg_inputmux0_dma.png reg_inputmux0_timer.pngreg_inputmux0_timer.pngreg_inputmux0_timer.pngreg_inputmux0_timer.png reg_ctimer0.pngreg_ctimer0.pngreg_ctimer0.pngreg_ctimer0.png             MCX N Re: Timer triggers DMA transfer 你好, 由于IP限制,我无法将我的整个项目发送给您。不过,我可以给你一个包含我的设置的小应用程序的 c 文件。GPIO、DMA 和定时器配置与我这边的相同。文件已附上。 Re: Timer triggers DMA transfer 你好@jabitbe2_jcplc 您能否与我们分享一下您的项目?我想尝试重现这个问题,并在我这边进行调查。 谢谢! 此致, 爱丽丝 Re: Timer triggers DMA transfer 你好@jabitbe2_jcplc MCXN947 支持 TrustZone 和网络安全归因控制。 如果访问源自与引脚安全配置不匹配的安全域,则对相应 GPIO 寄存器的读写操作可能无效。 请您确认 GPIO3 引脚 17 对应的位是否配置为允许非安全访问,并再次进行测试? 如果该位当前配置为仅安全,则意外的 GPIO 行为可能与 TrustZone 安全设置有关。 谢谢! BR 爱丽丝
View full article
[i.MX8MM] DDR PHY 训练固件日志级别:“最大调试”值并集成到 U-Boot 中 尊敬的恩智浦技术支持团队: 我们目前正在使用 MSC DDR 工具/DDR 测试工具调试我们定制的 i.MX 8M Mini 平台上的 DDR 训练问题,并希望澄清 PHY 日志级别配置。 1. 关于配置值 在 DDR 工具 GUI 中, “PHY 日志级别”下拉菜单包含以下选项: 固件已完成 断言消息 阶段完成 粗略调试 详细调试 最大调试 我们检查生成的 .ds 文件。我们注意到脚本中包含一些关于 TrainInfo 设置的注释: # 以下内容仅供工厂内部使用,强烈建议不要更改。 ddrparam 设置 TrainInfo 0x04 # 0x05 = 详细调试(例如眼部延迟) # 0x0A = 粗略调试信息(例如排名信息) # 0xC8 = 阶段完成 # 0xC9 = 断言消息 # 0xFF = 固件完成 # 其他 = 已预留 我们希望直接在 U-Boot SPL 中配置此 PHY 日志详细程度,以便在启动初期通过 UART 捕获完整的训练日志。 2. 将 PHY 日志级别移植到 U-Boot / SPL (lpddr4_timing.c) TrainInfo 日志详细程度参数能否在 DDR 时序结构中定义(例如,在 lpddr4_timing.c 或 SPL 中的 DDR PHY 初始化序列中)? 如果可以,能否请您指导我们如何将 `ddrparam set TrainInfo 0x04` 正确地集成到我们的 U-Boot 代码库中?如果您能指出 lpddr4_timing.c (或 PHY 消息块)中应该映射此参数的具体结构或寄存器,我们将不胜感激。 谢谢你的帮助。 Re: [i.MX8MM] DDR PHY Training Firmware Log Level: Value for "Maximal Debug" and Integrati 你好, Train Info 是一个 PHY 固件参数,通常不是 LPDDR4 时序结构的一部分。我不会直接添加 0x04。 Re: [i.MX8MM] DDR PHY Training Firmware Log Level: Value for "Maximal Debug" and Integrati 你好, 感谢您的回复。 在最近的测试中,我们需要使用以下PHY固件参数启用DDR训练调试信息: ddrparam 设置 TrainInfo 0x04 能否指导我们如何将此命令转换为 U-Boot SDK 中的 C 代码或将其集成到 U-Boot SDK 中(例如,特定的驱动程序结构、API 或配置定义)? 多谢。
View full article
配备 IMX93 芯片组的 Bytesatwork Devboard 1.0 已损坏 大家好,我尝试在配备 IMX93 芯片组的 Bytesatwork Devboard ver 1.0 的 EMMC 上运行 SD-yocto 镜像,但在修改 U-Boot 变量以强制其从 EMMC 启动时,导致开发板变砖了。该镜像为官方 Yocto 镜像(版本 1.0)。5.0.15) 适用于 byteDevkit。 由于无论我在开机前、开机期间还是开机后尝试进行控制台输入,板不再接受 UART 输入,因此在尝试从 SD 卡启动时,我无法执行任何操作。 尝试通过 uuu 和 USB 连接将映像直接刷入 EMMC 也未能成功。uuu 可以使用 -lsusb 命令识别 USB 连接,但是当我尝试刷写镜像时,总是会收到“pipeline -9 broken”的错误提示。我已经用 zadig 将驱动程序更改为 WinUSB,并使用 USB 3.0,因为我的笔记本电脑没有 USB 2.0 端口。 由于我既没有足够的技能也没有足够的知识来尝试构建一个修改过的镜像来解决这个问题,我真的束手无策了,希望你们中的一些人能够帮帮我。 在我对启动环境进行以下更改后,系统彻底崩溃了: -> setenv bootcmd 'mmc dev 0; ext4load mmc 0:1 ${kernel_addr_r} /boot/Image; ext4load mmc 0:1 ${fdt_addr_r} /boot/imx93-bytedevkit.dtb; booti ${kernel_addr_r} - ${fdt_addr_r}' => saveenv 如果我尝试从 EMMC 启动系统(启动模式 0100),系统冻结前会输出以下信息: U-Boot SPL 2024.04-lf_v2024.04_6.6.52_2.2.x-r2+g82d4220bc6b+p0 (2025年7月11日 - 05:04:16 +0000) SOC:0xa1009300 LC:0x2040010 PMIC:PCA9451A PMIC:过驱动电压模式 DDR:3733MTS M33 准备就绪 正常启动 尝试从 BOOTROM 启动 启动阶段:主启动映像偏移量 0x8000,页面大小 0x200,ivt 偏移量 0x0 通过 ROM_API 从 0x58000 加载镜像 注意:TRDC 初始化完成 通知:BL31:v2.10.0(版本):lf-6.6.52-2.2.1 通知:BL31:构建时间:2025年7月7日 06:40:36 如果我尝试从 SD 卡启动(启动模式 1100),在系统冻结之前会看到以下输出: U-Boot 2024.04-lf_v2024.04_6.6.52_2.2.x-r2+g82d4220bc6b+p0 (2025年7月11日 - 05:04:16 +0000) 重置状态:POR CPU:NXP i.MX93(52) Rev1.1 A55,频率 1700 MHz CPU:工业级耐温等级(-40℃至105℃),工作温度39℃ 型号:bytesatwork byteDEVKIT 上的 i.MX93 动态随机存取存储器(DRAM):992 MiB 核心:203 个设备,29 个微类,设备树:独立 MMC:FSL_SDHC:0,FSL_SDHC:1 从MMC加载环境... 成功 视频链接设置失败 输入:串行 输出:串口 错误:串行 构建信息: - ELE固件版本2.0.2-c4131933 UID:401ce440f1124110bd234b09e4709d88 闪存目标是 MMC:0 网: 警告:以太网@428a0000 (eth1) 使用随机 MAC 地址 - 9e:a6:f6:dc:09:91 警告:以太网@42890000 (eth0) 使用随机 MAC 地址 - ce:8f:b2:02:6b:f5 eth0:以太网@42890000,eth1:以太网@428a0000 [PRIME] Fastboot:正常 普通启动 1 秒内自动启动 切换到分区 #0,确定 mmc0(第 0 部分)是当前设备 读取了 35777024 字节,耗时 109 毫秒 (313 MiB/s) 2毫秒内读取了42568字节(20.3 MiB/s) ## 位于 83000000 的扁平化设备树 blob 使用位于 0x83000000 的 fdt blob 启动 工作 FDT 设置为 83000000 正在加载设备树至 000000008fff2000,结束于 000000008ffff647 ... 成功 工作 FDT 设置为 8fff2000 正在启动内核... [ 0.000000] 在物理 CPU 0x0000000000 上启动 Linux [0x412fd050] [ 0.000000] Linux 版本 6.6.52-r2-g472e64a0fc2c(oe-user@oe-host)(aarch64-poky-linux-gcc(GCC)13.4.0,GNU ld (GNU Binutils) 2.42.0.20240723) #1 SMP PREEMPT UTC 2025 年 7 月 8 日星期二 12:00:06 [ 0.000000] 由于缺少种子,KASLR 已禁用 [ 0.000000] 机器型号:bytesatwork byteDEVKIT OSM i.MX93 [ 0.000000] efi:未找到 UEFI。 [ 0.000000] OF: 保留内存: 0x0000000096000000..0x0000000097dfffff (30720 KiB) nomap 不可重用 optee_core@96000000 [ 0.000000] OF: 保留内存: 0x0000000097e00000..0x0000000097ffffff (2048 KiB) nomap 不可重用 optee_shm@97e00000 [ 0.000000] 保留内存:在 0x00000000a4120000 创建了大小为 1 MiB 的 DMA 内存池 [ 0.000000] OF: 保留内存:已初始化节点 ele-reserved@a4120000,兼容 ID shared-dma-pool [ 0.000000] OF: 保留内存: 0x00000000a4120000..0x00000000a421ffff (1024 KiB) nomap non-reusable ele-reserved@a4120000 [ 0.000000] NUMA:未找到 NUMA 配置 [ 0.000000] NUMA:在 [mem 0x0000000080000000-0x00000000bfffffff] 处伪造一个节点 [ 0.000000] NUMA: NODE_DATA [内存 0xbfddb6c0-0xbfdddfff] [ 0.000000] 区域范围: [ 0.000000] DMA [内存 0x0000000080000000-0x00000000bfffffff] [ 0.000000] DMA32 为空 [ 0.000000] 正常空 [ 0.000000] 每个节点的可移动区域起始位置 [ 0.000000] 早期内存节点范围 [ 0.000000] 节点 0: [内存 0x0000000080000000-0x0000000095ffffff] [ 0.000000] 节点 0: [内存 0x0000000098000000-0x00000000a411ffff] [ 0.000000] 节点 0: [内存 0x00000000a4120000-0x00000000a421ffff] [ 0.000000] 节点 0: [内存 0x00000000a4220000-0x00000000bfffffff] [ 0.000000] 初始化内存设置节点 0 [内存 0x0000000080000000-0x00000000bfffffff] [ 0.000000] 在节点 0 上,区域 DMA:8192 页处于不可用范围 [ 0.000000] cma:在节点 -1 的 0x00000000bcc00000 处保留 32 MiB 空间 [ 0.000000] psci:从 DT 探测管道方法。 [ 0.000000] psci: 固件中检测到 PSCIv1.1。 [ 0.000000] psci:使用标准 PSCI v0.2 函数 ID [ 0.000000] psci:无需进行可信操作系统迁移 [ 0.000000] psci:SMC 调用约定 v1.4 [ 0.000000] percpu:嵌入式 22 页/CPU s50856 r8192 d31064 u90112 [ 0.000000] 在 CPU0 上检测到 VIPT 指令缓存 [ 0.000000] CPU 特性:检测到:GIC 系统寄存器 CPU 接口 [ 0.000000] CPU 功能:已检测到:虚拟化主机扩展 [ 0.000000] CPU 特性:检测到:高通勘误表 1009,或 ARM 勘误表 1286807、2441009 [ 0.000000] CPU 特性:检测到:ARM 勘误表 1165522、1319367 或 1530923 [ 0.000000] 替代方案:应用启动替代方案 [ 0.000000] 内核命令行: [ 0.000000] 目录项缓存哈希表条目:131072(阶数:8,1048576 字节,线性) [ 0.000000] Inode 缓存哈希表条目:65536(阶数:7,524288 字节,线性) [ 0.000000] 节点 0 的回退顺序:0 [ 0.000000] 已构建 1 个区域列表,移动性分组已启用。总页数:249856 [ 0.000000] 政策区域:DMA [ 0.000000] 内存自动初始化:栈:全部为零,堆分配:关闭,堆释放:关闭 [ 0.000000] 软件 IO TLB:区域编号 2。 [ 0.000000] 软件 IO TLB:已映射 [内存 0x00000000b8c00000-0x00000000bcc00000] (64MB) [ 0.000000] 内存:可用 859732K/1015808K(内核代码 21248K,读写数据 1658K,只读数据 7848K,初始化 4032K,BSS 641K,保留 123308K,CMA 保留 32768K) [ 0.000000] SLUB:硬件对齐=64,顺序=0-3,最小对象数=0,CPU数=2,节点数=1 [ 0.000000] rcu:可抢占式分层 RCU 实现。 [ 0.000000] rcu: RCU 事件跟踪已启用。 [ 0.000000] rcu: RCU 将 CPU 数量从 NR_CPUS=256 限制为 nr_cpu_ids=2。 [ 0.000000] 已启用 Tasks RCU 的 Trampoline 变体。 [ 0.000000] 任务 RCU 的跟踪变体已启用。 [ 0.000000] rcu: RCU 计算出的调度程序注册延迟值为 25 jiffies。 [ 0.000000] rcu:正在调整 rcu_fanout_leaf=16、nr_cpu_ids=2 的几何结构 [ 0.000000] NR_IRQS:64,nr_irqs:64,预分配中断:0 [ 0.000000] GICv3:GIC:使用分离式 EOI/停用模式 [ 0.000000] GICv3:实施了 960 个 SPI [ 0.000000] GICv3:已实现 0 个扩展 SPI [ 0.000000] 根中断处理程序:gic_handle_irq [ 0.000000] GICv3:GICv3 特征:16 PPI [ 0.000000] GICv3: CPU0: 找到分发器 0 区域 0:0x0000000048040000 [ 0.000000] rcu: srcu_init: 根据争用情况设置 srcu_struct 大小。 [ 0.000000] arch_timer: cp15 定时器以 24.00MHz (phys) 运行。 [ 0.000000] 时钟源:arch_sys_counter:掩码:0xffffffffffffff 最大周期数:0x588fe9dc0,最大空闲时间(纳秒):440795202592 纳秒 [ 0.000000] 调度时钟:56 位,频率 24MHz,分辨率 41ns,每 4398046511097ns 溢出 [ 0.000309] 控制台:彩色虚拟设备 80x25 [ 0.000317] printk: 控制台 [tty0] 已启用 [ 0.000688] 校准延迟循环(已跳过),该值使用定时器频率计算得出。48.00 BogoMIPS (lpj=96000) [ 0.000706] pid_max:默认值:32768 最小值:301 [ 0.000759] LSM:初始化 lsm=能力、完整性 [ 0.000843] 挂载缓存哈希表条目:2048(阶数:2,16384 字节,线性) [ 0.000859] 挂载点缓存哈希表条目:2048(阶数:2,16384 字节,线性) [ 0.001572] cacheinfo:无法检测到 CPU 0 的缓存层次结构 [ 0.002201] RCU 任务:将 shift 设置为 1,将 lim 设置为 1 rcu_task_cb_adjust=1。 [ 0.002289] RCU 任务跟踪:将 shift 设置为 1,将 lim 设置为 1 rcu_task_cb_adjust=1。 [0.002458] rcu:分层SRCU实现。 [ 0.002468] rcu:最大相位无延迟实例数为 1000。 [ 0.003234] EFI 服务将不可用。 [ 0.003397] smp:正在启动辅助 CPU... [ 0.003815] 在 CPU1 上检测到 VIPT 指令缓存 [ 0.003871] GICv3:CPU1:找到重新分发器 100 区域 0:0x0000000048060000 [ 0.003907] CPU1:已启动辅助处理器 0x0000000100 [0x412fd050] [ 0.004022] smp:已启动 1 个节点,2 个 CPU [ 0.004033] SMP:共激活了 2 个处理器。 [ 0.004041] CPU 特性:检测到:32 位 EL0 支持 [ 0.004048] CPU 特性:检测到:32 位 EL1 支持 [ 0.004056] CPU 特性:已检测到:无需将数据缓存清理到 PoU 即可实现 I/D 一致性 [ 0.004066] CPU 特性:检测到:通用翻译而非私有翻译 [ 0.004073] CPU 特性:检测到:CRC32 指令 [ 0.004083] CPU 功能:检测到:RCpc 加载获取 (LDAPR) [ 0.004090] CPU 特性:检测到:LSE 原子指令 [ 0.004098] CPU 特性:检测到:特权访问从不 [ 0.004104] CPU 功能:检测到:RAS 扩展支持 [ 0.004114] CPU 特性:检测到:推测性存储绕过安全机制 (SSBS) [ 0.004176] CPU:所有 CPU 均已在 EL2 级别启动 [ 0.004185] 替代方案:应用系统性替代方案 [ 0.008278] devtmpfs:已初始化 [ 0.012419] 时钟源:jiffies:掩码:0xffffffff 最大周期数:0xffffffff,最大空闲时间(纳秒):7645041785100000 纳秒 [ 0.012459] futex 哈希表条目:512(阶数:3,32768 字节,线性) [ 0.013204] pinctrl 核心:已初始化 pinctrl 子系统 [ 0.014406] DMI 不存在或无效。 [ 0.014867] NET:已注册 PF_NETLINK/PF_ROUTE 协议族 [ 0.016071] DMA:已预分配 128 KiB GFP_KERNEL 池用于原子分配 [ 0.016510] DMA:已为原子分配预分配 128 KiB GFP_KERNEL|GFP_DMA 池 [ 0.016929] DMA:已为原子分配预分配 128 KiB GFP_KERNEL|GFP_DMA32 池 [ 0.017406] thermal_sys:已注册热调速器“step_wise” [ 0.017414] thermal_sys:已注册热调节器“power_allocator” [ 0.017465] cpuidle:使用调速器菜单 [ 0.017560] 硬件断点:找到 6 个断点寄存器和 4 个监视点寄存器。 [ 0.017622] ASID 分配器已初始化,包含 65536 个条目 [ 0.018232] 串口:AMBA PL011 UART 驱动程序 [ 0.018290] imx mu 驱动程序已注册。 [ 0.018309] imx rpmsg 驱动程序已注册。 [ 0.023068] imx93-pinctrl 443c0000.pinctrl:初始化 IMX pinctrl 驱动程序 [ 0.028173] 平台 4ae10000.dsi:修复了与 /soc@0/dsi@4ae10000/panel@0 的依赖循环 [ 0.028214] 平台 4ae10000.dsi:修复了与 /soc@0/lcd-controller@4ae30000 的依赖循环 [ 0.028435] 平台 4ae10000.dsi:修复了与 /soc@0/lcd-controller@4ae30000 的依赖循环 [ 0.028493] 平台 4ae30000.lcd-controller:修复了与 /soc@0/dsi@4ae10000 的依赖循环 [ 0.030703] 模块:23856 页符合非 PLT 使用范围 [ 0.030713] 模块:PLT 使用范围内的模块有 515376 个。 [ 0.031348] HugeTLB:已注册 1.00 GiB 页面大小,预分配 0 个页面 [ 0.031378] HugeTLB:可释放 0 KiB 虚拟内存映射,用于 1.00 GiB 的页面 [ 0.031387] HugeTLB:已注册 32.0 MiB 页面大小,预分配 0 页 [ 0.031394] HugeTLB:可释放 0 KiB vmemmap 以处理 32.0 MiB 的页面 [ 0.031402] HugeTLB:已注册 2.00 MiB 页面大小,预分配 0 个页面 [ 0.031410] HugeTLB:可释放 0 KiB vmemmap 以用于 2.00 MiB 的页面 [ 0.031418] HugeTLB:已注册 64.0 KiB 页面大小,预分配 0 页 [ 0.031425] HugeTLB:可释放 0 KiB 虚拟内存映射,用于 64.0 KiB 的页面 [ 0.032968] ACPI:解释器已禁用。 [ 0.033767] iommu:默认功能域类型:已翻译 [ 0.033793] iommu:DMA 功能域 TLB 失效策略:严格模式 [ 0.034028] SCSI 子系统已初始化 [ 0.034330] usbcore:已注册新的接口驱动程序 usbfs [ 0.034361] usbcore:已注册新的接口驱动程序集线器 [ 0.034386] usbcore:已注册新的设备驱动程序 usb [ 0.035004] mc:Linux 媒体接口:v0.10 [ 0.035046] videodev:Linux 视频捕获接口:v2.00 [ 0.035092] pps_core:LinuxPPS API 版本 1 已注册 [ 0.035101] pps_core:软件版本。5.3.6 - 版权所有 2005-2007 Rodolfo Giometti [email protected] [ 0.035116] 已注册 PTP 时钟支持 [ 0.035269] EDAC MC:版本:3.0.0 [ 0.035732] scmi_core:SCMI 协议总线已注册 [ 0.036098] FPGA 管理器框架 [ 0.036218] 高级 Linux 音频架构驱动程序已初始化。 [ 0.036772] 蓝牙:核心版本 2.22 [ 0.036809] NET:已注册 PF_BLUETOOTH 协议族 [ 0.036817] 蓝牙:HCI 设备和连接管理器已初始化 [ 0.036829] 蓝牙:HCI 套接字层已初始化 [ 0.036838] 蓝牙:L2CAP 套接字层已初始化 [ 0.036856] 蓝牙:SCO套接字层已初始化 [ 0.037251] vgaarb:已加载 [ 0.037658] 时钟源:已切换到时钟源 arch_sys_counter [ 0.037857] VFS:磁盘配额 dquot_6.6.0 [ 0.037885] VFS:Dquot缓存哈希表条目:512(0阶,4096字节) [ 0.038012] pnp:PnP ACPI:已禁用 [ 0.043050] NET:已注册 PF_INET 协议族 [ 0.043208] IP 标识符哈希表条目:16384(阶数:5,131072 字节,线性) [ 0.044113] tcp_listen_portaddr_hash 哈希表条目:512(阶数:1,8192 字节,线性) [ 0.044150] 表扰动哈希表条目:65536(阶数:6,262144 字节,线性) [ 0.044165] TCP 已建立哈希表条目:8192(阶数:4,65536 字节,线性) [ 0.044211] TCP 绑定哈希表条目:8192(阶数:6,262144 字节,线性) [ 0.044493] TCP:哈希表已配置(已建立 8192 端口,绑定 8192 端口) [ 0.044609] UDP 哈希表条目:512(阶数:2,16384 字节,线性) [ 0.044643] UDP-Lite 哈希表条目:512(阶数:2,16384 字节,线性) [ 0.044762] NET:已注册 PF_UNIX/PF_LOCAL 协议族 [ 0.045174] RPC:已注册命名的 UNIX 套接字传输模块。 [ 0.045191] RPC:已注册 UDP 传输模块。 [ 0.045198] RPC:已注册 TCP 传输模块。 [ 0.045204] RPC:已注册 tcp-with-tls 传输模块。 [ 0.045211] RPC:已注册 tcp NFSv4.1 反向通道传输模块。 [ 0.046048] PCI:CLS 0 字节,默认值 64 [ 0.046345] kvm [1]: IPA 大小限制:40 位 [ 0.046372] kvm [1]: GICv3: 没有 GICV 资源条目 [ 0.046381] kvm [1]: 禁用 GICv2 仿真 [ 0.046401] kvm [1]: GIC 系统寄存器 CPU 接口已启用 [ 0.046427] kvm [1]: vgic 中断 IRQ9 [ 0.046455] kvm [1]: VHE 模式初始化成功 [ 0.047296] 初始化系统可信密钥环 [ 0.047511] 工作集:时间戳位数=42 最大阶数=18 桶阶数=0 [0.047754]squashfs:版本4.0(2009/01/31)菲利普·劳格 [ 0.048006] NFS:注册 id_resolver 密钥类型 [ 0.048039] 已注册键类型 id_resolver [ 0.048047] 已注册键类型 id_legacy [ 0.048067] nfs4filelayout_init:NFSv4 文件布局驱动程序正在注册... [ 0.048077] nfs4flexfilelayout_init:NFSv4 Flexfile 布局驱动程序正在注册... [ 0.048099] jffs2:版本 2.2。(与非)© 2001-2006 Red Hat, Inc. [ 0.048292] 9p:正在安装 v9fs 9p2000 文件系统支持 [ 0.069734] 抖动熵:初始化失败,主机不符合要求:9 [ 0.069757] 密钥类型非对称注册 [ 0.069765] 非对称密钥解析器“x509”已注册 [ 0.069818] 已加载块层 SCSI 通用 (bsg) 驱动程序版本 0.4(主版本 243) [ 0.069831] io 调度器 mq-deadline 已注册 [ 0.069839] io 调度器 kyber 已注册 [ 0.069876] io 调度器 bfq 已注册 [ 0.073826] EINJ:ACPI 已禁用。 [ 0.078241] 总线频率驱动模块已加载 [ 0.085775] 串口:8250/16550 驱动程序,4 个端口,已启用 IRQ 共享 [ 0.088108] 44380000.serial:位于 MMIO 0x44380010 的 ttyLP0(中断号 = 17,基本波特率 = 1500000)是一个 FSL_LPUART。 [ 0.088147] fsl-lpuart 44380000.serial:串口:控制台 LPUART 四舍五入波特率,范围从 187500 到 115200 [ 0.088267] printk: 控制台 [ttyLP0] 已启用 [ 1.279060] imx-lcdif:探测 4ae30000.lcd-controller失败,错误代码 -2 [ 1.287354] imx93-ldb ldb-display-controller:无法与 4ae30000.lcd-controller 创建设备链接 (0x180) [ 1.301356] 循环:模块已加载 [ 1.305755] megasas: 07.725.01.00-rc1 [ 1.314046] tun:通用 TUN/TAP 设备驱动程序,1.6 [1.319701]thunder_xcv,版本1.0 [ 1.322988] thunder_bgx,版本 1.0 [ 1.326238] nicpf,版本 1.0 [ 1.330111] hns3:适用于 Hip08 系列的海思以太网网络驱动程序 - 版本 [ 1.337346] hns3: 版权所有 (c) 2017 华为公司。 [ 1.342694] hclge 正在初始化 [ 1.346035] e1000:Intel(R) PRO/1000 网络驱动程序 [ 1.350911] e1000: 版权所有 (c) 1999-2006 英特尔公司。 [ 1.356668] e1000e:Intel(R) PRO/1000 网络驱动程序 [ 1.361632] e1000e: 版权所有(c) 1999 - 2015 英特尔公司。 [ 1.367561] igb:Intel(R) 千兆以太网网络驱动程序 [ 1.372966] igb: 版权所有 (c) 2007-2014 英特尔公司。 [ 1.378547] igbvf:Intel(R) 千兆虚拟功能网络驱动程序 [ 1.384806] igbvf: 版权所有 (c) 2009 - 2012 英特尔公司。 [ 1.390842] sky2:驱动程序版本 1.30 [ 1.394867] usbcore:已注册新的接口驱动程序 catc [ 1.400300] usbcore:已注册新的接口驱动程序 kaweth [ 1.405868] pegasus:Pegasus/Pegasus II USB 以太网驱动程序 [ 1.411457] usbcore:已注册新的接口驱动程序 Pegasus [ 1.417131] usbcore:已注册新的接口驱动程序 rtl8150 [ 1.422796] usbcore:已注册新的设备驱动程序 r8152-cfgselector [ 1.429079] usbcore:已注册新的接口驱动程序 r8152 [ 1.434586] usbcore:已注册新的接口驱动程序 lan78xx [ 1.440254] usbcore:已注册新的接口驱动程序 asix [ 1.445666] usbcore:已注册新的接口驱动程序 ax88179_178a [ 1.451774] usbcore:已注册新的接口驱动程序 cdc_ether [ 1.457612] usbcore:已注册新的接口驱动程序 cdc_eem [ 1.463281] usbcore:已注册新的接口驱动程序 dm9601 [ 1.468861] usbcore:已注册新的接口驱动程序 sr9700 [ 1.474443] usbcore:已注册新的接口驱动程序 CoreChips [ 1.480289] usbcore:已注册新的接口驱动程序 smsc75xx [ 1.486048] usbcore:已注册新的接口驱动程序 smsc95xx [ 1.491802] usbcore:已注册新的接口驱动程序 gl620a [ 1.497387] usbcore:已注册新的接口驱动程序 net1080 [ 1.503065] usbcore:已注册新的接口驱动程序 plusb [ 1.508567] usbcore:已注册新的接口驱动程序 rndis_host [ 1.514501] usbcore:已注册新的接口驱动程序 MOSCHIP usb-ethernet 驱动程序 [ 1.521906] usbcore:已注册新的接口驱动程序 cdc_ncm [ 1.527579] usbcore:已注册新的接口驱动程序 huawei_cdc_ncm [ 1.533859] usbcore:已注册新的接口驱动程序 cdc_mbim [ 1.539618] usbcore:已注册新的接口驱动程序 r8153_ecm [ 1.545875] VFIO - 用户级元驱动程序版本:0.3 [ 1.552654] usbcore:已注册新的接口驱动程序 cdc_wdm [ 1.558531] usbcore:已注册新的接口驱动程序 uas [ 1.563873] usbcore:已注册新的接口驱动程序 usb-storage [ 1.569962] usbcore:已注册新的接口驱动程序 usbserial_generic [ 1.576505] usbserial:已为通用 USB 串行支持注册 [ 1.582517] usbcore:已注册新的接口驱动程序 ftdi_sio [ 1.588268] usbserial:已为 FTDI USB 串口设备注册 USB 串口支持 [ 1.595589] usbcore:已注册新的接口驱动程序 usb_serial_simple [ 1.602118] usbserial:已为 CareLink 注册 USB 串口支持 [ 1.608224] usbserial:已为 flashloader 注册 USB 串口支持 [ 1.614591] usbserial:已为 funsoft 注册 USB 串口支持 [ 1.620604] usbserial:已为 Google 注册 USB 串口支持 [ 1.626532] usbserial:已为 hp4x 注册 USB 串口支持 [ 1.632286] usbserial:已为 kaufmann 注册 USB 串口支持 [ 1.638387] usbserial:libtransistor 已注册 USB 串口支持 [ 1.644926] usbserial:已为 moto_modem 注册 USB 串口支持 [ 1.651197] usbserial:已为 motorola_tetra 注册 USB 串口支持 [ 1.657818] usbserial:诺基亚已注册 USB 串口支持 [ 1.663659] usbserial:已为 novatel_gps 注册 USB 串口支持 [ 1.670021] usbserial:已为 siemens_mpi 注册 USB 串口支持 [ 1.676390] usbserial:已为 Suunto 注册 USB 串口支持 [ 1.682320] usbserial:vivopay 已注册 USB 串口支持 [ 1.688333] usbserial:已为 zio 注册 USB 串口支持 [ 1.694007] usbcore:已注册新的接口驱动程序 usb_ehset_test [ 1.701353] imx_usb 4c200000.usb:未定义过电流极性 [ 1.708038] UDC 核心:g_serial:找不到可用的 UDC [ 1.715325] 输入:44440000.bbnsm:pwrkey作为 /devices/platform/soc@0/44000000.bus/44440000.bbnsm/44440000.bbnsm:pwrkey/input/input0 [ 1.730471] bbnsm_rtc 44440000.bbnsm:rtc:注册为 rtc0 [ 1.736808] bbnsm_rtc 44440000.bbnsm:rtc:将系统时钟设置为 1970-01-01T00:00:00 UTC (0) [ 1.746038] i2c_dev:i2c /dev 条目驱动程序 [ 1.753139] imx7ulp-wdt 42490000.watchdog:imx93 wdt探针 [ 1.787402] 蓝牙:HCI UART 驱动程序版本 2.3 [ 1.791883] 蓝牙:HCI UART 协议 H4 已注册 [ 1.797022] 蓝牙:HCI UART 协议 BCSP 已注册 [ 1.802352] 蓝牙:HCI UART 协议 LL 已注册 [ 1.807488] 蓝牙:HCI UART 协议 ATH3K 已注册 [ 1.812890] 蓝牙:HCI UART 协议三线 (H5) 已注册 [ 1.819284] 蓝牙:HCI UART 协议,博通公司已注册 [ 1.824994] 蓝牙:HCI UART 协议 QCA 已注册 [ 1.831298] sdhci:安全数字主机控制器接口驱动程序 [ 1.837532] sdhci:版权所有 (c) 皮埃尔·奥斯曼 [ 1.842202] Synopsys Designware 多媒体卡接口驱动程序 [ 1.848543] sdhci-pltfm:SDHCI 平台和 OF 驱动程序助手 [ 1.855334] ledtrig-cpu:已注册以指示 CPU 活动 [ 1.863232] fsl-se secure-enclave:已分配预留内存节点 ele-reserved@a4120000 [ 1.873387] fsl-se secure-enclave:已成功注册 ele-trng [ 1.879142] random: crng 初始化完成 [ 1.879689] fsl-se secure-enclave: i.MX secure-enclave: hsm0 接口到固件,已配置。 [ 1.891850] SMCCC: SOC_ID: ARCH_SOC_ID 未实现,跳过.... [ 1.898604] usbcore:已注册新的接口驱动程序 usbhid [ 1.904183] usbhid:USB HID 核心驱动程序 [ 1.904309] mmc0:42850000.mmc 上的 SDHCI 控制器 [42850000.mmc]使用ADMA [ 1.945753] imx93-adc 44530000.adc:ADC校准失败! [ 1.951368] imx93-adc:对 44530000.adc 的探测失败,错误代码为 -11 [ 1.958480] 硬件性能事件:已启用 armv8_cortex_a55 PMU 驱动程序,可用计数器为 7 个 [ 1.968425] cs_system_cfg:CoreSight 配置管理器已初始化 [ 1.976335] optee:探测管道方法。 [ 1.977451] mmc0:地址 0001 处新增 HS400 增强型频闪 MMC 卡 [ 1.980811] optee:修订版 4.4 (ecea75b7fee5a3c8) [ 1.987571] optee:动态共享内存已启用 [1.987831]mmcblk0:mmc0:0001 016G01 14.5 GiB [ 1.992772] optee:已初始化驱动程序 [ 1.998748] mmcblk0: p1 [ 2.004322] NET:已注册 PF_LLC 协议族 [ 2.005920] mmcblk0boot0: mmc0:0001 016G01 8.00 MiB [ 2.008032] u32 分类器 [ 2.013839] mmcblk0boot1: mmc0:0001 016G01 8.00 MiB [ 2.017621] 输入设备检查开启 [ 2.021299] mmcblk0rpmb: mmc0:0001 016G01 4.00 MiB,字符设备 (234:0) [ 2.025176] 已配置的操作 [ 2.039098] NET:已注册 PF_INET6 协议族 [ 2.044802] IPv6 分段路由 [ 2.048507] 基于 IPv6 的原地 OAM (IOAM) [ 2.052513] NET:已注册 PF_PACKET 协议族 [ 2.057586] bridge:默认情况下不再支持通过 arp/ip/ip6tables 进行过滤。如果需要,请更新脚本以加载 br_netfilter。 [ 2.070641] 蓝牙:RFCOMM TTY 层已初始化 [ 2.075541] 蓝牙:RFCOMM 套接字层已初始化 [ 2.080716] 蓝牙:RFCOMM 版本 1.11 [ 2.084473] 蓝牙:BNEP(以太网仿真)版本 1.3 [ 2.089778] 蓝牙:BNEP 过滤器:协议组播 [ 2.094999] 蓝牙:BNEP 套接字层已初始化 [ 2.099961] 蓝牙:HIDP(人机接口仿真)版本 1.2 [ 2.105875] 蓝牙:HIDP 套接字层已初始化 [ 2.111098] 8021q:802.1Q VLAN 支持 v1.8 [ 2.115320] lib80211:IEEE802.11驱动程序的通用例程 [ 2.121028] 9pnet:正在安装 9P2000 支持 [ 2.125419] 已注册密钥类型 dns_resolver [ 2.143506] 已注册 taskstats 版本 1 [ 2.147939] 正在加载编译内置的 X.509 证书 [ 2.172921] usb_phy_generic usbphynop1:不允许对独占请求使用虚拟供应 [ 2.181294] usb_phy_generic usbphynop2:不允许对独占请求使用虚拟供应 [ 2.198616] imx93-ldb ldb-display-controller:无法与 ldb-phy 创建设备链接 (0x180)。 [2.210799]dw-mipi-dsi-imx 4ae10000.dsi:修复了与 /soc@0/dsi@4ae10000/panel@0 的依赖循环 [2.220052]mipi-dsi 4ae10000.dsi.0:修复了与 /soc@0/dsi@4ae10000 的依赖循环 [ 2.228927] imx-drm 显示子系统:已绑定 imx-lcdifv3-crtc.0(操作 lcdifv3_crtc_ops) [ 2.236979] imx-drm 显示子系统:绑定 4ae10000.dsi(操作 dw_mipi_dsi_imx_ops) [ 2.244908] imx-drm 显示子系统:绑定 ldb-display-controller(操作 imx93_ldb_ops) [ 2.253294] [drm] 为次设备号为 0 的显示子系统初始化 imx-drm 1.0.0 20120507 [ 2.802984] 控制台:切换到彩色帧缓冲区 设备 60x53 [ 2.828150] imx-drm 显示子系统:[drm] fb0:imx-drmdrmfb 帧缓冲区设备 [ 2.837814] pps pps0:新的 PPS 源 ptp0 [ 2.846512] fec 42890000.ethernet eth0:已注册 PHC 设备 0 [ 2.853413] imx-dwmac 428a0000.ethernet:未找到 IRQ eth_lpi [ 2.859635] imx-dwmac 428a0000.ethernet:用户 ID:0x10,Synopsys ID:0x52 [ 2.866514] imx-dwmac 428a0000.ethernet:DWMAC4/5 [ 2.871338] imx-dwmac 428a0000.ethernet:DMA 硬件功能寄存器支持 [ 2.878525] imx-dwmac 428a0000.ethernet:支持 RX 校验和卸载引擎 [ 2.885704] imx-dwmac 428a0000.ethernet:支持插入 TX 校验和 [ 2.892440] imx-dwmac 428a0000.ethernet:支持局域网唤醒 [ 2.898623] imx-dwmac 428a0000.ethernet:通过硬件看门狗定时器启用接收缓解 [ 2.906332] imx-dwmac 428a0000.ethernet:已启用 L3L4 流 TC(条目=8) [ 2.913173] imx-dwmac 428a0000.ethernet:已启用 RFS 流 TC(条目数=10) [ 2.920027] imx-dwmac 428a0000.ethernet:启用硬件TC(条目数=256,最大关闭次数=256) [ 2.927635] imx-dwmac 428a0000.ethernet:使用 32/32 位 DMA 主机/设备宽度 [ 2.942363] imx_usb 4c200000.usb:未定义过电流极性 [2.954776]ci_hdrc ci_hdrc.0:EHCI 主机控制器 [2.961299]ci_hdrc ci_hdrc.0:新USB总线已注册,分配总线编号1 [2.985668]ci_hdrc ci_hdrc.0:USB 2.0 已启动,EHCI 1.00 [ 2.993524] hub 1-0:1.0:发现 USB 集线器 [ 2.998921] hub 1-0:1.0: 检测到 1 个端口 [ 3.008793] Goodix-TS 0-005d:未找到电源 AVDD28,使用虚拟稳压器 [ 3.019083] Goodix-TS 0-005d:未找到电源 VDDIO,使用虚拟稳压器 [ 3.125704] Goodix-TS 0-005d:从 0x8140 读取 1 个字节时出错:-5 [ 3.161700] Goodix-TS 0-005d:从 0x8140 读取 1 个字节时出错:-5 [3.197663]Goodix-TS 0-005d:I2C通信失败:-5 [ 3.206490] Goodix-TS:0-005d 探测失败,错误代码 -5 [ 3.215233] i2c i2c-0:LPI2C 适配器已注册 [ 3.222451] nxp-pca9450 1-0025:未配置 IRQ? [ 3.224819] tca6418 1-0034:设备已初始化 [ 3.227276] nxp-pca9450:对 1-0025 的探测失败,错误代码为 -22 [ 3.244047] Goodix-TS 1-005d:未找到电源 AVDD28,使用虚拟稳压器 [ 3.254216] Goodix-TS 1-005d:未找到电源 VDDIO,使用虚拟稳压器 [ 3.361719] Goodix-TS 1-005d:从 0x8140 读取 1 个字节时出错:-5 [ 3.397698] Goodix-TS 1-005d:从 0x8140 读取 1 个字节时出错:-5 [3.433661]Goodix-TS 1-005d:I2C通信失败:-5 [ 3.442457] Goodix-TS:1-005d 探测失败,错误代码 -5 [ 3.451205] i2c i2c-1:LPI2C 适配器已注册 [ 3.458342] imx_usb 4c100000.usb:未定义过电流极性 [ 3.471095] g_serial gadget.0:小工具序列号 v2.4 [ 3.477393] g_serial gadget.0:g_serial 就绪 [ 3.485854] sdhci-esdhc-imx 42860000.mmc:已获取 CD GPIO [ 3.486159] cfg80211:正在加载监管数据库的编译内 X.509 证书 [ 3.504424] 已加载 X.509 证书“sforshee: 00b28ddf47aef9cea7” [ 3.513610] 已加载 X.509 证书“wens: 61c038651aabdcf94bd0ac7ff06c7248db18c600” [ 3.521940] mmc1:SDHCI 控制器位于 42860000.mmc [42860000.mmc]使用ADMA [ 3.523888] 平台监管.0:直接加载 regulatory.db 的固件失败,错误代码为 -2 [ 3.531273] clk:禁用未使用的时钟 [ 3.539449] cfg80211:加载 regulatory.db 失败 [ 3.557817] ALSA 设备列表: [ 3.562298] 未找到声卡。 [ 3.568049] /dev/root:无法打开块设备 [ 3.573684] VFS:无法打开根设备“&”或未知块(0,0):错误 -6 [ 3.583559] 请添加正确的“root=”启动选项;以下是可用分区: [ 3.594850] b300 15187968 mmcblk0 [ 3.594855] 驱动程序:mmcblk [ 3.604564] b301 7497318 mmcblk0p1 076c4a2a-01 [ 3.604569] [ 3.612052] mmc1:主机不支持读取只读开关,假定其为写使能开关 [ 3.612806] b320 8192 mmcblk0boot0 [ 3.625056](驱动程序?) [ 3.634669] b340 8192 mmcblk0boot1 [ 3.634673](驱动程序?) [ 3.644238] 所有 bdev 文件系统列表: [ 3.644587] mmc1:地址 0001 处新增超高速 SDR104 SDXC 卡 [ 3.648243] ext3 [ 3.648245] ext4 [ 3.648246] ext2 [ 3.648248] squashfs [3.655362]mmcblk1:mmc1:0001 SD64G 58.3 GiB [ 3.656759] vfat [ 3.656761] [ 3.656766] 内核崩溃 - 未同步:VFS:无法在未知块(0,0)上挂载根文件系统 [ 3.656770] CPU:1 PID:1 通信:swapper/0 未被污染 6.6.52-r2-g472e64a0fc2c#1 [ 3.656775] 硬件名称:bytesatwork byteDEVKIT OSM i.MX93 (DT) [ 3.656778] 调用跟踪: [ 3.656780] dump_backtrace+0x90/0xe8 [ 3.656794] 显示堆栈+0x18/0x24 [ 3.656801] dump_stack_lvl+0x48/0x60 [ 3.656807] dump_stack+0x18/0x24 [ 3.656811] panic+0x324/0x380 [ 3.656818] mount_root_generic+0x260/0x330 [ 3.656825] mount_root+0x170/0x334 [ 3.656829] prepare_namespace+0x6c/0x2a4 [ 3.656833] kernel_init_freeable+0x244/0x284 [ 3.656837] kernel_init+0x24/0x1dc [ 3.656843] ret_from_fork+0x10/0x20 [ 3.656849] SMP:停止辅助 CPU [ 3.658689] 内核偏移:已禁用 [ 3.658690] CPU 特性:0x0,c0000000,40028143,1000721b [ 3.658694] 内存限制:无 [ 3.789243] ---[ 内核崩溃结束 - 未同步:VFS:无法在未知块(0,0)上挂载根文件系统 ]--- Linux 疑似软件缺陷 Yocto Project Re: Bricked Bytesatwork Devboard 1.0 with IMX93 chipset 你好@Johny1 希望你一切都好。 由于这是第三方板和软件,我们不提供支持。 请直接联系Bytesatwork。 顺祝商祺! 萨拉斯。
View full article
S32K311 HSE固件刷写算法及生命周期解锁查询(使用P&E Cyclone FX) 我们目前正在进行一个使用 S32K311 MCU 的项目。客户提供了 HseLib_HseFwInstall_Driver.hex 和 app.hex,我们使用的是 P&E Cyclone FX 编程器。我们想请恩智浦半导体的专家帮忙确认一款全新MCU的算法选择: 1. 将 HseLib_HseFwInstall_Driver.hex 烧录到全新的 MCU(nxp_s32k311-1x32x212k_hse_enabled.arp 或 nxp_s32k311-1x32x212k_hse_disabled.arp)时,应该使用哪种算法? 2. HSE驱动程序刷写完成后应该选择哪种算法? 3. 如何确认 HSE 驱动程序是否成功安装? 4. 如果MCU的生命周期被锁定,如何才能解锁? 提前谢谢您。 Re: S32K311 HSE Firmware Flashing Algorithm and Lifecycle Unlock Inquiry (Using P&E Cyclone FX) HI 根据名称HseLib _HseFwInstall_Driver 来看,它似乎是一家中国客户,并引用了中国 FAE 提供的HSE_Lib演示。 A1. nxp_s32k311-1x32x212k_hse_disabled.arp A2.我建议您询问客户他们安装的 HSE 固件是 FULL_MEM 还是 AB_SWAP。 如果您要安装 FULL_MEM,请选择 nxp_s32k311_1x32x212k_hse_enabled.arp。 如果您要安装 AB_SWAP,请选择 nxp_s32k311_1x32x168k_ab_swap.arp。 A3. 检查 HSE GPR 寄存器,地址为 0x4039C028。位“0”表示是否已安装 HSE 固件。 A4。我不确定生命周期已经发展到哪个阶段了。如果您询问有关调试访问的问题,我建议您参考 S32K3XXRM Rev12 中的“ 82.11 跨设备生命周期的调试”。 可信:成功认证后(使用正确的凭据进行质询/响应握手)即可进行调试。 参见: ...\s32k3_hse_lib_rtd400hf01_20260427\Doc\ S32K3_SecureDebug_UserGuide.pdf此文档需要从中国 FAE 或您的客户处获取。 支持 NXP Automotive S32K311-SECUREDEBUG! 恩智浦:使用 PEmicro 工具实现 S32K3xx 安全调试支持 此致敬礼, Robin Re: S32K311 HSE Firmware Flashing Algorithm and Lifecycle Unlock Inquiry (Using P&E Cyclone FX) 我不熟悉 P&E Cyclone FX,所以我建议参考S32K3 HSE 固件安装问题中的讨论。 0x4039C028=0xC1,Bit1=1,表示 HSE 固件运行正常。 Re: S32K311 HSE Firmware Flashing Algorithm and Lifecycle Unlock Inquiry (Using P&E Cyclone FX) 你好,罗宾, 感谢您的帮助。 此外,我按照下图所示的编程顺序设置了 HSE 镜像(使用外部电源 + 编程继电器)。 刷写固件后,从MCU读取到的地址处的实际数据如下。 地址内容.PNG 请您帮我再确认一下有没有什么问题?谢谢。
View full article
GUIGuider 1.10.1 to 2.0.0 migration We have build our GUIGuider projects in version 1.10.1 and I am interested in migrating to the new 2.0.0 version to check out the new features. I found out the old GUIGuider project file could not be loaded in the new version, and I think it is because of the new JSON structure 2.0.0 projects use. Is there an easy way to migrate the projects to the newer version of GUIGuider or do we have to manually convert it? Re: GUIGuider 1.10.1 to 2.0.0 migration Hi @MJHammers_ICP, As you correctly mention, due to the redesigned architecture and new project structure of GUI Guider v2.0.0, this new version of GUI Guider is not fully backward compatible with GUI Guider v1.x. The recommended path would be to recreate the project in GUI Guider v2.0 rather than attempting a file-level conversion. You can find the recommended migration workflow to help you with this task in the following link: Tutorials — GUI Guider Documentation BR, Edwin.
View full article
S32K3 ADC 外部チャネルの利用 こんにちは。NXPチーム S32K3 ADCの外部チャネルの使い方 . Re: S32K3 ADC Use of external channels こんにちは、 @VaneBさん これに関して、追加の質問があります。 もし私のデザインにマルチマックスがなくても、例えばセンサ1にADC1_X[0]、センサ2にADC1_X[1]、そしてADC1_Xセンサ3にだけ使いたい場合は、MAピンをGPIO出力ピンなど他の用途で再利用してLEDを駆動することは可能でしょうか? 私のデザインはs32k344をベースにしています Re: S32K3 ADC Use of external channels NPXチームの皆様、こんにちは。 このトピックに関連して、以下の図のようなSCHを実装することが可能かどうか確認していただけますか? サポートありがとうございます。 Re: S32K3 ADC Use of external channels @VaneB ご協力いただき、誠にありがとうございました。 Re: S32K3 ADC Use of external channels こんにちは@Niuyanlin 各ADCは外部アナログ多重化器の8チャネル中1チャネルを選択するために使う3つの外部デコード信号(MA)を提供し、最大4つのマルチプレクサを設置して32の外部チャネルを接続できます。つまり、これら4つのマルチプレクサは同じMA信号を共有します。 ADCは変換対象の現在のチャネルに基づき、これらの外部アナログ多重化器を制御するよう自動設定します。マスクレジスタのビットに応じて、対応する「X」ピンがサンプリングされ、その結果が「MA」と「X」の組み合わせに対応する場所に格納されます。 当社の開発ボードには外部アナログ多重化装置が設計されていないため、そのような例は実装されていません。 Re: S32K3 ADC Use of external channels こんにちは。ヴェインB あなたのプロンプトによると、RTDで外部チャネルADCを使った例が見つかりません。もし対応するルーティンがあれば、ぜひ送っていただけると嬉しいです。どうもありがとうございます。 Re: S32K3 ADC Use of external channels こんにちは@Niuyanlin RTDで役立つかもしれないADCの実装例が見つかります。 BR VaneB
View full article
FreeMASTER 3.2.7 Update - Release Announcement Version 3.2.7 of the NXP FreeMASTER tool has just been published online.  This version is backward compatible and fully replaces older 3.2.x releases (see previous announcements). It brings new features and bugfixes described below. The updated installer is available along with documentation and other resources at http://www.nxp.com/freemaster.   Release description FreeMASTER is a powerful data visualization tool developed and provided by NXP to help users monitor and control embedded applications running on NXP’s targets. It works with almost all NXP Arm ® Cortex®-M and other microcontrollers from both Edge Processing and Automotive business lines as well as with DSC and legacy Power Architecture, ColdFire and HCS12/Z platforms. Note that the license terms and conditions does not allow using FreeMASTER with non-authorized systems from other vendors. Version 3.2.7 is a minor update of the 3.2.x mainline release. It overwrites the previous 3.2 version installed on the host computer. Older 2.x, 3.0, and 3.1 versions are not removed; however, the communication plug-ins installed with the latest version are globally registered in the operating system and will also be used by older versions. This version is backward compatible with all previous versions. It supports variable monitoring, oscilloscope real-time graphs, fast transient recorder graphs, array-to-graph views, and connectivity to third-party applications. It includes two Chromium-based HTML rendering engines—CEF and Microsoft Edge WebView2—with full support for JSON-RPC, HTML5, and JavaScript to create custom dashboards and other user interfaces running inside FreeMASTER. The older Internet Explorer rendering engine, with the ActiveX interface and protocol defined for version 2.x, is also still supported. FreeMASTER Lite, which is part of the FreeMASTER installation package, provides the communication core for Windows and Linux systems. It is accessible similarly to the FreeMASTER desktop application over the JSON-RPC interface. FreeMASTER Lite also embeds the popular Node-RED framework for graphical programming and provides many examples of its use with the FreeMASTER tool. More information related to Node-RED can be found in the dedicated training video. FreeMASTER Node.js Installable Modules enable convenient use of the FreeMASTER JSON-RPC components in a Node.js applications managed by the ‘npm’ package manager. Version 3.2.7 contains FreeMASTER Lite and Node.JS modules internally referred as version 1.4. Installing FreeMASTER Lite will require you to enter an activation code generated for this version. Get your free code on the License Keys tab at the license information page. New Features Version 3.2.7 introduces the following new features: P&E Micro debugging probes support updated This version includes the latest update of P&E Micro drivers, enabling JTAG communication with the newest NXP microcontrollers. Chromium browser component updated The Chromium browser has been updated to the most recent version, addressing several incompatibility issues and re-enabling the JScript debugger and other DevTools within FreeMASTER. ELF/DWARF parser extended  ELF file parser has been extended to locate static variables inside C++ anonymous namespaces. Bugfixes and other extensions: FreeMASTER Fixed "Show-As" style of floating point variables generated automatically from ELF symbols. Fixed CAN communication plug-in issue in its Configuration dialog. Fixed PD-BDM communication plug-in timing during initial connection to target. Fixed ELF file selection after forcing its file path by external script SetProjectOptions(). Fixed CEF and Edge web browser components to enable cross-origin content loading from file: resources. Fixed project corruption when deleting variable assigned to X-Axis in an XY graph. Related Content NXP MCUXpresso SDK For consumer, industrial or IoT edge applications, the FreeMASTER communication driver is distributed as a "middleware" component of MCUXpresso SDK. The driver sources are publicly available on GitHub along with documentation. The most convenient way to get a full SDK package including FreeMASTER and other middleware components is via the MCUXpresso SDK Builder. The full SDK is also available on GitHub. S32 Design Studio for S32 Platform For automotive parts, the FreeMASTER communication driver is distributed as an eclipse update site for S32 Design Studio. Latest versions can be installed directly from within the IDE by accessing "S32DS Extension and Updates" from "Help" menu. Additionally, it can be downloaded both as eclipse update site and a stand-alone zip archive via the Flexera Links available on FreeMASTER's home page. The distribution already includes ready to use examples. More advanced applications and demos are available on NXP's Application Code Hub (ACH). Zephyr sample applications FreeMASTER sample applications for Zephyr demonstrate Zephyr logging and shell running over FreeMASTER pipe as well as runtime visualization of Zephyr thread information, CPU utilization and stack usage. Thread performance data can be displayed in common graphs with application-specific data making it great runtime tuning tool. Release target audience Both FreeMASTER and FreeMASTER Lite are primarily targeted to our customers, engineers and developers of NXP embedded applications from Industrial, IoT and Automotive areas who want to monitor and control their applications at runtime. FreeMASTER is also a strong framework which can be used to create interactive demos and user interfaces helping to use the embedded applications by yet wider target audience. Prerequisites FreeMASTER tools run on the host computer and communicates with the target microcontroller application using Serial, CAN, Ethernet/WiFi network, JTAG, BDM or other physical interface. The microcontroller communication drivers are available as part of MCUXpresso SDK, S32 Design Studio or as a standalone installation package. Get familiar with the communication protocol and the microcontroller driver API before using the FreeMASTER tool. License terms and conditions permit use of FreeMASTER solely with systems based on NXP microprocessor or microcontroller systems. Packages A single self-extracting installation package which contains both FreeMASTER desktop application and the new FreeMASTER Lite service is available for Windows platforms. JTAG/ BDM Serial CAN TCP/IP Segger RTT FreeMASTER Desktop app. x86 for Windows ✓ ✓ ✓ ✓ ✓ Separate packages are available for FreeMASTER Lite containing x64 binaries for Windows & Linux platforms with the following supported communication interfaces. JTAG/ BDM Serial CAN TCP/IP Segger RTT FreeMASTER Lite x64 for Windows ✓* ✓ ✓ ✓ ✓ FreeMASTER Lite x64 for Linux ✗ ✓ ✗ ✓ ✗ *Requires 64 bit version of the 3 rd  party library. Tested with Segger (JLink_x64.dll). Access the installation and documentation at the FreeMASTER home page at https://www.nxp.com/freemaster.
View full article
S32K146 FLEXCAN RJW構成 S32K146において、FLEXCANのRJW構成はPSEG2と比較して何らかの影響を及ぼしますか? Re: S32K146 FLEXCAN RJW config こんにちは、@ Salan これは私の間違いでした。RJWの設定エラーを示すエラーメッセージが表示されていると思い込んでいました。 RJWは、再同期中のPESG1セグメントの延長時間とPSEG2セグメントの短縮時間を表す。PSEG2セグメントを短縮すると、サンプリングポイントが後方にシフトすることになり、シフト量が大きすぎるとサンプリング誤差が生じる。 SO CANビットタイミング要件では、再同期ジャンプ幅が4時間量子を超えてはならず、またPHASE_SEG1セグメント内の時間量子数を超えてはならないと書かれています。 Re: S32K146 FLEXCAN RJW config 図に示すように、RJWを3に設定し、PSEG2よりも大きくしましたが、「実現不可能」という警告は表示されませんでした。 可能であれば、レジスタの設定がこの方法にどんな影響があるのか教えていただけますか? Re: S32K146 FLEXCAN RJW config こんにちは、@ Salan S32 DSを使用してFlexCanを設定すると、それが不可能であることが明示的に通知されます。 Re: S32K146 FLEXCAN RJW config CANプロトコルによると、SJWはPSEG2≤PSEG1、SJW≤4Tq≤。 FLAXCANレジスタでSJWがPSEG2より大きい値に設定されている場合、何か影響はありますか? Re: S32K146 FLEXCAN RJW config こんにちは、@ Salan S32K146 FlexCANの場合、PSEG2は公称ビット時間とサンプルポイントに影響を与えますが、RJWは再同期調整を制限するだけで、公称ビットレートの計算には含まれません。 Re: S32K146 FLEXCAN RJW config RJWの値がPSEG2の値よりも高い場合、影響はありますか?
View full article
i.MX8MPにTRACE32をアタッチできません FRDM-i.MX8MPLUSボードに接続しようとしていますが、失敗します。NXPブログのガイドに従いました: https://community.nxp.com/t5/NXP-Tech-Blog/Debug-i-MX8MP-Linux-with-TRACE32/ba-p/1582382 私の手順は以下の通りです。 echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state1/disable echo 1 > /sys/devices/system/cpu/cpu1/cpuidle/state1/disable echo 1 > /sys/devices/system/cpu/cpu2/cpuidle/state1/disable echo 1 > /sys/devices/system/cpu/cpu3/cpuidle/state1/disable echo 1 > /sys/devices/system/cpu/cpu0/cpuidle/state0/disable echo 1 > /sys/devices/system/cpu/cpu1/cpuidle/state0/disable echo 1 > /sys/devices/system/cpu/cpu2/cpuidle/state0/disable echo 1 > /sys/devices/system/cpu/cpu3/cpuidle/state0/disable 次に、以下のTRACE32コマンドを実行します。 RESet SYStem.RESet SYStem.CPU IMX8MQ CORE.ASSIGN 1. 2. 3. 4. SYStem.Option MMUSPACES ON SYStem.Option IMASKASM ON SYStem.Mode Attach しかし、TRACE32はAttachコマンドで停止し、アタッチ処理が完了しません。 以前にこの問題に遭遇した方、または原因をご存知の方はいらっしゃいますか? よろしくお願いします。 Re: Unable to Attach TRACE32 to i.MX8MP こんにちは、 はい、手順はこれで正しいです。デバイスが正しく接続されていることを確認してください。また、何をデバッグしようとしているのですか?Ubootですか、Linuxですか、それとも他の何かでしょうか? 敬具/サルドス、 アルド。
View full article
P1013 CPU/CCB/DDR Underclocking for Thermal and Communication Stability I have old P1013NSE2MHB components on dev boards.  I want to work to under clock them to reduce the thermal load on the component and use the communication clock for PCIe and SPI standard from the P1013NSE2LFB component, It is what I am most familiar with. Essentially, I want to have the P1013NSE2MHB use the P1013NXE2LFB PLL clocking setup, i.e, CPU/CCB/DDR final clock rates of the P1013NSE2MHB to be 1067/533/533 MHz.  Based on the AN4343 Section 6 both components should be able to support the 1067/533/533 clock speeds.  The only concern that I have is that the CCB limit of the P1013NSE2MHB is supposedly 480MHz. I can find no reasoning for this besides that only CCB clocks 400 and 480 MHz can use the built in PLL settings to get to the maximum of 1200MHz. (See AN4343 Section 6.2.1 Table 16) I just want the CPU to have a core clock of 1067MHz.  Both the P1013NSE2MHB use the P1013NXE2LFB are from the exact same line and should share the same architecture, the improvement in the CPU maximum clock to 1200MHz should not prevent the previously implemented CCB architecture from being used to reach a lower CPU clock speed. Unless the CCB bus was redesigned, which would be a massive waste of resources, to support the new CPU even though it isn't radically different.  Thanks for any insights. QorIQ P1 Devices Re: P1013 CPU/CCB/DDR Underclocking for Thermal and Communication Stability It seems the architecture may be different according to the data below, the CPU/CCB/DDR may not share the same trend CPU/CCB/DDR frequency (MHz) LF=1067/533/667    MH=1200/480/800 But this is old device so may need to check with NXP internal team for the explaination Re: P1013 CPU/CCB/DDR Underclocking for Thermal and Communication Stability The T2080/T2081 are not the processors I am asking about. I am looking at the P1013/P1022 processors. Re: P1013 CPU/CCB/DDR Underclocking for Thermal and Communication Stability Hello, Yes — the documentation supports your observation that CPU/core, platform/CCB, and DDR do not have to follow the same scaling trend on T2080/T2081, because they are generated by different PLL domains and the memory bus is explicitly dictated by its own PLL . Core and platform clocks are generated by different PLLs , and the T2080/T2081 clocking map exposes separate status/control points for core-cluster PLLs, the platform PLL, and the DDR PLL ( Clocking_PLLCnGSR , Clocking_PLLPGSR , Clocking_PLLDGSR ) The hardware specs also state directly that the memory bus clock speed is dictated by its own PLL. So the architectural explanation is: CPU/core frequency comes from the core cluster PLL(s) and may run at PLL/1, /2, or /4 depending on configuration. Platform/CCB frequency is a separate platform clock domain with its own allowed SYSCLK ratios. DDR frequency is separate again, and the memory bus clock is half the DDR data rate and is controlled by its own PLL That is why a non-monotonic-looking pair such as: LF = 1067 / 533 / 667 MH = 1200 / 480 / 800 is architecturally plausible in principle: the three domains are not required to rise and fall together. However, I could not find those exact two T2080 frequency triplets documented in the available T2080/T2081 material.   Regards
View full article
FRDM-MCXA156の「MCU-LINK」ポートが動作しません こんにちは。 FRDM-MCXA156を入手しました。USBケーブルをMCU-Linkポートに接続しても、Windows 10システムは全く反応しません。システムのデバイスマネージャーを確認しましたが、新しいデバイスは表示されていませんでした。 LED D12とD6が点滅しています。D7は点灯しています。 LinkServer_26.5.59をインストールしました。 他に私にできることはありますか? THX。 蔡。 開発ボード MCXA Re: FRDM-MCXA156 'MCU-LINK' port not work こんにちは、 @phantomgz さん、 投稿ありがとうございます。 UM12121の「3.4」の項を参照して、mcu-linkファームウェアを更新してください。ファームウェアアップデートユーティリティを使用したMCU-Linkファームウェアのアップデート: Linkserver_26.3.123 の最新スクリプトを使用することをお勧めします。 お役に立てば幸いです。 BR セレステ Re: FRDM-MCXA156 'MCU-LINK' port not work UM12121 FRDM-MCXA156ボードユーザーマニュアル(3.3 MCU-Linkファームウェアアップデートユーティリティのインストール用) UG10219 LinkServerとMCUXpresso IDEの統合
View full article
imx95 NPU 上的 MoveNet 姿态产生错误结果 嗨, ,我正试图在 iMX95 NPU 上验证 MoveNet 的姿势检测,但它似乎生成了无效的姿势骨架。在 iMX95 中央处理器上运行相同的机型也没问题。 我下载了一个 int8 量化版本: wget -q -O model.tflite https://tfhub.dev/google/lite-model/movenet/singlepose/thunder/tflite/int8/4?lite-format=tflite 之后,我将其转换为 npu: eiq-neutron-sdk-linux-3.1.2/bin/neutron-converter --target imx95 --input model.tflite --output model_npu.tflite 然后我将这些模型和所附的图像(man.jpg)都复制到我的 imx95 设备上,然后使用 cpu 和 npu 参数运行了 python 脚本: root@mydevice:~# python3 draw_skeleton.py cpu /usr/lib/python3.13/site-packages/tflite_runtime/interpreter.py:457: UserWarning: Warning: tf.lite.Interpreter is deprecated and is scheduled for deletion in TF 2.20. Please use the LiteRT interpreter from the ai_edge_litert package. See the [migration guide](https://ai.google.dev/edge/litert/migration) for details. warnings.warn(_INTERPRETER_DELETION_WARNING) Using CPU: model.tflite INFO: Created TensorFlow Lite XNNPACK delegate for CPU. root@mydevice:~# cp pose_output.jpg pose_output_cpu.jpg root@mydevice:~# python3 draw_skeleton.py npu /usr/lib/python3.13/site-packages/tflite_runtime/[ 156.433505] remoteproc remoteproc0: powering up neutron-rproc interpreter.py:457: UserWarning:[ 156.440691] remoteproc remoteproc0: Booting fw image NeutronFirmware.elf, size 46388 Warning: tf.[ 156.450073] remoteproc remoteproc0: remote processor neutron-rproc is now up lite.Interpreter is deprecated and is scheduled for deletion in TF 2.20. Please use the LiteRT interpreter from the ai_edge_litert package. See the [migration guide](https://ai.google.dev/edge/litert/migration) for details. warnings.warn(_INTERPRETER_DELETION_WARNING) INFO: NeutronDelegate delegate: 3 nodes delegated out of 84 nodes with 3 partitions. INFO: Neutron delegate version: v1.0.0-d98743a7, zerocp enabled. INFO: Neutron delegate version: v1.0.0-d98743a7, zerocp enabled. INFO: Neutron delegate version: v1.0.0-d98743a7, zerocp enabled. Using NPU delegate: model_npu.tflite INFO: Created TensorFlow Lite XNNPACK delegate for CPU. [ 157.705821] remoteproc remoteproc0: stopped remote processor neutron-rproc root@mydevice:~# cp pose_output.jpg pose_output_npu.jpg CPU 输出正常: NPU 的输出不正确: 我的内核是 6.12.49。我使用了 NXP yocto 中的默认委托、固件和库,并尝试用 Neutron SDK 3.1.2 中的委托、固件和库替换它们。结果也差不多。我还尝试了不同的中子变流器选项,但这无济于事。 那么 我的程序有什么问题吗?(使用中子变流器转换 MoveNet int8 tflite + 在 neutron_delegate 上运行) 中子变流器有错误吗? 我发现 A1 版本的芯片可能存在 NPU 错误。这可能是问题所在吗? https://community.nxp.com/t5/Other-NXP-Products/i-MX95-EVK-REV-A1-LF-6-6-52-2-2-2-Ported-DMS-demo-CPU-works-NPU/td-p/2355702 U-Boot:" CPU:i.mx9596 rev2.0 在 1800MHz 时使用 " cat /sys/devices/soc0/revision:" 2.0 " 作为补充信息,我可以让 Yolo-26-n pose 正常工作,它没有类似的问题。但这并不是解决我的问题的正确方法。 致以最诚挚的问候, Sami Re: MoveNet pose on imx95 NPU produces faulty results 你好,Chavira, 感谢您的快速回复。它与您所附的模型一起工作。然后我尝试了你使用的相同变流器命令,看起来优化标志修复了模型。我用这个命令进行了转换: eiq-neutron-sdk-linux-3.1.2/bin/neutron-converter --input model.tflite --target imx95 --output model_npu.tflite --optimization-level OOpt 之后,NPU 检测功能就好用多了。 不过,我注意到,如果使用完全相同的标志多次运行转换,每一轮得到的模型都会有一些不同的表现。大多数转换后的模型都能正确检测到骨架,但也有一些存在问题。因此,仿佛在每次中子变流器传递到所得模型时都会引入一些变化。如果我在任何一个转换后的模型上重复运行推理,每次都会输出相同的结果。因此,模型推理是确定性的,但模型转换却不是。 我看到编译器中有"--force-determinism" 标志。这似乎稳定了转换的确定性,但创建的模型同样无法正确绘制骨架。 那么,我有几个后续问题: 是否有任何标志组合能使模型的行为与原始模型完全相似(即CPU)模式?还是说,我必须测试每种构件,看看哪种构件可以正常工作? " cat /sys/devices/soc0/revision " 2.0 是指芯片修订版 A1 还是 B0?我的设备上有散热器 + 粘贴,所以我看不懂标记。 关于你问的电路板支持包版本:我使用 Variscite DART-IMX95 而 Yocto 来自 Variscite,使用内核 6.12.49。为了进行测试,我更新了 eIQ Neutron SDK 3.1.2 中的 libneutron_delegate.so、NeutronFirmware.elf 和 libNeutronDriver.so。 致以最诚挚的问候, Sami Re: MoveNet pose on imx95 NPU produces faulty results 您好@saminurm, 感谢您联系恩智浦支持中心。 我已经按照您分享的步骤进行了操作,并在我这边使用相同版本的 SDK 成功重现了预期行为。 你能否确认一下你是否已经更新了主板上的所有必填文件?此外,你能告诉我你目前使用的是哪个 BSP 版本吗?作为参考,我正在使用 BSP 版本 6.18。 在我的设置中,我使用以下方式执行了示例: python3 draw_skeleton.py npu 并获得了以下输出: NEUTRON_ENABLE_ZERO_COPY: 0 INFO: NeutronDelegate delegate: 3 nodes delegated out of 84 nodes with 3 partitions. INFO: Neutron delegate version: v1.0.0-d98743a7, non-zerocp. Using NPU delegate: model_npu.tflite INFO: Created TensorFlow Lite XNNPACK delegate for CPU. 对于模型转换,我使用了以下命令: .\neutron-converter.exe ` --input "4.tflite" ` --target imx95 ` --output "4_neutron.tflite" ` --dump-after-optimize "optimized.tflite" ` --dump-after-extract "extracted.tflite" ` --dump-statistics ` --optimization-level OOpt 请确认您的设置是否符合这些步骤和配置? 致以最崇高的敬意, Chavira Re: MoveNet pose on imx95 NPU produces faulty results 嗨 @saminurm, 不幸的是,不支持这种行为,因为我们的内部说明中已将其明确记录为免责声明。不过,一旦确定了一个运行正常且稳定的模型,您就可以放心将其部署到产品中。 您可以在转换过程中尝试使用 --force-determinism 选项,以获得更可重现的结果。话虽如此,在某些情况下,此选项可能会对性能或转化质量产生负面影响,因此并非总是推荐的做法。 此致, ·查维拉 Re: MoveNet pose on imx95 NPU produces faulty results 你好@saminurm 1) 根据我们的文档: 免责声明 请注意,对于 Neutron-S 目标,变流器使用非确定性的受限编程求解器。 这意味着对同一型号进行后续转换时,生成的微代码会略有不同,特别是在 TCM 地址方面。 这是因为求解器是多线程的,多个线程会竞争以寻找最优解。 由于可能存在多个最优解,这些不同的解(线程)将竞相冲向终点,结果可能是每次获胜的解都不尽相同。 但关键在于,所有这些不同的解法都是同样正确且最优的,它们之间的差异并不重要。 虽然有一些方法可以强制实现确定性,但这些方法会导致转换时间增加,这通常是不可接受的。 说明: 中子-C靶(例如iMXRT700) 和 Neutron-S 目标 (例如iMX95 和 iMX943 在该工具中采用完全不同的工作流程,从而导致用户体验不同。 在将同一模型转换为不同目标平台时,转换时间可能会有显著差异: 例如,将同一模型分别转换为 iMX95(4 核 Neutron-S)和 iMX943(1 核 Neutron-S)时,iMX943 的转换时间会更长。 这是因为 iMX943 的内部存储器(TCM)比 iMX95 小(仅为后者的四分之一),导致需要生成更多数量的较小图块。 由于 iMX943 的处理单元数量多于 iMX95,调度器可调用的处理单元更多(自由度更高),从而导致转换时间更长。 总而言之,是的,你可以多次尝试,以找到最适合你的选项。 2) 2.0 版是 B0 版本。 此致, ·查维拉 Re: MoveNet pose on imx95 NPU produces faulty results 你好,Chavira, 谢谢。B0 意味着我们没有那个存在缺陷的 NPU。 #!/bin/bash set -e CONVERTER=~/tools/eiq-neutron-sdk-linux-3.1.2/bin/neutron-converter [email protected] for i in $(seq 1 10); do printf -v idx "%04d" "$i" echo "=== Run $idx/10 ===" "$CONVERTER" \ --input model.tflite \ --target imx95 \ --output model_npu.tflite \ --optimization-level OOpt scp model_npu.tflite "$DEVICE": ssh "$DEVICE" python3 draw_skeleton.py npu scp "$DEVICE":pose_output.jpg "pose_output_${idx}.jpg" echo "Saved pose_output_${idx}.jpg" done echo "Done. 10 runs completed." 上面的代码展示了这个问题。有时根本检测不到骨架,有时骨架又乱七八糟。 那么,你能帮我找出任何能稳定转换为 " " 差异不应该与免责声明级别的 " 相关的中子变流器选项吗? 致以最诚挚的问候, Sami   Re: MoveNet pose on imx95 NPU produces faulty results 你好,Chavira, 好的,谢谢你的信息。我想我们接下来就该这么做,测试不同的转换方案。请问有没有适合 imx95 NPU 的推荐姿势检测模型?最好是能很好地适配 NPU 内部架构的。 此致, Sami
View full article
IMX8M+(BT+WiFiモジュール搭載)(AW-XB583MA-PUR)BTの初期化には50~60秒かかります。 NXPチームの皆様へ 当社はiMx8M+ベースのカスタムボードを使用しており、PCIeとUARTを介してそれぞれBTとWiFi(Azurawave製のモジュールAW-XB583MA-PUR)を使用しています。 BTの初期化中に問題が発生しており、UART経由で最初のHCIリセットコマンドを送信してから応答が得られるまでに約50~60秒(常に一定の時間)かかります。Azurawaveチームと確認・デバッグを行ったところ、NXP側にも確認するよう提案されました(彼らの見解では、これはNXP側の問題である可能性が高いとのことです)。 以下は、SoCとモジュール間の接続図です。 NXP: UART1_RXD <---> モジュール: UART TXD NXP: UART1_TXD <---> モジュール: UART RXD NXP: UART3_TXD <---> モジュール: UART RTS NXP: UART3_RXD <---> モジュール: UART CTS デバイスツリーの変更点: &uart1 { /* BT */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; 割り当てられたクロック = <&clk IMX8MP_CLK_UART1>; 割り当てられたクロック親 = <&clk IMX8MP_SYS_PLL1_80M>; /*fsl,uart-has-rtscts;*/ ステータス = "正常"; }; pinctrl_uart1: uart1grp { fsl、pins = < MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX 0x140 MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX 0x140 MX8MP_IOMUXC_UART3_RXD__UART1_DCE_CTS 0x140 MX8MP_IOMUXC_UART3_TXD__UART1_DCE_RTS 0x140 >; }; i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Linux Re: IMX8M+ w/ BT+WiFi module (AW-XB583MA-PUR) BT takes 50-60 seconds time to get initialized こんにちは、 @hiteshviradiya さん。 お元気でお過ごしのことと思います。 デバイスツリーの詳細を教えていただけますか?Pinmuxのコードしか見えません。 また、使用しているBSPのバージョンと、Wi-Fiモジュールへの接続に使用しているドライバの詳細も教えてください。 よろしくお願いいたします。 サラス。 Re: IMX8M+ w/ BT+WiFi module (AW-XB583MA-PUR) BT takes 50-60 seconds time to get initialized @Manuel_Salas様、 弊社では、カスタマイズされたBuildroot(バージョン2024.08)を使用しています。カーネルバージョン:6.6.36。以前、BT関連のデバイスツリーコードとPinmuxを共有しましたが、以下に改めて共有します。 &uart1 { /* BT */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_uart1>; 割り当てられたクロック = <&clk IMX8MP_CLK_UART1>; 割り当てられたクロック親 = <&clk IMX8MP_SYS_PLL1_80M>; fsl、uart-has-rtscts; ステータス = "正常"; }; pinctrl_uart1: uart1grp { fsl、pins = < MX8MP_IOMUXC_UART1_RXD__UART1_DCE_RX 0x140 MX8MP_IOMUXC_UART1_TXD__UART1_DCE_TX 0x140 MX8MP_IOMUXC_UART3_RXD__UART1_DCE_CTS 0x140 MX8MP_IOMUXC_UART3_TXD__UART1_DCE_RTS 0x140 >; }; 他に特定のデバイスツリーノードが必要な場合はお知らせください。 Re: IMX8M+ w/ BT+WiFi module (AW-XB583MA-PUR) BT takes 50-60 seconds time to get initialized こんにちは、 使用しているドライバを指定してください。 それは習慣ですか?当サイトのBSPではAW-XB583MAを直接サポートしていません。 よろしくお願いいたします。 サラス。 Re: IMX8M+ w/ BT+WiFi module (AW-XB583MA-PUR) BT takes 50-60 seconds time to get initialized 現在は汎用UARTドライバが使用されています
View full article
HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Good Morning ! I am trying to get ready with FRDM i.MX 93 with getting started guide: Guide I downloaded FRDM-IMX93 Demo Images (tried REV.1.0 and REV4.0), but keep getting same error message.  Tried command from guide: .\uuu.exe -b sd_all imx-image-full-imx93frdm.rootfs.wic.zst uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 Build in config: Pctl Chip Vid Pid BcdVersion Serial_No ================================================== SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff] SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff] SDPS: MX8DXL 0x1fc9 0x0147 SDPS: MX28 0x15a2 0x004f SDPS: MX815 0x1fc9 0x013e SDPS: MX865 0x1fc9 0x0146 SDPS: MX8ULP 0x1fc9 0x014a SDPS: MX8ULP 0x1fc9 0x014b SDPS: MX93 0x1fc9 0x014e SDPS: MX91 0x1fc9 0x0159 SDPS: MX95 0x1fc9 0x015d SDPS: MX95 0x1fc9 0x015c SDPS: MX943 0x1fc9 0x0027 SDPS: MX952 0x1fc9 0x0028 SDP: MX7D 0x15a2 0x0076 SDP: MX6Q 0x15a2 0x0054 SDP: MX6D 0x15a2 0x0061 SDP: MX6SL 0x15a2 0x0063 SDP: MX6SX 0x15a2 0x0071 SDP: MX6UL 0x15a2 0x007d SDP: MX6ULL 0x15a2 0x0080 SDP: MX6SLL 0x1fc9 0x0128 SDP: MX7ULP 0x1fc9 0x0126 SDP: MXRT106X 0x1fc9 0x0135 SDP: MX8MM 0x1fc9 0x0134 SDP: MX8MQ 0x1fc9 0x012b SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff] SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998] SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998] SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999] SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff] SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998] FBK: 0x066f 0x9afe FBK: 0x066f 0x9bff FBK: 0x1fc9 0x0153 FB: 0x0525 0xa4a5 FB: 0x18d1 0x0d02 FB: 0x3016 0x0001 FB: 0x1fc9 0x0152 FB: 0x0483 0x0afb Run built-in script: uuu_version 1.4.149 # @_flash.bin | bootloader, which can extract from wic image # @_image [_flash.bin] | wic image burn to emmc. # This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ SDP: boot -f imx-image-full-imx93frdm.rootfs.wic.zst/* -scanlimited 0x800000 # This command will be run when ROM support stream mode # i.MX8QXP, i.MX8QM SDPS: boot -scanterm -f imx-image-full-imx93frdm.rootfs.wic.zst/* -scanlimited 0x800000 # These commands will be run when use SPL and will be skipped if no spl # SDPU will be deprecated. please use SDPV instead of SDPU # { SDPU: delay 1000 SDPU: write -f imx-image-full-imx93frdm.rootfs.wic.zst/* -offset 0x57c00 -scanlimited 0x800000 SDPU: jump -scanlimited 0x800000 # } # These commands will be run when use SPL and will be skipped if no spl # if (SPL support SDPV) # { SDPV: delay 1000 SDPV: write -f imx-image-full-imx93frdm.rootfs.wic.zst/* -skipspl -scanterm -scanlimited 0x800000 SDPV: jump -scanlimited 0x800000 # } FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${sd_dev} FB: ucmd mmc dev ${sd_dev} FB: flash -raw2sparse all imx-image-full-imx93frdm.rootfs.wic.zst/* FB: flash -scanterm -scanlimited 0x800000 bootloader imx-image-full-imx93frdm.rootfs.wic.zst/* FB: done Wait for Known USB Device Appear... New USB Device Attached at 4:2-23F11C6A09B54230 4:2-23F11C6A09B54230>Start Cmd:SDPS: boot -scanterm -f imx-image-full-imx93frdm.rootfs.wic.zst/* -scanlimited 0x800000 Decompress file:>imx-image-full-imx93frdm.rootfs.wic.zst 14%4:2-23F11C6A09B54230>Fail HID(W): LIBUSB_ERROR_TIMEOUT (-7)(20.15s) Then I tried .\uuu.exe -v -b emmc_all .\imx-boot-imx93frdm-sd.bin-flash_singleboot .\imx-image-full-imx93frdm.rootfs.wic.zst, but also got same error meassage: uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 Build in config: Pctl Chip Vid Pid BcdVersion Serial_No ================================================== SDPS: MX8QXP 0x1fc9 0x012f [0x0002..0xffff] SDPS: MX8QM 0x1fc9 0x0129 [0x0002..0xffff] SDPS: MX8DXL 0x1fc9 0x0147 SDPS: MX28 0x15a2 0x004f SDPS: MX815 0x1fc9 0x013e SDPS: MX865 0x1fc9 0x0146 SDPS: MX8ULP 0x1fc9 0x014a SDPS: MX8ULP 0x1fc9 0x014b SDPS: MX93 0x1fc9 0x014e SDPS: MX91 0x1fc9 0x0159 SDPS: MX95 0x1fc9 0x015d SDPS: MX95 0x1fc9 0x015c SDPS: MX943 0x1fc9 0x0027 SDPS: MX952 0x1fc9 0x0028 SDP: MX7D 0x15a2 0x0076 SDP: MX6Q 0x15a2 0x0054 SDP: MX6D 0x15a2 0x0061 SDP: MX6SL 0x15a2 0x0063 SDP: MX6SX 0x15a2 0x0071 SDP: MX6UL 0x15a2 0x007d SDP: MX6ULL 0x15a2 0x0080 SDP: MX6SLL 0x1fc9 0x0128 SDP: MX7ULP 0x1fc9 0x0126 SDP: MXRT106X 0x1fc9 0x0135 SDP: MX8MM 0x1fc9 0x0134 SDP: MX8MQ 0x1fc9 0x012b SDPU: SPL 0x0525 0xb4a4 [0x0000..0x04ff] SDPV: SPL1 0x0525 0xb4a4 [0x0500..0x9998] SDPV: SPL1 0x1fc9 0x0151 [0x0500..0x9998] SDPU: SPL 0x0525 0xb4a4 [0x9999..0x9999] SDPU: SPL 0x3016 0x1001 [0x0000..0x04ff] SDPV: SPL1 0x3016 0x1001 [0x0500..0x9998] FBK: 0x066f 0x9afe FBK: 0x066f 0x9bff FBK: 0x1fc9 0x0153 FB: 0x0525 0xa4a5 FB: 0x18d1 0x0d02 FB: 0x3016 0x0001 FB: 0x1fc9 0x0152 FB: 0x0483 0x0afb Run built-in script: uuu_version 1.4.149 # @_flash.bin | bootloader, which can extract from wic image # @_image [_flash.bin] | wic image burn to emmc. # This command will be run when i.MX6/7 i.MX8MM, i.MX8MQ SDP: boot -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -scanlimited 0x800000 # This command will be run when ROM support stream mode # i.MX8QXP, i.MX8QM SDPS: boot -scanterm -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -scanlimited 0x800000 # These commands will be run when use SPL and will be skipped if no spl # SDPU will be deprecated. please use SDPV instead of SDPU # { SDPU: delay 1000 SDPU: write -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -offset 0x57c00 SDPU: jump -scanlimited 0x800000 # } # These commands will be run when use SPL and will be skipped if no spl # if (SPL support SDPV) # { SDPV: delay 1000 SDPV: write -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -skipspl -scanterm -scanlimited 0x800000 SDPV: jump -scanlimited 0x800000 # } FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${emmc_dev} FB: ucmd mmc dev ${emmc_dev} FB: flash -raw2sparse all .\imx-image-full-imx93frdm.rootfs.wic.zst/* FB: flash -scanterm -scanlimited 0x800000 bootloader .\imx-boot-imx93frdm-sd.bin-flash_singleboot FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi; FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0 FB: done Wait for Known USB Device Appear... New USB Device Attached at 4:2- 4:2->Start Cmd:SDPS: boot -scanterm -f .\imx-boot-imx93frdm-sd.bin-flash_singleboot -scanlimited 0x800000 4:2->Fail HID(W): LIBUSB_ERROR_TIMEOUT (-7)(20.02s) I am using latest uuu.exe version. Also with new drivers on windows. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Same here. I'm trying with Ubuntu 20.04 and same error occured. sudo ~/uuu-ubuntu20.04 -lsusb uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 Connected Known USB Devices Path Chip Pro Vid Pid BcdVersion Serial_no ==================================================================== 1:3 MX93 SDPS: 0x1FC9 0x014E 0x0001 8214D79A2FFA4708 sudo ~/uuu-ubuntu20.04 -b emmc_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot imx-image-core-imx93-11x11-lpddr4x-frdm.rootfs-20260608162024.wic.zst uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.243-0-g230f1b1 Success 0 Failure 1 1:3-8214D79A 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash... I tried both with MACHINE=imx93frdm and MACHINE=imx93-11x11-lpddr4x-frdm and same result. I just see this log on UART DEBUG: U-Boot SPL 2024.04+gde16f4f1722+p0 (Sep 02 2024 - 10:44:35 +0000) SOC: 0xa1009300 LC: 0x2040010 PMIC: PCA9451A PMIC: Over Drive Voltage Mode DDR: 3733MTS DDR: 3733MTS M33 prepare ok There's no solution anywhere and no one is helping. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Hello, Please try with the standard BSP release from here: https://www.nxp.com/design/design-center/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applications-processors:IMXLINUX Also, I would rather recommend to not use the compressed rootfs, please uncompress (un-zst) and try again. Best regards/Saludos, Aldo. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Hi,  I am facing the same problem.  The board is booting fine from the emmc but when I try to flash the SD card in any way it does not work. I tried flashing one of the pre-built images on the imx93 FRDM main page (compressed and un-compressed) using uuu I also used dd:  zstd -d imx-image-full-imx93frdm.rootfs.wic.zst -c | sudo dd of=/dev/mmcblk0 bs=4M status=progress conv=fsync then when I boot the board from the SD card it does not fully boot and stops there U-Boot SPL 2024.04+gde16f4f1722+p0 (Sep 02 2024 - 10:44:35 +0000) SOC: 0xa1009300 LC: 0x2040010 PMIC: PCA9451A PMIC: Over Drive Voltage Mode DDR: 3733MTS DDR: 3733MTS M33 prepare ok And I faced this same output after booting up when I tried flashing the SD card with the Debian-based image using flex-installer. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Hello!! For the first issue, please note that you'll need the bootloader not only the rootfs, so you'll need to run a command like the following: ./uuu -b emmc_all flash.bin imx-image-full-imx93frdm.rootfs.wic For the issue that it uses dd, is the same please do not use compressed rootfs (un-zst) Best regards/Saludos, Aldo. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Also please update the guide I linked in first post to help others :). Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Hello, Glad that it is now working, I will double check the script maybe it uses a different bootloader, and yes we are working on improvingthe documentation for the FRDM boards we apreciate your comments. Best regards/Saludos, Aldo. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Well I think it worked with the latest software You linked and command: .\uuu.exe -v uuu.auto-imx93-11x11-lpddr4x-frdm But I don't know is it the best solution, because now my board introduces itself as "imx93evk" not imx93frdm. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 As I told it is not working, check my comment above. The only way to make it work is: .\uuu.exe -v uuu.auto-imx93-11x11-lpddr4x-frdm Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Hi, I have run into this problem as well, trying out a i.MX 93 FRDM development board. The training guide I found was wrong and misleading, the demo firmware package contains a pile of files with no info as to what each one is, and the usage of the "uuu" utility is almost incomprehensible (at least to me!), even after reading the manual for it.  Here's what I have figured out.  Someone please correct me if I got this wrong. I downloaded the demo firmware package "LF_v6.18.20-2.0.0_images_IMX93EVK.zip". I wanted to test the process of writing a firmware image to the uSD card and/or the built-in eMMC. Here is what worked: * I think files with names like "imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot" are bootloader images for specific boards and different configurations. I chose this one for writing to uSD card on my board. * I think "imx-image-full-imx93evk.wic" is the Linux image (rootfs, etc). There is only one, so I guess it's the same for all supported dev boards? * As per comments above, don't try to use the zipped version "imx-image-full-imx93evk.tar.zst"? To write to uSD card: * Power off board * Insert uSD card * Connect board "USB1_C" port to laptop via USB-C cable * Set boot switches to [3:0] 0001 for serial download mode * Use this uuu command from the firmware folder: # Copy BOOTLOADER ONLY to the SD card: uuu -b sd imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot # OR: Copy bootloader and linux image: uuu -b sd_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot imx-image-full-imx93evk.wic * Power on the board. UUU should automatically detect the board and start the download. For writing the files to eMMC, you use these commands: # Bootloader Only: uuu -b emcc imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot # OR: Bootloader and Image: uuu -b emmc_all imx-boot-imx93-11x11-lpddr4x-frdm-sd.bin-flash_singleboot imx-image-full-imx93evk.wic I don't know what the difference is between the various boot loader files. @Kapixxx   Your method probably did work. I think all the boards use the same Linux rootfs so they all have the host name "imx93evk". However, I have not figured out how to use a uuu script (e.g. "uuu.auto-imx93-11x11-lpddr4x-frdm") to write to uSD card rather than eMMC. The relationship between the supplied command line parameters, built-in scripts, and supplied script files is unclear. Re: HID(W): LIBUSB_ERROR_TIMEOUT (-7) FRDM i.MX 93 Same thing with me here's everything I've tried (I used claude to make all this formatting neater.) Even the other suggestion in this thread did not work. I am using Ubuntu 22.04 LTS if that makes any difference. LIBUSB_ERROR_TIMEOUT booting FRDM-IMX93 via lkss.py boot / uuu Board / Environment Board: FRDM-IMX93 Chip / Protocol: MX93 SDPS (Vid 0x1FC9, Pid 0x014E, BcdVersion 0x0001) Host: Bare-metal Ubuntu 22.04 (dual boot, not a VM) uuu version: libuuu_1.5.243-0-g230f1b1 Boot switch state: 1000 (serial download / USB boot mode, per course docs) USB connection: BOOT USB-C port on board → direct to host USB port, no hub Cable: Official cable shipped with the dev board (~2 weeks old) Symptom ./scripts/lkss.py boot (and manual uuu -b scripts/boot/uuu_script ...) consistently fails at the same point (~14-20% into the SDPS boot transfer of flash.bin) with: 1:9- 1/ 1 [HID(W): LIBUSB_ERROR_TIMEOUT (-7) ] SDPS: boot -scanterm -f /path/to/flash.bin -scanlimited 0x800000 Failed to boot the board Board correctly enumerates over USB (confirmed via lsusb and dmesg) and is recognized by uuu -lsusb: Connected Known USB Devices Path Chip Pro Vid Pid BcdVersion Serial_no ==================================================================== 1:9 MX93 SDPS: 0x1FC9 0x014E 0x0001 dmesg shows a single clean enumeration event at connect time, with no disconnect/re-enumeration/xHCI errors during the failed transfer: [ 1070.013188] usb 1-9: new high-speed USB device number 7 using xhci_hcd [ 1070.224213] usb 1-9: New USB device found, idVendor=1fc9, idProduct=014e, bcdDevice= 0.01 [ 1070.224223] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ 1070.224227] usb 1-9: Product: OO Blank 93 [ 1070.224230] usb 1-9: Manufacturer: NXP SemiConductor Inc [ 1070.246463] hid-generic 0003:1FC9:014E.0010: hiddev4,hidraw10: USB HID v1.10 Device [NXP SemiConductor Inc OO Blank 93] on usb-0000:02:00.0-9/input0 scripts/boot/uuu_script contents # This script can be used to boot the FRDM-IMX93 board using eMMC. # What this does is it writes the rootfs to eMMC and then places # the kernel image and DTB in RAM. # # Parameter list: # # @_flash.bin => boot container # @_rootfs => Rootfs (EXT2) # @_Image => Linux Kernel Image # @_dtb => Linux Kernel DTB # boot into u-boot proper SDPS: boot -scanterm -f _flash.bin -scanlimited 0x800000 # write rootfs to eMMC FB: ucmd setenv fastboot_dev mmc FB: ucmd setenv mmcdev ${emmc_dev} FB: ucmd mmc dev ${emmc_dev} FB: flash all _rootfs # write kernel image to RAM FB: ucmd setenv fastboot_buffer ${loadaddr} FB: download -f _Image # write DTB to RAM FB: ucmd setenv fastboot_buffer ${fdt_addr} FB: download -f _dtb # overwrite bootargs FB: ucmd setenv bootargs ${bootargs} root=/dev/mmcblk0 rootwait FB: acmd booti ${loadaddr} - ${fdt_addr} FB: done, Artifacts being transferred flash.bin (boot container, imx9-boot-sd.bin from lkss-buildroot) - uncompressed rootfs (rootfs.ext2 from lkss-buildroot) - uncompressed Image (8.9M) - kernel image imx93-11x11-frdm.dtb (37K) None of the transferred artifacts are compressed (.zst/.gz), ruling out decompression-during-transfer as a cause. What's been tried (all failed with the same LIBUSB_ERROR_TIMEOUT) Default lkss.py boot invocation (unmodified uuu_script) Verified boot switch is in correct 1000 (serial download) position Verified BOOT USB port is used (not POWER or DEBUG) Power-cycling with cable connected before power, and after power (both orders tried) Confirmed no USB hub in the path - direct host connection Confirmed already running as root (lkss.py invokes sudo uuu ... internally) Checked dmesg -w live during transfer - clean single enumeration, no drop/disconnect events Added -scanterm -scanlimited 0x800000 flags to the SDPS: boot line (matches a workaround reported in an NXP community thread for the same board/error) - no change Multiple consecutive retries with board power-cycled between attempts Manual invocation of uuu binary directly (bypassing lkss.py wrapper) with -v verbose flag - same failure point/error Checked silicon revision via uuu -lsusb - BcdVersion 0x0001, matches known-working revisions reported elsewhere
View full article
FAQs – TEA2376 Interleaved PFC Controller Introduction The TEA2376 is a digital configurable two-phase interleaved PFC controller intended for high-efficiency power supplies. It supports DCM / QR operation with valley switching, programmable protections, phase shedding, burst mode, and MTP-based parameter configuration. The TEA2376DT variant additionally supports dedicated I²C pins for live parameter access during operation, a POWERGOOD output, and a BURST input, making it especially suitable for development and system interaction. 1) What is the TEA2376? The TEA2376 is a digital configurable interleaved PFC controller with two phases for high-efficiency power supplies. It is intended for applications such as TVs, servers, PCs, gaming consoles, high-power adapters, 5G supplies, home audio, and similar products that require high power factor, low THD, and good efficiency over a wide load range. 2) What is the difference between the TEA2376AT, TEA2376BT, and TEA2376DT? The main differences are package and I²C / system-interface capabilities. TEA2376AT is offered in an SO10 package and uses the GATE1/GATE2 pins for I²C communication during programming. TEA2376BT is offered in an SO14 package but still uses combined GATE pins for I²C and does not add POWERGOOD or BURST system pins. TEA2376DT is also in an SO14 package, but it provides a POWERGOOD output, a BURST input, and dedicated SDA/SCL pins for live I²C communication during operation, which makes it the most convenient variant for development work. 3) What are the main benefits of an interleaved PFC compared to a single-phase PFC? An interleaved PFC divides the power over two out-of-phase boost channels. This reduces stress per phase, distributes losses and heat, reduces RMS ripple current in the output capacitor, and improves EMI behavior because part of the ripple current cancels in the input path. It can also reduce cooling requirements and make high-power designs easier to realize. 4) What operating modes does the TEA2376 support? The TEA2376 supports normal two-phase operation for medium and high load, phase shedding at light load, and burst mode at very low load. The controller mainly operates in discontinuous conduction mode or quasi-resonant mode with valley switching, while brief CCM operation may occur under special conditions such as start-up when the input voltage is close to the output voltage. 5) What power level is the TEA2376 intended for? The TEA2376 family is intended for power levels up to typically 1000 W. The actual achievable power depends on the complete system design, including switching frequency, thermal performance, magnetics, MOSFETs, PCB layout, and cooling conditions. 6) What protections are included in the TEA2376? The TEA2376 includes a broad set of protections, such as VCC undervoltage and overvoltage protection, internal and external overtemperature protection, inrush current protection, brownin / brownout, overcurrent protection on SNSCUR and SNSSRC, dual output overvoltage protection, coil short protection, output diode short protection, open / short pin protection, open-loop protection, and phase-fail protection. Many of these protections can be configured independently for latched behavior or safe restart. 7) How is the TEA2376 programmed? The TEA2376 uses I²C programming for loading and modifying settings during development. For AT and BT versions, I²C communication shares the GATE1/GATE2 pins, so the IC must be placed into the correct start-up state to enable programming. For the DT version, I²C is available on dedicated SDA/SCL pins, which allows programming and monitoring while the application is operating. 😎 Can I modify parameters while the power supply is running? Yes, but only with the TEA2376DT. Its dedicated SDA/SCL pins support live I²C communication during operation. AT and BT versions are less convenient for live tuning because I²C is multiplexed on the gate pins and the application must be placed into the appropriate programming state. 9) What is the TEA2376DK1011 kit? The TEA2376DK1011 is a programming and development kit that includes TEA2376DT IC samples and a TEA2376DB1604v3 programming board. The board provides sockets for both SO10 and SO14 devices and routes the I²C connections correctly for supported TEA2376 variants. The kit is intended to help users get started quickly with evaluation, programming, and parameter tuning. 10) What additional hardware and software do I need to use the TEA2376DK1011? The programming setup requires a Windows PC, the TEA2376 Ringo software, an I²C-USB interface with cables (RDK01DB1563), and the TEA2376DB1604 programming board. The Ringo software requires the appropriate USB-I²C interface driver to be installed. 11) What does the TEA2376DB1604 programming board actually do? The TEA2376DB1604 is an IC connection and programming board. It routes the I²C signals to the correct pins, supplies VCC to the IC, provides sockets for both SO10 and SO14 packages, includes protection on the I²C connection, and offers test points for observing the communication signals. A switch allows VCC to be connected or disconnected during IC exchange. 12) What is the TEA2376DB1602v2 demo board and what does it demonstrate? The TEA2376DB1602v2 is a 300 W interleaved PFC demo board that combines the TEA2376DT interleaved PFC controller with the TEA2209T active bridge rectifier controller. It operates from a universal AC mains input of 90 V(RMS) to 264 V(RMS) and is intended to demonstrate and evaluate a single-output PFC power stage with programmable settings, interleaving, phase shedding, burst mode, and active bridge rectification. It is also positioned as a starting point for developing power supplies based on the TEA2376 and TEA2209 controller ICs. 13) What key performance can users expect from the TEA2376DB1602v2 board? In the documented reference configuration, the board regulates to a nominal output voltage of 395 V and is specified for up to 300 W continuous output power. The start-up time is about 100 ms at 115 V/60 Hz and full load. Efficiency is greater than 96% at 115 V/60 Hz and greater than 98% at 230 V/50 Hz, with measured averages of 97.2% and 98.2%, respectively. The no-load input power is 25 mW at 115 V/60 Hz and 30 mW at 230 V/50 Hz, while the power factor at full load is 0.99. 14) What are the typical operating-mode transitions and thermal limits of the TEA2376DB1602v2 board? The demo board uses three operating modes: normal mode, phase shedding, and burst mode. At 230 V mains, the transition points are approximately 39 W from burst mode to phase shedding, 86 W from phase shedding to normal mode, 50 W from normal mode back to phase shedding, and 23 W from phase shedding back to burst mode. At 115 V mains, the corresponding transition points are approximately 39 W, 99 W, 59 W, and 29 W. Thermally, the board was designed without heat sinks and remains within acceptable component temperatures at 300 W in laboratory conditions, with a measured maximum temperature of 82 °C at 115 V mains and 300 W, and 100 °C at 100 V mains and 300 W. Higher power levels are possible, but fan cooling is required to avoid overheating. 15) What are phase shedding and burst mode, and why do they matter? Phase shedding disables one PFC phase at light load so that the remaining phase can operate more efficiently. Burst mode periodically stops switching at very low load to reduce controller and conversion losses. Together, these mechanisms help improve light-load and standby efficiency and support compliance with modern efficiency requirements. 16) How can burst mode be controlled? Burst mode can be configured in several ways depending on the device version and MTP settings. It can be controlled via the VCC pin, via the SNSBOOST pin, and on the TEA2376DT also via the dedicated BURST input pin. Supported burst operation styles include follow mode, ripple mode, and autonomous mode. 17) What are POWERGOOD and BURST pins used for on the TEA2376DT? These are DT-only system-interface features. POWERGOOD is an open-drain output that indicates that the PFC output is above a programmable minimum level and that the controller is operating normally, depending on the selected settings. BURST is an input that allows an external system or downstream converter to command burst-mode behavior, with programmable polarity and thresholds. 18) Can the TEA2376 work together with TEA2209 and TEA19161? Yes. The TEA2376 is often being used together with the TEA2209 active bridge rectifier controller and the TEA19161 LLC controller in high-efficiency AC/DC power systems. The TEA19161 can also interact with TEA2376 through SNSBOOST-based burst-mode coordination during low-load operation. 19) What performance does NXP demonstrate with TEA2376 in the 1 kW standalone design example? In the TEA2376DB1623 1 kW standalone PFC design example, the performance measurements report a 385 V output, power factor greater than 0.99 over the tested mains range at full load, THD below 10 percent in the reported tests, and efficiency above 98 percent at 1 kW depending on mains condition. These values are for the specific demo-board implementation and test conditions. 20) What are typical mode-transition points in the 1 kW example? For the TEA2376DB1623 1 kW design example, the reported transition levels are approximately 312 to 317 W for phase adding, 209 to 213 W for phase shedding, 115 to 117 W for entering burst mode, and 148 to 149 W for leaving burst mode. These are example settings from that design and can be changed through MTP configuration. 21) Is the TEA2376DK1011 or demo hardware intended for end-product use? No. The kit and demo boards are intended for engineering development and evaluation purposes only. They are open-frame boards intended for laboratory use by qualified personnel and are not intended for production use. 22) Is there anything important to know about AT/BT programming through GATE pins? Yes. For AT and BT versions, I²C communication shares the gate pins, so the IC must be placed into the correct programming state by appropriate handling during start-up. In practical terms, this makes AT and BT less convenient than DT for repeated live tuning during development. 23) Why is the TEA2376DT usually the preferred version for development? TEA2376DT combines dedicated SDA/SCL pins, live I²C communication during operation, a POWERGOOD output, a BURST input, and GUI-based status monitoring. These features make it the most flexible variant for tuning, debugging, and system integration work.
View full article
S32K344(PMSMモーター)の例に関する質問 おはよう、 私は御社のFRDM評価ボードをGD3000パワードライバーとSunriseモーターと組み合わせて使用しています。私は、こちらのリンクからあなたの同僚の一人が示した手順に従ってみました。 https://github.com/nxp-appcodehub/an-mc-pmsm-foc-2sh-s32k344 まず、基板は2枚あります。1枚はGD3000モータ・ドライバ、もう1枚はFRDM-S32K344評価ボードです。システムに電源を供給するには、GD3000ドライバを介して12V電源を接続する必要がありますが、FRDMボード上のスイッチはオフにしておく必要があります。システムの電源を入れた後、Freemasterインターフェースに接続するには、スイッチを「オン」にする必要がありますか?それとも、システムに損傷を与えることなくインターフェースと通信する方法はありますか? よろしくお願いいたします Re: Question about a example of S32K344 (Motor PMSM) こんにちは、 @JonAnder_Amante さん。 ドキュメントの「ハードウェアの接続」セクションによると、2枚のボードを使ったセットアップは以下のようになります。 12V電源はGD3000基板を介して接続する必要があります。 デバッグと通信を有効にするには、USB Type-CケーブルをFRDMボードに接続する必要があります。 注意すべき点は、K344MINIは3.3Vで動作するのに対し、モーターコントローラーボードは5Vで動作するということです。コード内には、5Vと3.3Vの動作電圧を切り替えることができるソフトウェアスイッチ(SWトリガー)があります。 BR、VaneB
View full article
Safety Manual Hi, I'm looking for the Safety Manual of the S32K358. Where and how could i get a copy? Thanks, Simone Re: Safety Manual Hi @simon98, Safety Manual and other safety/security related documentation is under "Secure Files", from the S32K3 Product Page: If you have not requested access to secure files, you will need to follow our Secure Access guide: Secure Access Rights FAQs. Best regards, Julián
View full article