Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
Unable to connect S32 debug probe to S32K344 Hi, I am trying to use an S32 debug probe to connect to our custom S32K344 board in DS. Although the connection test passes, the device and core do not appear in the debugger configuration window. When I check the available list, only S32G2/3 options are shown. I have already installed the S32K development package and upgraded to the latest S32K RTD version. Can anyone advise on how to get the probe working with the S32K MCU?" Thanks, XD Re: Unable to connect S32 debug probe to S32K344 Hi According to the information in chapter 2.1 Release content of S32K3xx_Development_Package_Release_Notes_3.5.13_RTM.pdf, S32 Debug Probe does not seem to support S32K344. 2.1 Release content • Support for wizards creating application and library projects for the S32K3xx processor family • GCC version 10.2.0 20200910, build 1728 revision g5963bc8. • GCC version 9.2.0 20190812 build 1649 revision gaf57174. • Green Hills 2021.1.4 compiler support. • WindRiver DIAB 7.0.6 compiler support. • IAR 8.50.10 compiler support. • PEmicro debug probes support for RAM and FLASH configurations (Integrate new PnE 5.8.7 into S32K3xx development package) • Lauterbach probe support for running from RAM and FLASH • IAR debugger support. • TASKING debugger support. • Segger debugger support. • VDK Debugger support • S32 Configuration Tools support (Pins, Clocks, Peripherals, DCD (DCF Tool), IVT). Best Regards, Robin ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
記事全体を表示
printf 和 RAM 消耗问题 129 printf("%d %ld %u\n", 999, 9999, 99); 0xfe8a5b: 900063 LD D2,#99 0xfe8a5e: 0402 PSH D2 0xfe8a60: 90270F LD D2,#9999 0xfe8a63: 0402 PSH D2 0xfe8a65: 9003E7 LD D2,#999 0xfe8a68: 0402 PSH D2 0xfe8a6a: 98001217 LD X,#4631 0xfe8a6e: 0442 PSH X 0xfe8a70: BBFEF8F2 JSR 16709874 printf (0xfef8f2) 0xfe8a74: 0A69 LEA S,(9,S) MCU 的 CodeWarrior 版本:10.7 版本号:160721 编译后,字符串“%d%ld%u \n”位于flash中。在启动过程中,它将从闪存复制到 RAM,因此您可以看到 RAM 地址 4631(0x1217)被设置为 X 寄存器。是否需要进行复制操作?如果是的话,我们的代码中会有很多printf函数,它们会消耗很多很多的RAM空间。 回复:printf 和 RAM 消耗问题 此代码展示了内存管理过程,说明了如何使用 printf 将数据从闪存传输到 RAM。有趣的是,就像掌握https://slope3dgame.com/需要了解最佳轨迹和资源分配一样,有效的内存处理可确保编程的高效性能。冗余的复制操作会浪费宝贵的RAM,就像在游戏中没有敏锐的策略而浪费时间一样。 Re: printf and RAM consumption issue 我在一个使用 CodeWarrior (10.x) 的 HCS12 嵌入式项目中遇到了同样的问题。我们的解决办法是将字符串字面量放在闪存中,并使用 const 限定符,然后使用 printf 变体从 ROM 读取,避免 RAM 复制。否则,堆栈/内存使用量会迅速膨胀。如果无法更改 printf,可以考虑使用格式标记的微小日志记录器。为了测试记忆行为的压力,我在休息时奇怪地把Solar Smash作为一个有趣的隐喻应用--它帮助我思考 "有控制的破坏"。
記事全体を表示
Installation of latest SW32K1 LIN stack version 1.0.2 CD01 on S32DS v3.5 fails Hello, I have recently migrated to S32DS v3.5 and tried to integrate th e latest version of RTD, FreeRTOS and Linstack that is provided by NXP. I have attached a text file that covers the output provided under Help --> Installation Details in S32DS. The issue is that I try to install SW32K1 LIN stack version 1.0.2 CD01 but the installation is done just partially as in ticket. The installation window displays and after un-checking all ticks from the boxes the error message is displayed Cannot complete the install because one or more required items could not be found. Software being installed: LINSTACK S32K1 1.0.2.202209300724 (com.nxp.LINSTACK.S32K1.root.1.0.2.feature.feature.group 1.0.2.202209300724) Missing requirement: LINSTACK S32K1 1.0.2.202209300724 (com.nxp.LINSTACK.S32K1.root.1.0.2.feature.feature.group 1.0.2.202209300724) requires 'org.eclipse.equinox.p2.iu; com.nxp.RTD.S32K1XX.1.9.0.feature.feature.group 0.0.0' but it could not be found Does this mean, that this version of the Linstack is not compatible with the RTD version S32K1_S32M24X Real Time Drivers AUTOSAR R21-11 Version 2.0.0 P04 that is available online? Apparently version com.nxp.RTD.S32K1XX.1.9.0.feature.feature.group 0.0.0 is required but your download page offers not such version. Can you point out either how to fix this issue or which versions of RTD FreeRTOS Linstack  can be used with S32DS v3.5 together? Note, that the Linstack version 1.0.1 is also installed but  is still missing as shown in the image above. If you require more information let me know. Best regards M_SCH Re: Installation of latest SW32K1 LIN stack version 1.0.2 CD01 on S32DS v3.5 fails Hi @M_SCH  The SW32K1 SW32M24X LIN Stack version 1.0.2 with RTM qualification is already available and can be downloaded through S32K1 Reference Software > Automotive SW - S32K1_S32M24X - LIN Stacks > SW32K1 SW32M24X LIN Stack version 1.0.2.  This software version is compatible with the S32K1_S32M24X Real-Time Drivers ASR 4.4 & R21-11 Version 2.0.0 and S32 Design Studio for S32 Platform 3.5. B.R. VaneB
記事全体を表示
HTRC110 不响应命令 我正在使用 stm32f401 与 HTRC110 进行通信,并且我尝试向它发送任何需要响应的命令,例如获取配置页面,获取采样时间。我可以在示波器上看到它被正确发送,但是当我查看 DOUT 时,响应中只有小闪烁,而不是实际信号,然后我尝试了所有可能的命令,0-255,但我仍然没有得到真正的数据。有什么方法可以知道芯片是否损坏,或者我只是设置错误 回复:HTRC110 不响应命令 经过一番努力之后,我解决了这个问题,如果有人也遇到困难,那是因为我通过 USART 发送数据,而 USART 发送数据的方式不同。我通过手动编写自己的发送字节的方式解决了这个问题,即先按 MSB 按位发送。当时钟为高且 Din 为上升沿时,IC 会接受输入,这与传统上将数据放在 Din 上、将数据放在时钟为上升沿的情况相反。 血腥的痛苦 回复:HTRC110 不响应命令 你好先生, 我明白,但是根据本例中的数据表,DOUT 引脚在发送简单的 GET_CONFIG_PAGE 后应该提供响应。请查看数据表的第 10.8 节。 另外,在第 9.7 节串行接口中;串行信令至少应该提供一些活动。您介意分享一下这三个引脚的数字分析仪读数吗? 回复:HTRC110 不响应命令 这是一个定制设计的解决方案,我已经检查过 5V 电压输入和 Dout 电压为 5V,所以我认为供电正确,我还没有连接天线,因为我只是想先从芯片获得回复,然后再尝试读取标签 回复:HTRC110 不响应命令 你好先生, 请澄清您是否正在使用 HTR110 的定制设计解决方案或作为最终解决方案购买。 天线或电源是否可能导致故障? 请查看我们的应用说明: https://www.nxp.com/docs/en/application-note/AN98080.pdf
記事全体を表示
what are the conditions when P-cell or g-cell error occurs in NTM88? I am using NTM88H135ST1 for my BLE TPMS, i wanted to implement diagnostics and error notification in my sensor. while going through Firmware lib user guide i got this function TPMS_WIRE_AND_ADC_CHECK, can someone explain what are the conditions when this function gives P-Cell and g-Cell errors so that i can recreate that condition and test it for the same. and once the error occurs how can we solve it.  Re: what are the conditions when P-cell or g-cell error occurs in NTM88? Thanks Tomas,  similarly, if the following functions returned error then is there any way to recover from them or these errors also indicate the permanent damage of the IC, TPMS_READ_TEMPERATURE, TPMS_COMP_TEMPERATURE, TPMS_READ_VOLTAGE, TPMS_COMP_VOLTAGE, TPMS_READ_PRESSURE, TPMS_COMP_PRESSURE Re: what are the conditions when P-cell or g-cell error occurs in NTM88? Hello Ankit, The function TPMS_WIRE_AND_ADC_CHECK performs different tests depending on the passed argument: - The ADC test consists of taking two reference measurements, one to Vdd and one to GND. The test fails when the converted value does not correspond to Vdd and GND, indicating an issue in the ADC block (in the ASIC). - The Gcell and Pcell tests check the connection between the sensor (Gcell/Pcell) and the ASIC. The sensor and ASIC are connected via bondwires, and the test check the bondwire connection. The test fails when an issue is found in the bondwire connection. In the application, if one of the tests fails, it is recommended to perform a delay and then at least one retry. If the test fails multiple times consistently then the application can conclude of a failure in the ASIC (for the ADC block) or with the bondwires (Gcell/Pcell). When such error occurs, it is not possible to make the NTM88 recover as it means some permanent failure has occurred. Note that such failure is not expected to occur during runtime. The main purpose of this function is to be run after assembly to check that the TPMS module is fully functional and that no damage has occurred during the assembly process. The conditions to raise the errors flags cannot be re-created on purpose, they require to physically have an ASIC or bondwire failure. BRs, Tomas
記事全体を表示
smwセキュリティミドルウェアの使用方法に関する簡単な例はありますか? 私はただhash-2 512を行うプログラムを書こうと試みました。この結果、smw_hash() 関数は exit(1) を呼び出します。また、このライブラリでAES 256を実行したいと考えていますが、これにはキーの生成と保存が必要です。 私が見ることができるサンプルプログラムはありますか?テストプログラムがあり、それは確かに機能しますが、私がやりたいことよりもはるかに複雑です。 以下は、私が見ているものの痕跡で、ただsmw_hashと呼んでいます。 #0 __GI__exit (status=status@entry=1) at /usr/src/debug/glibc/2.39+git/sysdeps/unix/sysv/linux/_exit.c:27 #1 0x0000fffff7d8e0e0 in __run_exit_handlers (status=status@entry=1, listp=0xfffff7ef0660 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:131 #2 0x0000fffff7d8e1f0 in __GI_exit (status=status@entry=1) at exit.c:138 #3 0x0000fffff7f90e88 in config_db_mutex_lock () at /usr/src/debug/smw/git/core/config/database.c:66 #4 0x0000fffff7f916fc in smw_config_select_subsystem (operation_id=OPERATION_ID_HASH, args=0xfffffffff958, subsystem_id=subsystem_id@entry=0xfffffffff94c) at /usr/src/debug/smw/git/core/config/database.c:560 #5 0x0000fffff7f7beb8 in smw_utils_execute_common (operation_id=operation_id@entry=OPERATION_ID_HASH, args=args@entry=0xfffffffff958, subsystem_id= , op_step=op_step@entry=SMW_OP_STEP_ONESHOT, implicit=implicit@entry=false) at /usr/src/debug/smw/git/core/utils/exec.c:38 #6 0x0000fffff7f7bf04 in smw_utils_execute_operation (operation_id=operation_id@entry=OPERATION_ID_HASH, args=args@entry=0xfffffffff958, subsystem_id= ) at /usr/src/debug/smw/git/core/utils/exec.c:89 #7 0x0000fffff7f88728 in smw_hash (args=args@entry=0xfffffffff9b8) at /usr/src/debug/smw/git/core/crypto/hash.c:115 #8 0x0000aaaaaaaa0a84 in main () at simplehash.c:38 これがEXITの原因のようです。 SMW_DBG_ASSERT(CTX); 私のコードでは、smw_hashを呼び出す前にこれを行いましたが、エラーは発生しません。 memset(&ctx_args, 0, sizeof(ctx_args)); ctx_args.subsystem_name = SMW_SUBSYSTEM_NAME_ELE; // Allocate context smw_result = smw_allocate_context(&ctx_args); if (smw_result != SMW_STATUS_OK) { printf("Failed to allocate context: %d\n", smw_result); return -1; } 私はFRDMボードでIMX91を使用しており、imx-6.36-2.1.0.xmlでビルドしています。 FRDMトレーニング Re: smw セキュリティミドルウェアの使用方法に関する簡単な例はありますか? 最初にsmw_osal_lib_init()を呼び出すと、smw_hash()を機能させることができることがわかりました。ただし、smw_hash() は 64K バイトを超えるファイルでは機能しません。100MBをハッシュ化したい場合、どうすればいいですか?テスト例のどれも大きなファイルをハッシュしていないと思いますか?
記事全体を表示
MCUXpreso は J-Link または CMSIS-DAP 経由で MIMXRT1060-EVKB ボードに接続できません これはMIMXRT1060-EVKBでの私の最初の試みです。例の「helo word」を実行しようとしましたが、プログラムをアップロードできませんでした。J-Link、CMSIS-DAPもMIMXRT1060-EVKBには接続しません。次に何をすべきかわかりません。私に何ができるか助けてください。
記事全体を表示
NXP YOCTOでモジュールとデバイスノードをインモッドする方法 私が使用しているiMX93-11x11-evkボードは、最近、rtc(pcf2131)モジュール(gpio28 & gpio29 pinmux as I2C3 SCL & SDA)を確認しましたが、デバイスノードを作成するためのdevice_createインターフェイスが見つかりませんでした。ですから、コマンドを実行する場所がどこかに存在すると思います: insmod/modprobeとmknodですが、まだ見つかっておらず、インターネットから対応するドキュメント/ウェブリンクも見つかりませんでした。 ソースディレクトリでcmd: grep -irn "mknod" と grep "insmod" を実行しましたが、結果は返されませんでした それで、私を助けるための手がかりや参考になるドキュメント/ウェブリンクを教えてください。 Re: NXP YOCTOでモジュールとデバイスノードをインモッドする方法 i.MX93-11x11-EVKボードでカーネルモジュール(ドライバー)とデバイスノードを処理する方法を見てみましょう。insmod、modprobeの使い方、デバイスノードの作成に関するガイダンスを提供します。 カーネルモジュール(ドライバー): カーネルモジュールはLinuxカーネルの機能を拡張します。新しいハードウェア、ファイルシステム、またはシステムコールのサポートを追加できます。 insmodとmodprobeコマンドは、カーネルモジュールの挿入と管理に使用されます。 insmodの使用: insmodコマンドは、実行中のカーネルにモジュールを挿入します。 例: sudo insmod /path/to/module.ko /path/to/module.koを、モジュールファイル(.ko)への実際のパスに置き換えてください。 modprobeの使用: modprobeはinsmodよりも強力です。モジュールの依存関係を自動的に解決します。 例: sudo modprobe モジュール名 module_nameをあなたのモジュールの名前に置き換えてください(.koは除きます)拡張子)。 デバイスノードの作成(mknod): デバイスノードは、/devディレクトリにあるデバイスを表す特別なファイルです。 デバイスノードを作成するには、mknodコマンドを使います。 例: sudo mknod /dev/mydevice c 123 0 これにより、メジャー番号123、マイナー番号0の/dev/mydeviceという名前のキャラクターデバイスノードが作成されます。 ドキュメントと参考資料: 残念ながら、i.MX93-11x11-EVKボードに関連する特定のドキュメントやウェブリンクは見つかりませんでした。 ただし、カーネルモジュールとデバイスノードに関する一般的なLinuxドキュメントを参照できます。 Linuxカーネルモジュールプログラミングガイド、 Linuxデバイスドライバー、 よろしく、 aarpメンバーシップ
記事全体を表示
MCXA153 Hard Fault on GPIO_PinInit I'm trying to initialize a pin on the FRDM-MXCA153 as GPIO Output, but the GPIO_PinWrite throws a HardFault.  Here is code execution, paused at the write to the PSOR register for GPIO3.  The Hard Fault occurs immediately upon execution of the base->PSOR write. You can also see in the call stack () at 0xffffffb8.  There is no custom code here, just a call to the library code from fsl_gpio. I am using SDK_2.16.000 for the MXCA153. Minimum example project is also attached. MCXA Re: MCXA153 Hard Fault on GPIO_PinInit Thanks. It seems that routing a pin as GPIO (i.e. clicking the checkbox for the pin in the GPIO list in the "Peripheral Signals" tab), but leaving the Direction as "Not Specified" is not sufficient to generate the CLOCK_EnableClock(kCLOCK_GateGPIO3) call in pin_mux.c. The Direction must be specified too. Re: MCXA153 Hard Fault on GPIO_PinInit hi,aberger If pin P3_12 is used, kCLOCK_GatePORT3 should be enabled. If pin P3_12 is used as a common GPIO pin, kCLOCK_GateGPIO3 should be enabled. When the GPIO pin is initialized in the Config Tools tool, the code will be updated to enable kCLOCK_GateGPIO3. I hope this can help you. If you have any other questions, contact me again.  BR Xu Zhang Re: MCXA153 Hard Fault on GPIO_PinInit Hi @Joey_z , Thank you for the response. Can you explain the difference between kCLOCK_GatePORT3 and kCLOCK_GateGPIO3? You can see the the clock for PORT3 is enabled in my project inside BOARD_InitBootPins() (and this is auto-generated by Config Tools in the pin_mux.c file when I selected GPIO3, pin 12 to be routed). Why did Config Tools not enable the clock for GPIO3?  Re: MCXA153 Hard Fault on GPIO_PinInit hi,aberger Thank you for your interest in NXP products and opportunity to serve you,I will gladly help you with this. The clock has not been enabled in your code. After adding  CLOCK_EnableClock(kCLOCK_GateGPIO3)  to your demo, the error was successfully resolved. I hope this can help you. If you have any other questions, contact me again. The fixed code is also attached. BR Xu Zhang
記事全体を表示
S32G399A - Is Device Tree Configuration for U-Boot required? Dear NXP fellows, I see, for example, that in the Release BSP41.0 of U-Boot, there is no specific DTS or DTSI files concerning the S32G399A board in https://github.com/nxp-auto-linux/u-boot/tree/release/bsp41.0-2022.04/arch/arm/dts . The Arm-Trusted Firmware has the DTS files for the S32G boards. However, I saw one project where the developer patched U-boot for including the configurations required by the S32G boards. So, my question is: Are the DTS configurations in this case managed exclusively by the ATF or I do have to manage the DTS in U-Boot too? Thanks for your help, Best regards, Guilherme Re: S32G399A - Is Device Tree Configuration for U-Boot required? Hello @chenyin_h , Thank you very much for the answer! Best regards, Guilherme Re: S32G399A - Is Device Tree Configuration for U-Boot required? Hello, @GuilhermeS32G3  Thanks for the post From BSP's perspective, the dts is managed by ATF, you may not need to modify the files under u-boot. BR Chenyin
記事全体を表示
IMX93のAndroid OS 皆さん、こんにちは 私はIMX93評価キットで作業を開始しており、Android OSで動作するかどうか疑問に思っていましたが、Androidはi.MX8シリーズのプロセッサに提供されていることがわかりますが、ドキュメントやフォーラムにはi.MX9についての言及はありません(私が知る限り)。 i.MX93用のAndroid OS BSPは開発中ですか、それともi.MX9でAndroidを実行する予定はありませんか? よろしくお願いします。 イワン 日時:IMX93のAndroid OS ベルンハルトの明確化をありがとう - 今、より理にかなっています 日時:IMX93のAndroid OS Android 10 以降では、3D GPU を搭載していない i.MX デバイスを除外する必要がありました。i.MX 93のCPUパワーが小型のAndroidベースの製品では問題ないとしても、特にGPU + Extensionsなど、満たされていないAndroidの要件がいくつかあります。 最終的には、それを実装することは技術的には可能ですが、マーケティングの観点からは、NXP独自のAndroidバージョンを作成することは意味がありません。 よろしく ベルンハルト。
記事全体を表示
GStreamer dmabufheaps の問題 カーネル 6.6 に切り替えた後、GStreamer を実行できません。 dmaに問題があると思います。 imx8mp:~$ GST_DEBUG=*dma*:5 gst-launch-1.0 videotestsrc ! autovideosink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... 0:00:00.072033375 889 0xffff88000b70 WARN dmabufheapsmemory gstdmabufheaps.c:98:gst_dmabufheaps_allocator_mem_init: Could not open dmabufheaps driver 0:00:00.072123500 889 0xffff88000b70 WARN dmabufheapsmemory gstdmabufheaps.c:119:gst_dmabufheaps_allocator_obtain: No allocator named dmabufheapsmem found (gst-launch-1.0:889): GStreamer-CRITICAL **: 06:27:14.679: gst_buffer_pool_config_set_allocator: assertion 'allocator != NULL || params != NULL' failed 0:00:00.077851750 889 0xffff88000b70 WARN dmabufheapsmemory gstdmabufheaps.c:119:gst_dmabufheaps_allocator_obtain: No allocator named dmabufheapsmem found (gst-launch-1.0:889): GStreamer-CRITICAL **: 06:27:14.684: gst_buffer_pool_config_set_allocator: assertion 'allocator != NULL || params != NULL' failed (gst-launch-1.0:889): GStreamer-CRITICAL **: 06:27:14.685: gst_object_unref: assertion 'object != NULL' failed 0:00:00.078302375 889 0xffff88000b70 DEBUG wl_dmabuf gstwllinuxdmabuf.c:141:gst_wl_linux_dmabuf_construct_wl_buffer: Creating wl_buffer from DMABuf of size 307200 (320 x 240), DRM fourcc AR24 (gst-launch-1.0:889): GStreamer-Allocators-CRITICAL **: 06:27:14.685: gst_dmabuf_memory_get_fd: assertion 'gst_is_dmabuf_memory (mem)' failed error marshalling arguments for add: dup failed: Bad file descriptor Error marshalling request: Bad file descriptor 0:00:01.078829000 889 0xffff88000b70 ERROR wl_dmabuf gstwllinuxdmabuf.c:217:gst_wl_linux_dmabuf_construct_wl_buffer: zwp_linux_buffer_params_v1 time out 0:00:01.078882000 889 0xffff88000b70 ERROR wl_dmabuf gstwllinuxdmabuf.c:225:gst_wl_linux_dmabuf_construct_wl_buffer: can't create linux-dmabuf buffer Pipeline is PREROLLED ... Setting pipeline to PLAYING ... Redistribute latency... New clock: GstSystemClock ^Chandling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:00:02.173458875 Setting pipeline to NULL ... 私はwaylandディスプレイサーバー、weston(v 12.0.4)を使用していますコンポジターおよびgStreamer v1.24.0として VPU、GPU、DMA、...の間でバージョンが一致していませんか?どうすれば確認できますか?出力 abov には、「dmabufheaps ドライバーを開けませんでした」という警告が表示されます。どのドライバーを意味していますか?このドライバーは誰が提供しますか? 実際、私はグラフィックやマルチメディアのものにmeta-imxレイヤーを使用しています。もしかしたら、それは権利の問題かもしれません。 私はこの問題を調査するアイデアが恋しいです。ですから、どんな提案でもいただけるとありがたいです。 日時:GStreamer dmabufheapsの問題 名前変更の理由がわかりました。カーネルコンフィグCONFIG_CMA_SIZE_MBYTESが devicetree の linux,cma 項目のサイズを指定すると、新しいカーネルはデバイスの名前を "Reserved" に変更します。   私の場合、カーネル構成は次のとおりです。 CONFIG_CMA_SIZE_MBYTES=320   デバイスツリー (imx8mp.dtsi): resmem: reserved-memory { #address-cells = <2>; #size-cells = <2>; ranges; ocram: ocram@900000 { no-map; reg = <0 0x900000 0 0x70000>; }; /* * Memory reserved for optee usage. Please do not use. * This will be automaticky added to dtb if OP-TEE is installed. * optee@56000000 { * reg = <0 0x56000000 0 0x2000000>; * no-map; * }; */ /* global autoconfigured region for contiguous allocations */ linux,cma { compatible = "shared-dma-pool"; reusable; size = <0 0x3C000000>; alloc-ranges = <0 0x40000000 0 0xC0000000>; linux,cma-default; }; ... 0x3C000000は960MiBです。つまり、カーネル構成からは320MiBを超えていました。サイズを0x14000000に変更した後、/dev/dma_heapのデバイス名は、linux,cmaおよびlinux,cma-uncachedで期待どおりになりました。 日時:GStreamer dmabufheapsの問題 私はいくつかの調査を行い、名前が変更された2つのデバイスがあることがわかりました。 /dev/dma_heap/linux,cma は /dev/dma_heap/reserved と呼ばれるようになりました /dev/dma_heap/linux,cma-uncached は /dev/dma_heap/reserved-uncached という名前になりました 私は古い名前でこの新しいデバイスへの2つのシンボリックリンクを作りました、そして今ではgstreamerはうまく機能します。 デバイスの名前が変更されたのはなぜですか?そして、どうすればこれを変更できますか?
記事全体を表示
Load Error : S32K144 SDK & S32 DS for S32 platform S32K144EVB  S32DS-S32PLATFORM S32DS-ARM  Hi,  I have a trouble when I'm trying to let my S32DS-S32PLATFORM  get the S32K144 SDK. Because I can't find the S32K144 SDK just like S32DS for ARM as the following picture, I download the S32SDK_S32K1xx_RTM_4.0.2.exe and install.  After installing the SDK and choosing sdk_manifest.xml to load,  there is another error: incorrect root tag as the following picture:  Then I try the online updating, it tells me that I have installed the development package as the following picture. But I still can't see the S32K144 SDK appears in the SDK management.  Why S32DS-S32PLATFORM can't load it and how can I fix it and let it load the SDK?? Re: Load Error : S32K144 SDK & S32 DS for S32 platform Hi Senlent,  I got it!! I find that it can be chosen by myself just now!! Thanks for your support!!     Re: Load Error : S32K144 SDK & S32 DS for S32 platform Hi@Endimionchen I mean you need to select GCC 6.3 Re: Load Error : S32K144 SDK & S32 DS for S32 platform Hi Senlent,  My GCC version is 10.2.  Re: Load Error : S32K144 SDK & S32 DS for S32 platform Hi@Endimionchen I think you chose the wrong version of GCC.   Re: Load Error : S32K144 SDK & S32 DS for S32 platform Hi Senlent,  Yes, I can open and complie the routines by default. The S32K144_SDK has attached on them.  Re: Load Error : S32K144 SDK & S32 DS for S32 platform Hi@Endimionchen I understand your question. I want you to confirm whether you can open and compile the routines we provide by default. Re: Load Error : S32K144 SDK & S32 DS for S32 platform Hi Senlent,  Thanks for your replay.  It's right that he Project from Example has attached the S32K144_SDK. But my demand is to new a project by myself. It seems that in v3.5 still can't let me choose S32K144_SDK even I have installed the both package. Can it be solved??          Re: Load Error : S32K144 SDK & S32 DS for S32 platform Hi@Endimionchen Please check below two highlight part have been installed. If all requirements are installed correctly, you can see the examples and the build is successful. Re: Load Error : S32K144 SDK & S32 DS for S32 platform Hi senlent,  I tried v3.5. It could install the SDK, but there were other problems here:  1. After I install the SDK and the SDK management appeared, I tried to new an Application project. The SDKs still didn't appear the S32K144_SDK to choose as the following picture.  2.  I opened the SDK management. There were S32K144_SDK but there were nothing in it after I check the show attached.  How can I fix it??  Re: Load Error : S32K144 SDK & S32 DS for S32 platform Hi@Endimionchen Please try to install a version below S32 DS V3.6, such as S32 DS V3.4 and S32 DS V3.5 S32 DS V3.6 should not have pushed the S32K1 SDK package. In S32 DS V3.4 and S32 DS V3.5, users can see the S32K1 SDK package pushed on this interface S32 DS V3.5 Or S32 DS V3.4 with S32K1xx development package installed, you will see S32SDK.
記事全体を表示
S32K344 引导加载器退出麦克单元 我正在 S32K344 中执行引导加载程序,在跳转到应用固件后遇到了一些问题。 1 - 我已验证跳转正确,但在 MCU 初始化过程中出现了问题,它进入了 HardFault。然而,这种情况并不总是发生;通常情况下,跳转到生产固件时不会出现任何问题。在 MCU 初始化的以下阶段会出现这种问题: 引导加载程序初始化使用的外设包括: MCU、OsIf、Siul2_Port_Ip_Init、IntCtrl_Ip、Gpt、Spi、Sbc_fs26、Wdg_43_fs26、Lpuart_Uart、flash_c40。 引导程序中的 deinit 功能: 如何在 MCU 功能中执行去初始化? 我还需要采取什么额外步骤吗?也许在 .mex 中? 2) 我使用 PTE13 端口作为输入。我已经使用了禁用 LMBCTLEN 寄存器的解决方案,而且在生产固件中也起了作用。但是,当生产固件由引导加载程序初始化时,该寄存器仍被选中。换句话说,当我在生产固件中调用 Mcu_Init / Mcu_InitClock / Mcu_SetMode 时,引导加载程序中的 MCU 初始化不会重做。我该怎么办? 3) 与问题 2 一样,PTA24 和 PTA25 引脚也出现了同样的问题。在生产固件中,它们的配置正确,工作正常。不过,在由引导加载程序初始化时,SOSC 源配置会丢失。 我该怎么办? Re: S32K344 Bootloader. Deinit Mcu 抱歉耽搁了。 解决办法是将引导程序 fw 的 .mex 配置放到应用程序 fw 上。不要在应用程序 fw 中初始化 MUC,只在引导加载器 fw 中初始化。 提示:不要在启动代码上进行优化 Re: S32K344 Bootloader. Deinit Mcu 你好,@danielmartynek 我很高兴您的回复。 1.我们将识别故障异常。 2& 3.RTD 5.0 Re: S32K344 Bootloader. Deinit Mcu 嗨,@myst、 1. 重要的是要识别故障异常。根本原因可能有很多。 请遵循这些文件: https://community.nxp.com/t5/S32K-Knowledge-Base/Example-S32K312-HARDFAULT-Handling-Interrupt-DS3-5-RTD300/ta-p/1806259 https://community.nxp.com/t5/S32K-Knowledge-Base/How-To-Debug-A-Fault-Exception-On-ARM-Cortex-M-V7M-MCU-S32K3XX/ta-p/1595570 https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447 2& 3. 这是哪个 RTD 版本? 谢谢! BR,丹尼尔
記事全体を表示
eiq でトレーニングしたオブジェクト検出モデルを imx8mp ボードまたは PC で使用するにはどうすればよいでしょうか? こんにちは、 私は以下のルーチンに従って「eIQ_Toolkit_UG.pdf」に従ってモデルをトレーニングしました。 データセットをインポート -> モデルを選択 -> 検出 -> バランス -> NPU -> トレーナー -> 検証 -> デプロイ -> モデルをエクスポート -> Tensorflow Lite モデルを保存しました。 以下は検証結果です。 以下は輸出モデルの概要です。 モデルプロパティは以下のようになります。 上部のプロパティに表示されているように、このモデルの出力名はStatefulPartitionedCall、型はfloat32[1,2034,7]です。しかし、output_dataの定義はどこで入手できますか?このモデルを推論プログラムでどのように使用すればよいでしょうか? 私の推論プログラムでは、推論結果を取得するために以下のコードを使用しましたが、正しくないようです。   output_data =インタープリタ.get_tensor( output_details [ 0 ][ 'index' ])   印刷(出力データ)   i が範囲内( output_data .shape[ 1 ] )の場合:         スコア=出力データ[ 0 ][ i ][ 0 ]         クラスID =出力データ[ 0 ][ i ][ 1 ]         x_min =出力データ[ 0 ][ i ][ 2 ]         y_min =出力データ[ 0 ][ i ][ 3 ]         x_max =出力データ[ 0 ][ i ][ 4 ]         y_max =出力データ[ 0 ][ i ][ 5 ]         その他=出力データ[ 0 ][ i ][ 6 ]   eiq検出モデルの推論実現についてアドバイスをお願いします。   よろしくお願いします! ワン・タオタオ Re: How to use the object detection model trained by eiq on imx8mp board or pc? こんにちは@Zhiming_Liu eIQ ドキュメントではこの情報は見つかりませんでした。 imx8mp NPU 用の mobilenet ssd v3 を使用して object_detection モデルをトレーニングするために eiqtool を使用します。 eIQ_Toolkit_v1.16.0\workspace\モデル\mobilenet_ssd_v3\mobilenet_ssd_v3.ipynbに示されている例 推論は RTview と tensorflow を使用して行われますが、imx8mp には含めません。Tensorflow Lite推論を使用したいと思います。 テンソルの出力が得られます(クラスが1つあるため) 名前: StatefulPartitionedCall:0 テンソル: float32[1,2034,6] 位置: 392   (1, 2034, 2)、(1, 2034, 4)のスコアと境界ボックスに分割することにより、 そして、mobilenet_ssd_v3.ipynbと同じ出力処理に従います。境界ボックスとスコアが期待どおりに得られません。 SO、出力形式のシグネチャとは何でしょうか? 推測することはできます( https://community.nxp.com/t5/eIQ-Machine-Learning-Software/How-to-interpret-the-output-from-a-mobilenet-V3-correctly/より) モデルはクラスごとに2034個の検出を予測します。[1,2034,4]テンソルは、検出されたオブジェクトのボックスの位置(ピクセル単位[上、左、下、右])に対応します。 そして[1,2034,2]テンソルは私たちのクラスと背景のスコアに対応します。 eiq ツールでトレーニングしたモデルからは、正しく意味のある出力を取得できませんでした。このモデルは、出力の境界ボックスを組み合わせる独自の方法に従っているようで、rtview エンジンでのみ解釈できます。しかし、出力の詳細な説明をCANますか。rtview または tensorflow ライブラリを使用せずに表示する例はありますか? ありがとうございます。 Re: How to use the object detection model trained by eiq on imx8mp board or pc? HELP-->eIQ Documentationで eIQ ドキュメントを参照してください。
記事全体を表示
PN7160のデザインは動作するが、PN7161は動作しない 私は I2C ポートを備えた PN7160 および PN7161 ボードを設計しました。私は以下のライブラリでテストしました: GitHub - NXPNFCLinux/linux_libnfc-nci: NCI ベースの NXP NFC コントローラ用 Linux NFC スタック 次の結果が得られました。 1.すべての PN7160 ボードは正常に動作しています。 2. すべての PN7161 ボードが動作せず、初期化に失敗します。 PN7160 ボードと PN7161 ボードは同じデザインを共有しています。ECP に関して Apple からの承認を受けていません。 私の質問: 1. ECP に対する Apple の認可がない場合、PN7161 は PN7160 として機能しますか、それともまったく機能しませんか? 2. ECP 以外に、PN7161 と PN7160 の違いはありますか? よろしくお願いします。 Re: PN7160 design works but PN7161 doesn't work CAN助けてもらえますか? Pn7161 IC を使用して NFC ボードをデザインしていますが、起動時に問題が発生します。 Re: PN7160 design works but PN7161 doesn't work こんにちは、ELECHOUSEさん 問題の根本的な原因は何だったのか教えていただけますか? ありがとう ! BR トーマス Re: PN7160 design works but PN7161 doesn't work ここにリンクを貼り付けることができるかどうかわかりません: https://www.elechouse.com/product/pn7160-nfc-rfid-module/ PN7160およびPN7161モジュールの問題はすべて解決済みです Re: PN7160 design works but PN7161 doesn't work FUTUREの参考のために、上記について更新します。 次のThreadに記載されているのと同じ解決策を適用することで、問題は解決しました。 PN7160 TXLDOはVBATが3V3にコネクテッドされている場合0Vのままです 私たちのCASEでは、RF ドライブは 3V3 によって制御されていましたが、明らかにすべてのCASEで TXLDO チェックに合格するわけではありません。TXLDO-Check を無効にすると、RF 信号が生成されます。 一部の PCB がテストに合格し、他の PCB が合格しない理由は明らかではありません。 Re: PN7160 design works but PN7161 doesn't work こんにちは、 アプリケーションでは、PN7161 の SPI バージョンを使用します。 Apple ECP機能は使用しません。 同じバッチで製造された 5 枚の PCB のうち 3 枚は、SPI 経由で通信しているにもかかわらず、RF 信号を生成しません。 電子的には接続の問題はないようです。 何が問題だったのか分かりましたか? 事前に感謝いたします。 Re: PN7160 design works but PN7161 doesn't work こんにちは、Elechouseさん。あなたの製品が大好きです!PN7160 はいつ頃完成すると思いますか? Re: PN7160 design works but PN7161 doesn't work さらに 2 個の新しい PN7160 ボードと 5 個の新しい PN7161 ボードを作成しました。前回作成した 5 個の PN7160 ボードに加えて、次のものも用意しました。 PN7160ボード:7個 PN7161ボード:5個 これらは同じ PCBA デザインを持っています。テスト結果は次のとおりです。 PN7160ボード7枚:すべて動作していた PN7161 ボード 5 個: どれも動作しませんでした。すべて開始に失敗しました.... テストツール: Rapberry Pi ソフトウェア: git clone https://github.com/NXPNFCLinux/linux_libnfc-nci.git -b NCI2.0_PN7160 ご提案があればぜひお願いします! よろしくお願いします。 Re: PN7160 design works but PN7161 doesn't work ハイ PN7161 は、特別な ECP イネーブルメントがアクティブ化されていない限り、PN7160 と同じように応答します。ただし、特別な ECP イネーブルメントがアクティブ化されている場合は、より多くの機能を持つことになります。 よろしくお願いします。 ダニエル Re: PN7160 design works but PN7161 doesn't work ご返信ありがとうございます。 Apple の権威がなければ、PN7161 のいかなる機能もCANないということですか?通常のタグ(Mifare など)を読み取ることもできますか? Re: PN7160 design works but PN7161 doesn't work ハイ PN7161 は PN7160 と同じ機能を備えており、Apple Enhanced Contactless Polling (ECP) 機能がサポートされています。 汎用 PN7160 で使用されるすべての標準デザインは、PN7161 にも適用され、追加コンテンツが含まれますが、形状、フィット、機能は PN7160 と同一です。 PN7161はAppleからの承認が必要です よろしくお願いします。 ダニエル
記事全体を表示
GstV4l2Src:v4l2src0: 分配所需内存失败 我们正在通过 ADV7280A-M M IPI CSI-2 和 Yocto Linux Scarthgap 和 Qt 6.8.2 使用带有模拟视频的 i .MX 8X。 下列作品 gst-用上市,不用发布-1.0v4l2src 设备=/dev/video2!video/x-raw,width=720,height=567,framerate=25/1 !自动视频水槽 但是,Qt 中的相应功能不起作用(gst_parse_element_make: no element"video" )。 因此,我正在努力: gst-用上市,不用发布-1.0-vvv v4l2src 设备=/dev/video2!rawvideoparse width=720 height=576 format=yuy2 !自动视频水槽 然而,由于 ERROR:from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory. 全部输出为 将管道设置为 PAUSED ... 错误:XDG_RUNTIME_DIR 无效或未在环境中设置。 错误:XDG_RUNTIME_DIR 无效或未在环境中设置。 EGL: 警告:wayland 上不支持默认显示 EGL: Warning:wayland 上没有默认显示支持 管道已上线,不需要 PREROLL ... /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstKMSSink:autovideosink0-actual-sink-kms: display-width = 1280 /GstPipeline:pipeline0/GstAutoVideoSink:autovideosink0/GstKMSSink:autovideosink0-actual-sink-kms: display-height = 768 管道已 PREROLLED .... 设置管道为播放状态 ... 新时钟:GstSystemClock /GstPipeline:pipeline0/GstV4l2Src:v4l2src0.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)1:4:5:1 /GstPipeline:pipeline0/GstRawVideoParse:rawvideoparse0.GstPad:sink: caps = video/x-raw, format=(string)YUY2, width=(int)3840, height=(int)2160, framerate=(fraction)120/1, interlace-mode=(string)progressive, colorimetry=(string)1:4:5:1 ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory. 其他调试信息: /usr/src/debug/gstreamer1.0-plugins-good/1.24.0.imx/sys/v4l2/gstv4l2src.c(955): gst_v4l2src_decide_allocation ():/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: 缓冲池激活失败 0:00:00.043197264 后执行结束 将管道设置为 NULL ... ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error. 附加调试信息: /usr/src/debug/gstreamer1.0/1.24.0.imx/libs/gst/base/gstbasesrc.c(3175):gst_base_src_loop ():/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Freeing pipeline ... 谢谢 -- 彼得 i.MX 8 系列 | i.MX 8QuadMax (8QM) | 8QuadPlus Linux 多媒体 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 嗨 @joanxie, GST_DEBUG=3 gst-用上市-1.0-v v4l2src num-buffers=5 设备=/dev/video0!video/x-raw,format=GRAY8,depth=8,width=1280,height=800 !视频转换 !jpegenc !multifilesink location=ar0144_mono_image.jpg issue is Starting GStreamer pipeline... Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... 将管道设置为正在播放 ... 0:00:00.244283375 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 0:00:00.244416875 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5230:gst_v4l2_object_probe_caps: 使用 VIDIOC_CROPCAP 探测像素宽高比失败:参数无效 新时钟:GstSystemClock 0:00:00.246845250 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 /GstPipeline:pipeline0/GstV4l2Src:v4l2src0。GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progressive /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progressie /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progre /GstPipeline:pipeline0/GstJpegEnc:jpegenc0.GstPad:sink:caps = video/x-raw,format=(string)GRAY8,depth=(int)8,width=(int)1280,height=(int)800,framerate=(fraction)120/1,interlace-mode=(string)progressive /GstPipeline:pipeline0/GstVideoConvert:videoconvert0。GstPad:sink: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)proge /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progresse 0:00:00.253795500 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 0:00:00.253877250 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 0:00:00.259326750 784 0xffffb4000b70 ERROR v4l2bufferpool gstv4l2bufferpool.c:721:gst_v4l2_buffer_pool_streamon: STREAMON 32 出错(管道断裂) 0:00:00.259393750 784 0xffffb4000b70 ERROR bufferpool gstbufferpool.c:572:gst_buffer_pool_set_active: start failed 0:00:00.259435250 784 0xffffb4000b70 WARN v4l2src gstv4l2src.c:955:gst_v4l2src_decide_allocation: 错误:分配所需内存失败。 0:00:00.259461750 784 0xffffb4000b70 WARN v4l2src gstv4l2src.c:955:gst_v4l2src_decide_allocation: 错误:缓冲池激活失败 ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory. 其他调试信息: /usr/src/debug/gstreamer1.0-plugins-good/1.24.0.imx/sys/v4l2/gstv4l2src.c(955): gst_v4l2src_decide_allocation ():/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: 缓冲池激活失败 0:00:00.259690375 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3395:gst_base_src_prepare_allocation: 子类未能决定分配 执行在 0:00:00.015445250 后结束 将管道设置为 NULL ... 0:00:00.259771000 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: 错误:内部数据流错误。 0:00:00.259796500 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: error: streaming stopped, reason not-negotiated (-4) ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error. 附加调试信息: /usr/src/debug/gstreamer1.0/1.24.0.imx/libs/gst/base/gstbasesrc.c(3175):gst_base_src_loop ():/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Freeing pipeline ... GStreamer 命令完成。 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 为了完整性,这个话题最初的问题是使用 capsfilter 解决的,而不是 rawvideoparse: player.source = " gstreamer-pipeline:v4l2src 设备=/dev/video2!capsfilter caps=video/x-raw,width=720,height=480,framerate=25/1" 与 Qt 一起使用时,gst_v4l2_object_fill_format_list 中确实会出现间歇性 SIGSEGV,但我想这是另一个问题。 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 你好@Ahmed230,你的留言字体太大,难以阅读。 此主题是关于 ADV7280A-M(NTSC/PAL)在以下情况下工作正常:"!视频/x-原始......" ,但不是用:"!rawvideoparse..." 您的留言是关于 AR0144 图像传感器无法使用:"!video/x-raw". 不同的主题。最好新建一个帖子,然后按 Ctrl+Shift+V 只粘贴文本,不粘贴大字体。 同时将 $NUMBER_OF_PIC、$VID_DEVICE 和 $FRAME_SIZE 替换为实际值。 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 我的问题是 imx8mm 主板上的 camera ar0144 的恩智浦 6.6.36 内核用于捕获图像或视频 GST_DEBUG=3 gst-launch-1.0-v v4l2src num-buffers=$number_of_PIC device=$vid_device=$vid_device!video/x-raw,format=GRAY8,depth=8,$FRAME_SIZE !videoconvert ! jpegenc !multifilesink location=ar0144_mono_image.jpg Starting GStreamer pipeline... Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Pipeline is PREROLLED ... 将管道设置为正在播放 ... 0:00:00.244283375 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 0:00:00.244416875 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5230:gst_v4l2_object_probe_caps: 使用 VIDIOC_CROPCAP 探测像素宽高比失败:参数无效 新时钟:GstSystemClock 0:00:00.246845250 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 /GstPipeline:pipeline0/GstV4l2Src:v4l2src0。GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progressive /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progressie /GstPipeline:pipeline0/GstVideoConvert:videoconvert0.GstPad:src: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progre /GstPipeline:pipeline0/GstJpegEnc:jpegenc0.GstPad:sink:caps = video/x-raw,format=(string)GRAY8,depth=(int)8,width=(int)1280,height=(int)800,framerate=(fraction)120/1,interlace-mode=(string)progressive /GstPipeline:pipeline0/GstVideoConvert:videoconvert0。GstPad:sink: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)proge /GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)GRAY8, depth=(int)8, width=(int)1280, height=(int)800, framerate=(fraction)120/1, interlace-mode=(string)progresse 0:00:00.253795500 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 0:00:00.253877250 784 0xffffb4000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect: 使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 0:00:00.259326750 784 0xffffb4000b70 ERROR v4l2bufferpool gstv4l2bufferpool.c:721:gst_v4l2_buffer_pool_streamon: STREAMON 32 出错(管道断裂) 0:00:00.259393750 784 0xffffb4000b70 ERROR bufferpool gstbufferpool.c:572:gst_buffer_pool_set_active: start failed 0:00:00.259435250 784 0xffffb4000b70 WARN v4l2src gstv4l2src.c:955:gst_v4l2src_decide_allocation: 错误:分配所需内存失败。 0:00:00.259461750 784 0xffffb4000b70 WARN v4l2src gstv4l2src.c:955:gst_v4l2src_decide_allocation: 错误:缓冲池激活失败 ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Failed to allocate required memory. 其他调试信息: /usr/src/debug/gstreamer1.0-plugins-good/1.24.0.imx/sys/v4l2/gstv4l2src.c(955): gst_v4l2src_decide_allocation ():/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: 缓冲池激活失败 0:00:00.259690375 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3395:gst_base_src_prepare_allocation: 子类未能决定分配 执行在 0:00:00.015445250 后结束 将管道设置为 NULL ... 0:00:00.259771000 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: 错误:内部数据流错误。 0:00:00.259796500 784 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: error: streaming stopped, reason not-negotiated (-4) ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:v4l2src0: Internal data stream error. 附加调试信息: /usr/src/debug/gstreamer1.0/1.24.0.imx/libs/gst/base/gstbasesrc.c(3175):gst_base_src_loop ():/GstPipeline:pipeline0/GstV4l2Src:v4l2src0: streaming stopped, reason not-negotiated (-4) Freeing pipeline ... GStreamer 命令完成。 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 这一次,您得到了哪些打印错误信息? 我将电路板支持包 6.6 与电路板支持包 5.10 进行了比较,电路板支持包 6.6 从基于这个补丁的 5.10 中删除了代码,你试过电路板支持包 5.10 了吗? https://github.com/nxptest/linux-imx/commit/4f87610383a0f365ee0c68d9354ddcf099240144 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory PS@joanxie RE: 0:00:00.518350875 427 0xffff80000b70 WARN v4l2 gstv4l2object.c:5023:gst_v4l2_object_get_crop_rect:v4l2src0:src使用 VIDIOC_G_SELECTION 获取默认裁剪矩形失败:参数无效 这是因为在调用 mxc_isi_cap_g_selection() 时: 类型 1 V4L2_BUF_TYPE_VIDEO_CAPTURE 和 目标 1 V4L2_SEL_TGT_CROP_DEFAULT(和目标 2 V4L2_SEL_TGT_CROP_BOUNDS) ,但只期待类型 V4L2_BUF_TYPE_VIDEO_OUTPUT 或 V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE https://github.com/nxp-imx/linux-imx/blob/lf-6.6.y/drivers/staging/media/imx/imx8-isi-cap.c#L1164 添加处理程序后,警告就会消失。 (但随后 mxc_isi_cap_s_fmt_mplane 被调用 ,不知何故 fmt 从 RGB565 720x480 变为 YUYV-16 3840x2160)。 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 你好@joanxie 我们使用 Yocto Scarthgap 和 linux-imx uname 显示 6.6.52 本次提交后,我们从 linux-imx 分支: https://github.com/nxp-imx/linux-imx/commit/e0f9e2afd4cff3f02d71891244b4aa5899dfc786 如果我在 drivers/staging/media/imx/imx8-mipi-csi2.c mxc_csi2_get_sensor_fmt() 中添加调试程序,则会显示 720 x 480。 因此,我对 v4l2-ctl --get-fmt-video -d /dev/video2 显示 3840/2160 感到困惑,不知道是否应在某处实现 VIDIOC_G_SELECTION 或 VIDIOC_CROPCAP,以提高一致性。 谢谢 -- 彼得 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 你用的是什么版本的电路板支持包?看来是比例问题,这就是为什么我要求你测试特定的分辨率,否则需要升级到3840,这会导致错误 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory @joanxie 你好,谢谢你的回复。 v4l2-ctl -d /dev/v4l-subdev1 --set-standard PAL 使用 "video/x-raw, width=720, height=480" 用上市 gst-launch-1.0。 但问题是 在 Qt 6.8.2 (QML MediaPlayer) 的 gstreamer-pipeline: 中使用 video/x-raw 会失败: ERROR GST_PIPELINE grammar.y:630:gst_parse_element_make:无元素"视频" 在 Qt 下(使用 playbin),video/x-raw 不能被识别为一个元素,因为它是一个 caps 过滤器。 这就是为什么我试图在不需要视频/x-原始盖帽过滤器的情况下让管道正常工作的原因 好吧,我刚刚发现有一个 capsfilter 元素,所以就用它来代替: player.source = " gstreamer-pipeline:v4l2src 设备=/dev/video2!capsfilter caps=video/x-raw,width=720,height=480,framerate=25/1" 从 Qt 上几乎可以运行。视频显示了一会儿,但随后就出现了故障: 1 format_cmp_func gstv4l2object.c1276 0xffffd80668dc 2 g_slist_insert_sorted_real gslist.c913 0xfffff604fab4 3 g_slist_insert_sorted gslist.c964 0xfffff60504e0 4 gst_v4l2_object_fill_format_list gstv4l2object.c1324 0xffffd8065a60 5 gst_v4l2_object_get_format_list gstv4l2object.c1373 0xffffd8065f2c 6 gst_v4l2_object_probe_caps gstv4l2object.c5212 0xffffd806ed34 7 gst_v4l2_object_get_caps gstv4l2object.c5310 0xffffd806ef38 8 gst_base_src_default_query gstbasesrc.c1373 0xffffd9219490 9 gst_pad_query gstpad.c4228 0xffffd90ec24c 10 gst_pad_query_caps gstutils.c3117 0xffffd913140c 11 gst_v4l2src_negotiate gstv4l2src.c786 0xffffd8079a04 12 gst_base_src_negotiate_unlocked gstbasesrc.c3490 0xffffd9213e9c 13 gst_base_src_loop gstbasesrc.c2915 0xffffd9215e7c 14 gst_task_func gsttask.c399 0xffffd9122090 15 g_thread_pool_thread_proxy gthreadpool.c350 0xfffff605d780 16 g_thread_proxy gthread.c831 0xfffff605cad8 17 start_thread pthread_create.c447 0xfffff6730fc4 18 thread_start clone3.S 76 0xfffff67931cc 看看我能想出什么办法。 无论如何,我都想知道: v4l2-ctl--设备 /设备/video2--all 给出 mxc-isi-cap_v1 宽度/高度:3840/2160... 猜猜吧,因为尽管 ADV 的宽度只能达到 720,但 MIPI CSI-2 的宽度为 3840。 这样做可以改变它,但只是暂时的: v4l2-ctl -d /dev/video2 -vwidth=720,height=480 在不使用 capsfilter 的情况下运行 gstreamer 时,它会恢复到 3840。 从我们基于 i.MX 8X 的板上看,MIPI CSI-2 是硬接线到 ADV 的,并且只能作为 720 宽度使用,有什么办法可以将其配置为保持 720 宽度而不是 3840 宽度吗?这将使"只需运行" 并简化 Qt 等的 gstreamer 管道? 谢谢 -- 彼得 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory 您为 ADV7280 设置了什么格式,在管道中设置具体分辨率如何?例如,video/x-raw、width=720、height=480,看来问题与裁剪有关,您可以尝试设置分辨率并再次测试 Re: GstV4l2Src:v4l2src0: Failed to allocate required memory https://github.com/GStreamer/gst-plugins-good/blob/master/sys/v4l2/gstv4l2bufferpool.c#L668 if (obj->ioctl (pool->video_fd, VIDIOC_STREAMON, &obj->type) < 0) goto streamon_failed;
記事全体を表示
DC 打标部件 BUK7K6R2-40EX 恩智浦团队,请告诉我在标记部件上是否可以使用日期代码。 BUK7K6R2-40EX
記事全体を表示
S32K146 - MBDT - Runtime data store & retention during power cycle. Dear NXP Support Team, I hope this message finds you well. I’m currently working on a project involving the S32K146 MCU, and I’m using Simulink to handle EEPROM operations. I’ve encountered some issues with data retention that I haven’t been able to resolve, and I’d really appreciate your guidance. In my setup, I’m trying to store values to EEPROM using the "Flash_EEEWrite" block. I’m rotating values from a Repeating Sequence block and writing them after initializing the "Flash_Config". To ensure proper initialization, I’ve also added a 100ms delay before performing any write operations. However, after a power cycle, the values I’ve written are not retained. Here’s what I’ve observed: When the data type of the FLASH_EEEWrite block is set to  uint32_t, the value read back is consistently 7fff(Hex) When set to uint8_t, the value returned is 82(hex). These values are constant regardless of the input, and do not reflect the values I’m writing. I’m not sure if the issue lies in the configuration of EEPROM, the way I’m using the Simulink blocks, or perhaps a misunderstanding of how the FLASH_EEEWrite block works in this context. I’ve attached the Simulink model I’m working with, in case it helps illustrate the setup more clearly. Would you be able to provide any insight into what might be going wrong, or any recommended steps I should follow to ensure reliable EEPROM writes and retention across power cycles? Thank you very much in advance for your time and support. I really appreciate any help or suggestions you can provide.
記事全体を表示
i.MX 8X 安全启动-两方而不是一方的密钥-Yocto Linux 通常如何处理以下安全启动/信任链场景?有什么先例? 在大多数文档/示例中,场景很简单:同一家公司创建设备和应用程序软件,出售带有应用程序软件的设备,只需要存放密钥。 但是,就我们而言:我们生产基于i.MX 8X的设备。我们的客户为设备开发软件应用程序,然后将带有软件的设备出售给客户。 我们的钥匙在 AHAB SRK。但是,我们还需要在某个地方为客户提供密钥,以便他们可以签署软件更新... 我们为客户提供 Yocto 开发的 SDK 和 Linux rootfs。我们的客户不会自己执行 Yocto 版本。他们使用 SDK 版本应用程序软件。 就安全启动以及谁的密钥存储在哪里而言,通常如何处理这种情况有哪些先例?各方的术语是什么? 谢谢 Peter 安全 Re: i.MX 8X secure boot - keys for two parties rather than one - Yocto Linux 如果您还没有收到,请通知我。 此致 哈维 Re: i.MX 8X secure boot - keys for two parties rather than one - Yocto Linux 嗨,@Harvey021。谢谢。请问在哪里可以找到内部系统邮件?我查看了 "私人信息"/"收件箱",但里面是空的? Re: i.MX 8X secure boot - keys for two parties rather than one - Yocto Linux 你好@petero5 我已向您发送了内部系统邮件。 此致 哈维 Re: i.MX 8X secure boot - keys for two parties rather than one - Yocto Linux 你好@Harvey021谢谢,是的,我们使用的是带有 HSM 的 CST。 但我们仍在寻找最佳实践,即涉及两家公司而不是一家公司的信任链: A 公司制造该设备,构建 Yocto SDK 和 FIT 映像、U-启动、Linux 内核和 rootfs。 B 公司收到上述内容并开发应用程序(并创建应用程序分区)。 如果 A 写入 SRK 并关闭设备,则 B 可以相信设备和图像在发往它们的途中没有被篡改。 但是否需要一种方法来为应用分区注册 B 的公钥,或者将其纳入信任链? 谢谢 Peter Re: i.MX 8X secure boot - keys for two parties rather than one - Yocto Linux <7.3将 CST 与 CST 用户指南的硬件网络安全模块 > 一起使用可以作为参考。 您可以从IMX_CST_TOOL下载指南。 此致 哈维
記事全体を表示