Multi Source Translation Content

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Multi Source Translation Content

ディスカッション

ソート順:
PEmicro GDB Launch Failure in S32 Design Studio for Power Architecture v2.1 Hi, The board I am testing is MTRCKTSPS5744P (3-Phase PMSM Motor Control Development Kit with MPC5744P MCU). For some reason, the download process doesn't go well. This window pops up after failure in downloading when I click debug button. eunwoo_lee_0-1789496057004.png An window pops up showing this error message. Error in services launch sequence PEmicro GDB Launch Failure : The GDB Server was not able to establish a connection to the target processor. Please check your connections and power. Verify that the launch settings in the Debug Configuration are accurate. Console panel displays this message. Connection from "127.0.0.1" via 127.0.0.1. Connection from port "53438" to 7224 PE-ERROR: Warning. Can't read registers while part is running. PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes) PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes) PE-ERROR: Warning. Can't read registers while part is running. PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes) PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes) PE-ERROR: Warning. Can't Write Binary while part is running. 40001000 - Length of: 0 - Value of: Binary Data PE-ERROR: Warning. Can't Write Binary while part is running. 40001000 - Length of: 460 - Value of: Binary Data PE-ERROR: Warning. Can't Write Binary while part is running. 40001460 - Length of: 460 - Value of: Binary Data PE-ERROR: Warning. Can't Write Binary while part is running. 400018c0 - Length of: 460 - Value of: Binary Data PE-ERROR: Warning. Can't Write Binary while part is running. 40001d20 - Length of: 2e0 - Value of: Binary Data PE-ERROR: GDB Client Processing : Exception Occured : PROGRAM EXCEPTION! EXCEPTION CLASS: EIDCONNCLOSEDGRACEFULLY MESSAGE: CONNECTION CLOSED GRACEFULLY. ADDRESS 0X0046EA89 Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "53438" from 7224 Target Disconnected. Is there any solution you know for this problem? Thanks. Re: PEmicro GDB Launch Failure in S32 Design Studio for Power Architecture v2.1 Hello, Is there any solution you know for this problem? As the message explains you cannot write/read registers on the fly. First stop the execution of the code in debugger and then you can modify the registers, memory, etc... The MPC5744P is running user code and the P&E probe is unable to halt the device, therefore all memory/register accesses fail and the download operation aborts. This looks less like a flash programming problem and more like a debugger failing to halt the MPC5744P before download. Is there for example SW with SWT0 enabled in the microcontroller? Or is it a fresh sample with no SW running? Best regards, Peter Re: PEmicro GDB Launch Failure in S32 Design Studio for Power Architecture v2.1 I solved this problem by replacing the flat ribbon cable. Although the cable seems good in terms of connection, it fails to connect the debugger. I guess the cable is susceptible to crosstalk or line-to-line noise. I ended up making it work by creating shorter cable.
記事全体を表示
在ubuntu上,如何使用mcuxpresso-secure-provisioning软件来固件加密加密并烧写到芯片 首先,我使用的芯片是 MCXN947。 我已经在我的Ubuntu系统中下载并安装了mcuxpresso-secure-provisioning-26.09-1_amd64-ubuntu26.deb软件包。 那么如何使用该软件生成已签名和加密的sb格式文件呢? 我已经观看了视频,对 bin 文件进行了签名和加密,并在 Windows 系统中成功地将 sb 文件写入了芯片。 Ubuntu系统上有视频操作软件吗?是否有关于签名和加密bin文件的命令行的相关文档? 谢谢! Re: 在ubuntu上,怎样使用 mcuxpresso-secure-provisioning 软件给固件签名加密并烧写到芯片 嗨@justdomyself 文档: https://docs.mcuxpresso.nxp.com/secure/latest/ 描述 MCXN 设备工作流程的章节: https://docs.mcuxpresso.nxp.com/secure/latest/06_processor_specific_workflow.html#n23x-n24x-n52x-n53x-n54x-n94x-device-workflow 命令行支持: https://docs.mcuxpresso.nxp.com/secure/latest/08_command_line_operations.html 另请参阅 securep.exe 打印 - cli - 示例 Ubuntu 和 Windows 上的用户体验非常相似。如果遇到任何问题,请参阅故障排除部分: https://docs.mcuxpresso.nxp.com/secure/latest/09_troubleshooting.html
記事全体を表示
MIMXRT700 EVK Battery Connection and External Power Up Clarification Hi Team, We are currently working on the MIMXRT700 EVK and need clarification regarding battery connection and external board power-up. We observed that the PMIC IC has a VBAT input, but we are unable to identify the exact connector/header on the EVK where a battery can be connected directly. Could you please help us with the following: Please point us to the official battery connector/header available on the RT700 EVK. Exact connector/header location on the board Supported battery type/specification Recommended connector/part number We would also like to understand the correct procedure to power up the RT700 EVK using an external power adapter while still supporting flashing and debugging. Currently, we are powering and debugging the board through the USB debug port. We want to know: What changes/setup are required when powering the board externally for battery and adapter Whether flashing and debugging through USB/J-Link will continue to work in this setup. Thanks & Regards, Suhas Evaluation Board Re: MIMXRT700 EVK Battery Connection and External Power Up Clarification Hi @suhas1503 , Thanks for your interest in NXP MIMXRT series! The PMIC supports battery power, but on the EVK, it is set to DNP by default. You can locate J37 on the schematic. A detailed description can be found in the “MIMXRT700-EVK Board User Manual[UM12188]”. Please take a look. Gavin_Jia_0-1779932324256.pngGavin_Jia_0-1779932324256.pngGavin_Jia_0-1779932324256.png Gavin_Jia_1-1779932333707.pngGavin_Jia_1-1779932333707.pngGavin_Jia_1-1779932333707.png For the RT700, there is no specific requirement regarding the choice of battery for the PMIC; you can select one based on the PCA9422 datasheet. In addition, the RT700-EVK supports powered by an external power adapter and supports a 5V power supply. It is connected via J45, and the power source is selected by shorting pins 1 and 2 on J2. The details is in “MIMXRT700-EVK Board User Manual[UM12188]” Section 2.2 . The on-board debugger continues to function normally when powered by an external power source. Best regards, Gavin Re: MIMXRT700 EVK Battery Connection and External Power Up Clarification Hi, I am using the MIMXRT700-EVK with a Murata 2EL M.2 module connected to the M.2 socket on the RT700-EVK. I am testing different examples from the MCUXpresso SDK. Hardware setup: - Board: MIMXRT700-EVK - M.2 module: Murata 2EL M.2 module - Murata 2EL module is connected to the M.2 socket - Power is supplied through JP37 using a battery - MCUXpresso SDK: SDK_26_03_00_MIMXRT700-EVK Observed behavior: When the RT700-EVK is powered through JP37 using a battery: 1. The hello_world example works correctly. 2. The xaf_record example works correctly. 3. The edgefast_bluetooth_examples/peripheral_ht example builds and flashes successfully, but the application fails during runtime initialization. The UART log is: BLE Peripheral HT demo start... [sdio] Error: Card initialization failed [wifi_io] Error: SDIO driver init failed. ASSERT ERROR " API_SUCCESS == result ": file "middleware/wireless/ethermind/port/pal/mcux/bluetooth/controller/controller_wifi_nxp.c" Line "120" However, when I use the same edgefast_bluetooth_examples/peripheral_ht example with the J54 USB debug port and J45 port with the adapter, the example works correctly. Therefore, the EdgeFast Bluetooth example works correctly with the J54/J45 configuration but fails when the board is powered through JP37 using a battery. The hello_world and xaf_record examples work correctly with the JP37 battery configuration. Expected behavior: I expect the edgefast_bluetooth_examples/peripheral_ht example to initialize the Bluetooth controller successfully when the RT700-EVK is powered through JP37 using a battery and the Murata 2EL M.2 module is connected. Questions: 1. Is the JP37 power configuration supported for running the EdgeFast Bluetooth examples with the Murata 2EL M.2 module? 2. Does the Murata 2EL M.2 module require any additional jumper, switch, or power configuration when JP37 is used with a battery? 3. Why does the application report the following errors when using the JP37 battery configuration? [sdio] Error: Card initialization failed [wifi_io] Error: SDIO driver init failed. 4. Is there any required power sequencing or M.2 power-enable configuration for the wireless module when using battery power through JP37? 5. Is there a recommended RT700-EVK jumper and power configuration for using the Murata 2EL M.2 module with the EdgeFast Bluetooth examples and battery power? Please let me know if you need any additional information, such as the complete UART log, jumper configuration, SDK configuration, schematic details, or power measurements. Thank you. Bluetooth Example Fails with SDIO/Wi-Fi Initialization Error When Powered by Battery Through JP37 Hi, I am using the MIMXRT700-EVK with a Murata 2EL M.2 module connected to the M.2 socket on the RT700-EVK. I am testing different examples from the MCUXpresso SDK. Hardware setup: - Board: MIMXRT700-EVK - M.2 module: Murata 2EL M.2 module - Murata 2EL module is connected to the M.2 socket - Power is supplied through JP37 using a battery - MCUXpresso SDK: SDK_26_03_00_MIMXRT700-EVK Observed behavior: When the RT700-EVK is powered through JP37 using a battery: 1. The hello_world example works correctly. 2. The xaf_record example works correctly. 3. The edgefast_bluetooth_examples/peripheral_ht example builds and flashes successfully, but the application fails during runtime initialization. The UART log is: BLE Peripheral HT demo start... [sdio] Error: Card initialization failed [wifi_io] Error: SDIO driver init failed. ASSERT ERROR " API_SUCCESS == result ": file "middleware/wireless/ethermind/port/pal/mcux/bluetooth/controller/controller_wifi_nxp.c" Line "120" However, when I use the same edgefast_bluetooth_examples/peripheral_ht example with the J54 USB debug port and J45 port with the adapter, the example works correctly. Therefore, the EdgeFast Bluetooth example works correctly with the J54/J45 configuration but fails when the board is powered through JP37 using a battery. The hello_world and xaf_record examples work correctly with the JP37 battery configuration. Expected behavior: I expect the edgefast_bluetooth_examples/peripheral_ht example to initialize the Bluetooth controller successfully when the RT700-EVK is powered through JP37 using a battery and the Murata 2EL M.2 module is connected. Questions: 1. Is the JP37 power configuration supported for running the EdgeFast Bluetooth examples with the Murata 2EL M.2 module? 2. Does the Murata 2EL M.2 module require any additional jumper, switch, or power configuration when JP37 is used with a battery? 3. Why does the application report the following errors when using the JP37 battery configuration? [sdio] Error: Card initialization failed [wifi_io] Error: SDIO driver init failed. 4. Is there any required power sequencing or M.2 power-enable configuration for the wireless module when using battery power through JP37? 5. Is there a recommended RT700-EVK jumper and power configuration for using the Murata 2EL M.2 module with the EdgeFast Bluetooth examples and battery power? Please let me know if you need any additional information, such as the complete UART log, jumper configuration, SDK configuration, schematic details, or power measurements. Thank you. Re: Bluetooth Example Fails with SDIO/Wi-Fi Initialization Error When Powered by Battery Through JP3 Hi @suhas1503 , I think the most likely reason is that the power required for the M.2 on the EVK comes from other components rather than VBAT. I suggest you take a look at the schematic. In particular, Sheet 5 and Sheet 6. In Sheet 5, identify all jumper caps similar to JP33 and switch them from SYS_5V0 to VBAT. In Sheet 6, identify all jumper caps similar to JP11 and switch them from PMIC to DCDC_3V3. The ultimate goal is to enable VBAT to power the corresponding modules. From what I’ve quickly glanced at, the key is to ensure that the power sources for MCU_3V3 and WL_3V3 are correctly configured. (If you have a new question, please feel free to submit a new ticket or post. Updates in closed threads are easily overlooked. Thank you for your understanding and cooperation!) Best regards, Gavin Re: Bluetooth Example Fails with SDIO/Wi-Fi Initialization Error When Powered by Battery Through JP3 Hi, I followed the jumper changes you suggested and tested the RT700-EVK with the battery supply. I changed the jumper settings as follows: JP33 → 2–3 JP34 → 2–3 JP36 → 2–3 JP11 → 2–3 JP7 → 2–3 I connected the 3.7 V, 500 mAh Li-Po battery to JP37. With these changes, the BLE Peripheral HT demo initialises successfully, and BLE starts advertising as expected. However, after running for some time, the RT700-EVK starts resetting continuously. After each reset, the application starts again, BLE initialises, and advertising starts again. So, the jumper changes have enabled the BLE functionality on battery power, but the continuous reset issue is still present. Could you please suggest what could be causing this repeated reset during battery-powered operation and what I should check next?
記事全体を表示
I.MX6ULLのENET1は物理からデータを受信できません I.M6ULL + 4.19.35 + KSZ 8081rnb  この機器は現場に300台配備されています。ほとんどの場合、それらは正常に稼働し、事業やサービスは期待どおりに機能します。しかしながら、時折、サービスにアクセスできなくなることがあります。調査の結果、eth1(ENET1)のLINK LEDは点灯したままで、ACT LEDが時々点滅しているにもかかわらず、eth1がパケットを受信しなくなることが確認されました。 さらに、ENET1のイーサネットケーブルを一度抜き差しすると、ネットワークが正常に戻ることも確認しました。デバイスを再起動することでも復元されます。根本原因の分析を手伝ってもらえますか?それはPHYにあるのかMACなのか? そこから読み取られるレジスタ値は以下のとおりです。 読み取るレジスタのリストには、MACレジスタとPHYレジスタの両方が含まれます。かなり長いため、次のページに掲載しています。 コマンド: phy eth1 0x1は PHY レジスタ 1 を読み取ります。 memtool i.MX6UL Linux Re: I.MX6ULL ENET1 can't recv data from phy こんにちは、@240697273 読み取るレジスタのリストには、MACレジスタとPHYレジスタの両方が含まれます。かなり長いため、次のページに掲載しています。 >>>これらのレジスターが見つからなかった。もう一度送ってください。 B、R
記事全体を表示
KW45B41Z EVKが搭載デバッガーMCUリンクでプログラムされていないこと。 こんにちは、 kw45b41zevk_hello_world SDKのサンプルコードを使ってKW45B41Z-EVKをプログラムしようとしています。デバッグを開始すると、オンボードデバッガーは検出されますが、その後、次のエラーが発生します。 検出された利用可能なSWDデバイスは0個です。 デバイスを接続して、もう一度お試しください。 USBケーブルは J14 に接続し、 JP22はオン ボードデバッガでプログラムするために開いたままにしています。また、 KW45UMで述べられているように、 JP28のピン1と2は短絡されています。しかし、その後もサンプルプログラムをプログラミングしたりデバッグしたりすることができません。 kw45b41zevk_led_blinky SDKの例も試しましたが、同じように動作します。 KW45UMで説明されているように、外部デバッガを使用してJP22をショートさせてボードのデバッグも試みましたが、同じ問題が発生します。 発生している問題のスクリーンショットを添付しました。 セキュアプロビジョニングツールを使用して、フラッシュメモリを消去してイメージを書き込むことも試しました。まず、 JP25をショートさせてSW4を有効にし、次にSW4とリセット(SW3)を長押ししてISPモードに入りました。接続テストが成功した後、フラッシュメモリ(位置0x00000000 、サイズ0x100000 )の消去に成功しました。次に、以下の画像を使用しました。 ${SPT_INSTALL_BIN} \data\sample_data\targets\KW45B41Z8\source_images\kw45b41zevk_led_blinky.s19 画像の構築とプログラムは無事にでき、意図した RGB LED1 も点滅しており、KW45B41Z マイクロコントローラが正常に動作していることを示しています。しかし、それでもなお、基板のプログラミングやデバッグができません。 Re: KW45B41Z EVK not programming over on board Debugger MCU Link. こんにちは、 @kaif1 どのIDEを使っていますか? MCUXpresso IDEまたはMCUXpresso for VS Code? 私の方で試してみて、デフォルトのジャンパー設定をお知らせします。 よろしくお願いいたします。 Christine。 Re: KW45B41Z EVK not programming over on board Debugger MCU Link. こんにちは、 @kaif1 ジャンパーの設定を参照してください。ローカル側で確認済みで、hello_world例をボードに正常にフラッシュできます。 そして、MCUXpresso IDEとSDK 25.12.00を使っています。 私のジャンパー設定を試してみて、うまくいくかどうか教えてください。 よろしくお願いいたします。 Christine。 Re: KW45B41Z EVK not programming over on board Debugger MCU Link. Secure Provisioning Toolはチップ上でコードを正常にフラッシュ・実行できるため、物理ハードウェアは完全に問題ありません。つまり、「0 SWD デバイスを検出」というエラーは、IDEのデバッグプローブサーバーとオンボードのMCU-Linkファームウェア間の通信ミスマッチに起因しています。これは通常、MCU-LinkファームウェアをIDEs対応の最新バージョンに更新するか、接続中に手動でリセットボタンを押し続けることで解決し、低消費電力のアプリケーション状態がデバッグインターフェースをロックしないようにします。
記事全体を表示
Experience with vendor's tools Hi guys, I am wondering what's your experience with using vendor's tools while working on their hardware? Let's say we talk about something like Layerscape series from NXP or STM32MP1 series. I've been working on a board based on one of the NXP's Layerscape SoC and I can't wrap my hand around the fact that the only tool they provide to bringup and verify eg. DDR is **bleep**ty IDE based on Eclipse. I mean, given the quality of this tool I wouldn't complain if they provided it for free but they charge hell a lot of money for a license. Want to learn how to do this or that using their IDE? Good luck, "best I can do" is, mostly not 100% accurate outdated, partial documentation, forum where you will always get an answer, that somebody will handle this and 240p video where you can barely see what's on the screen. I hope that I will only use it for DDR bringup and validation and will manage to do the rest without this tool. What's your experience with other vendors? How about TI? I've seen some tools from ST and they really looked much simpler but I don't have any practical experience. Re: Experience with vendor's tools Hello, The Eclipse base is aging, the DDR tooling (DDR Stress Test Tool) is functional but clunky, and the licensing cost vs. quality ratio is a common complaint in embedded communities. The documentation gap is real — AN (Application Notes) are often the better resource than the official tool docs. Many engineers use it purely for DDR PHY init/training as you plan, then move on.   Practical Tips for NXP Layerscape DDR Bringup Since you're stuck with it for now: The DDR Stress Test Tool standalone binary (separate from CodeWarrior) is sometimes available and lighter to use. NXP's i.MX/Layerscape community on GitHub has reference DDR configurations that can shortcut a lot of the tool-guided work. LSDK (Layerscape SDK) scripts sometimes expose DDR init parameters more transparently than the IDE. Regards
記事全体を表示
Lx2160a用のIbisモデル こんにちは、みんな LX2160A用のIBISモデルをどうやって手に入れられるのか知りたいです。どなたか助けていただけませんか? どうもありがとうございます 元 Re: Ibis model for Lx2160a IBISモデルは公開されていません。こちらでケースを作成してください: https://support.nxp.com/s/?language=en_US  そして、秘密保持契約書(NDA)の内容を共有してください。 よろしくお願いします。
記事全体を表示
freertos 系统跑不通问题(创建即跑不通) 我的项目项目程序按照规程建立后,发现freertos 系统 无法跑通 (已经调查过不是内存不足问题,应该 也不是优先级的问题),我的S32DS编译器版本如下图  任务直接建立失败,这个版本不支持freertos 吗?还是配置有什么特殊要求吗? Re: freertos 系统跑不通问题(创建即跑不通) 你好@sunshine88 , 应用程序实际上并不是因为 sys_msleep(5000) 调用本身而卡住的。该行为表明 sys_now() 使用的时间基准没有递增。因此, sys_msleep() 中的超时条件永远不会达到。 在 OSIF 配置截图中, OsIfUseSystemTimer 已启用,操作系统类型设置为 FreeRTOS。但是, OsIfCounterConfig_0 下的引用(包括计数器和系统定时器时钟引用)似乎不完整或为空。仅添加 PIT 组件并不能保证 OSIF 时基已正确配置和初始化。 目前请不要修改 TCP/IP 协议栈源代码或实现其他延迟解决方法。我建议如下: 从已安装的 TCP/IP 协议栈软件包中导入原始的 lwip_FreeRTOS_s32K358 示例。 构建并运行原始示例,无需任何修改。 检查原示例中 sys_now() 是否递增。 将 FreeRTOS、BaseNXP/OSIF、PIT、时钟、中断和 TCP/IP 协议栈配置与您的自定义项目进行比较。 验证生成的初始化序列是否包含所需的 BaseNXP/OSIF 和定时器初始化。 我们仍然需要之前请求的信息才能正确分析定制项目: MCU 的确切零件编号; 精确的评估板或定制板; 用作起点的原始示例或项目类型; 未修改的 lwip_FreeRTOS_s32K358 示例是否能在相同的硬件上运行; 生成的 sys_now() 实现; xTaskGetTickCount() 返回的 FreeRTOS tick 计数是否增加。 请先检查 xTaskGetTickCount() 。如果 sys_now() 保持不变而它增加,则说明 FreeRTOS 调度程序和滴答中断正在运行,问题具体出在 OSIF 时基配置或初始化中。如果 xTaskGetTickCount() 也保持不变,则问题更加根本,必须调查 FreeRTOS 滴答中断或调度程序配置。 如果可以,请提供完整的项目存档,而不仅仅是配置截图。如果没有生成的配置和初始化代码,就无法确定 sys_now() 实际使用的是哪个定时器或时钟源。 顺祝商祺! 帕维尔 Re: freertos 系统跑不通问题(创建即跑不通) 你好,现在我建立了一个LWIP程序例程,但是以太网mainLoopTask任务却卡在 sys_msleep(5000); 无法延时,我单步进入此函数,发现 startTime = sys_now(); sys_now()函数无法计数,现在我的配置页如下,是什么原因造成的那?感觉很迷惑。 Re: freertos 系统跑不通问题(创建即跑不通) 你好@sunshine88 , 您截图中显示的版本应该支持 FreeRTOS。S32 设计工作室 3.5 更新 14,RTD 4.0.0FreeRTOS 4.0.0 和 TCP/IP 协议栈 1.0.4看起来是预期的软件包组合,所以这似乎不是一般的版本兼容性问题。 根据所示代码,故障直接发生在 xTaskCreate() 中。请您提供以下信息? 具体的MCU部件号以及所使用的评估板或定制板。您之前提到过 S32K358,但请确认具体的器件型号和主板型号。 用作起点的原始示例的名称。 xTaskCreate() 返回的值。 xPortGetFreeHeapSize() 在调用 xTaskCreate() 之前和之后打印的值。 配置的 configTOTAL_HEAP_SIZE、configSUPPORT_DYNAMIC_ALLOCATION 的值,以及选定的 FreeRTOS 堆实现,例如 heap_4.c。 应用程序停止的确切位置,包括调试器调用堆栈(如果它进入断言、异常或 HardFault 处理程序)。 请注意,MCU 总 RAM 充足并不一定意味着 FreeRTOS 堆内存充足。xTaskCreate() 从 FreeRTOS 堆中动态分配任务控制块和任务堆栈。此外,1024U 堆栈深度参数通常表示堆栈元素而不是字节,因此在 Cortex-M7 上实际分配的内存大于 1024 字节。 作为基准测试,我建议导入并运行原始的 lwIP FreeRTOS 示例,不要做任何修改。一旦原始示例运行正常,请添加一个带有小堆栈、普通优先级和循环内 vTaskDelay() 调用的附加任务。这将有助于区分环境或电路板配置问题与额外任务引入的问题。 我还注意到,您的 xTaskCreate() 调用使用了 1024U 的堆栈深度,而原始工作示例使用了 256U。请恢复原始值 256U,并先测试未修改的示例。请注意,此参数指定栈元素的数量,而不是字节数,因此使用 1024U 需要更多的 FreeRTOS 堆空间。   此致, 帕维尔
記事全体を表示
熟悉供应商的工具 大家好,我想了解一下你们在使用厂商提供的工具来维护他们硬件时的经验如何?假设我们谈论的是 NXP 的 Layerscape 系列或 STM32MP1 系列之类的产品。我一直在开发一款基于 NXP Layerscape SoC 的电路板,但我无法理解他们提供的唯一用于启动和验证例如 SoC 的工具是什么。DDR 是一个基于 Eclipse 的垃圾 IDE。我的意思是,考虑到这个工具的质量,如果他们免费提供,我不会抱怨,但他们的许可证费用却高得离谱。想学习如何使用他们的 IDE 来完成这个或那个操作吗?祝你好运,“我能做的最好的就是”提供一些不太准确、过时、不完整的文档,以及一个你总能得到答案的论坛,保证有人会处理这个问题,还有一段240p的视频,你几乎看不清屏幕上的内容。我希望我只会用它来启动和验证 DDR,其余工作无需这个工具就能完成。你与其他供应商的合作经验如何?TI 的产品怎么样?我见过 ST 的一些工具,看起来确实简单得多,但我没有任何实际经验。 Re: Experience with vendor's tools 你好, Eclipse 基础架构已经老化,DDR 工具(DDR 压力测试工具)虽然功能齐全但笨拙,而且许可成本与……相比。质量与比例失衡是嵌入式社区普遍抱怨的问题。文档缺失是真实存在的——应用笔记通常比官方工具文档更有价值。许多工程师仅将其用于 DDR PHY 初始化/训练,然后按照计划进行下一步。   NXP Layerscape DDR启动实用技巧 既然你现在只能接受它了: DDR压力测试工具的独立二进制文件(与CodeWarrior分开)有时可用,而且使用起来更轻便。 NXP在 GitHub 上的 i.MX/Layerscape 社区提供了参考 DDR 配置,可以简化许多工具引导的工作。 LSDK(Layerscape SDK)脚本有时比 IDE 更透明地公开 DDR 初始化参数。 此致
記事全体を表示
FreeRTOS system cannot run (cannot run immediately after creation) After my project program was built according to the specifications, I found that it could not run on the FreeRTOS system (I have investigated and it is not a memory shortage issue, nor should it be a priority issue). My S32DS compiler version is shown in the image below. The task failed to be created. Does this version not support FreeRTOS? Or are there any special configuration requirements? Re: freertos 系统跑不通问题(创建即跑不通) Hello @sunshine88 , The application is not actually stuck because of the sys_msleep(5000) call itself. The behavior indicates that the time base used by sys_now() is not incrementing. Therefore, the timeout condition inside sys_msleep() can never be reached. In the OSIF configuration screenshot, OsIfUseSystemTimer is enabled and the operating system type is set to FreeRTOS. However, the references under OsIfCounterConfig_0 , including the counter and system timer clock references, appear to be incomplete or empty. Adding the PIT component alone does not guarantee that the OSIF time base is correctly configured and initialized. Please do not modify the TCP/IP Stack source code or implement another delay workaround at this point. Instead, I recommend the following: Import the original lwip_FreeRTOS_s32K358 example from the installed TCP/IP Stack package. Build and run the original example without any modifications. Check whether sys_now() increments in the original example. Compare the FreeRTOS, BaseNXP/OSIF, PIT, clock, interrupt, and TCP/IP Stack configurations with your custom project. Verify that the generated initialization sequence includes the required BaseNXP/OSIF and timer initialization. We still need the information requested previously to analyze the custom project correctly: the exact MCU part number; the exact evaluation board or custom board; the original example or project type used as the starting point; whether the unmodified lwip_FreeRTOS_s32K358 example works on the same hardware; the generated implementation of sys_now() ; whether the FreeRTOS tick count returned by xTaskGetTickCount() is increasing. Please first check xTaskGetTickCount() . If it increases while sys_now() remains constant, the FreeRTOS scheduler and tick interrupt are running, and the problem is specifically in the OSIF time-base configuration or initialization. If xTaskGetTickCount() also remains constant, the problem is more fundamental and the FreeRTOS tick interrupt or scheduler configuration must be investigated. If possible, please also provide the complete project archive rather than configuration screenshots only. Without the generated configuration and initialization code, it is not possible to determine which timer or clock source is actually used by sys_now() . Best regards, Pavel Re: freertos 系统跑不通问题(创建即跑不通) Hello, I have created an LWIP program routine, but the Ethernet mainLoopTask task is stuck at sys_msleep(5000); unable to delay. When I step into this function, I find that startTime = sys_now(); the sys_now() function cannot count. My current configuration page is as follows. What could be causing this? I'm very confused. Re: freertos 系统跑不通问题(创建即跑不通) Hello @sunshine88 , The versions shown in your screenshots should support FreeRTOS. S32 Design Studio 3.5 Update 14, RTD 4.0.0, FreeRTOS 4.0.0, and TCP/IP Stack 1.0.4 appear to be the expected package combination, so this does not look like a general version compatibility issue. According to the code shown, the failure occurs directly in xTaskCreate(). Could you please provide the following information? The exact MCU part number and evaluation board or custom board being used. You previously mentioned S32K358, but please confirm the exact device and board. The name of the original example used as the starting point. The value returned by xTaskCreate(). The value printed by xPortGetFreeHeapSize() before and after the xTaskCreate() call. The configured values of configTOTAL_HEAP_SIZE, configSUPPORT_DYNAMIC_ALLOCATION, and the selected FreeRTOS heap implementation, for example heap_4.c. The exact point where the application stops, including the debugger call stack if it enters an assertion, exception, or HardFault handler. Please note that sufficient total MCU RAM does not necessarily mean that sufficient FreeRTOS heap is available. xTaskCreate() dynamically allocates both the task control block and the task stack from the FreeRTOS heap. Also, the 1024U stack-depth argument normally represents stack elements rather than bytes, so the actual allocation is larger than 1024 bytes on the Cortex-M7. As a baseline test, I recommend importing and running the original lwIP FreeRTOS example without modifications. Once the original example works, please add the additional task with a small stack, a normal priority, and a vTaskDelay() call inside its loop. This will help distinguish an environment or board configuration problem from an issue introduced by the additional task. I also noticed that your xTaskCreate() call uses a stack depth of 1024U, while the original working example uses 256U. Please restore the original value of 256U and test the unmodified example first. Note that this parameter specifies the number of stack elements, not the number of bytes, so using 1024U requires significantly more FreeRTOS heap.   Best regards, Pavel
記事全体を表示
Replacement of MIMX8QM6AVUFFAB with MIMX8QP6AVUFFAB Can we replace MIMX8QM6AVUFFAB with MIMX8QP6AVUFFAB Re: Replacement of MIMX8QM6AVUFFAB with MIMX8QP6AVUFFAB The replacement is practical if the design does not use the QuadMax-only compute/DSP resources and the QP-specific software and hardware checks pass.
記事全体を表示
I.MX6ULL ENET1 无法从物理层接收数据 I.M6ULL + 4.19.35 + KSZ 8081rnb  我们现场部署了300台这种设备。大多数情况下它们都能正常运行,业务/服务也能按预期运作。然而,我们偶尔会发现服务无法访问。经调查,我们发现 eth1 (ENET1) 停止接收数据包,即使其 LINK LED 指示灯常亮,ACT LED 指示灯有时闪烁。 此外,我们还验证了在 ENET1 上拔下并重新插入以太网电缆一次后,网络恢复正常。重启设备也能恢复它。请您帮忙分析一下可能的根本原因——是在物理层(PHY)还是媒体访问控制层(MAC)? 从该寄存器读取的值如下: 我们读取的寄存器列表包括 MAC 寄存器和 PHY 寄存器。由于篇幅较长,全文列于下一页。 命令: phy eth1 0x1读取 PHY 寄存器 1。 内存工具 i.MX6UL Linux Re: I.MX6ULL ENET1 can't recv data from phy 你好@240697273 我们读取的寄存器列表包括 MAC 寄存器和 PHY 寄存器。由于篇幅较长,全文列于下一页。 我找不到这些登记簿。请重新发送。 B,R
記事全体を表示
KW45B41Z EVK not programming over on board Debugger MCU Link. Hi, I am trying to program the KW45B41Z-EVK using the kw45b41zevk_hello_world SDK example code. When I start debugging, the onboard debugger gets detected, but then I get the following error: 0 Available SWD Devices detected. Connect a device and try again. I have connected the USB cable to J14 and left JP22 open (to program using the onboard debugger itself). Also, JP28 pins 1 and 2 are shorted, as mentioned in the KW45UM. However, even after that, I am unable to program and debug the example. I have also tried the kw45b41zevk_led_blinky SDK example, but it behaves in the same way. I also tried using an external debugger to debug the board by shorting JP22, as mentioned in the KW45UM, but I am getting the same issue. I have attached a screenshot of the issue I am facing. I also tried to erase the flash and write the image using the Secure Provisioning Tool. First, I entered ISP mode by shorting JP25 to enable SW4, then long-pressed SW4 and Reset (SW3). Once the Test Connection passed, I erased the flash (location 0x00000000, size 0x100000) successfully. Then I used the following image: ${SPT_INSTALL_BIN}\data\sample_data\targets\KW45B41Z8\source_images\kw45b41zevk_led_blinky.s19 I was able to build and program the image successfully, and the intended RGB LED1 is also blinking indicating that KW45B41Z microcontroller is working fine. However, even after this, I am still unable to program or debug the board. Re: KW45B41Z EVK not programming over on board Debugger MCU Link. Hi, @kaif1  Which IDE are you using?  MCUXpresso IDE or MCUXpresso for VS Code? Let me have a try on my side, then let you know the default jumper settings. Best regards, Christine. Re: KW45B41Z EVK not programming over on board Debugger MCU Link. Hi, @kaif1  Please refer to my jumper settings, and I verified on my local side, I can flash hello_world example into the board successfully. And I am using MCUXpresso IDE with SDK 25.12.00. Please have a try with my jumper settings and then let me know whether it works for you . Best regards, Christine. Re: KW45B41Z EVK not programming over on board Debugger MCU Link. Since the Secure Provisioning Tool can successfully flash and run code on the chip, the physical hardware is completely fine, meaning the "0 SWD Devices detected" error stems from a communication mismatch between your IDE's debug probe server and the onboard MCU-Link firmware. This is usually resolved by updating the MCU-Link firmware to the latest version compatible with your IDE, or by manually holding down the reset button during the connection sequence to prevent a low-power application state from locking out the debug interface.
記事全体を表示
how to read lpddr5's mr with imx95 HI experts:      As title , how to read LPDDR5's MR register with imx95 ?  I have reference to the BSP of imx8mp and imx9,  and found the code " lpddr4_mr_read"  . But I found that they are difference, and there is no mention of how to read MR in reference manual. Best Regards. Yocto Project Re: how to read lpddr5's mr with imx95 HI db16122: I want to read the "manufacturer id" in imx-oei for difference DDR compatible.   Re: how to read lpddr5's mr with imx95 please refer to User Guide for Config Tools for i.MX.-Which MR is most important? Re: how to read lpddr5's mr with imx95 IMX95 DDR initialized in the oei/ddr. An only MR write is used, no read examples. DDRC->DDR_SDRAM_CFG |= DDRC_DDR_SDRAM_CFG_MEM_EN_MASK; Thanks
記事全体を表示
i.MX95 19x19 EVK – M2-JODY-W6 Wi-Fi 卡的可用性和相机模块兼容性 您好,NXP团队, 我们正在与 NXP i.MX95 19x19 EVK (IMX95LPD5EVK-19) 合作开发 Android Automotive OS 项目。 我们想就以下问题获得澄清: 1. M2-JODY-W6 无线网卡 我们的 i.MX95 EVK 套件中不包含 M2-JODY-W6 Wi-Fi 卡。 请问您能否提供以下信息: - M2-JODY-W6 Wi-Fi 卡的供货情况 - 我们如何获得/购买这张卡 - NXP是否提供样品或推荐的订购渠道 - i.MX95 19x19 EVK 所需的任何文档或兼容性信息 2. 摄像头模块兼容性 我们还希望获得有关 i.MX95 19x19 EVK 官方支持/验证的相机模块的信息。 请问您能否提供以下信息: - 推荐/已验证的摄像头模块 - 确切的模块/零件编号 - 使用的相机传感器 - 硬件连接/接口信息 相关文件 - Linux/Android 驱动程序或软件支持信息 - 任何可用的参考设计或配置信息 板: NXP i.MX95 19x19 EVK 零件编号:IMX95LPD5EVK-19 软件: Android Automotive OS 16 NXP BSP 希望您能就以上问题提供指导。 谢谢,此致敬礼! 格纳纳·普拉桑纳·古纳卡拉 Re: i.MX95 19x19 EVK – M2-JODY-W6 Wi-Fi Card Availability and Camera Module Compatibility 你好, 第一个问题请提交技术案例,第二个问题请参考以下应用笔记: https://www.nxp.com/docs/en/application-note/AN14853.pdf 此致问候
記事全体を表示
如何使用 IMX95 读取 LPDDR5 的 MR HI专家: 如题,如何使用imx95读取LPDDR5的MR寄存器?我参考了 imx8mp 和 imx9 的 BSP,并找到了代码“lpddr4_mr_read”。但我发现它们之间存在差异,而且参考手册中也没有提及如何阅读 MR。 顺祝商祺! Yocto Project Re: how to read lpddr5's mr with imx95 嗨 db16122: 我想读取imx-oei文件中的“制造商ID”,以区分DDR内存是否兼容。 Re: how to read lpddr5's mr with imx95 请参阅 i.MX 配置工具用户指南。MR最重要吗? Re: how to read lpddr5's mr with imx95 IMX95 DDR 在 oei/ddr 中初始化。 仅使用 MR 写入,没有读取示例。 DDRC->DDR_SDRAM_CFG |= DDRC_DDR_SDRAM_CFG_MEM_EN_MASK; 谢谢!
記事全体を表示
i.MX95 19x19 EVK – M2-JODY-W6 Wi-Fiカードの入手可能性とカメラモジュールの互換性 NXPチームの皆様、こんにちは。 私たちはAndroid オートモーティブ OSプロジェクトのためにNXP i.MX95 19x19 EVK(IMX95LPD5EVK-19)を使用しています。 以下の点についてご説明をいただきたい。 1. M2-JODY-W6 Wi-Fiカード M2-JODY-W6 Wi-Fiカードは、当社のi.MX95 EVKキットには含まれていません。 以下の情報を教えていただけますか: - M2-JODY-W6 Wi-Fiカードの入手可能性 - カードの取得・購入方法 - NXPがサンプルまたは推奨ご注文チャネルを提供するかどうか - i.MX95 19x19 EVKに必要なドキュメントや互換性情報 2. カメラモジュールの互換性 i.MX95 19x19 EVKで公式にサポート/検証済みのカメラモジュールに関する情報も提供していただけると幸いです。 以下の情報を提供していただけますか: - 推奨/検証済みカメラモジュール - 正確なモジュール/部品番号 - 使用カメラセンサ - ハードウェア接続/インターフェース情報 - ドキュメント - Linux/Androidドライバまたはソフトウェアのサポート情報 - 利用可能なリファレンス・デザインや構成情報 ボード: NXP i.MX95 19x19 EVK 部品番号:IMX95LPD5EVK-19 ソフトウェア: Android オートモーティブ OS 16 NXP BSP 上記の質問について、ご助言いただければ幸いです。 よろしくお願いいたします。 グナナ・プラサンナ・グナカラ Re: i.MX95 19x19 EVK – M2-JODY-W6 Wi-Fi Card Availability and Camera Module Compatibility こんにちは、 最初の質問については技術的なケースを開いてください。2つ目の質問については以下のANを参照してください:https://www.nxp.com/docs/en/application-note/AN14853.pdf  よろしくお願いします。
記事全体を表示
ubuntu では、mcuxpresso-secure-provisioning パッケージを使用して、固 定ファイルに名前を付けて、コアシートに書き込みます。 まず、私が使用したチップはMCXN947です。 mcuxpresso-secure-provisioning-26.09-1_amd64-ubuntu26.debパッケージをUbuntuシステムにダウンロードしてインストールしました。 では、このソフトウェアを使って署名され暗号化されたSBフォーマットファイルをどうやって生成すればいいのでしょうか? 私はビデオを見て、bin ファイルに署名と暗号化を行い、Windows システムで sb ファイルをチップに正常に書き込みました。 Ubuntuシステムを操作する方法に関するビデオはありますか?バイナリファイルに署名および暗号化するためのコマンドラインに関するドキュメントはありますか? よろしくお願いします。 Re: 在ubuntu上,怎样使用 mcuxpresso-secure-provisioning 软件给固件签名加密并烧写到芯片 こんにちは、 @justdomyself ドキュメント:https://docs.mcuxpresso.nxp.com/secure/latest/ MCXNデバイスのワークフローを説明する章: https://docs.mcuxpresso.nxp.com/secure/latest/06_processor_specific_workflow.html#n23x-n24x-n52x-n53x-n54x-n94x-device-workflow コマンドラインサポート:https://docs.mcuxpresso.nxp.com/secure/latest/08_command_line_operations.html 関連項目 securep.exe print - cli - examples UbuntuとWindowsのユーザー体験は非常に似ています。問題が発生した場合は、トラブルシューティングのセクションを参照してください。https: //docs.mcuxpresso.nxp.com/secure/latest/09_troubleshooting.html
記事全体を表示
FreeRTOSシステムは実行できません(作成直後は実行できません)。 仕様書に従ってプロジェクトプログラムを作成した後、FreeRTOSシステム上で実行できないことがわかりました(調査の結果、メモリ不足の問題ではなく、優先度の高い問題でもないことがわかりました)。S32DSコンパイラのバージョンは、以下の画像に示されています。 タスクの作成に失敗しました。このバージョンはFreeRTOSをサポートしていないのでしょうか?それとも、特別な設定要件があるのでしょうか? Re: freertos 系统跑不通问题(创建即跑不通) こんにちは、@sunshine88 さん。 申請が sys_msleep(5000) コール自体のせいで止まっているわけではありません。この動作は、 sys_now() で使用されている時間ベースが増加していないことを示しています。したがって、 sys_msleep() 内のタイムアウト条件には決して到達できません。 OSIF構成のスクリーンショットでは、 OsIfUseSystemTimer が有効になっており、オペレーティングシステムの種類はFreeRTOSに設定されています。しかし、 OsIfCounterConfig_0 の下の参照、カウンタとシステムタイマークロックの参照を含め、不完全または空であるようです。PITコンポーネントを追加するだけでは、OSIFタイムベースが正しく構成および初期化されることを保証するものではありません。 現時点では、TCP/IPスタックのソースコードを変更したり、別の遅延回避策を実装したりしないでください。代わりに、私は以下のことをお勧めします。 インストールされたTCP/IPスタックパッケージから元の lwip_FreeRTOS_s32K358 例をインポートしてください。 元のサンプルを一切変更せずにビルドして実行してください。 元の例で sys_now() が増加するかどうかを確認してください。 FreeRTOS、BaseNXP/OSIF、PIT、クロック、割り込み、およびTCP/IPスタックの設定を、カスタムプロジェクトと比較してください。 生成された初期化シーケンスに、必要なBaseNXP/OSIFおよびタイマーの初期化が含まれていることを確認してください。 カスタムプロジェクトを正しく分析するためには、以前にご依頼した情報が引き続き必要です。 正確なMCU部品番号; 正確な評価ボードまたはカスタムボード; 出発点として使用された元の事例またはプロジェクトの種類。 変更されていない lwip_FreeRTOS_s32K358 の例が同じハードウェアで動作するかどうか。 sys_now() の生成された実装。 xTaskGetTickCount() によって返される FreeRTOS ティック カウントが増加しているかどうか。 まず xTaskGetTickCount() を確認してください。 sys_now() が一定のままでが増加する場合、FreeRTOSスケジューラとティック割り込みが実行されており、問題は具体的にはOSIFタイムベースの設定または初期化にあります。 xTaskGetTickCount() も一定のままであれば、問題はより根本的なものであり、FreeRTOSのティック割り込みまたはスケジューラ構成を調査する必要があります。 可能であれば、構成スクリーンショットだけでなく、プロジェクト全体のアーカイブも提供してください。生成された構成コードと初期化コードがないと、 sys_now() が実際にどのタイマーまたはクロックソースを使用しているかを判断することはできません。 よろしくお願いいたします。 パベル Re: freertos 系统跑不通问题(创建即跑不通) こんにちは。LWIPプログラムルーチンを作成しましたが、Ethernet mainLoopTaskタスクがsys_msleep(5000);で停止してしまい、遅延させることができません。この関数をステップ実行すると、startTime = sys_now(); と表示されますが、sys_now()関数はカウントできません。現在の設定ページは以下のとおりです。何が原因でしょうか?非常に困惑しています。 Re: freertos 系统跑不通问题(创建即跑不通) こんにちは、@sunshine88 さん。 スクリーンショットに表示されているバージョンはFreeRTOSをサポートしているはずです。S32 Design Studio 3.5 アップデート14、RTD 4.0.0、FreeRTOS 4.0.0、およびTCP/IPスタック1.0.4これは予想されるパッケージの組み合わせのようで、一般的なバージョン互換性の問題とは思えません。 示されているコードによると、エラーはxTaskCreate()関数内で直接発生しています。以下の情報を教えていただけますか? 正確なMCU部品番号と評価ボード、またはカスタムボードが使われているのです。以前S32K358とおっしゃっていましたが、正確なデバイス名と基板名をお知らせください。 出発点として使用された元の例の名前。 xTaskCreate() によって返される値。 xTaskCreate() 呼び出しの前後で xPortGetFreeHeapSize() によって出力される値。 configTOTAL_HEAP_SIZE、configSUPPORT_DYNAMIC_ALLOCATION の設定値、および選択された FreeRTOS ヒープ実装 (例: heap_4.c)。 アプリケーションが停止する正確なポイント、特にアサーション、例外、ハードフォールハンドラに入るデバッガ呼び出しスタックも含まれます。 十分なMCU RAMがあっても、必ずしも十分なFreeRTOSヒープが利用できるとは限りません。xTaskCreate() は、FreeRTOS ヒープからタスク制御ブロックとタスクスタックの両方を動的に割り当てます。また、1024Uのスタック深度引数は通常、バイトではなくスタック要素を表すため、Cortex-M7の実際の割り当ては1024バイトより大きいです。 ベースラインテストとして、オリジナルのlwIP FreeRTOSサンプルを修正せずにインポートして実行することをお勧めします。元のサンプルが正常に動作したら、小さなスタックサイズ、通常の優先度、そしてループ内にvTaskDelay()呼び出しを含む追加タスクを追加してください。これにより、環境やボード構成の問題と、追加タスクによって引き起こされた問題を区別するのに役立ちます。 また、あなたの xTaskCreate() 呼び出しではスタック深度が 1024U であるのに対し、元の動作例では 256U を使用していることに気づきました。まず、元の値である256Uに戻し、変更を加えていないサンプルをテストしてください。このパラメータはバイト数ではなくスタック要素数を指定するため、1024Uを使うには大幅に多くのFreeRTOSヒープが必要です。   よろしくお願いします、 パベル
記事全体を表示
ベンダーのツールに関する経験 皆さん、こんにちは。ベンダーのハードウェアを扱う際に、ベンダーのツールを使った経験についてお聞かせください。例えば、NXPのLayerscapeシリーズやSTM32MP1シリーズのような製品について話してみましょう。私はNXPのLayerscape SoCの一つをベースにしたボードを作っていましたが、唯一提供されているツールが例えば、DDRはEclipseをベースにした**ピー音**IDEです。このツールの品質を考えれば、無料で提供しても文句は言わないでしょうが、ライセンス料はかなり高いです。IDEを使ってこれやあれをやりたいですか?頑張ってください。「私にできる精一杯」は、ほとんど100%正確ではなく、古い部分的なドキュメント、必ず答えが得られるフォーラム、誰かが対応してくれる、そして画面の内容がほとんど見えない240p動画です。DDRの立ち上げと検証にのみ使用し、残りの作業はこのツールなしで済ませたいと思っています。他のベンダーとの取引経験はいかがですか?TIはどうでしょうか?STのツールもいくつか見たことがありますが、確かにずっとシンプルに見えました。ただ、実際に使った経験はありません。 Re: Experience with vendor's tools こんにちは、 Eclipse ベースは老朽化しており、DDR ツール (DDR ストレス テスト ツール) は機能的ですが扱いにくく、ライセンス コストとの比較。品質比率は組み込みコミュニティでよく見られる不満です。ドキュメントのギャップは現実的で、AN(アプリケーションノート)は公式のツールドキュメントよりも優れたリソースであることが多いです。多くのエンジニアは、計画通りDDR PHYの開始やトレーニングに専念して使い、その後は次に進みます。   NXP Layerscape DDRの立ち上げに関する実践的なヒント 今のところはこれしか選択肢がないので: DDRストレステストツールのスタンドアロンバイナリ(CodeWarriorとは別)が利用可能な場合があり、そちらの方が軽量です。 NXPの i.MX/Layerscape コミュニティ(GitHub)には、ツール誘導作業を省略できるリファレンスDDR設定があります。 LSDK(Layerscape SDK) スクリプトは、DDR initパラメータをIDEよりも透明に公開することがあります。 よろしくお願いします。
記事全体を表示