Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
S32K14X CSEC PRAMデータ充填問題 demo(cesc_keyconfig) では次のように述べられています: 平文 = 00112233445566778899aabbccddeeff 暗号文 = 69c4e0d86a7b0430d8cdb78070b4c55a PRAM に入力するときにデータが 32 ビット反転されるのはなぜですか? リンク プレーンテキスト = 0x00112233 0x44556677 暗号文=0x69c4e0d8 0x6a7b0430。 これを説明する文書はありますか? 回复: S32K14X CSEC pram data fillling problem PRAM の説明を見ると、s32kRM_r9 では pram インターフェースはビッグ エンディアンであり、s32kRM_r14 では pram インターフェースはリトルエンディアンであるということが書かれています。どうしたの?チップのデザインが変更されたのでしょうか?それともs32kRM_r9のエラーでしょうか? Re: S32K14X CSEC pram data fillling problem こんにちは@ 1113240626 Senlent_1-1764050023677.png Re: S32K14X CSEC pram data fillling problem こんにちは@ 1113240626 これに時間を無駄にする必要はありません。 API「CSEC_WriteCommandBytes()」が PRAM をどのように埋めるかを確認CAN。 Senlent_0-1764211862291.png Re: S32K14X CSEC pram data fillling problem こんにちは。ご返信ありがとうございます。 s32RM_rel14では下図のようになります。
View full article
Installing MCUXpresso for VSC and SDK (Japanese blog) 0. What is this article about? NXP's software development environment for microcontrollers, MCUXpresso , is compatible with Visual Studio Code (VSC), a source code editor distributed free of charge by Microsoft. Anyone can easily install it by simply installing the extension "MCUXpresso for VSC" and following a few steps! You can start running sample code right away .😃 This blog post will provide a step-by-step guide on how to install MCUXpresso for VSC and the SDK , a tool for creating code for each microcontroller. * In this article, we will use FRDM-MCXA153 as the example board. スクリーンショット 2025-11-13 5.59.05.png 💡 We have released a video explaining the installation procedure. Click this link to watch it. スクリーンショット 2025-11-18 5.17.32.png table of contents 0. What is this article about? 1. What is MCUXpresso for Visual Studio Code? 2. Preparation: For macOS 2.1 Installing Homebrew 3. Installing Visual Studio Code 4. Installing MCUXpresso for VSC 5. Installing the toolchain 6. Importing the SDK 7. Ready! 8. Bonus: To test the operation of the circuit board as is... 8.1 Importing Sample Projects 8.2 Running the Sample Project Reference materials 1. What is MCUXpresso for Visual Studio Code? The various sample codes for general-purpose microcontrollers provided by NXP can be run using MCUXpresso , a software development environment provided free of charge by NXP. There are two types of MCUXpresso: 1) MCUXpresso for Visual Studio Code is provided as a plug-in for VSC. Types of MCUXpresso Below is the abbreviation How to provide ① MCUXpresso for Visual Studio Code ①MCUXpresso-VSC VSC Plug-ins ② MCUXpresso ID E ②MCUX-IDE All in one application In this blog, I will introduce how to install MCUXpresso-VSC and the SDK . MCUXpresso-VSC runs on Windows, macOS, and Linux, and can be operated with the same user interface on all operating systems. To run the sample code on MCUXpresso-VSC, first install VSC , MCUXpresso-VSC (plugin) , and toolchain (which generates code that runs on the microcontroller) . Then import the SDK * that matches the microcontroller/board you are using. *SDK stands for Software Development Kit and contains the driver code and configuration information required for each microcontroller. The SDK must be installed for each microcontroller or board (target) you want to create. By the way, ②MCUX-IDE can also perform the same tasks as MCUXpresso-VSC. MCUX-*IDE includes an editor for editing source code, a toolchain such as a compiler and linker, and software that organizes code into projects and manages them along with various settings. Compared to MCUXpresso-VSC, everything needed for development is gathered together in one place, allowing for a smoother flow from installation to development work. On the other hand, compared to MCUX-IDE, MCUXpresso-VSC has a structure where necessary tools are added as extensions (plug-ins), allowing you to customize the various functions you need. We hope you will choose the environment that is easiest for you to use and develop in. For information on installing MCUXpresso-IDE, see " Installing MCUXpresso IDE and SDK (Japanese blog) " * IDE stands for Integrated Development Environment , an integrated development environment application . スクリーンショット 2025-11-12 16.01.57.png Now, let's explain how to install MCUXpresso-VSC and SDK step by step. This article uses macOS as an example, but the installation can be done on Windows and Linux using almost the same steps. 2. Preparation: For macOS Windows and Linux OS users should proceed to the next step, " Installing Visual Studio Code ." This "Preparation" step is only necessary for macOS users . If you're a macOS user and have already installed Homebrew , you don't need to reinstall it. Proceed to the next step, " Installing Visual Studio Code ." On macOS, Homebrew is used to manage the tools required for MCUXpresso-VSC (compilers and linkers: software to create code for the microcontroller) and the software needed to install and run them. Homebrew is software called a "package manager," and it must be installed first. 2.1 Installing Homebrew If you go to the Homebrew website, you will find the command for installation. Open "Applications > Utilities > Terminal" on your Mac, copy and paste the command into it, and run it. スクリーンショット 2025-11-12 9.55.02.png Homebrew Site Homebrew installation command (from the above site) /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" スクリーンショット 2025-11-12 10.09.47.png Terminal application on Mac スクリーンショット 2025-11-12 10.13.07.png Pasted command into terminal   Once the command has finished, follow the instructions on the screen to execute the next command (starting from the screen displayed after the first command is executed). You can also copy and paste the command from the screen and execute it. echo >> /Users/demo/.zprofile echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/demo/.zprofile eval "$(/opt/homebrew/bin/brew shellenv) To confirm that the installation was successful, enter the command "brew help" and if the following message appears, the installation is complete. Once you have confirmed the display, you can exit the terminal. スクリーンショット 2025-11-12 10.17.51.png This concludes the preparations for macOS only. 3. Installing Visual Studio Code Visual Studio Code (VSC) is distributed as an application for various operating systems. First, go to this distribution page and download and install the application that matches your operating system. スクリーンショット 2025-11-12 9.15.21.png Once the installation is complete, start VSC. In this article, the theme has been changed to white to make the screen examples easier to see. スクリーンショット 2025-11-12 10.42.53.png   4. Installing MCUXpresso for VSC Next, install the extension (plug-in) MCUXpresso for VSC. Click the "Extensions" icon in the activity bar on the left side of VSC to search, and click the install button for MCUXpresso for VSC that appears to complete the installation process quickly. スクリーンショット 2025-11-12 15.56.13.png During installation, you may get an error message saying "west not found", but you can ignore this as we will install it shortly. スクリーンショット 2025-11-13 8.48.45.png 5. Installing the toolchain Next, download the toolchain installer from MCUXpresso for VSC. スクリーンショット 2025-11-12 10.59.13.png Once the download is complete, the installer will start automatically. First, the installer will check the version and ask for permission to send data to improve operability, so press the appropriate button. After that, a screen will appear where you can select the items to install. スクリーンショット 2025-11-12 11.03.04.png If you are using the FRDM-MCX board, you only need to select "MCUXpresso SDK Developper" and "LinkServer". When you click, a blue band will appear on the left edge of each item. After checking these, press the "Install" button. スクリーンショット 2025-11-12 11.05.03.png The installation will take a while. I am reinstalling it to write this article, but it was stuck at 20% progress for 4 minutes while I was writing this article 🤨 Update (2026-07-24): Progress is now displayed as a text message at the bottom of the window. This may take some time depending on the internet traffic, so please be patient. However , if it seems like it's taking too long, press the cancel button and try again . スクリーンショット 2025-11-12 11.08.26.png Once the installation is complete, the following screen will appear, prompting you to restart VSC. *Don't forget to do this! スクリーンショット 2025-11-12 11.26.28.png 6. Importing the SDK (As mentioned in the previous section) Once the toolchain installation is complete, exit VSC and then restart it . Next is importing the SDK. In this example, we will import from the SDK distribution location for various boards stored on the NXP server (it is also possible to import a custom SDK using the SDK builder on the NXP website, but this time we will explain using the simplest example). First, click on the MCUXpresso-VSC extension icon in the VSC activity bar (far left) and click on the "Import Repository" button. Select "REMOTE ARCHIVE" in the tab that opens to the right. スクリーンショット 2025-11-12 11.37.16.png In the "Package" column at the top of the tab, search for the board you will be using. If you type "153" in, FRDM-MCXA153 will appear, so select this. スクリーンショット 2025-11-12 15.52.04.png This will display additional input fields on the same screen. In the "Location" field, specify the folder where the SDK will be installed. There is no set location, so you can specify any location you like, but it is safer to use a folder where files can be written and whose path does not contain multi-byte characters such as Japanese. Checking "Create Git Repository" is optional, but if you don't need it, uncheck it. This will save disk space on your PC. Next, check "I agree," but before doing so, be sure to read the SDK license linked above it. Once you've reached this point, all you have to do is press the "Import" button. スクリーンショット 2025-11-12 16.11.28.png 7. Ready! Now you're ready to go! Using the commands in the QUICKSTART PANEL in the upper left, you can create a new project or import and run a project from the SDK, GitHub, or a downloaded project. 8. Bonus: To test the operation of the circuit board as is... 8.1 Importing Sample Projects The SDK includes sample code . So far we have installed the SDK using the FRDM-MCXA153 as an example, so we will try out the sample code included. First, connect the board to the computer with a USB cable. For the FRDM-MCXA153, use the USB connector labeled "MCU-Link" (see photo). IMG_4594.JPG Now let's import the sample code. In the MCUXpresso-VSC panel, click the "Import Example from Repository" button. スクリーンショット 2025-11-12 12.14.50.png In the tabs on the right Select the imported SDK in the "Repository:" field Select FRDM-MCXA153 in the "Board:" field. In "Template:", select the top one in the list This sample code checks the pin input/output operation of the microcontroller, and when a button on the board is pressed, it recognizes it and turns the LED on/off. スクリーンショット 2025-11-12 12.16.16.png After selecting a template, specify the location where you want to import the sample code in "Location:". This folder is also optional. Below that is the toolchain selection. If this is your first time installing such tools, there is only one option. Finally, press the "Import" button. スクリーンショット 2025-11-12 12.30.18.png Once the import is complete, a project with the same name as the template will appear in the PROJECTS column. スクリーンショット 2025-11-12 12.32.17.png You may be prompted to "reconfigure" when importing. This is because there are multiple configuration settings for building the code (compiling, linking, etc.). In this case, you can ignore it, but if you press the "Configure Now" button, select one of them (either is fine). スクリーンショット 2025-11-13 5.40.56.png 8.2 Running the Sample Project When you hover the cursor over the imported project, a button icon will appear. Press the green right-facing triangle button (the Debug button) to start a debug session. org.gif Once the code has been built (compiled and linked) and written to the microcontroller, the debug interface will appear and you will be able to run the program. スクリーンショット 2025-11-12 12.39.42.png When the debug interface is displayed, pressing the icon button with the symbol "|▷" at the top will start the microcontroller's operation. スクリーンショット 2025-11-12 13.19.32.png In this state, the LED will turn on and off repeatedly each time you press the SW2 button on the board. スクリーンショット 2025-11-12 13.35.17.png If the board is not connected , the following screen will appear. Please check the connection and try again. スクリーンショット 2025-11-12 16.13.55.png This LED on/off program outputs serially. You can also see this using the serial monitor in VSC. スクリーンショット 2025-11-12 16.29.23.png If the display width is narrow, the "SERIAL MONITOR" display will be collapsed. Click on the "..." next to "PROBREMS OUTPUT DEBUG CONSOLE..." to display it. スクリーンショット 2025-11-13 9.06.03.png The image below shows what happens after pressing the "Start Monitoring" button and then pressing SW2 on the board. スクリーンショット 2025-11-12 16.48.45.png The program will stop when you press the "□" button on the debug screen. スクリーンショット 2025-11-12 16.33.01.png Reference materials Tutorial video: Let's get started! MCUXpresso for Visual Studio Code Related information: Installing MCUXpresso IDE and SDK (Japanese blog) Change history: 2025-11-13: First Edition 2025-11-14: Added a link to an installation procedure video / Added a section for reference materials. 2026-07-24: Added chapter numbers and table of contents. Enclosed the video introduction in "0. What is this article about?" within a box. Enclosed the introductory instructions in "2. Preparation: For macOS" within a box and added an anchor link to "Installing Visual Studio Code". Added improvement to "5. Installing the Toolchain" by adding progress display. ========================= We are currently unable to respond to comments in the "Comment" section of this post. We apologize for the inconvenience, but when making inquiries, please refer to " Technical Questions to NXP - How to Contact Us( Japanese Blog) ". (If you are already an NXP distributor or have a relationship with NXP, you may ask your question directly to the person in charge.) MCUXpresso for VSC (Visual Studio Code) can be used free of charge for software development of NXP's MCX series microcontrollers. In addition, various sample codes that can be used with MCUXpresso for Visual Studio Code are provided, which can be used not only for operation verification but also as the basis for various projects. By reading this article, anyone can easily install the VSC development environment and SDK and even run sample code! introduction MCUXpresso MCUXpresso SDK MCX Japanese blog
View full article
恩智浦汽车以太网:MACSec基础知识第2部分 - 系统配置(日语博客) 介绍 上次,我们讲解了汽车以太网 MACSec 的基本技术。 在第二部分中,我们将解释如何组合和使用兼容 MACSec 的设备。 MACSec兼容的系统配置 下图展示了在车载以太网系统中放置兼容 MACSec 的设备的示例。一般来说,有三种可行的方法,我们将依次解释每种方法的优缺点。 情况 1:进入主机控制器 情况二:将其放入 Switch 情况 3:进入 PHY 时 対応ソリューション1.png 情况 1:当主机控制器启用 MACSec 时 対応ソリューション2.png 以下是启用 MACSec 的主机控制器的特性: 特征 优点 缺点 ・异常检测和欺诈过滤由主机控制器执行。 - 在设置和更改 MACSec 功能方面具有极大的灵活性 ・主机控制器上的 MACSec 控制处理负载 ・MACSec 控制由主机控制器执行 主流 ・主机控制器中必须实施安全软件。     ・只有当恶意数据到达主机控制器时,异常情况才能被检测或阻止。   情况 2:当交换机兼容 MACSec 时 対応ソリューション3.png 特征 优点 缺点 ・异常检测和欺诈过滤由交换机执行。 ・在恶意数据到达主机控制器之前,即可检测并阻止异常情况。 ・MACSec功能的设置和更改灵活性有限 ・MACSec 控制在交换机侧执行。 -不要对主机控制器施加 MACSec 控制的处理负载 *恩智浦计划推出一款兼容 MACSec 的交换机。   情况 3:当 PHY 与 MACSec 兼容时 対応ソリューション4.png 特征 优点 缺点 ・异常检测和欺诈过滤由PHY执行。 ・在恶意数据到达主机控制器之前,即可检测并阻止异常情况。 ・MACSec功能的设置和更改灵活性有限 ・MACSec 控制在 PHY 端执行。 -不要对主机控制器施加 MACSec 控制的处理负载     ・NXP PHY 与非 MACSec PHY 引脚兼容。     ・TLV(如下所述)移除可通过PHY执行。   *NXP 提供兼容 MACSec 的 100BASE-T1 和 1000BASE-T1 PHY 产品。 (同时还将提供兼容 10BASE-T1S、2.5G 和 10G 的 PHY) MACSec传输时序问题 MACSec有助于提高安全性,但由于通信帧较长,因此存在传输时序问题。 通信フレーム構成.png 如上图所示,与原始通信帧配置相比,MACSec 兼容的通信帧长度增加了安全标签和 ICV(完整性校验值)的长度,如橙色所示。 Tx_Timing Issue1.png 如果 MII 信号以高频率进入 PHY,则下一个 MII 信号可能在 PHY 发送 MACSec 兼容通信帧时到达 PHY,与帧定时重叠,导致丢包。 (在上图中,标有 X 的 MII 数据包不能从 PHY 发送。) 方案一:MAC层扩展IPG Tx_Timing Issue2.png 防止 PHY 输入的 MII 信号与正在发送的 MACSec 帧之间产生干扰的一种方法是在软件端故意延迟 MII 的发送(直到数据包之间的间隔达到允许的最小值)。 缺点包括以下几点: MII 传输频率降低 需要在软件端进行调整处理。 方案二:软件中的TLV头部 Tx_Timing Issue3.png   另一种干扰对抗措施是在软件端对 MII 信号执行 TLV 填充(插入上图中浅蓝色所示的间隔符),以使时序与 MACSec 通信帧传输对齐。 该方法的缺点与方案 1 的缺点相同。 MII 传输频率降低 需要在软件端进行调整处理。 另一方面,它具有方案 1 所不具备的优势。 如果接收端是 MACSec 兼容的 PHY(例如 NXP 产品),则会在 PHY 端移除 TLV Pad(从而降低接收主机控制器的处理负载)。 用例 最后,我们来看看当 MACSec 功能添加到汽车以太网系统时会发生什么。 在这个例子中,恶意用户将攻击节点插入到车载以太网中。 Usecase1.png MACSec 功能允许您阻止未经授权的信号。 -对于无需考虑窃听风险和 MII 帧与以太网帧之间时间干扰的网络,此方法就足够了。 为了构建一个更安全的网络,使其能够抵抗窃听和对 MII 和 Ether 帧的定时干扰,请使用以下配置。 Usecase2.png 概括 在汽车以太网中,MACSec 可以在三个位置实现:主机控制器、交换机和 PHY。每个位置的异常检测时序、处理负载和实现难易程度各不相同,因此根据您的目标选择合适的位置至关重要。虽然实现 MACSec 可以阻止未经授权的信号并防止窃听,但也需要调整传输时序,并且需要采取措施防止丢包,例如在软件端进行 IPG 调整和 TLV 填充。 参考信息 恩智浦汽车以太网网页 TJA1104,支持 MACsec 的 ASIL B 级汽车以太网 100BASE-T1 PHY 收发器网页 TJA1121,支持 MACsec 的 ASIL B 级汽车以太网 1000BASE-T1 PHY 收发器网页 S32J100,支持 MACsec 的以太网交换机和网络控制器网页 =========================== 我们目前无法 回复 此帖子“ 评论”部分的评论。 对于由此造成的不便,我们深表歉意。如有任何疑问, 请 参考“ 如何就 技术问题 联系 NXP ( 日语 博客 ) ” 。 (如果您已经是 恩智浦的 分销商或 与 恩智浦 有业务往来 ,您可以直接咨询负责人。) 本页概述了汽车以太网的 MACSec 技术。 在第二部分中,我们将解释如何组合 MACSec 兼容设备。 (阅读时间:10分钟) 汽车以太网 通信标准 安全 日本博客
View full article
恩智浦技术咨询 - 如何联系我们(日语博客) 如果您不知道如何使用 NXP 产品,或者即使阅读了文档也无法理解其内容,NXP 提供了一个联系点。 在本文中,我们将以通俗易懂的方式解释如何进行查询。 *自2025年6月起,我们将接受日语咨询。 *使用问答平台前,您必须注册一个MyNXP账号。只需三个简单步骤即可免费注册。 如何联系我们 访问支持门户 → 创建新案例(进度:1/8) 访问支持门户。 ・点击下图所示的“创建新案例”开始创建案例(查询详情)。 Keita_Nagashima_3-1755498552302.png   选择目标 NXP 产品(进度:2/8) Keita_Nagashima_1-1755498372940.png   请输入问题详情(进度:3/8) ・请尽可能详细地描述您的问题(开发环境、软件版本、问题发生的频率、条件等)。 Keita_Nagashima_5-1755499128912.png   选择项目 → “创建新项目”或“选择现有项目” (进度:4/8)   如果是第一次创建项目,请选择“创建新项目”。 ・如果您已经创建了项目,请点击“完成创建”继续。 Keita_Nagashima_0-1755671978766.png 注:请用英文输入最终申请名称。   选择沟通方式(*仅限创建新项目时) (进度:5/8) ・标准是“基于电子邮件”。 Keita_Nagashima_8-1755500271850.png 向项目中添加成员(仅在创建新项目时) (进度:6/8) ・请确保您的“电子邮件地址”正确,以免将错误的人添加为成员。 - “名字”和“姓氏”仅用于项目内的身份识别,因此我们建议使用您的英文名字。 您可以稍后添加成员。 Keita_Nagashima_9-1755500760159.png 创建完成(进度:7/8) Keita_Nagashima_10-1755501216580.png 上传文件(如有必要)  (进度:8/8) Keita_Nagashima_11-1755501268158.png 最终确认 如果内容没有问题,请点击“完成”按钮结束操作。 Keita_Nagashima_12-1755501420087.png 常见问题解答 问:我还没有收到回复。 答:如果您在提交问题后的两个工作日内没有收到回复,请在支持页面选择“在线聊天”,并使用相关案例编号联系客服代表。日语在线客服通常在工作日上午 10:00 至下午 6:00 提供服务。只有当页面语言设置为日语时,客服人员才会回复。 问:谁会回复我的支持工单(案例)? 答:您可以向熟悉该产品的恩智浦工程师寻求答案。 问:提交支持工单(案例)是否需要付费? 答:本文中提到的支持工单是免费使用的。 问:我必须先创建一个项目才能创建一个案例吗? A:项目就像一个文件夹,用来整理案例,它的创建至关重要。 问:你们如何划分项目? 答:这取决于用户。大多数情况下,它是针对每个最终产品或电路板类型创建的。在某些情况下,它可以供参与单个项目的所有各方使用。 问:受访者会用日语回答问题吗? 答:用户可以用日语提问,但目前答案会以英语提供。不过,我们正在努力开发一项新功能,即当用户用日语提问时,除了英语答案外,还会提供人工智能翻译的答案供参考。我们预计这项功能将于九月底上线。 问:如果我最初的问题解决后又出现了相关问题,该怎么办? 答:通常情况下,我们会采用问答形式,所以请您创建一个新工单,并在主题栏中添加您之前咨询的工单编号,并明确注明这是一个相关问题。但是,如果您想重新查询原工单的答案,可以在工单关闭后的30天内重新打开。 详细问答 问:案例可以发布内容和评论,但是如何使用这些功能呢? 答:电子邮件回复会被记录为帖子。评论只能通过支持门户发布。评论容易被忽略,因此我们建议您通过电子邮件或支持门户向客服人员发送消息。 问:我以为我已经通过电子邮件回复了,但它却自动被识别为一个新案件。 答:如果您回复邮件时更改了邮件主题或识别码,系统可能会误将其识别为新的咨询并自动注册。由此给您带来的不便,我们深表歉意。请您尽快关闭自动注册的案例,并通过支持门户提交新的案例,以恢复之前的邮件往来。 问:我想在对话进行到一半时添加抄送成员,该如何操作? A:将你想抄送的成员添加到项目邀请(参与者)中,并在支持门户上发布新帖子。 问:我的案子被结案了,尽管我没有主动结案。 答:NXP 代表回复后,此案例将在 7 天内自动关闭。如果回复未能解决您的问题,请通过电子邮件回复或通过支持门户联系代表。 问:我可以把案件附件中的日语文件发上来吗? 答:您也可以上传包含日语的文件。但是,图像数据和PDF格式的文件可能无法使用翻译工具进行转换,因此请使用Word或Excel等文件格式。如果负责人难以理解文件,他们可能会要求您提供英文补充信息。 如果您不知道如何使用 NXP 产品,或者即使阅读了文档也无法理解其内容,NXP 提供了一个联系点。 在本文中,我们将以通俗易懂的方式解释如何进行查询。 *自2025年6月起,我们将接受日语咨询。 介绍 日本博客
View full article
88W9098 软重启失败(电源循环正常) 我们正在评估用于 TI TMDS64EVM 评估板的 88W9098 WiFi/BT 模块,主要用作接入点。该芯片是 uBlox JODY-W377-00B 模块的一部分。 它工作正常,包括作为接入点。但是,软重启时却无法初始化。我们必须进行一次完整的电源循环,它才能正常恢复。 故障信息为 无线局域网:下载 FW 失败,nowwait:0 我们正在使用 https://github.com/nxp-imx/mwifiex分支 lf-6.6.52_2.2.0 和相应的 PCIE-UART W9098 固件版本 17.92.1.p149.53 在此之前,我们使用的是带有相应固件的 lf-6.6.3_1.0.0,但在软重启时也出现了内核崩溃。电源循环工作正常。 软重启时出现故障的是 mlan/mlan_pcie.c 中的 wlan_pcie_dnld_fw()。Callstack wise (most recent last) is: woal_request_fw() woal_init_fw_dpc() mlan_dnld_fw() wlan_pcie_dnld_fw () wlan_pcie_dnld_fw() 中的活动基本上是这样的(代码中的 /* */ 注释): wlan_pcie_init() // 成功 /* 检查固件是否已在运行 */ wlan_pcie_check_fw_status() // ret == -1: 尝试 300 次获取状态 /* 检查其他接口是否正在下载 */ wlan_pcie_check_winner_status() // ret == 0 OK /* 通过辅助程序下载固件映像 */ wlan_pcie_prog_fw_w_helper(); // ret == 0 OK /* 检查固件是否下载成功 */ wlan_pcie_check_fw_status(pmadapter, poll_num); // ret == -1 *FAILS* 奇怪的是,如果我手动关闭 hostapd,使用"ifconfig" 关闭接口,并执行 rmmod mlan、moal 和 cfg80211,之后软重启也不会失败。 因此,重启后模块仍在运行固件,但对再次下载固件没有反应。 控制台串行调试信息附后、故障发生在" WLAN: Fail download FW with nowwait: 0" 行。 欢迎提出意见和建议... Re: 88W9098 fails on soft reboot (power cycle ok) 为了解决这个问题,我们将 PD#(模块RESET)连接到系统RESET,这解决了问题。 基本上,该模块在 RESET 时仍在运行旧固件,因此驱动程序无法再次加载固件。 Re: 88W9098 fails on soft reboot (power cycle ok) 好的,我们认为这是硬件问题,导致 PCIe RESET 无法到达模块。 为了解决这个问题,我暂时将 moal/mlan 的加载/卸载设置为真正的 systemd 服务,这样重启时它就会对 moal 和 mlan 执行"rmmod" 。 这将导致模块上的固件停止运行,从而使其在下次重启时正常启动。 它无法处理诸如看门狗 RESET 之类的事情,但现在已经足够了。 如果他们能在启动时检测到模块已经在运行固件并命令其RESET,那将是对 moal/mlan 驱动程序的一个不错的改进。 谢谢你的帮助,丹尼尔。 Re: 88W9098 fails on soft reboot (power cycle ok) 您好, 我测试了两种方法(RESET按钮和代码),但它仍然对我有效。 我通过 PCIe M.2 接口连接了模块。 我正在分享我的测试结果。如果发现什么问题,请告诉我。 此致, 丹尼尔 Re: 88W9098 fails on soft reboot (power cycle ok) 你好,丹尼尔,谢谢你的测试、 实际上,我们使用的是内核 6.6.52 和 PCIE9098--17.92.1.p149.131-MM6X17437.p3-GPL。直到几周前,它还是以同样的方式出现故障,所以我认为这不是问题。 一个可能的显著硬件区别是,我们在 JODY-W377-00B 上的模块位于 M.2 E 卡上,该卡连接到 PCIe 的适配器板。 问题:如果你执行硬件 RESET (例如开发板上的 RESET 按钮)或者通过不按正常关机顺序执行的直接 Linux 重启命令,它是否也能正确地重新初始化?下面是 C 代码: #include #include #include #include #include int reboot(int op); int main(void) { sync(); if (reboot(LINUX_REBOOT_CMD_RESTART)) { perror("reboot"); return EXIT_FAILURE; } return EXIT_SUCCESS; } 我们正在调查您的板和我们的板之间可能存在的硬件差异。 谢谢, Pontus Re: 88W9098 fails on soft reboot (power cycle ok) 您好, 我在内核 6.6.52(使用最新的恩智浦 Linux 电路板支持包)中对此进行了测试,使用了以下驱动程序和 fw pcie9098--17.92.1.p149.53-mm6x17505.p4-GPL。我没有 JODY-W377-00B 模块,但我在 i.MX8MP-EVK 上用 AW-XM458 进行了测试。它在我这边起作用了。请参见 logs1.txt。 您是否可以尝试使用与我相同的版本? 如果您发现任何其他不同之处,请告诉我。 此致, 丹尼尔 Re: 88W9098 fails on soft reboot (power cycle ok) 谢谢! 我会在我这边试试。 此致, 丹尼尔 Re: 88W9098 fails on soft reboot (power cycle ok) 您好,感谢您的回复、 "soft reboot" 我指的不是电源循环。例如,"sudo/sbin/reboot --reboot" 或" /usr/sbin/shutdown-r now" 或直接从 C 语言通过"reboot(LINUX_REBOOT_CMD_RESTART);" 。 如前所述,所有这些模块都无法重新启动(见附件"fail.txt"早些时候)。它最初是通过一个简单的 udev 规则触发信号的 " insmod " 命令启动的。 我发现使模块正确启动的唯一方法是重新启动电源。 这是在 TI AM642 EVM 上的 Linux 6.6.69 上进行的。 Re: 88W9098 fails on soft reboot (power cycle ok) 感谢您提供的信息。 请确认以下内容。 在软重启之前,一切正常。请告诉我您是如何执行软重启的。 如果重新启动,一切正常。 此致, 丹尼尔 Re: 88W9098 fails on soft reboot (power cycle ok) 控制台跟踪没有附加到上一条信息中。 再次尝试....
View full article
i.mx93 低功耗启动 你好@AldoG、 我们计划在 Yocto 6.12 上进行 i.MX93 低功耗启动。 启动到 cm33 后,有没有办法从 cm33 启动 Linux? Re: i.MX93 low power boot 你好,@WolsYang! 要在 A 核心中启动 Linux 你可以在 U-boot 终端中使用 "启动" 命令 Re: i.MX93 low power boot 你好@Chavira 在rpmsg_lite_pingpong_rtos/linux_remote中,我看到了这样的描述 主内核从RESET中版本辅助内核,然后建立内核间通信 但我没有看到任何类似于在 rpmsg_lite_pingpong_rtos/linux_remote/main_remote.c 也在 "准备演示 "中 3.启动 Linux 电路板支持包到 u-boot,然后从 SD 卡中加载 M 内核映像即可运行。(之前将图像放入 SD 卡)。=> load mmc 1:1 0x80000000 /rpmsg_lite_pingpong_rtos_linux_remote.bin => cp.b 0x80000000 0x201e0000 0x20000 => bootaux 0x1ffe0000 0 4。在启动 linux 之前,在 u-boot " mmcargs " env 中添加 " clk_ignore_unused " 5. 启动到 linux。运行"echo '7 4 1 7'> /proc/sys/kernel/printk" 更改信息级别。 我认为是先启动 a-core 然后使用 u-boot 启用 m-core Re: i.MX93 low power boot 你好,@WolsYang! 您可以在下面的链接中找到 i.MX93-EVK 示例中使用多内核的完整程序: https://github.com/nxp-mcuxpresso/mcux-sdk-examples/tree/main/mcimx93evk/multicore_examples 致以最崇高的敬意, Chavira Re: i.MX93 low power boot 你好,@ Chavira、 我们有这方面的例子吗? 据我了解,在启动 m-core 之后,u-boot 任务已经完成,并将关闭。 例如,10 分钟后,现在只有 m-core 在运行,如何启动 a-core linux? Re: i.MX93 low power boot 你好,@WolsYang! 在 i.MX93 中,两个内核可以协同工作,甚至可以同时工作。 M 内核启动后,您可以继续在 A 内核上启动 Linux。但是,根据您的配置,您可能需要对设备树进行一些调整。 众所周知,两个内核都可以访问大部分外设。因此,务必确保 A 内核的设备树中禁用 M 内核使用的任何外围设备。这样可以防止资源冲突,确保两个内核稳定运行。 顺祝商祺! 查维拉 Re: i.MX93 low power boot 你好,@ Chavira、 抱歉描述不清。 我的意思是,在启动 .bin 之后,我只在 u-boot 的 m-core 中启用 .bin内容,u-启动 将关闭(如果不正确,请告诉我) 因此,在调出 .bin只有 m-core 中的内容,如何在 a-core 中启动 Linux? Re: i.MX93 low power boot 你好,@WolsYang! 感谢您联系恩智浦支持中心! 在 M 内核上不可能运行 Linux,因为它是为实时、低功耗任务而设计的,不具备支持完整 Linux 操作系统所需的资源。 致以最崇高的敬意, Chavira
View full article
HSE 应用程序更新 - 如何在全内存模式下更新应用程序 我正在阅读 745220-S32K3 HSE 培训 - 2022 年 10 月(2.0)、有关全内存的 HSE FW 更新程序的章节。 我有点困惑,似乎这样做的目的是更新 HSE FW 本身,而不是更新应用程序代码。 我本以为 HSE FW 会在出厂时被固定,并用于验证应用程序下载的 OTA。 如何更新应用程序代码?能否对下载进行加密并使用 HSE 进行解密? S32K344-WB Re: HSE Application Update - How to update the application in Full Memory Mode RM758225-RM00286 HSE-B 固件参考手册——V2.5 (2.5) .pdf。是我需要的。谢谢。 Re: HSE Application Update - How to update the application in Full Memory Mode A1。 请阅读表 37。RM758225-RM00286 HSE-B 固件参考手册的主要目录——V2.5 (2.5) .pdf。 HSE 固件存储在安全的 HSE 内存区(HSE 代码闪存)中。 请阅读 RM758225-RM00286 HSE-B 固件参考手册 ——V 2.5 (2.5) .pdf 的固件安装期间的第 3.2.4 章闪存布局 (FULL_MEM) 以及 S32K344、S32K314 和 S32K324 设备的 3.5.5 闪存 布局。 A2.HSE 可在现场更新,但不能卸载。您无需在每次下载应用程序时更新 HSE FW。 请阅读 RM758225-RM00286 H SE-B 固件参考手册第 11 章 HSE 固件更新 ——V2.5 (2.5) .pdf。 很抱歉,我对此不太熟悉。与 HSE 相关的问题不适合在公众场合讨论。建议在 https://www.nxp.com/support/support:SUPPORTHOME?tid=sbmenu 上提交 支持票单 。我的同事会帮你的。 Re: HSE Application Update - How to update the application in Full Memory Mode 谢谢您的回复。这就解决了一个问题。 在我的项目中,我有一个引导加载器和一个应用程序。引导加载程序只加载一次,在现场永不更新。通常情况下,我会使用引导加载程序下载新的应用程序映像并写入闪存。 我通常使用 CRC 校验的基本方法来验证新图像。 在阅读有关 HSE 的信息后,我发现它似乎可以用来对应用程序进行更安全的更新。从您的电子邮件和文件中,我现在明白了必须首先加载 HSE FW。 这就是我对整个过程的理解,假设我使用的是全内存方法,而不是 A/B 交换。 我安装了 HSE FW,我想应该有相关的 HSE 硬件。HSE 是否有自己的受保护存储区,还是使用产品板的 NVM 来存储密钥。?HSE 固件存储在产品闪存中还是存储在安全的 HSE 存储区中? HSE 可在现场更新,但不能卸载。每次下载应用程序时都需要更新吗? 当我通过像 ARINC 429 这样的通信总线下载新应用程序时。HSE 固件对此进行了身份验证。据我所知发送方使用对称密钥创建 GMAC 代码,该代码与新的应用程序映像一起通过总线发送。HSE 通过自己的密钥副本重新创建 GMAC。然后将两者进行比较,以验证应用程序映像。 使用的钥匙可以更换吗?怎么做 总的来说,这似乎不太安全。我错过了什么?如果黑客得到了这个密钥,他们就可以下载他们想要的软件。 此外,是否有可能在下载前对图像进行加密,然后让 HSE 使用不同的非对称密钥进行解密?怎么做? 因为我将使用全内存模式,所以我想我不需要创建 NVM 密钥目录。是这样吗?BSB 使用 ADKP 一次性生成密钥。存放在哪里? HSE 是否会自动验证下载,还是需要我提出申请?如果现在由 HSE 来完成这项任务,那么我的引导加载程序在验证过程中扮演什么角色?引导加载程序仍需要为下载新映像提供便利。 谢谢您的帮助。请纠正我说的任何不正确的地方。如果您能更好地解释这个过程,那就再好不过了。 Re: HSE Application Update - How to update the application in Full Memory Mode HI 是的。 这是为了更新 HSE FW 本身,而不是更新应用程序代码。 关于 OTA,建议参考之前的讨论:带 A/B 交换 OTA 更新的双应用程序引导加载器 - S32K3XX 祝好, Robin ------------------------------------------------------------------------------- 注: - 如果本帖回答了您的问题,请点击"ACCEPT AS SOLUTION" 按钮。谢谢! - 我们会在最后一次发帖后的 7 周内跟踪主题,之后的回复将被忽略 如果您以后有相关问题,请另开新主题并参考已关闭的主题。 -------------------------------------------------------------------------------
View full article
PCF2131TFY バッテリー消費量 PCF2131TFY を使用している製品では、一部のボードで数日のうちにバッテリーが消耗するという断続的な問題が発生しています。装着されている電池はCR2032です。この問題を診断するために考慮すべき事項や検討すべき点はありますか?それとも、この部分に既知の問題があるのでしょうか? Re: PCF2131TFY Battery Draw 結局、問題はすべての PCB 上に過剰かつ洗浄されていないはんだフラックスがあり、それが過剰な電流の引き込みとバッテリーの消耗を引き起こしていたことが判明しました。 Re: PCF2131TFY Battery Draw 未使用のピンについては、以下の提案設定に従ってください。 お客様は、アプリケーションで使用していない場合は、CLKOUT ピンと TS1-4 ピンをオープンのままにしておくことができます。 CLKOUT_ctlレジスタ(13h)ビット[2:0] = 111bを設定することにより、CLKOUTピンをハイインピーダンスモードに設定できます。また、Control_4レジスタ(03h)のビット[7:4] = 0000b、Control_5レジスタ(04h)のビット[7:4] = 0000bに設定して、TS1-4ピンを非アクティブピンに設定します。   Re: PCF2131TFY Battery Draw プライベートメッセージを送信しました。 Re: PCF2131TFY Battery Draw ハイ ここで回路図を共有してもらえますか?
View full article
BUG 报告:JN5189DK6 ZCL OTA 代码中使用端点索引代替端点 ID ZCL 代码在内部使用端点索引( psZCL_Common->psZCL_EndPointRecord的索引)并通过eZCL_SearchForEPIndex和u8ZCL_GetEPIdFromIndex在注册时提供的 ID 之间进行映射。 当前的 ZCL OTA 代码错误地使用了在两个位置需要 ID 的索引。当端点 ID 连续且从 1 开始时,由此引起的问题就会被隐藏。 细节: SDK版本:2.6.15 - JN5189DK6/中间件/无线/zigbee/ZCL/Clusters/OTA/Source/OTA.c // // The u8SourceEndPointId > u8ZCL_GetNumberOfEndpointsRegistered // range check is incorrect and needs to be removed // PUBLIC teZCL_Status eOtaFindCluster( uint8 u8SourceEndPointId, tsZCL_EndPointDefinition **ppsEndPointDefinition, tsZCL_ClusterInstance **ppsClusterInstance, tsOTA_Common **ppsOTACustomDataStructure, bool_t bIsServer) { if(u8SourceEndPointId > u8ZCL_GetNumberOfEndpointsRegistered()) { return(E_ZCL_ERR_EP_RANGE); } // check EP is registered and cluster is present in the send device if(eZCL_SearchForEPentry(u8SourceEndPointId, ppsEndPointDefinition) != E_ZCL_SUCCESS) { return(E_ZCL_ERR_EP_RANGE); } if(eZCL_SearchForClusterEntry(u8SourceEndPointId, OTA_CLUSTER_ID, bIsServer, ppsClusterInstance) != E_ZCL_SUCCESS) { return(E_ZCL_ERR_CLUSTER_NOT_FOUND); } // initialise custom data pointer *ppsOTACustomDataStructure = (tsOTA_Common *)(*ppsClusterInstance)->pvEndPointCustomStructPtr; if(*ppsOTACustomDataStructure==NULL) { return(E_ZCL_ERR_PARAMETER_NULL); } return(E_ZCL_SUCCESS); } // // FIXED // PUBLIC teZCL_Status eOtaFindCluster( uint8 u8SourceEndPointId, tsZCL_EndPointDefinition **ppsEndPointDefinition, tsZCL_ClusterInstance **ppsClusterInstance, tsOTA_Common **ppsOTACustomDataStructure, bool_t bIsServer) { // check EP is registered and cluster is present in the send device if(eZCL_SearchForEPentry(u8SourceEndPointId, ppsEndPointDefinition) != E_ZCL_SUCCESS) { return(E_ZCL_ERR_EP_RANGE); } if(eZCL_SearchForClusterEntry(u8SourceEndPointId, OTA_CLUSTER_ID, bIsServer, ppsClusterInstance) != E_ZCL_SUCCESS) { return(E_ZCL_ERR_CLUSTER_NOT_FOUND); } // initialise custom data pointer *ppsOTACustomDataStructure = (tsOTA_Common *)(*ppsClusterInstance)->pvEndPointCustomStructPtr; if(*ppsOTACustomDataStructure==NULL) { return(E_ZCL_ERR_PARAMETER_NULL); } return(E_ZCL_SUCCESS); } 和 回复:BUG 报告:JN5189DK6 ZCL OTA 代码中使用了端点索引而不是端点 ID 这是第二项。系统说我已经没有时间编辑该消息了,尽管时间大约为 30 秒: // // The *eOtaTimeUpdate* function expects an endpoint ID, not an index // PUBLIC void vOtaTimerClickCallback(tsZCL_CallBackEvent *psCallBackEvent) { #if (defined(OTA_SERVER) && defined(OTA_PAGE_REQUEST_SUPPORT)) || defined(OTA_CLIENT) int i; uint8 u8NumberOfendpoints; u8NumberOfendpoints = u8ZCL_GetNumberOfEndpointsRegistered(); // find price clusters on each EP - if any for(i=1; i<(u8NumberOfendpoints+1); i++) { // deliver time to any EP-server/client eOtaTimeUpdate(i, TRUE, psCallBackEvent); eOtaTimeUpdate(i, FALSE, psCallBackEvent); } #endif } // // FIXED // PUBLIC void vOtaTimerClickCallback(tsZCL_CallBackEvent *psCallBackEvent) { #if (defined(OTA_SERVER) && defined(OTA_PAGE_REQUEST_SUPPORT)) || defined(OTA_CLIENT) int i; uint8 u8NumberOfendpoints; u8NumberOfendpoints = u8ZCL_GetNumberOfEndpointsRegistered(); // find price clusters on each EP - if any for(i = 0; i < u8NumberOfendpoints; i++) { uint8_t u8EndpointId = u8ZCL_GetEPIdFromIndex(i); // deliver time to any EP-server/client eOtaTimeUpdate(u8EndpointId, TRUE, psCallBackEvent); eOtaTimeUpdate(u8EndpointId, FALSE, psCallBackEvent); } #endif }
View full article
MPC5746C 的寄存器保护 这些是我为 MPC5746C 实现寄存器保护下锁定机制的模块。 0xFFFB0140, /* CMU------------*/ 0xFFFB0040, /* FXOSC----------*/ 0xFFFB0180, /* MC_CGM --------*/ 0xFFFB8000, /* MC_ME ---------*/ 0xFFFA8000, /* MC_RGM --------*/ 0xFFF50000, /* MEMU_0 -------*/ 0xFFFB0080, /* PLLDIG --------*/ 0xFFFA0400, /* PMCDIG --------*/ 0xFFFC0000, /* SIUL2 ---------*/ 0xFFFB0100, /* SXOSC ---------*/ 0xFFF9C000 /* LPU_CTL -------*/ 样本 1:(0xFFFB0000,偏移 - 0x4,32 位保护) 寄存器:与 ME_MCTL(模式控制寄存器,32 位保护,偏移 0x4,见表 77-5)匹配。 基地址:0xFFFB0000。 保护大小:32 位(所有四个字节均受保护)。 计算 正常地址:基数 + 偏移量 = 0xFFFB0000 + 0x4 = 0xFFFB0004 镜像地址(区域 3):基数 + 0x2000 + 偏移 = 0xFFFB0000 + 0x2000 + 0x4 = 0xFFFB2004 软锁定位地址(区域 4): 区域 4 中的偏移量:offset/4 = 0x4 / 4 = 0x1。 地址: base + 0x3800 + offset/4 = 0xFFFB0000 + 0x3800 + 0x1 = 0xFFFB3801。 对于 32 位寄存器,所有四个 SLB(SLB0—SLB3)控制四个字节(例如,0x4 到 0x7)。 软锁定 选项 1:写入镜像地址: 向 0xFFFB2004 写入 32 位值(例如,0x80000000 可启动模式转换;有关有效值,请参阅 MC_ME 章节)。 这将更新 0xFFFB0004 的 ME_MCTL,并在 0xFFFB3801 的 SLBRn 寄存器中设置 SLB0-SLB3。 示例*(volatile uint32_t *)0xFFFB2004 = 0x80000000; 选项 2:直接写入 SLB: 写入 0xFFFB3801,设置 SLB0-SLB3。 写入 0xFF(WE0—WE3=1,SLB0—SLB3=1)以锁定所有四个字节。 示例*(volatile uint8_t *)0xFFFB3801 = 0xFF; 解锁 写入 0xF0 至 0xFFFB3801(WE0-WE3=1,SLB0-SLB3=0)以清除 SLB0-SLB3,解锁寄存器。 示例*(volatile uint8_t *)0xFFFB3801 = 0xF0; 硬锁定 将 0x00000001 写入 0xFFB3FFC 以设置 GCR.HLB,锁定 SLB 直到 RESET。 示例*(volatile uint32_t *)0xFFFB3FFC = 0x00000001; 下面是一个寄存器设置示例,它的所有 4 个地址设置都是启用的,可以是 R/W。 下面是一个寄存器设置示例,其中基址 + 偏移& 镜像地址已启用,可以设置为 R/W,其他地址不能设置。 这带来了一个严重的问题,因为 SLB 位确认了软锁定,而 GCR 位的设置则是为了实现硬锁定。 对于所有 MC_CGM 带帽寄存器,我都发现了同样的问题。 这些不同行为的原因是什么?有些地址可以修改和变更,有些则被保留。 Re: Register Protection for MPC5746C 你好 如果我硬锁任何一个模块,所有其他模块都会自动被硬锁定,这在电源模式下会出现问题。因为我不希望 FXOSC/SXOSC 和 CMU 在这里被硬锁定。 寄存器保护采用 P 桥。 petervlna_0-1754636157965.png PBRIDGE 上有 MC_CGM 模块: petervlna_1-1754636218800.png 然后将外设映射到 MC_CGM 下。看来您需要使用 SLB 而不是 HLB 来解决这个问题。 因为 HLB 会锁定整个 MC_CGM。 顺祝商祺! Peter Re: Register Protection for MPC5746C 嗨,彼得 、 感谢您的帮助。我现在可以为所有模块配置软锁和监测 SLB 了。 我还有一个关于硬锁 GCR 位的问题。根据您的解释,所有 MCCGM 上限模块(即 CMU、FXOSC、SXOSC、PLDIG 和 MCCGM)应具有一个共同的基地址,即 0xFFFB0000。 现在根据第 77.1.1 节寄存器保护配置,N OTE讨论了电源模式下的操作。 mayank22_0-1754552830865.png 正如我所说,在相同的基本地址下,如果我硬锁任何一个模块,所有其他模块都会自动被硬锁定,这在低电源模式下会出现问题。因为我不希望 FXOSC/SXOSC 和 CMU 在这里被硬锁定。 有没有办法解决这个问题? 感谢并致意 Re: Register Protection for MPC5746C 你好 以下是 SLB 的结果 CMU_LFREFR 32 - 地址基数和偏移量 CGM 模块的基数为 0xFFFB_0000 CMU 偏移为 0x140 petervlna_0-1753947014813.png CGM LFREFR 从模块基数偏移 0x14C petervlna_1-1753947034996.png petervlna_4-1753947541951.png 我通过写入镜像为 CMU_LFREFR 设置了 SLB petervlna_3-1753947365013.png 顺祝商祺! Peter Re: Register Protection for MPC5746C 嗨,这也不起作用。 CMU_LFREFR 32 偏移 0xCh 受保护的大小-16(字节 2 和 3) 0xFFFB0000,/* CMU----------*/ 基地址 -0xFFFB000C 镜像地址 -0xFFFB200C SLB - 0xFFFB3803 GCR - 0xFFFB3FFC mayank22_0-1753789974341.png Re: Register Protection for MPC5746C 你好 查看简单测试:MC_CMU - CSR petervlna_0-1753772600568.png 基地址 - 0xFFFB014C - 这是偏移地址。不是基地。 MC_CMU 模块的基数为 0xFFFB 0140。 镜像地址 -0xFFFB214C 即基座 + 偏移 + 镜像 SLB -0xFFFB3943 以参考手册中的整个 CGM 的地址为基准: petervlna_1-1753772881109.png 所以计算结果是 0xFFFB0000 + 3800 + SLB 的位置 GCR - 0xFFFB413C 同上 0xFFFB0000+3FF0 顺祝商祺! Peter Re: Register Protection for MPC5746C 嗨,彼得,这里有一些 SLB 和 GCR 失效的示例。 请检查这些地址并确认它们是否显示不同的行为。如果不是,那么这些模块会有什么问题? 1.MC_CMU - 0xFFFB0140 - { MODULE_CMU, 0xC,REG_SIZE_16}, CMU_LFREFR 基地址 - 0xFFFB014C 镜像地址 -0xFFFB214C SLB -0xFFFB3943 GCR - 0xFFFB413C mayank22_0-1753700010986.png 2.MC_CMU - 0xFFFB0140 { MODULE_CMU, 0x18,REG_SIZE_32}, CMU_MDR 基本地址 - 0xFFFB0158 镜像地址 - 0xFFFB2158 SLB - 0xFFFB3946 GCR - 0xFFFB413C mayank22_1-1753700066515.png 3.PLLDIG 0xFFFB0080 - PLLDIG_PLLCR { MODULE_PLLDIG, 0x20, REG_SIZE_16}, PLLDIG_PLLCR 基本地址 - 0xFFFB00A0 镜像地址 - 0xFFFB20A0 SLB - 0xFFFB0F5D GCR - 0xFFFB407C mayank22_4-1753700213295.png 4.PLLDIG 0xFFFB0080 - { MODULE_PLLDIG, 0x28,REG_SIZE_32}. { MODULE_PLLDIG, 0x28,REG_SIZE_32}, PLLDIG_PLLDV 基本地址 - 0xFFFB00A8 镜像地址 - 0xFFFB20A8 SLB - 0xFFFB388A GCR - 0xFFFB407C mayank22_5-1753700236791.png 5.PMCDIG 0xFFFA0400 - { MODULE_PMCDIG, 0x0,REG_SIZE_32}. { MODULE_PMCDIG, 0x0,REG_SIZE_32}、 基本地址 - 0xFFFA0400 镜像地址 - 0xFFFA2400 SLB - 0xFFFA3C00 GCR - 0xFFFA43FC mayank22_6-1753700259740.png 6.PMCDIG 0xFFFA0400 - { MODULE_PMCDIG, 0x10,REG_SIZE_32}.{ MODULE_PMCDIG, 0x10,REG_SIZE_32}、 基本地址 - 0xFFFA0410 镜像地址 - 0xFFFA2410 SLB - 0xFFFA3C04 GCR - 0xFFFA43FC mayank22_7-1753700335502.png Re: Register Protection for MPC5746C 你好 我已经检查了 PREG_PROT,它的行为就像参考手册中描述的那样: 在 ME_CGM 寄存器 SC_DC0 上: 基数:0xFFFB0000 + 偏移 7E8 镜像0xFFFB07E8 = 基数 (0xFFFB0000) + 偏移 (7E8) + 镜像 (0x2000) 在示例中,我通过软锁锁定了 SC_DC0 形式的 ME_CGM 模块。 petervlna_0-1753172674705.png 具体情况如下: petervlna_1-1753172729779.png 区域 4:为 1.5 KB,包含软锁位,区域 1 中每字节一位。与一个模块寄存器字相关的四个软锁位排列在存储器映射中的字节边界处。软锁定位寄存器可使用位掩码直接写入。 因此,必须将软锁定位的面积除以 8,才能看到相应的 SLB 设置。 基础(模块的)+ 3800 +(区域 1 的每字节一位) petervlna_2-1753172994361.png petervlna_3-1753173019294.png 对于硬锁位,整个模块只有一个。 区域 5 的大小为 512 字节,用于保存保护模式的配置位。每个模块都有一个配置硬锁位,可以防止对软锁位进行任何进一步的修改,并且只能在设置后通过系统 RESET 来清除。其他位如果被设置,将允许用户访问受保护的模块。 基数(模块) 0xFFFB0000 + 偏移 3FFC 因为 GCR 位于 5 号区域的末端。 petervlna_5-1753173243793.png petervlna_4-1753173057363.png 顺祝商祺! Peter Re: Register Protection for MPC5746C 你好 我会进行测试,并尽快给您答复。 顺祝商祺! Peter
View full article
MemAccおよびFeeモジュールの追加に失敗しました こんにちは、 使用したバージョン: TresOs バージョン 29 RTD - SW32K3_RTD_R21-11_3.0.0_P07 説明: サードパーティの Mcal 統合ヘルパーを使用して RTD をベクター スタックに統合しましたが、Davinici コンフィギュレータから構成する fee および MemAcc モジュールを確認できませんでした。tresos インストール フォルダの下には、これらのモジュールのプラグインも利用できないようです。以下のスクリーンショットと似ていますが、プラグインが利用可能かどうかをどのように確認すればよいのでしょうか。 Fee および MemAcc モジュールのプラグインを RTD から tresos フォルダーにコピーしようとしましたが、残りの他のモジュールが削除されました。この問題を解決するためにご協力いただけませんか。 vasavi_0-1755167663340.png ありがとう、 ヴァサヴィ Re: MemAcc and Fee modules are fails to add こんにちは@vasavi Davinici コンフィギュレータは当社の製品ではなく、当社がそれについてほとんど知らないため、テクニカル サポートを提供することはできません。 Vector のテクニカル サポートを参照することをお勧めします。 Re: MemAcc and Fee modules are fails to add こんにちは ベクタースタックの FEE モジュールと RTD パッケージの Mem_43_INFLS を使用できますか? ありがとう、 ヴァサヴィ Re: MemAcc and Fee modules are fails to add こんにちは@vasavi おそらくインストールエラーです。 以下はRTD 3.0.0をインストールしているスクリーンショットです。EB Tresos の P07。 あなたが説明した問題は発生しませんでした。 Senlent_0-1755227011318.png 当社は Davinici に対する技術サポートを提供していません。
View full article
我有一个关于使用 MM9Z1I638 打开安全模式的问题 我对使用MM9Z1I638打开安全模式有疑问。看了手册,知道了FSEC寄存器是用来打开安全模式的,但是这个寄存器好像不支持直接写,需要通过FLASH编程来写入。写入的地址段为P_FLASH块的0xFF_FE0F字节,支持的最小扇区大小 P_FLASH为512字节。我按照擦除扇区、校验扇区、写入扇区的流程写入字节,但是发现每次擦除扇区之后软件都会运行到非法的地方。检查后发现,这个扇区存储的所有信息都是地址 回复:我有一个关于使用 MM9Z1I638 打开安全模式的问题 你好,喇嘛,谢谢你的例子
View full article
S12ZVLA128 的统一引导加载程序 大家好,恩智浦社区, 我目前正在从事一个涉及 S12ZVLA128 微控制器的项目,我正在寻找有关统一引导加载程序的更多详细信息,特别是有关闪存加载程序部分。 据我了解,引导加载程序通过 UDS(统一诊断服务)接收闪存加载程序。但是,我想知道是否有任何配置或选项允许我使用直接加载到闪存中的闪存加载程序,而不是通过 UDS 接收它。 您能否提供一些有关如何针对此场景配置引导加载程序的指导或文档?任何示例配置或参考都将不胜感激。 谢谢您的帮助!
View full article
对 i.MX8MP 中的 GPT 的疑问 阅读 IMX8MPRM 文档,我发现有 6 个可用的 GPT。 第 12 章描述了 GPT,并说它有两个输入 GPT_CAPTURE1 和 GPT_CAPTURE2,可用于触发定时器计数器的捕获。 在第 8 章“芯片 IO 和 Pinmux”中,我只能找到 2 个名为 GPT1_CAPTURE1 和 GPT1_CAPTURE2 的捕获输入。 这是否意味着在 6 个 GPT 中,只有 GPT1 具有使用捕获功能的能力? 感谢并致意 回复:对 i.MX8MP 中的 GPT 的疑问 是的,对。
View full article
A2T27S020NR1 S 参数 大家好,我正在使用 A2T27S020NR1 LDMOS 晶体管。有人可以分享这个设备的 S 参数数据吗?我需要它来设计一个工作在 2.4 GHz 的功率放大器。                      
View full article
RT 1170 双 SDRAM 16 位连接 计划使用带有 RT1172 的双 256Mbit SDRAM,而不是单个 512MBit 芯片,但由于 GPIO 引脚短缺,我想使用 16 位数据总线。 参考手册仅提到 CS0 和 CS1 是可能的,我假设两个芯片之间的所有其他线路都是并联的。 MIMXRT1170-EVKB具有 32 位数据总线连接,其中地址和命令组并行连接,但 16 位数据总线是分开的。 您能否确认这种 16 位双 SDRAM 连接是否可行,并在可能的情况下提供原理图示例。 另外,您是否有关于单 16 位 SDRAM 数据传输速率与双 16 位 SDRAM 的基准信息 i.MXRT 101x
View full article
LS1028 内核版本高于 5.10 甚至连meta-freescale的现任“大师”也为linux-qoriq构建了5.10内核。 这是古老的 - 甚至 Yocto 本身也对此抱怨,因为它期望 scarthgap 和 master 中至少有 5.15(对于 glibc)。 此外,我们正在将 NVME 连接到 PCIe 端口,我真的希望有一些相当新的内核更改(6.1)来改善我们的电源管理。 由于我们不会使用任何 GPU 或网络,因此不需要固件 blob,据报道,LS1028 应该可以与主线一起使用。 我尝试构建 6.6 linux-fslc 内核,并进行了一些配方修改,然后让 ls1028ardb 板启动到内核中。然而,DMA 控制器无法正确加载,因此无法实现太多的功能。我正在研究是什么阻止内核访问 SD 设备,因为它卡在等待该设备(并加载 rootfs)时。 有没有人取得任何进展来使 LS1028 内核稍微不那么过时? 回复:LS1028 内核版本高于 5.10 哇,又一个 NXP 覆盖 OpenEmbedded。到底有多少个? 回复:LS1028 内核版本高于 5.10 确实,其中也有一个 6.6 内核配方。 主线内核也可以运行,只是驱动程序选择的问题导致它无法正常启动。找到所有需要的驱动程序非常麻烦,需要通过从设备树中获取“兼容”字符串来找到它们,然后在其上 grep 以找到相关的代码文件,然后在该目录中 grep Makefile 以获取启用它所需的 Kconfig 项。 回复:LS1028 内核版本高于 5.10 这里有https://github.com/nxp-qoriq/meta-qoriq有较新内核可用的 repo。据我所知,新的 meta-qoriq Yocto 版本 scarthgap 将于 6 月底上市,因此一旦完成,我猜他们也会在 meta-freescale 中对其进行更改。
View full article
Generate a single PWM cycle in eFlexPWM without using reload interrupt Hi, In eFlexPWM peripheral, is it possible to generate a single PWM cycle, but without using the reload interrupt to finish the cycle? Thanks in advance Re: Generate a single PWM cycle in eFlexPWM without using reload interrupt Hi @zorrotz, Thanks for the clarifications. After looking into it, I have arrived at the conclusion that the only way of doing single PWM pulses is indeed by using the reload interruption. BR, Edwin. Re: Generate a single PWM cycle in eFlexPWM without using reload interrupt Hi @EdwinHz , My part number is MKV46F128VLL16. The IDE version is MCUXpresso IDE v11.9.0 [Build 2144] and the SDK is 2.8.0. Regards Re: Generate a single PWM cycle in eFlexPWM without using reload interrupt Hi @zorrotz, Could you please share what your part number is, as well as the SDK and IDE versions that you are using? BR, Edwin.
View full article
S32G3 Linux BSP 38.0 linuxptp包问题 大家好,社区。 我正在使用S32G-VNP-RDB3板,构建Linux BSP 38.0来开发 PFE 和 PTP。 根据用户手册,linuxptp 工具( ethtool、ptp4l等)是默认安装的。但是,当我在 Linux BSP 上运行ethtool或ptp4l命令时,它会输出未找到命令。 我按照用户手册使用 YOCTO 构建了 BSP,我还需要为 linuxptp 做些什么额外的事情吗? 回复:S32G3 Linux BSP 38.0 linuxptp 包问题 谢谢,这非常有帮助。 回复:S32G3 Linux BSP 38.0 linuxptp 包问题 谢谢你的回答。 我使用“fsl-image-auto”而不是“base”重新构建,并且 PTP 功能已启用。 谢谢。 哦,还有一件事,你能告诉我如何在 SD 卡上设置预建的 tgz 文件吗?SJA1110 交换机固件是否包含在这个预建的 tgz 文件中?
View full article
S32G3内存支持列表 嗨,恩智浦的同事们 我看到数据表中的 S32G3 支持 DDR ,NOR Flash 和 EMMC,但您能否提供经过兼容性测试的 DDR 和其他存储器的列表? 如果市场上任何符合 LPDDR4 协议的 DRAM 都可以与最大密度为 4GB 的 S32G3 连接,您是否没有进行过适应性测试? 期待回复。 谢谢! 回复:S32G3内存支持列表 ----这个不太常规,虽然LPDDR4协议是标准的,但是各个DDR厂家也确实有些差异,这也是为什么很多SOC提供了列表,理论上可以,但是并不适合直接使用的原因。 ----其他EMMC和NOR也是这样吗?
View full article