Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
i.MX 943 EVK:LinuxとZephyrの間でENETCの共有ユースケースを実行 こんにちは、 私は i.MX 943 EVKボードを使っており、Linux上のCortex-A55 SMPとZephyrのCortex-M33sの間でネットワークを共有したいと考えています。 そこで興味を持ちました。i.MX Linux ユーザーズガイド(https://www.nxp.com/docs/en/user-guide/UG10163.pdf - セクション11.6.2)からのENETC共有ユースCASEです。この例では、Linux側でプロキシPFドライバーを有効にするためにRPMsg接続を設定しました。RPMsg接続のリソーステーブルのアドレスは0x208a0000で、仮想キューは0x20800000にあります。これらのアドレス([0x20800000~0x208A0FFF])はNETC OCRAM内にあります。この領域はCortex-M33 Core1(M33S)とAP(非セキュアLinux)間のRPMSG共有メモリとして使用されます。 この例では、mx94evknetc.cfgのシステムマネージャー設定ファイルを使い、Cortex-M33がネットワークにアクセスできるようにしています。この設定ファイルの関係で、A55とM33は起動時に起動する必要があるので、ターゲットのimx-mkimage flash_allを使っています。 問題は、flash_a55ターゲット(mx94rte.cfgシステムマネージャーの設定ファイル)を使うと、Linux/U-BootとZephyrはそれらのアドレスにアクセスできますが、flash_allに切り替えると(システムマネージャーの設定ファイルに関係なく)、Linux/U-BootもZephyrもそれらのアドレスにアクセスできません。Zephyrはこれらのアドレスでバスフォールトが発生します。しかし、Zephyrの代わりにシンプルなhello_worldなどのFreeRTOSプログラムを使うと、Cortex-M33sやLinux/U-Bootがそれらのアドレスにアクセスできます。 また、mx94rte.cfgシステムマネージャーファイルでflash_allターゲットを使うと、Linux/U-BootもZephyrもそのアドレスにアクセスできませんが、Cortex-M33を停止してFreeRTOS hello_worldを読み込んで再起動すると、Linux/U-BootはNETC OCRAMにアクセスできます。 ちなみに、Zephyrはflash_M33sターゲットにアクセスできません。 そこで、FreeRTOSが初期化時にZephyrができないことを知りたいです。つまり、Linux/U-BootとZephyr間でNETC OCRAMにアクセスしやすくするために、その点はflash_allターゲットで。 ゼファーバージョン:4.3 Linuxバージョン(リアルタイムエッジ版):6.18.2 Linux Re: i.MX 943 EVK : Run the ENETC shared use case between Linux and Zephyr こんにちは、 @Remantj さん。 お元気でお過ごしのことと思います。 ぜひnxp-zephyrのドキュメントをご覧ください: https://github.com/nxp-zephyr/nxp-zephyr/blob/main/boards/nxp/imx943_evk/doc/index.rst#programming-and-debugging-m33-in-netc-mix-m7_0-in-m7mix0-m7_1-in-m7mix1 System-Managerで説明されている変更があなたの場合に効果があったか教えてください。 よろしくお願いいたします。 サラス。
記事全体を表示
Newbie setting up an autosar environment When downloading S32 Design Studio for ARM 2.2 – Windows/Linux, the above message appears. Hopefully, the official website can be reset so that downloads can proceed normally. Thank you. When downloading S32 Design Studio for ARM 2.2 – Windows/Linux, the above message appears. Hopefully, the official website can reset this so that the download can proceed normally. Thank you. Re: 新手搭载autosar环境 Hello, Please try it now. It should be working. Best regards, Peter
記事全体を表示
i.MX 943 EVK : Run the ENETC shared use case between Linux and Zephyr Hello, I am using the i.MX 943 EVK board and I would like to share the network between the Cortex-A55 SMP on Linux and the Cortex-M33s on Zephyr. So I got interested in the example :  ENETC shared use case from the i.MX Linux User's Guide (https://www.nxp.com/docs/en/user-guide/UG10163.pdf - Section 11.6.2). This example set an RPMsg connection in order to enable the proxy PF driver on the Linux side. The address of the resource table for the RPMsg connection is 0x208a0000 and the virtqueues are at 0x20800000. These addresses ( [0x20800000 to 0x208A0FFF] ) are located in NETC OCRAM. This region is used as RPMSG shared memory between Cortex-M33 Core1(M33S) and AP(Non Secure Linux). For this example, I use the mx94evknetc.cfg system manager config file so that the Cortex-M33s have access to the network. Because of this config file, I need to start the A55 and the M33s at boot time, so I use the target imx-mkimage flash_all. My problem is that when I use a flash_a55 target (with the mx94rte.cfg system manager config file), Linux/U-Boot and Zephyr have access to those addresses but when I switch to flash_all (no matter the system manager config file) neither Linux/U-Boot nor Zephyr have access to those addresses, regardless of the Zephyr program (Zephyr encounters a Bus Fault on these addresses). But if I use any FreeRTOS program such as a simple hello_world instead of Zephyr, the Cortex-M33s and Linux/U-Boot have access to those addresses. And I can say that if I use a flash_all target with the mx94rte.cfg system manager file,  neither Linux/U-Boot nor Zephyr have access to those addresses but if I stop the Cortex-M33s and load a FreeRTOS hello_world on it and start again, then Linux/U-Boot have access to the NETC OCRAM. For information, Zephyr doesn't have access with a flash_M33s target. So I would like to know what FreeRTOS does during its initialization that Zephyr doesn't in order to make the NETC OCRAM accessible between Linux/U-Boot and Zephyr with a flash_all target ? Zephyr Version : 4.3 Linux Version (Real Time Edge version) : 6.18.2 Linux Re: i.MX 943 EVK : Run the ENETC shared use case between Linux and Zephyr Hello @Remantj  Hope you are doing very well. Please take a look to the nxp-zephyr Documentation: https://github.com/nxp-zephyr/nxp-zephyr/blob/main/boards/nxp/imx943_evk/doc/index.rst#programming-and-debugging-m33-in-netc-mix-m7_0-in-m7mix0-m7_1-in-m7mix1 Let me know if those changes described in the System-Manager worked in your case. Best regards, Salas.
記事全体を表示
新手搭载autosar环境 下载S32 Design Studio for ARM 2.2 – Windows/Linux 的时候,提示如上 希望能官网能重置一下,可以进行正常下载  谢谢 When downloading S32 Design Studio for ARM 2.2 – Windows/Linux, the above message appears. Hopefully, the official website can reset this so that the download can proceed normally. Thank you. Re: 新手搭载autosar环境 你好, 请立即尝试。应该可以正常运行了。 顺祝商祺! Peter
記事全体を表示
i.MX 943 EVK:在 Linux 和 Zephyr 之间运行 ENETC 共享用例 你好, 我正在使用 i.MX 943 EVK 开发板,我想在 Linux 系统上的 Cortex-A55 SMP 和 Zephyr 系统上的 Cortex-M33s 之间共享网络。 所以我对 i.MX Linux 用户指南中的 ENETC 共享用例示例产生了兴趣( https://www.nxp.com/docs/en/user-guide/UG10163.pdf - 第 11.6.2 节)。本示例设置了 RPMsg 连接,以便在 Linux 端启用代理 PF 驱动程序。RPMsg 连接的资源表地址为 0x208a0000,虚拟队列位于 0x20800000。这些地址([0x20800000 到 0x208A0FFF])位于 NETC OCRAM 中。该区域用作 Cortex-M33 Core1(M33S) 和 AP(非安全 Linux) 之间的 RPMSG 共享内存。 在这个例子中,我使用 mx94evknetc.cfg 系统管理器配置文件,以便 Cortex-M33s 可以访问网络。由于这个配置文件,我需要在启动时启动 A55 和 M33s,所以我使用目标 imx-mkimage flash_all。 我的问题是,当我使用 flash_a55 目标(使用 mx94rte.cfg 系统管理器配置文件)时,Linux/U-Boot 和 Zephyr 可以访问这些地址,但当我切换到 flash_all(无论系统管理器配置文件如何)时,Linux/U-Boot 和 Zephyr 都无法访问这些地址,无论 Zephyr 程序如何(Zephyr 在这些地址上遇到总线故障)。但是,如果我使用任何 FreeRTOS 程序(例如简单的 hello_world)而不是 Zephyr,Cortex-M33s 和 Linux/U-Boot 就可以访问这些地址。 我可以说,如果我使用带有 mx94rte.cfg 系统管理器文件的 flash_all 目标,Linux/U-Boot 和 Zephyr 都无法访问这些地址,但如果我停止 Cortex-M33s 并在上面加载 FreeRTOS hello_world 并重新启动,那么 Linux/U-Boot 就可以访问 NETC OCRAM。 需要注意的是,Zephyr 无法访问 flash_M33s 目标。 所以我想知道,为了让 Linux/U-Boot 和 Zephyr 能够通过 flash_all 目标访问 NETC OCRAM,FreeRTOS 在初始化过程中做了哪些 Zephyr 没有做的事情? Zephyr 版本:4.3 Linux 版本(实时边缘版本):6.18.2 Linux Re: i.MX 943 EVK : Run the ENETC shared use case between Linux and Zephyr 你好@Remantj 希望你一切都好。 请查阅 nxp-zephyr 文档: https://github.com/nxp-zephyr/nxp-zephyr/blob/main/boards/nxp/imx943_evk/doc/index.rst#programming-and-debugging-m33-in-netc-mix-m7_0-in-m7mix0-m7_1-in-m7mix1 请告诉我系统管理器中描述的那些更改是否对您有效。 顺祝商祺! 萨拉斯。
記事全体を表示
初心者がAUTOSAR環境をセットアップする S32 Design Studio for ARM 2.2 – Windows/Linux をダウンロードする際に、上記のメッセージが表示されます。 公式サイトが復旧し、ダウンロードが正常に行えるようになることを願っています。よろしくお願いいたします。 S32 Design Studio for ARM 2.2 – Windows/Linux をダウンロードする際に、上記のメッセージが表示されます。公式サイトがこの問題を解決し、ダウンロードが正常に進むようにしてくれることを願っています。ありがとう。 Re: 新手搭载autosar环境 こんにちは、 今すぐお試しください。動作するはずです。 よろしくお願いいたします。 ピーター
記事全体を表示
i.MX8MP上のNXP Debian Linux SDKのDebianセキュリティリポジトリに関する説明 NXPチームの皆様、こんにちは。 NXP Debian Linux SDKをi.MX8MPベースのカスタムボードで使用しています。 Debian Linux SDKユーザーガイドUG10155によると、私たちの理解ではSDKはDebianベースであり、RootFSは主に標準のDebian.debを使用していますパッケージ。一方、NXPやボード固有のコンポーネントや構成はSDKによって統合されます。 また、NXPコミュニティの記事「Debian 12 Installation Guide for iMX8M, IMX8MP, iMX8MN and iMX93」も参照しました。その記事では、適切な設定例としてDebian 12 / bookwormのセキュリティおよびアップデートリポジトリが含まれています。 現在使用している Debian 13 / trixie ベースのシステムでは、/etc/apt/sources.list には以下のエントリのみが含まれています。 デブhttp://deb.debian.org/debianトリクシー メインコントリビュート NXP Debian Linux SDKの今後のセキュリティアップデートモデルについて明確にしたいと思います。 以下の点を確認していただけませんか? 1.Debian 13 / trixieをベースにしたNXP Debian Linux SDKの場合、現在のAPTソース構成が予想されますか?それともDebianのセキュリティとアップデートリポジトリも追加することが推奨されますか? 例: デブhttp://deb.debian.org/debianトリクシー メインコントリビュート デブhttp://deb.debian.org/debiantrixie-updates メインコントリビュート デブhttp://security.debian.org/trixie-security 主要投稿 2. カーネル、U-Boot、ATF、OP-TEE、DTB、ペリフェラルファームウェア、NXP特有ドライバコンポーネントなど、NXP / BSP / ボード固有のコンポーネントについて、推奨されるセキュリティアップデート手順は何でしょうか?NXPはこれらのコンポーネントに対してセキュリティアドバイザリー、パッチ、SDKアップデートを提供していますか? 正確なセキュリティメンテナンスの指導をお客様に提供できるよう、この点を確認したいと考えています。 よろしくお願いします。 Linux Re: Clarification on Debian security repositories for NXP Debian Linux SDK on i.MX8MP こんにちは@Leo_dev  現在、SDKは「trixie main contrib」のみをデフォルトで含めており、これは評価やガイド付きインストールのための通常の構成ですが、これは最終的な本番環境構成ではありません。必要なら、以下の資料を使うこともできます。 deb http://deb.debian.org/debian trixie main contrib deb http://deb.debian.org/debian trixie-updates main contrib deb http://security.debian.org/debian-security trixie-security main contrib NXPが提供するコンポーネントについては、flexbuildのソースコードタグを個別に変更することで最新バージョンにアップデートできます。 よろしくお願いします、 志明
記事全体を表示
I am looking for the impedance of AFT05MS004NT AT FREQ 30-45 MHZ I am looking for the impedance of the  AFT05MS004NT1 ,ZLOAD AND Z SOURCE FOR 30-45 MHZ  PLEASE HELP ME GUYS Re: I am looking for the impedance of AFT05MS004NT AT FREQ 30-45 MHZ Hello, Unfortunately, we do not have impedance data for the AFT05MS004NT in the 30–45 MHz frequency range. Obtaining impedance data requires a dedicated characterization process that must be performed separately for each frequency of interest. This process is time consuming and typically focuses on the frequency range for which the device was originally characterized and intended to operate. Evaluating additional frequencies often requires the design and construction of specific test fixtures and matching networks. For this reason, impedance data is not always available for operating conditions outside the standard characterization range, such as different frequencies, power levels, or supply voltages. We apologize for any inconvenience and appreciate your understanding.
記事全体を表示
NAFE13388晶体规格 RIOP RevB2 中 NAFE13388 晶体(X1,18.432 MHz)采用哪种晶体规格(ppm/负载)? Re: NAFE13388 crystal spec 你好, 零件编号:ECS-184-12-33Q-JES-TR ppm:20 ppm 负载: 12 pF 希望这能帮到您。
記事全体を表示
S12X serial MCU ,how to know the Code's START ADDRESS Now I have a Can Boot Demo , it can analysis S19 file and send data and offset address to S9S12G64 , MCU just need to write flash on Specify address which master Computer send. I need to know the start address of the APP code ,there is the app project 's prm file ,how to get the start address?  Re: S12X serial MCU ,how to know the Code's START ADDRESS Here is APP and Boot Code Re: S12X serial MCU ,how to know the Code's START ADDRESS Hello @李乐  Could you please send the MAP file or the S19 file for reference? Thank you. BR Alice
記事全体を表示
Could I use any GPIO pin as interrupt input signal which worked at edge detection mode? Hi, Because 6 dedicated IRQ(0~5) pins are not enough for me, I need other GPIO pin work as interrupt input signal. So, I have below two questions: 1. Could any GPIO be used as interrupt signal input, which worked at edge detection mode?  2. If above 1 is yes, what difference between dedicated IRQ and GPIO?  Maybe is response priority? Thanks in advance! Best regards! Jason Re: Could I use any GPIO pin as interrupt input signal which worked at edge detection mode? Yes, an LS1021A GPIO can be used as an interrupt input, including edge-detection mode, as long as the pin is actually muxed/available as a GPIO input in your board configuration. GPIO as edge interrupt input The GPIO block has interrupt control/status/mask registers: GPIER , GPIMR , and GPICR ; the GPICR configures event detection, including edge-triggered behavior, and the GPIO interrupt logic outputs a consolidated gpio_int request to the system. For each GPIO port line, the EDn bit selects whether the interrupt is generated on any state change or on a high-to-low transition . So GPIO interrupt input is supported, but note that the documented edge choices are not the same as a fully independent rising/falling/both-edge selector: the cited modes are “any change” or “high-to-low.” Dedicated IRQ vs GPIO interrupt The main difference is the interrupt path and granularity: Dedicated IRQ0–IRQ5 pins are external I/O signals directly connected to interrupt-controller lines; their interrupt status is available in the corresponding GIC-400 registers, and their polarity is programmable through SCFG_INTPCR . GPIO interrupts are not separate GIC inputs per pin. The GPIO module detects/stores the pin event in GPIER , applies masking/control through GPIO registers, and then drives a consolidated GPIO interrupt request.The reference manual also states that all GPIO interrupts are ORed together for the GPIO interrupt source. So the practical software difference is that a dedicated IRQ can be handled as its own interrupt source at the GIC level, while a GPIO interrupt normally requires the ISR to enter the GPIO block, read GPIER to determine which pin caused the event, then clear/service it. Use dedicated IRQ pins for the most latency-sensitive or individually prioritized external interrupts; use GPIO interrupts when you need more inputs and can tolerate shared GPIO interrupt handling. Re: Could I use any GPIO pin as interrupt input signal which worked at edge detection mode? Hi, This question is about LS1021A. Any response is welcome! Best regards! Jason
記事全体を表示
S32K144 FLASH allocates custom fields to store the data that the program wants to write. Hello to NXP's technical staff I encountered a problem during the development of the S32K144 chip. I want to put some variables into my custom ROM fields, but I'm not sure how to do it in the program. I defined the storage fields in S32K144_64_flash.ld And CALC_RAM is defined in SECTIONS. #define CALC_RAM_ATTRIBUTE__attribute__ ((section(".CALC_RAM"))) CALC_RAM_ATTRIBUTE const uint8_t my_flash_array[] = {0x01, 0x02, 0x03, 0x04}; CALC_RAM_ATTRIBUTE const uint8_t my_flash_brray[] = {0x01, 0x02, 0x03, 0x04}; CALC_RAM_ATTRIBUTE const uint8_t my_flash_crray[] = {0x01, 0x02, 0x03, 0x04}; The code above has placed my array into a custom field in CALC_RAM. My question is that this method is rather cumbersome. Since the macro CALC_RAM_ATTRIBUTE needs to be added before every newly defined array, is there a more convenient way to batch-store a piece of data into my custom field CALC_RAM? Looking forward to your reply Thank you so much! Re: S32K144 FLASH分配自定义字段 将程序中想要写入的数据放入自定义字段 Hi @Ni_, You generally have three options: OPTION 1. Keep the attributes as you do it. OPTION 2. Put everything into a dedicated source file, for example: /* cal_data.c */ #include const uint8_t table1[] = { 0x01, 0x02, 0x03, 0x04 }; const uint8_t table2[] = { 0x10, 0x20, 0x30, 0x40 }; const uint8_t table3[] = { 0xAA, 0xBB, 0xCC, 0xDD }; Then in the linker file: MEMORY { int_flash_interrupts : ORIGIN = 0x00000000, LENGTH = 0x00000400 int_flash_config : ORIGIN = 0x00000400, LENGTH = 0x00000010 int_flash : ORIGIN = 0x00000410, LENGTH = 0x0007BBF0 calib_flash : ORIGIN = 0x0007C000, LENGTH = 0x00004000 int_sram_results : ORIGIN = 0x1FFF8000, LENGTH = 0x00000100 int_sram : ORIGIN = 0x1FFF8100, LENGTH = 0x0000DF00 int_sram_stack_c0 : ORIGIN = 0x20006000, LENGTH = 0x00001000 ram_rsvd2 : ORIGIN = 0x20007000, LENGTH = 0 } .flash_config : { KEEP(*(.flash_config)) } > int_flash_config .calib_flash : { . = ALIGN(4); __calib_flash_start = .; KEEP(*cal_data.o(.rodata*)) . = ALIGN(4); __calib_flash_end = .; } > calib_flash .flash : { . = ALIGN(4); *(.startup) . = ALIGN(4); *(.systeminit) . = ALIGN(4); *(.text.startup) . = ALIGN(4); In the .map file: OPTION 3. Use a section pragma/macros. Some compiler support it, not GCC though. Regards, Daniel Any support, information, and technology (“Materials”) provided by NXP are provided AS IS, without any warranty express or implied, and NXP disclaims all direct and indirect liability and damages in connection with the Material to the maximum extent permitted by the applicable law. NXP accepts no liability for any assistance with applications or product design. Materials may only be used in connection with NXP products. Any feedback provided to NXP regarding the Materials may be used by NXP without restriction.      
記事全体を表示
i.MX RT1010 Flashing Issue I am using the @i.MX RT1010 on a custom board and I'm facing a flashing issue. All power rails are stable and within specification. RESET pin is stable (HIGH after power-up). The debugger detects the target, but flashing always fails. I have already checked the hardware for shorts and soldering issues. Development Board Re: i.MX RT1010 Flashing Issue Hello @keerthisri123, In order to support you better, could you provide me the next information? -Are you using the same external flash device as the RT1010-EVK? If not, could you please provide the part number of the flash device used on your custom board? -Which image are you attempting to program? Is it an SDK example or your own custom application? -Which tool are you using to program the device? For example MCUxpresso IDE, Secure provisioning tool, etc? -Are you connected through JTAG or SWD? If there are any additional details you believe could help, please do not hesitate to let me know. BR Habib Re: i.MX RT1010 Flashing Issue Hello Habib, Thank you for your response. Please find the details below: External Flash: I am using the AT25SF128A-SHB-T QSPI NOR Flash on my custom board. same as a EVK Image: I am attempting to program the evkmimxrt1010_igpio_input_interrupt SDK example. Programming Tool: SEGGER J-Link Commander V9.56 and SEGGER J-Flash Lite V9.56. Debug Interface: JTAG, using the same interface as the RT1010-EVK. Image Also attached for Your reference All Power sequence Reset Line are correctly Working  Re: i.MX RT1010 Flashing Issue Hello @keerthisri123, Could you please confirm whether you are able to connect to your device through the UART interface? If so, could you please follow the steps described in Section 6.15.2, "Connecting the board for RT10xx/RT116x/RT117x devices," of the Secure Provisioning Tool User Guide v26.03 and let me know your results? This will help to determine whether the issue is related to the SWD connection or if there may be another hardware problem.  You can access the User Guide directly from the Secure Provisioning Tool by navigating to Help → User Guide. Additionally, I recommend reviewing Chapter 5, "Debugging and Programming," of the Hardware Development Guide for the MIMXRT1010 Processor. This chapter provides several recommendations and best practices regarding debug connector implementation that may help you verify your hardware design and ensure reliable debug operation. What is the status of the boot mode pins and boot configuration pins when measured during power-up? Are they stable? Finally, could you please provide oscilloscope captures of the power up sequence? This will allow to verify that the power up timing and initialization sequence are being performed correctly. BR Habib Re: i.MX RT1011 Flashing Issue Hi Habibi, I have attached some reference images showing the Secure Provisioning Tool that I am using. I am using both JTAG and UART interfaces, but I am still getting a "Check connection, power supply and reset to ISP mode" message, as shown in the error log below. Could you please advise me on the next steps to troubleshoot this issue? Are there any specific procedures I should follow for the secure provisioning process? Also, are there any hardware checks that should be completed before proceeding with these steps? Thank you in advance for your support. Re: i.MX RT1011 Flashing Issue Hello @keerthisri123, Since this thread is public, could you please open a support ticket so that we can continue the investigation through a more private communication channel and securely review your schematics? This will help to further analyze the issue and discard any potential hardware connection issue. When opening the ticket, please feel free to reference this post and mention my name so I can continue assisting you. To help perform an initial review, please include the complete board schematics, with particular attention to: -Boot mode pins and boot configuration pins. -External flash connections. -Core and debug interface connections. -Power supply circuitry. -Clock connections. -Oscilloscope captures of the power-up sequence and the state of boot mode pins and boot configuration pins during power up. BR Habib
記事全体を表示
S32K388電源 こんにちは、S32K388。 私はそのS32K388を自分のアプリケーションの一つに使っています。V11はV15のラストマイルレギュレーターNMOSから供給されることを想定しています。しかし、この1.5Vは外部のDC/DCコンバーターから供給したいと考えています。それは実現可能でしょうか? よろしくお願いいたします。 ジュールズ Re: S32K388 power supplies こんにちは、 @JulesW さん、 S32K388 Power Architectureに基づき、V11はハードウェア設計ガイドラインに記載されている通り、V15レールからの外部NMOSラストマイルレギュレータを使用して生成しなければなりません。 ただし、1.5V V15レール自体が外部のDC/DCコンバーターから供給できるかどうかが質問であれば、それは可能です。これはS32K388 EVBでも採用されているアプローチで、ジャンパーオプションの一つとして、1.5V電源レールをPMICによって外部で生成するオプションがあります。 よろしくお願いいたします。 パベル
記事全体を表示
MPC574xP BCTRL 您好: 我的客户正在使用MPC5741P进行汽车电子调速应用。 目前,最终 OEM 厂商询问了他们有关 BCTRL 引脚特性(例如电压区域)的问题。 您能帮忙核实一下吗?谢谢。 下图是波形,它是三角波,OEM 要求在 MCU 侧的基极控制输出引脚上添加去耦电容。 Re: MPC574xP BCTRL 数据手册推荐的晶体管型号如下所示: 此外,还需要进行适当的旁路/解耦。主要关注VDD_LV_COR:
記事全体を表示
yolov11n,yolov8n,yolov5nu model not getting any output after running on i.MX95 NPU   [i.MX95 NPU] YOLOv5n/v8n/v11n Neutron-converted Models Run but Return No Detections (Zero Output) Issue Description I am evaluating YOLO object detection models on the i.MX95 NPU using the Neutron converter. While the INT8 quantized TFLite models run successfully and detect objects on the Cortex-A55 CPU, the compiled neutron.tflite versions yield zero detections (empty/no output) when offloaded to the NPU, despite executing inference without crashing. Environment & Hardware Setup   Hardware: i.MX95 19x19 LPDDR5 EVK (A1 Revision) OS/Kernel: Linux 6.12.34-lts-next-gbe78e49cb433 #1 SMP PREEMPT (aarch64) NXP Toolchain: MCU-SDK v25.09.00 + Linux 6.12.34_2.1.0 Models Tested: YOLOv5nu, YOLOv8n, YOLOv11n (Ultralytics) Workflow Steps & Commands Used 1. Quantization (Ultralytics Export) Models were exported to INT8 full integer quantization with a 320x320 resolution: yolo export model=yolov8n.pt format=tflite int8=True imgsz=320# (Repeated identically for yolov11n.pt and yolov5nu.pt)   Status: Works perfectly on CPU. yolovXn_full_integer_quant.tflite detects objects correctly on the A55 cores. 2. Neutron Compilation The TFLite models were compiled for the i.MX95 NPU using the Neutron converter from MCU_SDK_25.09.00+Linux_6.12.34_2.1.0: ./neutron-converter --input yolov8n_full_integer_quant.tflite --target imx95 --output yolov8n_full_integer_quant_neutron.tflite   Status: Fails to detect objects on NPU. The compiled model loads and runs inference without throwing syntax or execution errors, but output tensors return zero detections for the exact same test images. Observed Symptoms & Suspected Root Causes   Operator Fallbacks: Did the converter fall back to CPU for specific YOLO layers (like custom Anchors, SiLU/Swin activations, or Non-Max Suppression)? Quantization Scaling/Asymmetry: YOLO models exported via Ultralytics often use asymmetric quantization or have specific output tensor scaling that the Neutron NPU driver might misinterpret. Output Tensor Formatting: The inference runs, which suggests the input pipeline is fine, but the output bounding boxes/scores are either blank or completely garbage values. Questions for NXP Experts   Are there known limitations or mandatory optimization flags needed in the neutron-converter specifically for Ultralytics YOLO architectures? Should the NMS (Non-Max Suppression) layer be stripped out before passing the TFLite model to the Neutron converter? Does the i.MX95 Neutron SDK require symmetric quantization (per_channel=True or False) to parse the output layers properly? Any guidance, reference scripts, or working YOLO deployment notes for the i.MX95 NPU would be highly appreciated.   Re: yolov11n,yolov8n,yolov5nu model not getting any output after running on i.MX95 NPU Hi Alejandro, Thank you for your response. I believe there may be a misunderstanding regarding my hardware platform. My issue is not related to the i.MX91. I am using the following platform: Board: i.MX95 19x19 LPDDR5 EVK (IMX95LPD5EVK-19CM, A1 Revision) Board Quick Start Guide: https://www.nxp.com/docs/en/quick-reference-guide/IMX95LPD5EVK-19CM.pdf Neutron SDK: MCU_SDK_25.09.00+Linux_6.12.34_2.1.0 Kernel: Linux 6.12.34-lts-next-gbe78e49cb433 #1 SMP PREEMPT (aarch64) The guide you shared appears to be for the i.MX91, whereas my question is specifically about YOLO deployment on the i.MX95 Neutron NPU. The original INT8 TFLite models (YOLOv5nu, YOLOv8n, and YOLOv11n) run correctly on the Cortex-A55 CPU and produce valid detections. However, after compiling the same models using the Neutron converter included in MCU_SDK_25.09.00+Linux_6.12.34_2.1.0, inference executes successfully on the NPU without any runtime errors, but the output tensors contain no valid detections. For easier investigation, I have already attached the following files to my original post: * Original INT8 quantized TFLite models. * Neutron-converted TFLite models for YOLOv8n and YOLOv11n. * A Python inference script that can be used to reproduce the issue. Since these are the original pretrained Ultralytics models converted to TFLite, you can use the standard COCO class names directly with the provided script. It should allow you to reproduce the behavior on your i.MX95 platform without requiring any additional modifications. I would appreciate it if you could reproduce the issue using the attached files and let me know whether this is a known limitation or issue with the current Neutron SDK for the i.MX95. Thank you. Re: yolov11n,yolov8n,yolov5nu model not getting any output after running on i.MX95 NPU Hi @vijayranaACL, Thank you for contacting NXP Support. Please refer to this guide. Since you are using the i.MX91 A1 silicon revision, it is possible that some features or functionality may not operate correctly, as A1 is an early silicon revision intended primarily for evaluation and development purposes. For this reason, we recommend using the i.MX91 B0 silicon revision for your testing and validation activities. The guide was developed and validated using the B0 silicon version, so the documented behavior and results are based on that revision. If possible, please confirm which silicon revision you are using and whether you have access to a B0 device for comparison. Best regards, Alejandro Garcia Re: yolov11n,yolov8n,yolov5nu model not getting any output after running on i.MX95 NPU Hi Alejandro, Thank you for the clarification regarding i.MX 95 (not i.MX 91) and for the recommendation to use --optimization-level OOpt. We tried to follow your suggested command on our current setup, but --optimization-level is not available in the neutron-converter paired with our board BSP. Our current environment Component Version Board IMX95LPD5EVK-19 BSP LF6.12.34_2.1.0 (Linux 6.12.34-lts-next) Neutron delegate on board v1.0.0-be8bf399 Host converter eIQ Toolkit 1.17 → neutron-converter 2.1.3+0Xaf140cf5 Converter BSP tag MCU_SDK_25.09.00+Linux_6.12.34_2.1.0 On this converter, neutron-converter --help does not list --optimization-level. Command we actually run neutron-converter \ --input yolov8n_full_integer_quant.tflite \ --output yolov8n_neutron.tflite \ --target imx95 For debugging we also use: neutron-converter \ --input yolov8n_full_integer_quant.tflite \ --output yolov8n_neutron.tflite \ --target imx95 \ --verbose Flags available on our converter (2.1.3) Key options from --help: --input, --output, --target --merge-neutron-graphs --convert-inputs-uint8-to-int8, --convert-outputs-uint8-to-int8 --dump-statistics, --dump-graphs, --verbose --include-between-input-tensors, --exclude-between-input-tensors --show-targets, --show-kernel-kinds --optimization-level is not present on this build. Test results so far Model NPU behaviour YOLOv8n Neutron (our conversion) Invoke OK, but 0 detections YOLOv8n headless backbone NPU output constant (~1.13) Headless CPU backbone + CPU head Detections OK — pipeline logic is correct Questions Is --optimization-level OOpt only supported in a newer neutron-converter than 2.1.3? What is the recommended conversion command for LF6.12.34 / imx95 when OOpt is not available? Re: yolov11n,yolov8n,yolov5nu model not getting any output after running on i.MX95 NPU HI @vijayranaACL, Sorry, that was a typo on my side. I was referring to the i.MX95, since the i.MX91 does not include an NPU. I recommend trying the following command to convert the model: .\neutron-converter.exe ` --input " .tflite" ` --target imx95 ` --output " .tflite" ` --optimization-level OOpt According to the Neutron SDK documentation, it is important to note that the converter is not deterministic for Neutron-S targets such as the i.MX95. The conversion process relies on multithreaded constrained programming solvers, which means that different executions of the converter on the same model may produce slightly different results, particularly regarding TCM memory allocation and generated microcode. Because multiple optimal solutions may exist, different solver threads can converge on different valid solutions during each conversion. Although these solutions may differ internally, they are all considered correct and optimized by the converter. In most cases, these differences should not significantly affect functionality or performance. If you observe variations in behavior, performance, or accuracy, I recommend converting the model multiple times and comparing the results. There are methods available to force deterministic behavior, but they typically increase conversion time considerably and are generally not recommended unless strictly required. Please let me know the outcome of your tests. Best regards, Alejandro Garcia Re: yolov11n,yolov8n,yolov5nu model not getting any output after running on i.MX95 NPU Hi @vijayranaACL, I have tested your code on an i.MX95 EVK with B0 silicon, and it appears to be working correctly on our side without any issues. Using your person_detect.py application, the model loads successfully, the Neutron delegate is initialized correctly, and the application performs inference as expected. During testing, I observed stable object detection and a sustained performance of approximately 13–14 FPS. The logs also confirm that the Neutron delegate is active and that the model is executing properly with NPU acceleration. Based on these results, I recommend moving to the B0 silicon revision. The A0 and A1 silicon versions were released primarily for evaluation and beta testing purposes, and they do not have the same level of software support and validation as B0. Several features and fixes were introduced after the early revisions, which may explain the behavior you are seeing. The relevant portion of my test log is shown below: root@imx95evk:~# python3 person_detect.py Opening camera /dev/video52 ... Trying camera backend: V4L2 /dev/video52 Camera opened via V4L2 /dev/video52 Loading model and NPU delegate ... Loaded Neutron delegate: /usr/lib/libneutron_delegate.so /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) INFO: NeutronDelegate delegate: 1 nodes delegated out of 33 nodes with 1 partitions. INFO: Neutron delegate version: v1.0.0-d98743a7, zerocp enabled. INFO: Created TensorFlow Lite XNNPACK delegate for CPU. Model input: shape=[ 1 640 640 3] dtype= quant=(0.003921568859368563, -128) Model output[0]: shape=[ 1 84 8400] dtype= quant=(0.003906319383531809, -128) Using model input size: 640x640 Re-opening camera after model load ... Trying camera backend: V4L2 /dev/video52 Camera opened via V4L2 /dev/video52 Person detection running. Press Ctrl+C to stop. First frame: 640x480 Output tensor shape: (1, 84, 8400) frame=22 person conf=0.61 box=[143,8,496,476] fps=10.7 --- fps=11.5 detections=0 --- frame=39 person conf=0.58 box=[138,16,496,473] fps=12.1 frame=50 person conf=0.50 box=[138,12,496,472] fps=12.5 frame=60 person conf=0.58 box=[138,13,496,476] fps=12.8 --- fps=12.8 detections=1 --- frame=84 person conf=0.61 box=[143,10,496,475] fps=13.3 frame=85 person conf=0.54 box=[138,10,496,475] fps=13.3 frame=86 person conf=0.61 box=[138,13,496,476] fps=13.3 frame=88 person conf=0.54 box=[138,12,496,472] fps=13.3 --- fps=13.3 detections=0 --- --- fps=13.6 detections=0 --- frame=136 person conf=0.65 box=[138,13,496,476] fps=13.7 frame=139 person conf=0.58 box=[138,12,496,472] fps=13.7 frame=140 person conf=0.61 box=[136,10,498,475] fps=13.8 frame=141 person conf=0.61 box=[138,13,496,476] fps=13.8 frame=145 person conf=0.50 box=[138,13,496,476] fps=13.8 frame=146 person conf=0.65 box=[138,13,496,476] fps=13.8 frame=148 person conf=0.54 box=[138,16,496,473] fps=13.8 frame=150 person conf=0.50 box=[131,12,498,472] fps=13.8 --- fps=13.8 detections=1 --- frame=155 person conf=0.50 box=[152,32,497,472] fps=13.8 frame=156 person conf=0.71 box=[180,37,495,422] fps=13.8 frame=157 person conf=0.54 box=[182,38,497,411] fps=13.8 frame=158 person conf=0.65 box=[156,37,493,472] fps=13.8 frame=159 person conf=0.68 box=[158,42,496,472] fps=13.8 frame=160 person conf=0.61 box=[155,46,495,468] fps=13.8 frame=162 person conf=0.54 box=[156,46,493,463] fps=13.8 frame=163 person conf=0.71 box=[171,43,493,466] fps=13.8 frame=164 person conf=0.54 box=[186,41,363,353] fps=13.8 frame=165 person conf=0.61 box=[187,42,492,452] fps=13.8 frame=166 person conf=0.58 box=[190,41,495,393] fps=13.8 frame=167 person conf=0.61 box=[190,42,495,432] fps=13.8 frame=168 person conf=0.61 box=[195,38,495,426] fps=13.8 frame=169 person conf=0.50 box=[190,36,495,423] fps=13.8 frame=170 person conf=0.58 box=[198,37,496,397] fps=13.8 --- fps=13.9 detections=0 --- frame=202 person conf=0.50 box=[145,28,495,456] fps=13.9 --- fps=14.0 detections=0 --- ^CStopped. root@imx95evk:~# Since the same application and model work correctly on B0 silicon, my recommendation is to repeat the test using a B0 device before continuing with further debugging, as the issue may be related to the silicon revision rather than the application itself. Best Regards, Chavira
記事全体を表示
MPC574xP BCTRL こんにちは: 私のお客様はMPC5741Pを車載ESCのアプリケーションに使っています。 現在、エンドOEMからBCTRLピンの特性(電圧領域など)について問い合わせを受けている。 確認と確認を手伝ってもらえますか?ありがとう。 下は波形で、三角形で、OEMからMCU側からベースコントロール出力ピンのCap.デカップルを追加してほしいと依頼されました。 Re: MPC574xP BCTRL データシートでは異なるトランジスタを推奨しており、以下の通りです。 また、適切にバイパス/分離する必要がある。VDD_LV_CORに特に注意してください。
記事全体を表示
yolov11n、yolov8n、yolov5nuモデルでi.MX95 NPUを使用しても出力が出ません   [i.MX95 NPU]YOLOv5n/v8n/v11n Neutron変換モデルは動作しますが検出なし(出力ゼロ) 問題の説明 私はNeutronコンバーターを使ってi.MX95 NPU上のYOLO物体検出モデルを評価しています。 INT8量子化されたTFLiteモデルはCortex-A55 CPU上で正常に動作しオブジェクトを検出しますが、コンパイルされたneutron.tflite版は、推論をクラッシュせずに実行しても、NPUにオフロードしても検出ゼロ(空/出力なし)ができません。 環境およびハードウェアのセットアップ   ハードウェア: i.MX95 19x19 LPDDR5 EVK(A1リビジョン) OS/カーネル: Linux 6.12.34-lts-next-gbe78e49cb433 #1 SMP PREEMPT (aarch64) NXPツールチェーン: MCU-SDK v25.09.00 + Linux 6.12.34_2.1.0 テストされたモデル: YOLOv5nu、YOLOv8n、YOLOv11n(ウルトラリティクス) ワークフローの手順と使用されるコマンド 1. 量子化(Ultralyticsエクスポート) モデルはINT8のフル整数量子化で320x320解像度でエクスポートされました。 yolo export model=yolov8n.pt format=tflite int8=True imgsz=320# (Repeated identically for yolov11n.pt and yolov5nu.pt)   状態: CPU上で完全に動作します。yolovXn_full_integer_quant.tflite は、A55 コア上でオブジェクトを正しく検出します。 2. Neutron 編纂 TFLiteモデルは、Neutronコンバータを用いてi.MX95 NPU向けにMCU_SDK_25.09.00+Linux_6.12.34_2.1.0でコンパイルされました: ./neutron-converter --input yolov8n_full_integer_quant.tflite --target imx95 --output yolov8n_full_integer_quant_neutron.tflite   状態: NPU上のオブジェクトを検出できませんでした。コンパイルされたモデルは構文や実行エラーを投げることなく推論を読み込み実行しますが、出力テンソルはまったく同じテスト画像に対して検出をゼロ返します。 観察された症状と疑われる根本原因   オペレーターの代替手段: コンバーターは特定のYOLOレイヤー(カスタムアンカー、SiLU/Swinのアクティベーション、Non-Max Suppressionなど)でCPUにフォールバックしましたか? 量子化のスケーリング/非対称性: Ultralytics経由でエクスポートされるYOLOモデルは、しばしば非対称量子化を用いたり、特定の出力テンソルスケーリングを用いており、Neutron NPUドライバーが誤解することがあります。 出力テンソルのフォーマット:推論は実行されるため、入力パイプラインは問題ないと思われますが、出力バウンディングボックス/スコアが空白であるか、完全にゴミ値になっています。 NXPのエキスパートへの質問   Ultralytics YOLOアーキテクチャ特有のNeutron変換器には既知の制限や必須の最適化フラグはありますか? TFLiteモデルをNeutronコンバーターに渡す前に、NMS(Non-Max Suppression)レイヤーを取り除くべきでしょうか? i.MX95 Neutron SDKは、出力層を正しく解析するために対称量子化(per_channel=TrueまたはFalse)を必要としますか? i.MX95 NPU向けのガイダンス、リファレンススクリプト、またはYOLOの導入に関する作業手順書などがあれば、大変ありがたいです。   Re: yolov11n,yolov8n,yolov5nu model not getting any output after running on i.MX95 NPU こんにちは、アレハンドロさん。 ご回答ありがとうございます。 私のハードウェアプラットフォームについて誤解があるのではないかと思います。私の問題はi.MX91とは関係ありません。 私は以下のプラットフォームを使っています: 基板:i.MX95 19x19 LPDDR5 EVK(IMX95LPD5EVK-19CM、A1リビジョン) ボードクイックスタートガイド: https://www.nxp.com/docs/en/quick-reference-guide/IMX95LPD5EVK-19CM.pdf Neutron SDK: MCU_SDK_25.09.00+Linux_6.12.34_2.1.0 カーネル: Linux 6.12.34-lts-next-gbe78e49cb433 #1 SMP PREEMPT (aarch64) あなたが共有したガイドはi.MX91向けのようですが、私の質問はi.MX95 Neutron NPUでのYOLO展開についてです。 オリジナルのINT8 TFLiteモデル(YOLOv5nu、YOLOv8n、YOLOv11n)はCortex-A55 CPU上で正しく動作し、有効な検出結果を生み出します。しかし、同じモデルをMCU_SDK_25.09.00+Linux_6.12.34_2.1.0に含まれるNeutron コンバータでまとめた後、推論はNPU上で実行時エラーなく正常に実行されるが、出力テンソルには有効な検出結果が含まれない。 調査を容易にするために、すでに元の投稿に以下のファイルを添付しています: * オリジナルのINT8量子化されたTFLiteモデル。 * YOLOv8nおよびYOLOv11n向けの中性子変換TFLiteモデル。 * 問題を再現するために使えるPython推論スクリプト。 これらは元の事前学習済みUltralyticsモデルをTFLiteに変換したものなので、標準のCOCOクラス名を提供されたスクリプトで直接使用できます。追加の修正なしでi.MX95プラットフォーム上で同じ動作を再現できるはずです。 添付ファイルを使って問題を再現していただけるとありがたいです。また、これがi.MX95の現行Neutron SDKの既知の制限か、あるいは問題なのか教えていただけると助かります。 ありがとう。 Re: yolov11n,yolov8n,yolov5nu model not getting any output after running on i.MX95 NPU こんにちは@vijayranaACL。 NXPサポートまでご連絡いただきありがとうございます。 このガイドを参照してください。 お客様が使用されているのはi.MX91 A1シリコンリビジョンであるため、A1は主に評価および開発目的を意図した初期のシリコンリビジョンであり、一部の機能が正しく動作しない可能性があります。 そのため、テストおよび検証作業には、i.MX91 B0シリコンリビジョンを使用することをお勧めします。このガイドはB0シリコン版を用いて作成・検証されたため、文書化された挙動と結果はその改訂版に基づいています。 可能であれば、どのシリコンリビジョンを使っているか、そして比較のためにB0デバイスにアクセスできるかを確認してください。 よろしくお願いします、 アレハンドロ・ガルシア Re: yolov11n,yolov8n,yolov5nu model not getting any output after running on i.MX95 NPU こんにちは、 @vijayranaACL さん。 すみません、私の入力ミスでした。 私が言及していたのはi.MX95のことです。i.MX91にはNPUが搭載されていないからです。 モデル変換には以下のコマンドを試してみることをおすすめします: .\neutron-converter.exe ` --input " .tflite" ` --target imx95 ` --output " .tflite" ` --optimization-level OOpt Neutron SDKのドキュメントによると、コンバータはi.MX95のようなNeutron-Sターゲットに対してデターミニスティックではないことに注意が必要です。変換プロセスはマルチスレッド制約付きプログラミングソルバーに依存しているため、同じモデル上でコンバータを実行する場合、特にTCMメモリ割り当てや生成されたマイクロコードに関してわずかに異なる結果が生じることがあります。 複数の最適解が存在する可能性があるため、異なるソルバースレッドが各変換時に異なる有効な解に収束することがあります。これらの解は内部的に異なる場合がありますが、すべてコンバーターによって正しく最適化されています。ほとんどの場合、これらの違いは機能性や性能に大きな影響を与えることはありません。 挙動、性能、精度にばらつきが見られた場合は、モデルを複数回変換して結果を比較することをお勧めします。デターミニスティックな振る舞いを強制する方法は存在しますが、通常は変換時間が大幅に長くなり、厳密に必要でない限り推奨されません。 検査結果をお知らせください。 よろしくお願いします、 アレハンドロ・ガルシア Re: yolov11n,yolov8n,yolov5nu model not getting any output after running on i.MX95 NPU こんにちは、アレハンドロさん。 i.MX 95(i.MX 91ではない)に関する説明と、使用に関する推奨事項をありがとうございます。 --最適化レベル OOpt。 現在のセットアップであなたの提案されたコマンドに従おうとしましたが、Neutron-コンバーターとボードBSPを組み合わせたところ --optimization-level は利用できません 利用できません 。 現在の環境 コンポーネントバージョン ボード IMX95LPD5EVK-19 BSP LF6.12.34_2.1.0 (Linux 6.12.34-lts-next) Neutron 代表乗船中 v1.0.0-be8bf399 ホストコンバータ eIQツールキット 1.17 → Neutron-converter 2.1.3+0Xaf140cf5 コンバーターBSPタグ MCU_SDK_25.09.00+Linux_6.12.34_2.1.0 このコンバーターでは、 中性子コンバーター――help does not list ―最適化レベル。 実際に実行するコマンド Neutron-converter \ --input yolov8n_full_integer_quant.tflite \ --output yolov8n_neutron.tflite \ --ターゲットimx95 デバッグには、以下のツールも使用します。 Neutron-converter \ --input yolov8n_full_integer_quant.tflite \ --output yolov8n_neutron.tflite \ --ターゲットimx95 \ --詳細表示 当社のコンバーター(2.1.3)で利用可能なフラグ 主なオプション  - ヘルプ: - 入力、  - 出力、  - ターゲット --合一Neutronグラフ --入力値をuint8からint8に変換、 --出力をuint8からint8に変換 --ダンプ統計、 --ダンプグラフ、 --詳細表示 --入力テンソル間のインクルード、 --入力テンソル間の除外 --ターゲットを表示、 --カーネルの種類を表示 --最適化レベル 存在しません このビルドでは。 これまでの検査結果 モデルNPUの挙動 YOLOv8n Neutron (我々の変換) 呼び出しOKですが 検出数:0 YOLOv8n ヘッドレスバックボーン NPU出力 定数(約1.13) ヘッドレスCPUバックボーン+CPUヘッド 検出は正常です — パイプラインのロジックは正しい 質問 最適化レベルのOOpt は 2.1.3 よりも新しいNeutronコンバーターでしかサポートされていないのでしょうか? 推奨される変換コマンドは何ですか? LF6.12.34 / imx95 いつ OOpt 利用できませんか? Re: yolov11n,yolov8n,yolov5nu model not getting any output after running on i.MX95 NPU こんにちは、 @vijayranaACL さん。 B0シリコンを搭載したi.MX95 EVKであなたのコードをテストしましたが、こちら側では問題なく正常に動作しているようです。 person_detect.pyアプリケーションを使うと、モデルは正常に読み込まれ、Neutronデリゲートは正しく初期化され、アプリケーションは予想通りの推論を実行します。テスト中、安定した物体検出と、約13~14 FPSの持続的なパフォーマンスを確認しました。ログはまた、Neutron delegateがアクティブであり、モデルがNPU加速で正しく動作していることも確認しています。 これらの結果に基づき、B0シリコンリビジョンへの移行を推奨します。A0およびA1シリコン版は主に評価およびベータテスト目的でリリースされており、B0ほどのソフトウェアサポートや検証レベルが整っていません。初期の改訂版以降、いくつかの機能追加や修正が行われており、それがお客様が経験されている動作の原因となっている可能性があります。 私のテストログの関連部分を以下に示します。 root@imx95evk:~# python3 person_detect.py Opening camera /dev/video52 ... Trying camera backend: V4L2 /dev/video52 Camera opened via V4L2 /dev/video52 Loading model and NPU delegate ... Loaded Neutron delegate: /usr/lib/libneutron_delegate.so /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) INFO: NeutronDelegate delegate: 1 nodes delegated out of 33 nodes with 1 partitions. INFO: Neutron delegate version: v1.0.0-d98743a7, zerocp enabled. INFO: Created TensorFlow Lite XNNPACK delegate for CPU. Model input: shape=[ 1 640 640 3] dtype= quant=(0.003921568859368563, -128) Model output[0]: shape=[ 1 84 8400] dtype= quant=(0.003906319383531809, -128) Using model input size: 640x640 Re-opening camera after model load ... Trying camera backend: V4L2 /dev/video52 Camera opened via V4L2 /dev/video52 Person detection running. Press Ctrl+C to stop. First frame: 640x480 Output tensor shape: (1, 84, 8400) frame=22 person conf=0.61 box=[143,8,496,476] fps=10.7 --- fps=11.5 detections=0 --- frame=39 person conf=0.58 box=[138,16,496,473] fps=12.1 frame=50 person conf=0.50 box=[138,12,496,472] fps=12.5 frame=60 person conf=0.58 box=[138,13,496,476] fps=12.8 --- fps=12.8 detections=1 --- frame=84 person conf=0.61 box=[143,10,496,475] fps=13.3 frame=85 person conf=0.54 box=[138,10,496,475] fps=13.3 frame=86 person conf=0.61 box=[138,13,496,476] fps=13.3 frame=88 person conf=0.54 box=[138,12,496,472] fps=13.3 --- fps=13.3 detections=0 --- --- fps=13.6 detections=0 --- frame=136 person conf=0.65 box=[138,13,496,476] fps=13.7 frame=139 person conf=0.58 box=[138,12,496,472] fps=13.7 frame=140 person conf=0.61 box=[136,10,498,475] fps=13.8 frame=141 person conf=0.61 box=[138,13,496,476] fps=13.8 frame=145 person conf=0.50 box=[138,13,496,476] fps=13.8 frame=146 person conf=0.65 box=[138,13,496,476] fps=13.8 frame=148 person conf=0.54 box=[138,16,496,473] fps=13.8 frame=150 person conf=0.50 box=[131,12,498,472] fps=13.8 --- fps=13.8 detections=1 --- frame=155 person conf=0.50 box=[152,32,497,472] fps=13.8 frame=156 person conf=0.71 box=[180,37,495,422] fps=13.8 frame=157 person conf=0.54 box=[182,38,497,411] fps=13.8 frame=158 person conf=0.65 box=[156,37,493,472] fps=13.8 frame=159 person conf=0.68 box=[158,42,496,472] fps=13.8 frame=160 person conf=0.61 box=[155,46,495,468] fps=13.8 frame=162 person conf=0.54 box=[156,46,493,463] fps=13.8 frame=163 person conf=0.71 box=[171,43,493,466] fps=13.8 frame=164 person conf=0.54 box=[186,41,363,353] fps=13.8 frame=165 person conf=0.61 box=[187,42,492,452] fps=13.8 frame=166 person conf=0.58 box=[190,41,495,393] fps=13.8 frame=167 person conf=0.61 box=[190,42,495,432] fps=13.8 frame=168 person conf=0.61 box=[195,38,495,426] fps=13.8 frame=169 person conf=0.50 box=[190,36,495,423] fps=13.8 frame=170 person conf=0.58 box=[198,37,496,397] fps=13.8 --- fps=13.9 detections=0 --- frame=202 person conf=0.50 box=[145,28,495,456] fps=13.9 --- fps=14.0 detections=0 --- ^CStopped. root@imx95evk:~# 同じアプリケーションとモデルがB0シリコン上で正常に動作するため、問題はアプリケーション自体ではなくシリコンリビジョンに関連している可能性があるため、さらなるデバッグを続ける前にB0デバイスでテストを繰り返し行うことをお勧めします。 よろしくお願いします、 チャビラ
記事全体を表示
Clarification on Debian security repositories for NXP Debian Linux SDK on i.MX8MP Hello NXP team, We are using the NXP Debian Linux SDK on an i.MX8MP-based custom board. According to UG10155 Debian Linux SDK User Guide, our understanding is that the SDK is Debian-based: the RootFS mainly uses standard Debian .deb packages, while NXP / board-specific components and configurations are integrated by the SDK. We also referred to the NXP Community article “Debian 12 Installation Guide for iMX8MM, iMX8MP, iMX8MN and iMX93”. In that article, the apt configuration example includes Debian security and update repositories for Debian 12 / bookworm. On our current Debian 13 / trixie-based system, /etc/apt/sources.list only contains the following entry: deb http://deb.debian.org/debian trixie main contrib We would like to clarify the expected security update model for the NXP Debian Linux SDK. Could you please help confirm the following points? 1. For the NXP Debian Linux SDK based on Debian 13 / trixie, is the current APT source configuration expected, or is it recommended to also add the Debian security and update repositories? For example: deb http://deb.debian.org/debian trixie main contrib deb http://deb.debian.org/debian trixie-updates main contrib deb http://security.debian.org/ trixie-security main contrib 2. For NXP / BSP / board-specific components, such as the kernel, U-Boot, ATF, OP-TEE, DTB, peripheral firmware, and NXP-specific driver components, what is the recommended security update procedure? Does NXP provide security advisories, patches, or SDK updates for these components? We would like to confirm this so that we can provide accurate security maintenance guidance to our customer. Thank you. Linux Re: Clarification on Debian security repositories for NXP Debian Linux SDK on i.MX8MP Hi @Leo_dev  Currently, the SDK defaults to only including “trixie main contrib,” which is normal (for evaluation and guided installation), but this is not the final production configuration. If you need, you can use below sources. deb http://deb.debian.org/debian trixie main contrib deb http://deb.debian.org/debian trixie-updates main contrib deb http://security.debian.org/debian-security trixie-security main contrib For components provided by NXP, you can update to the latest version by modifying the source code tag in flexbuild individually. Best Regards, Zhiming
記事全体を表示
S32K144 FLASHは、プログラムが書き込みたいデータを保存するためにカスタムフィールドを割り当てます。 NXPの技術スタッフの皆様、こんにちは。 S32K144チップの開発中に問題が発生しました。 カスタムROMフィールドにいくつかの変数を設定したいのですが、プログラム内でどのように設定すればよいのか分かりません。 S32K144_64_flash.ldでストレージフィールドを定義しました。 CALC_RAMはSECTIONSで定義されています。 #define CALC_RAM_ATTRIBUTE__attribute__ ((section(".CALC_RAM"))) CALC_RAM_ATTRIBUTE const uint8_t my_flash_array[] = {0x01, 0x02, 0x03, 0x04}; CALC_RAM_ATTRIBUTE const uint8_t my_flash_brray[] = {0x01, 0x02, 0x03, 0x04}; CALC_RAM_ATTRIBUTE const uint8_t my_flash_crray[] = {0x01, 0x02, 0x03, 0x04}; 上記のコードは、私の配列をCALC_RAMのカスタムフィールドに配置しました。 私の疑問は、この方法がかなり面倒だということです。マクロCALC_RAM_ATTRIBUTEを新しく定義する配列ごとに追加する必要があるため、カスタムフィールドCALC_RAMにデータを一括保存するもっと便利な方法はありますか? お返事をお待ちしております。 どうもありがとうございます! Re: S32K144 FLASH分配自定义字段 将程序中想要写入的数据放入自定义字段 こんにちは、 @Ni_ さん。 一般的に、選択肢は3つあります。 選択肢1。 作業を進める際は、属性を維持してください。 選択肢2。 すべてを専用のソースファイルに記述してください。例えば、次のようになります。 /* cal_data.c */ #include const uint8_t table1[] = { 0x01, 0x02, 0x03, 0x04 }; const uint8_t table2[] = { 0x10, 0x20, 0x30, 0x40 }; const uint8_t table3[] = { 0xAA, 0xBB, 0xCC, 0xDD }; 次にリンカーファイルで: MEMORY { int_flash_interrupts : ORIGIN = 0x00000000, LENGTH = 0x00000400 int_flash_config : ORIGIN = 0x00000400, LENGTH = 0x00000010 int_flash : ORIGIN = 0x00000410, LENGTH = 0x0007BBF0 calib_flash : ORIGIN = 0x0007C000, LENGTH = 0x00004000 int_sram_results : ORIGIN = 0x1FFF8000, LENGTH = 0x00000100 int_sram : ORIGIN = 0x1FFF8100, LENGTH = 0x0000DF00 int_sram_stack_c0 : ORIGIN = 0x20006000, LENGTH = 0x00001000 ram_rsvd2 : ORIGIN = 0x20007000, LENGTH = 0 } .flash_config : { KEEP(*(.flash_config)) } > int_flash_config .calib_flash : { . = ALIGN(4); __calib_flash_start = .; KEEP(*cal_data.o(.rodata*)) . = ALIGN(4); __calib_flash_end = .; } > calib_flash .flash : { . = ALIGN(4); *(.startup) . = ALIGN(4); *(.systeminit) . = ALIGN(4); *(.text.startup) . = ALIGN(4); .mapファイル内ファイル: 選択肢3。 セクション pragma/macros を使用します。 一部のコンパイラはサポートしていますが、GCCはサポートしていません。 よろしくお願いいたします。 ダニエル Any support, information, and technology (“Materials”) provided by NXP are provided AS IS, without any warranty express or implied, and NXP disclaims all direct and indirect liability and damages in connection with the Material to the maximum extent permitted by the applicable law. NXP accepts no liability for any assistance with applications or product design. Materials may only be used in connection with NXP products. Any feedback provided to NXP regarding the Materials may be used by NXP without restriction.      
記事全体を表示