Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
PKCS11 communication to SE050 via OpenSSL Introduction We want to access a private key stored on se050 from the mod_ssl (openssl-based) of the Apache web server and perform TLS communication. https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#page-header # To use a private key from a PKCS#11 token: SSLCertificateKeyFile "pkcs11:token=My%20Token%20Name;id=45" Hardware SE050 Software PlugAndTrust: v04.05.01 openssl: 3.0.12 Tried it To verify communication with SE050 using pkcs#11, we first attempted to create a key. # openssl genpkey \ > -provider pkcs11prov \ > -algorithm EC \ > -pkeyopt ec_paramgen_curve:P-256 \ > -pkeyopt pkcs11_id:01 \ > -pkeyopt pkcs11_label:MyNewKey genpkey: Error setting pkcs11_id:01 parameter: 20001EBB7F000000:error:03000093:digital envelope routines:default_fixup_args:command not supported:crypto/evp/ctrl_params_translate.c:580:[action:2, state:4] name=pkcs11_id, value=01 openssl.cnf : openssl_conf = openssl_init [openssl_init] providers = provider_sect [provider_sect] default = default_sect pkcs11 = pkcs11_sect [default_sect] activate = 1 [pkcs11_sect] identity = pkcs11prov module = /usr/lib/ossl-modules/pkcs11prov.so pkcs11_module = /usr/lib/libsss_pkcs11.so activate = 1 Using the "-out" option successfully generated the key, but it was generated as a file. # openssl genpkey -provider pkcs11prov -provider default \ > -algorithm EC \ > -pkeyopt ec_paramgen_curve:P-256 \ > -out "pkcs11:id=%01;object=MyNewKey" Questions Is it possible to communicate with SE050 using PKCS#11 with openssl3.x (provider-based)? The following is engine-based. https://docs.nxp.com/bundle/LLDPUG_L6.1.36_2.1.0/page/topics/pkcs_11_based_openssl_engine_third-party_opensc_li.html Are the openssl.cnf file and the libraries being used incorrect? Is the command you used to generate the key incorrect? I look forward to your response. SE050 Re: PKCS11 communication to SE050 via OpenSSL pkcs11-tool generates 2 private keys for keypairgen Which platform you are using for SE050 Re: PKCS11 communication to SE050 via OpenSSL Thank you, @Kan_Li . I am using the following: Type number: SE050F2HQ1/Z018H SE050 Variant: SE050F2 Re: PKCS11 communication to SE050 via OpenSSL Hi @Ryopo0802 , Which SE05x variant are you testing with? Was it SE050E2? Please kindly clarify. Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" 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. ------------------------------------------------------------------------------- Re: PKCS11 communication to SE050 via OpenSSL Hi @Ryopo0802 , We checked pkcs#11 provider +nxp pkcs11 plugin is not working , we could replicate the error customer is getting. So it not works for now.  Moreover, here: pkcs11-provider/HOWTO.md at main · openssl-projects/pkcs11-provider · GitHub for key generation they have given recommendation to use tools working with pkcs11 directly such as p11tool for key generation. However, nxp's openssl provider can be used without pkcs 11: GitHub - NXPPlugNTrust/se05x-openssl-provider: This is the OpenSSL Provider for Se05x. · GitHub If you don't want to use NXP's Openssl provider, I would be also interested to understand why is that. Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" 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. ------------------------------------------------------------------------------- Re: PKCS11 communication to SE050 via OpenSSL Thank you, @Kan_Li  > If you don't want to use NXP's Openssl provider, I would be also interested to understand why is that. I want to use HTTPS communication from an Apache server with a private key in an NXP Secure Element. Apache can only access the private key via PKCS#11 using openssl-based mod_ssl. Therefore, openssl + PKCS#11 is required. Is there a solution? https://httpd.apache.org/docs/2.4/mod/mod_ssl.html Best regards,
記事全体を表示
S32DS for S32 PlateForm过期 你好,我的S32DS软件显示licence已经过期,激活码为C90E-B544-714D-BEAE,麻烦帮忙延期一下。 Re: S32DS for S32 PlateForm过期 你好、 通过查看您的账户,您昨天已经激活了 S32DS v3.5,对吗?
記事全体を表示
NVIC_SystemReset() is not working with MiMxRT1020 I am using MiMxRT1020 development kit.. I want to update firmware via TCP with bootloader. As soon as I receive my new firmware I want to reset application and I want to jump to the bootloader mode. But NVIC_SystemReset() is not working. So I can not update my firmware. Here is sample of my code. if(ack_offset == 0xffff) { /* received complete firmware */ osDelay(2000); __disable_irq(); /* reset application */ NVIC_SystemReset(); } Re: NVIC_SystemReset() is not working with MiMxRT1020 @Sabina_Bruce that is not a proper test! If you look at the NVIC_Reset inline function, you will see that the attempt at reset is followed by an infinite loop:  for(;;) {} So you have not proved the reset works. You need to test an application that has actual reset capability and without debug pod attached. @meeras - Have you resolved this issue? I'm also seeing an apparent reset failure on RT1024. Also FYI see this similar issue and patch for M55 etc. ARM cores: https://github.com/ARM-software/CMSIS_6/issues/195  I'm going to try applying ARM's CMSIS patch. Interested to hear what you've found! Thanks, Best Regards, Dave Re: NVIC_SystemReset() is not working with MiMxRT1020 Hello , Hope you are doing well. I have tested this one my end without any issue.  I used the simple hello world example. Placed the NVIC_SystemReset after it prints hello world.  It will not reach the next printf as it resets the application. I am using the latest IDE and SDK version. Best Regards, Sabina ----------------------------------------------------------------------------------------------------------------------- Note: If this post answers your question, please click the Correct Answer button. Thank you! ----------------------------------------------------------------------------------------------------------------------- 
記事全体を表示
Segger Jlinkとの互換性によるS32K324のセキュアデバッグ/ライフサイクルアップデート こんにちは、 私たちはS32K3を使用しており、HSE FWをインストールしたいと考えています。Segger JLinkは、チャレンジ/レスポンス認証を使用したセキュアデバッグをサポートしているかどうか確認していただけますか?そうでない場合、他にどのような選択肢がありますか? ありがとうございます アニル Re: Segger Jlink compatibility for Secure Debug/ Lifecycle updates of S32K324 こんにちは、 同じテーマについてさらに掘り下げていきます。デモアプリのソースコードとドキュメントには、Trace32のみを使用したHSE_FWのインストール手順が記載されています。PE-Microデバッガーを使用するための個別のドキュメントやコードはありますか?ドキュメントと.cmmファイルを確認しますTrace 32でのみサポートされているスクリプト。 ありがとうございます アニル Re: Segger Jlink compatibility for Secure Debug/ Lifecycle updates of S32K324 こんにちは、@anilsp31PAさん これはSeggerのウェブサイト(https://kb.segger.com/NXP_S32K3xx )からのスクリーンショットです。 つまり、サポートされていません。 選択肢としては、ペミクロかラウターバッハのどちらかが挙げられます。 Pemicroについては、以下の記事をお読みください。 https://www.pemicro.com/learningcenter/contents.cfm?content_id=82 ラウターバッハの場合、HSE DemoAppにいくつかのリソースが含まれています(HSEファームウェアと同じ場所からダウンロードできます)。 HSE DemoAppのスクリプトは、次のようなパスで確認できます。 c:\NXP\HSE_DEMOAPP_S32K358_0_2_55_0\demo_security_installer\scripts\   ファイルを参照してください: debug_App_ADKP.py debug_authorization.cmm adkp_key_input.txt …または、ラウターバッハに直接連絡してサポートを受けてください。 よろしくお願いいたします。 ルーカス Re: Segger Jlink compatibility for Secure Debug/ Lifecycle updates of S32K324 HSE_DEMOAPP_S32K3XXはT32でのみ動作しますが、記載されているHSEの例はコードベースであり、任意のデバッガで実行できます。 HSEサンプルパッケージには、S32K344_HSE_FW_INSTALLとS32K344_HSE_FW_UPDATEというサンプルも含まれています。 https://www.nxp.com/webapp/Download?colCode=S32K3_HSE_DemoExamples 基本的には同じ機能をコードデバッガーに依存しないように移植したものです 「c:\NXP\S32K3_HSE_DemoExamples_1_0_0\S32K3_HSE_DemoExamples\Readme.md」を引用します。 「このプロジェクトの目的は、さまざまなデバイスにおけるHSE FWの機能を示すための、多様なユースケースシナリオと事例を提供することです。」これは、動作にT32 Lauterbachを必要とする有名なHSE DEMO APPの移植版です。今回はPEmicroとDesign Studioを使用していますが、この2つのツールは互いにうまく連携し、Design Studio IDEを使用して直接デバッグを行うことができます。
記事全体を表示
NXP_DIE_DICE_UDS_MK_SK in ELS key slots on MCXN947 Hello, I want to use NXP_DIE_DICE_UDS_MK_SK as input key of HKDF to derive the secret on MCXN947. But, secure reference manual doesn't describe precise slot number of it. I found some other keys like NXP_DIE_MK_SK in 9.9 ELS key store state after boot. Could you please tell me it ? Thank you and Best regards, Yosuke MCXN Security(Edgelock | secure boot | OTP) Re: NXP_DIE_DICE_UDS_MK_SK in ELS key slots on MCXN947 Hello @YosukeW  Yes, the MCXN947 Security Reference Manual does not cover this topic. I will confirm with our internal team and update you as soon as I have any new information. Thank you. BR Alice Re: NXP_DIE_DICE_UDS_MK_SK in ELS key slots on MCXN947 Hi @YosukeW  This key is intended for use by the ROM only during the boot phase. So customer can use other key, for example CUST_DIE_DICE_CDI_MK_SK. Thanks for your understanding.  BR Alice Re: NXP_DIE_DICE_UDS_MK_SK in ELS key slots on MCXN947 Hello @Alice_Yang , Thank you for clear response. I got you. Best regards, Yosuke
記事全体を表示
S32 Design Studio for ARM 2.2 cannot be activated I am installing S32 Design Studio for ARM 2.2, I enter the activation code provided by the official website, every time it prompts for another feature, and then it prompts that the three chances have been exhausted, please help me to unbundle the activation code from the old device completely and remove the limit of the number of times for the current device, so that I can install S32DS V2.2 correctly on the new device. 回复: S32 Design Studio for ARM 2.2无法激活 I also have this problem. Could the authorities help me solve it together? Re: S32 Design Studio for ARM 2.2无法激活 Hi, please download S32DS v2.2 installer ( without Update 2), run it and activate it again. If activation still fails, try to backup and delete content of c:\ProgramData\FLEXnet\ and start installation again. The folder is hidden by default. 
記事全体を表示
AN14808,无法在文件中找到某些功能 在 AN14808 中,将 i.MX RT1170 连接到 Quectel EC200A-CN USB 4G 调制解调器、 https://docs.nxp.com/bundle/AN14808/page/topics/details_for_implementation.html 在文件第 3.7 章 g 项中找不到某些功能。 USB_HostCdcECM_ATInCallback(); USB_HostCdcECM_ATOutCallback(); dial_update_status(); dial_tx(); dial_rx(); lte_dial(); USB_HostCdcECM_EC200A_EP0_Callback(); update_ec200a_status(); ep0_communicate(); init_ec200a(); 在哪里可以找到这些示例代码功能? Re: AN14808, can not find some functions in the document 你好@EdwinHz、 我没有 RT1170 EVK 和 Quectel EC200A-CN,我使用的是 RT1020 EVK 和 EC200U-EU C4-P01 EVB。 https://developer.quectel.com/doc/quecpython/Dev_board_guide/en/ec200x-evb.html 来测试这篇应用笔记。 目前,无法触发信号连接的 EC200U-EU EVB USB 设备,只需显示日志即可 USB host init success. 我检查了主机 CONTROLLER_ID,它似乎与 RT1020 正确对应。 #if ((defined USB_HOST_CONFIG_EHCI) && (USB_HOST_CONFIG_EHCI)) #ifndef CONTROLLER_ID #define CONTROLLER_ID kUSB_ControllerEhci0 #endif #endif /* USB_HOST_CONFIG_EHCI */ 我是否需要修改 USB 接口? Re: AN14808, can not find some functions in the document 你好,@felix1、 在这种情况下,您需要添加缺失的部分: case USB_HostCdcEcmRunDial 为了与您在"7 的 d) 部分中看到的内容一致,您需要在 7.在 usb_ethernetif_freertos.c. 中:" Re: AN14808, can not find some functions in the document 我在 AN14808SW.zip 中找到了它、但在文件第 3.7 章 b.项中,似乎遗漏了以下内容 案例 USB_HostCdcEcmRunDial: Re: AN14808, can not find some functions in the document 您好, 之前有人测试过应用笔记吗?你能否提供你的硬件环境作为参考,比如 RTXXXX EVK、Quectel 调制解调器模块。 Re: AN14808, can not find some functions in the document 你好,@felix1、 考虑到 AppNote 曾用于 RT1170,而你目前使用的是 RT1020,我强烈建议你查看我们在 RT1020 SDK 上提供的 USB 示例代码作为参考,以确保 RT1020 上的 USB 外围设备根据其时钟树、电源控制和特定 PHY 要求正确初始化。
記事全体を表示
在 U-Boot 配置中添加 SPL 会导致编译错误 OOM 137 我正在为 Colibri imx8QXP SoM 模块创建 Linux 镜像,我想为 U-Boot 加入猎鹰模式。我使用了 i.MX 8QXP 的快速启动使用 U-Boot Falcon 模式作为参考。 我正在使用的版本配置: Build Configuration: BB_VERSION = "2.8.1" BUILD_SYS = "x86_64-linux" NATIVELSBSTRING = "universal" TARGET_SYS = "aarch64-tdx-linux" MACHINE = "colibri-imx8x" DISTRO = "tdx-xwayland" DISTRO_VERSION = "7.6.0-devel-20260423064324+build.0" TUNE_FEATURES = "aarch64 armv8a crypto" TARGET_FPU = "" meta = "scarthgap:41597b5260fb5ca811d0fb4ae7e65246d61734eb" meta-yocto-bsp meta-poky = "scarthgap:c7c38663a1cafb1fa8593c0b246811e51d3bbe20" meta-freescale = "scarthgap:902dde8c5bd29bb507ac8d37772565a6c9ab77cd" meta-freescale-3rdparty = "scarthgap:70c83e96c7f75e73245cb77f1b0cada9ed4bbc6d" meta-oe meta-python meta-multimedia meta-networking meta-filesystems = "scarthgap:06f846a325fde423bb0a6d49d771d8c1e144d7eb" meta-toradex-bsp-common = "scarthgap-7.x.y:159b1b42c4c527a39ac0b41faad408d74299e2d6" meta-toradex-nxp = "scarthgap-7.x.y:1c108e5846f71a543e97327274afb53d136c16ae" meta-toradex-distro = "scarthgap-7.x.y:c55b5b491427ac1f129dcd905bb9956feecd31a4" meta-qt6 = "6.7.3:9e6928ef66bced84ec3eecfdac00a3540b0a6479" meta-splash workspace meta-imx-fastboot = "lf-6.6.52-2.2.0:5b3363688aac96e5e1e73ad73bcf9f074cfb1160" 添加了 meta-imx-fastboot 层后,我的编译失败了,因为它找不到与 SPL 相关的垃圾箱文件,所以我使用虚拟/引导加载程序的 menuconfig 添加了 SPL 支持。 它导致我的版本崩溃,出现错误 137,日志中没有任何其他信息。我的机器有 64GB 内存,为了进行实验,我增加了 256GB 的交换空间,但并没有什么用。 互联网上的信息也帮不上什么忙,我只找到了减少并行 make 变量和增加 8GB swap 的方法,但这并没有解决我的问题。 有什么办法可以解决这个问题? i.MX 8 系列 | i.MX 8QuadMax (8QM) | 8QuadPlus Linux Yocto Project Re: Adding SPL to U-Boot config causes build error OOM 137 你好@elena_popa, 附上最后一个日志文件 Re: Adding SPL to U-Boot config causes build error OOM 137 你好,@古尔班 对于 137 代码错误,能否附上 U-Boot 编译日志文件?你应该在 tmp/work/colibri_imx8x-tdx-linux/u-boot-tradex/2024.04/temp/log.do_compile 中找到它 Re: Adding SPL to U-Boot config causes build error OOM 137 你好 @elena_popa, 我已经在使用你提到的这个分支了,它与我最后一行构建配置中的版本相匹配。 我也检查过变量: bitbake -e core-image-minimal | grep "^SPL_BINARY" SPL_BINARY="spl/u-boot-spl.bin" SPL_BINARY:mx8qxp-generic-bsp="spl/u-boot-spl.bin" 如果我尝试在不修改虚拟/引导加载程序和添加 SPL 支持的情况下构建 core-image-minimal,则会出现错误日志: WARNING: /home/yocto/bitbake-builds/poky-master/layers/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex_2024.04.bb:do_compile is tainted from a forced run | ETA: 0:00:00 Sstate summary: Wanted 930 Local 905 Mirrors 0 Missed 25 Current 2440 (97% match, 99% complete)################################################################################## | ETA: 0:00:00 Initialising tasks: 100% |#########################################################################################################################################################################| Time: 0:00:02 NOTE: Executing Tasks ERROR: u-boot-toradex-2024.04-r0 do_install: ExecutionError('/home/yocto/bitbake-builds/poky-master/build/tmp/work/colibri_imx8x-tdx-linux/u-boot-toradex/2024.04/temp/run.do_install.43334', 1, None, None) ERROR: Logfile of failure stored in: /home/yocto/bitbake-builds/poky-master/build/tmp/work/colibri_imx8x-tdx-linux/u-boot-toradex/2024.04/temp/log.do_install.43334 Log data follows: | DEBUG: Executing python function extend_recipe_sysroot | NOTE: Direct dependencies are ['/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-core/glibc/glibc_2.39.bb:do_populate_sysroot', '/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-devtools/gcc/gcc-cross_13.4.bb:do_populate_sysroot', '/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-devtools/gcc/gcc-runtime_13.4.bb:do_populate_sysroot', '/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', 'virtual:native:/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-connectivity/openssl/openssl_3.5.5.bb:do_populate_sysroot', 'virtual:native:/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-devtools/bison/bison_3.8.2.bb:do_populate_sysroot', 'virtual:native:/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-devtools/flex/flex_2.6.4.bb:do_populate_sysroot', 'virtual:native:/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-devtools/python/python3-setuptools_69.1.1.bb:do_populate_sysroot', 'virtual:native:/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-devtools/python/python3_3.12.12.bb:do_populate_sysroot', 'virtual:native:/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-devtools/swig/swig_4.2.1.bb:do_populate_sysroot', 'virtual:native:/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot', 'virtual:native:/home/yocto/bitbake-builds/poky-master/layers/openembedded-core/meta/recipes-kernel/dtc/dtc_1.7.0.bb:do_populate_sysroot'] | NOTE: Installed into sysroot: [] | NOTE: Skipping as already exists in sysroot: ['gettext-minimal-native', 'glibc', 'binutils-cross-aarch64', 'cmake-native', 'gcc-cross-aarch64', 'gcc-runtime', 'libgcc', 'libtool-native', 'm4-native', 'quilt-native', 'texinfo-dummy-native', 'kern-tools-native', 'linux-libc-headers', 'openssl-native', 'expat-native', 'ncurses-native', 'readline-native', 'util-linux-libuuid-native', 'zlib-native', 'bison-native', 'flex-native', 'git-native', 'gnu-config-native', 'libedit-native', 'make-native', 'patch-native', 'perl-native', 'pseudo-native', 'python3-build-native', 'python3-flit-core-native', 'python3-installer-native', 'python3-packaging-native', 'python3-pyproject-hooks-native', 'python3-setuptools-native', 'python3-wheel-native', 'python3-native', 'swig-native', 'bc-native', 'bzip2-native', 'libnsl2-native', 'libtirpc-native', 'unzip-native', 'xz-native', 'zstd-native', 'dtc-native', 'attr-native', 'ca-certificates-native', 'curl-native', 'gdbm-native', 'gmp-native', 'libffi-native', 'libmpc-native', 'libpcre2-native', 'mpfr-native', 'sqlite3-native'] | DEBUG: Python function extend_recipe_sysroot finished | DEBUG: Executing shell function do_install | install: cannot stat '/home/yocto/bitbake-builds/poky-master/build/tmp/work/colibri_imx8x-tdx-linux/u-boot-toradex/2024.04/build/colibri-imx8x_defconfig/spl/u-boot-spl.bin': No such file or directory | WARNING: exit code 1 from a shell command. ERROR: Task (/home/yocto/bitbake-builds/poky-master/layers/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex_2024.04.bb:do_install) failed with exit code '1' NOTE: Tasks Summary: Attempted 3704 tasks of which 3699 didn't need to be rerun and 1 failed. NOTE: Writing buildhistory NOTE: Writing buildhistory took: 2 seconds Summary: 1 task failed: /home/yocto/bitbake-builds/poky-master/layers/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex_2024.04.bb:do_install log: /home/yocto/bitbake-builds/poky-master/build/tmp/work/colibri_imx8x-tdx-linux/u-boot-toradex/2024.04/temp/log.do_install.43334 Summary: There were 2 WARNING messages. Summary: There was 1 ERROR message, returning a non-zero exit code. 在虚拟/引导加载程序中启用 SPL 支持后,版本停留在 do_compile 部分并以错误 137 结束 WARNING: /home/yocto/bitbake-builds/poky-master/layers/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex_2024.04.bb:do_compile is tainted from a forced run | ETA: 0:00:00 Sstate summary: Wanted 929 Local 904 Mirrors 0 Missed 25 Current 2441 (97% match, 99% complete)################################################################################## | ETA: 0:00:00 Initialising tasks: 100% |#########################################################################################################################################################################| Time: 0:00:01 NOTE: Executing Tasks ERROR: Task (/home/yocto/bitbake-builds/poky-master/layers/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex_2024.04.bb:do_compile) failed with exit code '137' NOTE: Tasks Summary: Attempted 2992 tasks of which 2991 didn't need to be rerun and 1 failed. NOTE: Writing buildhistory NOTE: Writing buildhistory took: 2 seconds Summary: 1 task failed: /home/yocto/bitbake-builds/poky-master/layers/meta-toradex-nxp/recipes-bsp/u-boot/u-boot-toradex_2024.04.bb:do_compile Summary: There were 2 WARNING messages. 如果我需要提供更多信息,请告诉我。 在此先表示感谢、 阿尔卡季 Re: Adding SPL to U-Boot config causes build error OOM 137 你好,@古尔班 请改用这个层:https://github.com/nxp-imx-support/meta-imx-fastboot/tree/lf-6.6.52-2.2.0 lf-6.6.36-2.1.0 支持 i.MX 8QXP和 lf-6.6.52-2.2.0 分支。 作为 i.MX 8QXP 的一般规则,要生成 SPL 二进制文件,必须设置以下变量: uboot_make_target:mx8qxp-generic-bsp = " " spl_binary: mx8qxp-generic-bsp = " spl/u-boot-spl.bin " imxboot_targets_sd: mx8qxp-generic- bsp = " flash_spl " 这些已经在 conf/层.conf 中定义了:https://github.com/nxp-imx-support/meta-imx-fastboot/blob/lf-6.6.52-2.2.0/conf/layer.conf#L21C1-L25C66 能否同时提供错误日志? 如果您还有其他问题,请告诉我。 此致, 埃琳娜 Re: Adding SPL to U-Boot config causes build error OOM 137 你好,@古尔班 请使用我们的 i.MX 8QXP MEK 配置文件作为参考,该文件默认启用 SPL。既然你使用的是Toradex BSP,我建议你联系Toradex,获取有关在他们的软件中启用 SPL 的指导。 或者,你也可以选择保留 U-Boot,并将其与 Linux 内核一起重点优化。我建议阅读一篇文章 i.MX 6ULZ:如何在 2 秒内启动 Linux,它为缩短 U‑Boot 和 Linux 内核启动时间提供了一些建议。 谢谢! 埃琳娜
記事全体を表示
i.MX93 電源オフシーケンス こんにちは、 現在、 i.MX93をベースにしたカスタム基板を設計しており、データシートに記載されている電源オフ要件を満たすために、アクティブ放電回路の開発に取り組んでいます。 私の理解を検証するために、 i.MX93 EVK (ボードリビジョン:700-51961 Rev B、SCH-51961 Rev B5、SOM B2)で測定を行いました。 i.MX93のデータシートによると、電源オフシーケンスでは、 BBSMレールが最後にオフになるレールである必要があります。 私が遭遇したもの: USB-C電源を抜いたり、ベースボードの主電源スイッチを切り替えたりすると、観測される動作シーケンスがデータシートの要件と一致しないようです。 測定設定: CH1: SOCレール(TP703で測定) CH2: BBSMレール(TP709地点で測定) 質問: EVKは、突然の電源喪失(例えば、USBケーブルの抜去)時に、管理された電源オフシーケンスをサポートするように設計されていますか、それともこの要件はPMICを介したソフトウェアによるシャットダウン時にのみ厳密に適用されますか? 私がキャプチャしたデータにおいて、EVKの動作がデータシートに記載されている電源オフシーケンスの要件から逸脱している理由を説明していただけますか? 助けてくれてありがとう! Re: i.MX93 Power Off Sequence しかし、ここで話しているのはi.MXであってPMICではありません。PMICがどのような状態になるかは気にしません。私が気にしているのは、電源を供給しているデバイス、つまりプロセッサです。 i.mXのデータシートより: 最悪の場合、損傷を引き起こす可能性があると明記されているようですが、なぜ規定の手順に従わずに電源を切っても問題ないとおっしゃるのか理解できません。 何か見落としているでしょうか? Re: i.MX93 Power Off Sequence こんにちは、 これはデバイスに損傷を与えるものではなく、PMICのデータシートに記載されている想定される状態です。 オフモード PCA9451Aは、VSYSがVSYS_PORしきい値を下回ると、どの状態からでもOFFモードに移行します。このモードでは、すべてのレギュレータがオフになり、すべてのレジスタがリセットされます。 よろしくお願いいたします。 Re: i.MX93 Power Off Sequence デバイスに損傷を与えない**CASE**もあるのに、そもそもなぜ電源オフの手順が必要なのでしょうか? Re: i.MX93 Power Off Sequence こんにちは、 情報ありがとうございます。 その通りです。PMICは入力電源を抜いた場合、すべてのレギュレータを同時にオフにしますが、これによりデバイスが損傷することはありません。 よろしくお願いいたします。 Re: i.MX93 Power Off Sequence なるほど、分かりました。 正しく理解しているか確認したいだけです。 私はTIのこのガイドラインに従うようにしています。 https://www.ti.com/document-viewer/lit/html/SSZTAP3 あなたの説明によると、i.mxはこのような動作(予期しない電源オフ)から保護される必要はないので、その点については心配する必要はありません。ソフトウェアによる電源オフシーケンス以外に特別な考慮は不要です。予期しない電源オフの場合、すべてのレールが同時に遮断されるため、CPUに損傷を与えることはありません。 Re: i.MX93 Power Off Sequence こんにちは、 この電源シーケンスは、ソフトウェアによってプロセッサがオフにされたときに実行されます。ボードを抜くと、VSYSが最小動作範囲を下回るため、すべてのレギュレータが同時にオフになることが期待されます。 i.MX93 EVKは、突然の電源喪失時にデータシートに記載されている電源遮断シーケンスを保証するものではありません。この要件は、PMICによって管理され、ソフトウェアによって開始されるシャットダウンの場合にのみ保証されます。 よろしくお願いいたします。 Re: i.MX93 Power Off Sequence 「最悪の場合、漏電やプロセッサ/PMICへの不可逆的な損傷を防ぐため、電源オフの手順に従うことを推奨します。」 私が理解できないのは、先ほど示したEVKではその推奨事項に従っていないことです。 では、EVKソリューションに従うのはなぜ問題ないのでしょうか? あるいは、電源プラグを抜く場合、手順に従う必要はないと宣言するのですか?おかしいと思うけど、そもそもなぜそれに従う必要があるの? ソフトウェア的には、PMICを正しいシーケンスに設定するのは簡単ですが、私が知る限り、あなたはすべてのケースでそのシーケンスを指定した理由があるはずです... Re: i.MX93 Power Off Sequence こんにちは、 1.最悪の場合、漏電やプロセッサ/PMICへの不可逆的な損傷を防ぐため、電源オフの手順に従うことをお勧めします。電源が切断されても、何の損傷も生じないケースを数多く見てきました。 2. ソフトウェアに実装する必要はありません。 3. 当社のEVK電源管理ソリューションに従うことで、長期にわたる正常な動作が保証されます。 消費電力に関しては、1つの投稿につき1つのトピックのみを扱っているため、別のコミュニティ投稿を作成することをお勧めします。ご提出いただいたチケットで確認できます。 よろしくお願いいたします。 Re: i.MX93 Power Off Sequence ご説明いただきありがとうございます。EVKの動作は「深刻な」停電時に想定されるものなので、いくつか追加の質問があります。 1. では、電源オフシーケンスの要件は、データ/RTC/セキュリティ状態の完全性のみを目的としたものなのでしょうか、それとも、電源レールが同時に冷却された場合、長期信頼性の問題やSoCへの物理的な損傷のリスクがあるのでしょうか?(つまり、EVKの電源を頻繁に切ると、すぐに故障してしまうということですか?)電源スイッチを使うのはごく一般的なことだから。あるいは、BBSMが崩壊した状態でSOCが高いままの場合、内部ダイオードのバイアスやラッチアップ状態が発生するリスクはありますか? 2. どちらでもないとしたら、この要件をソフトウェア経由で満たす本当の目的は何なのでしょうか? 3. 信頼性に関する要件が重要な場合、NXPは、PMICがシーケンスシャットダウンを実行するのに十分な「ホールドアップ」時間を確保するために、入力レール上の特定の総容量を推奨していますか? そして、そこから別の疑問が生じます。現在、アクティブ放電プロセスの消費電流を削減するために、i.MXを可能な限り低い電力に設定する方法を調べているのですが、例えばサスペンドモードでNXPが測定した結果と同じ結果が得られないようです(echo memコマンドでサスペンドモードに入ると、SOCレールで12mA、VSYS_5V [PMIC INPUT]で85mAになりますが、これはかなり多いように思えます)。 Re: i.MX93 Power Off Sequence こんにちは、 この要件は、PMICを介したソフトウェアによるシャットダウン時にのみ厳密に適用され、USB-C電源ケーブルを抜くと、すべての電源レールが同時にシャットダウンされます。 あなたが目にしている現象は想定内のものです。 よろしくお願いいたします。 Re: i.MX93 Power Off Sequence こんにちは、 社内チームと再度検討した結果、「不可逆的な損傷(最悪のシナリオ)」に関する記述は、主に電源投入シーケンスの逸脱に適用されることが判明しました。電源投入時に、電源供給順序が間違っていると、過電流や逆給電が発生し、プロセッサが電気的に損傷する可能性があります。 電源オフの場合は状況が異なります。すべての電源はすでに有効なレベルにあり、電源が切断されると(たとえば、ケーブルを抜くと)、レギュレータとプロセッサは単純に0Vに低下します。この場合、同様の電気的ストレスメカニズムは存在しないため、電源オフ手順を厳密に守らなくてもi.MXは損傷を受けません。 そのため、ソフトウェア制御によるシャットダウンが推奨されます(実行中のタスクを完了させ、アプリケーションによってはデータ破損が発生する可能性があるため)。ただし、プロセッサを保護するための電気的な要件ではありません。ハードウェアの損傷を回避するための重要な要件は、正しい電源投入順序を維持することである。 よろしくお願いいたします。
記事全体を表示
S32K142 ADC Single Sampling Hi, I am using ADC to capture PWM, why is it that after turning off hardware averaging, the ADC still gets the average value?Where is the ADC doing the averaging of the data? How can I do this if I only want to get the value of PWM high or low?
記事全体を表示
RDBESSK358BMU CAN4 normal mode issue Hi NXP team, I am working with the RDBESSK358BMU board and trying to bring up CAN using FlexCAN4 with the onboard CAN-FD transceiver. At the end of post you can see my code. I also selected the pins in S32 Design Studio based on my understanding of the board documentation and schematic, but it still does not work. My current understanding is: PTC30 → CAN4_TX PTC31 → CAN4_RX PTA7 → CAN_STB PTD8 → CAN-FD_EN PTD9 → CAN-FD_ERR In S32DS pin configuration, I selected them as follows according to my interpretation: PTC30 / CAN4_TX PTC31 / CAN4_RX PTD8 as GPIO Output PTA7 as GPIO Output PTD9 as GPIO Input However, the setup is still not working. I want to use normal mode only with the real external transceiver and real CAN bus. I do not want loopback mode. Also, when I try to run in normal mode, the board seems to reset. 1- Do you have a complete working example for: RDBESSK358BMU FlexCAN4 normal mode external CAN transceiver enabled correct pin settings correct S32DS configuration 2- If possible, could you please provide: a full working example project or a minimal but complete initialization example including: clock init pin mux CAN transceiver control pins FlexCAN4 init start mode transmit example in normal mode My current code is as bellow also, the pin setting in S32DS is attached. Thank you. Saman **************************************************************** #include "Mcal.h" #include "OsIf.h" #include "FlexCAN_Ip.h" #include "FlexCAN_Ip_Cfg.h" #include "Clock_Ip.h" #include "Clock_Ip_Cfg.h" #include "Siul2_Port_Ip.h" #include "Siul2_Port_Ip_Cfg.h" volatile int exit_code = 0; int main(void) { Flexcan_Ip_DataInfoType txInfo; uint8 txData[8] = {1U, 2U, 3U, 4U, 5U, 6U, 7U, 8U}; /* Clock init */ Clock_Ip_Init(&Clock_Ip_aClockConfig[0]); /* Pin init */ Siul2_Port_Ip_Init(NUM_OF_CONFIGURED_PINS0, g_pin_mux_InitConfigArr0); /* OSIF init */ OsIf_Init(NULL_PTR); /* CAN4 init */ FlexCAN_Ip_Init(4U, &FlexCAN_State0, &FlexCAN_Config0); /* Start CAN controller */ FlexCAN_Ip_SetStartMode(4U); /* CAN frame info */ txInfo.msg_id_type = FLEXCAN_MSG_ID_STD; txInfo.data_length = 8U; txInfo.fd_enable = FALSE; txInfo.fd_padding = 0U; txInfo.enable_brs = FALSE; txInfo.is_polling = TRUE; txInfo.is_remote = FALSE; for (;;) { (void)FlexCAN_Ip_SendBlocking(4U, 0U, &txInfo, 0x123U, txData, 1000U); for (volatile uint32 i = 0U; i < 1000000U; i++) { } } return exit_code; } Re: RDBESSK358BMU CAN4 normal mode issue Hello @samansaki, You can select the "Switch package" option inside the Pins tool, and select the 172HDQFP package: Best regards, Julián Re: RDBESSK358BMU CAN4 normal mode issue Hi Julián, I currently have a problem in the debug stage of my code. The reset issue I mentioned is related to switching to normal mode, which I will ask about later as a separate issue. For now, I would like to solve the debug problem first. I want to debug my code step by step, set breakpoints, and check the registers. Specifically, I want to verify registers such as: SIUL2 GPDO / GPDI MSCR / IMCR configuration FlexCAN registers From the BMU board documentation (S32K358, 172-MQFP), I expect: PTD8 -> pin 64 -> CAN_EN PTD9 -> pin 63 -> CAN_ERR PTA7 -> pin 100 -> CAN_STB PTC30 -> pin 101 -> CAN4_TX PTC31 -> pin 103 -> CAN4_RX However, I noticed that when I select the S32K358 family in S32DS, the tool automatically assigns a default part number (S32K358 in 289-BGA), while my board uses the 172-MQFP package. Because of this, the pin mapping is different, and I cannot reliably check the registers during debugging. I searched in S32DS but could not find where to manually change the part number/package. I have attached a screenshot showing this issue. Best regards, Saman Re: RDBESSK358BMU CAN4 normal mode issue Hi @samansaki, Your general configuration seems to be correct. How are you testing the CAN communication? Are you using something like the PCAN USB analyzer?  You can look through our community for some existing examples regarding RDBESSK358BMU or S32K358 in general, for example: [RD-K358BMU]How to get example alike CAN and compile CAN receive problem: RDK358BMU board How to enable VCU CAN on RD-K358BMU Now, regarding this sentence: "Also, when I try to run in normal mode, the board seems to reset." Could you clarify what this means? At which point in the application does the board reset?  Best regards, Julián Re: RDBESSK358BMU CAN4 normal mode issue Hi @samansaki, Could you share how are you testing CAN communication? Are you using a PCAN USB analyzer? Are you able to scope the bus?  Unfortunately, I do not have the board with me right now, but I can share some S32K3X8 EVB CAN example if needed. Just help me sharing S32DS + RTD versions. Anyway, RDBESSK358BMU board uses the TJA1463ATK CAN interface, which is operated by two control pins, STB_N and EN. For NORMAL mode, set HIGH levels on both STB_N and EN. You can do this by writing 1 to the pin: Siul2_Dio_Ip_WritePin(STB_N_PORT, STB_N_PIN, 1U); Siul2_Dio_Ip_WritePin(EN_PORT, EN_PIN, 1U); Other than that, basic configuration looks OK.  You could also check that the bit timing matches both nodes on the bus (Whatever you are using to test, eg. another board, PCAN USB, etc.) Best regards, Julián Re: RDBESSK358BMU CAN4 normal mode issue Hi Julian Thank you for your nice answer.  Regarding my main problem, I checked the examples you provided, and now I’m trying to send a very simple CAN message using FlexCAN on S32K358, but I’m stuck and not sure where the issue is. I have been debugging this for quite some time, but I still cannot figure out what’s wrong. My goal is simply to periodically send a basic CAN frame (8 bytes) using one TX message buffer. Please take a look at my code below, as well as the attached screenshots from S32DS (registers, pin configuration, etc.): #include "Mcal.h" #include "Clock_Ip.h" #include "Siul2_Port_Ip_Cfg.h" #include "Siul2_Port_Ip.h" #include "FlexCAN_Ip.h" #define TX_MB_IDX 0U #define MSG_ID 0x123U uint8 txData[8] = {1,2,3,4,5,6,7,8}; uint32 canStatus; Flexcan_Ip_DataInfoType tx_info = { .msg_id_type = FLEXCAN_MSG_ID_STD, .data_length = 8u, .fd_enable = FALSE, .fd_padding = FALSE, .enable_brs = FALSE, .is_polling = TRUE, .is_remote = FALSE }; int main(void) { Clock_Ip_Init(&Clock_Ip_aClockConfig[0]); Siul2_Port_Ip_Init(NUM_OF_CONFIGURED_PINS0, g_pin_mux_InitConfigArr0); FlexCAN_Ip_Init(INST_FLEXCAN_4, &FlexCAN_State0, &FlexCAN_Config0); FlexCAN_Ip_SetStartMode(INST_FLEXCAN_4); while (1) { canStatus = (uint32)FlexCAN_Ip_Send(INST_FLEXCAN_4, TX_MB_IDX, &tx_info, MSG_ID, txData); txData[0]++; for (volatile uint32 i = 0; i < 1000000U; i++) { } } }
記事全体を表示
MCXN547 核心 1,systick 我们正在开发一款基于 MCXN547 的产品,我们希望在核心 1 中使用 systick,我们已经用你的在线工具构建了一个 SDK/电路板支持包,我们正在尝试在核心 1 中进行系统中断,但是 sdk 似乎只支持核心 0 的系统,我们如何激活酷睿 1 的系统?并为其提供 ISR 功能! 核心与内存 Re: MCXN547 core 1, systick 你好@LasseS 感谢您的提问。 " 我们已经用你的在线工具构建了一个 SDK/电路板支持包," ->> 您是指 MCUXpresso 配置工具吗? 我建议使用 MCUXpresso 集成开发环境。在core1项目中,使用配置工具配置 SysTick。   谢谢。 BR 爱丽丝
記事全体を表示
S32K144EVB gerber file Hello, I'm trying to design a shield for the S32K144EVB. However, the board file on the website cannot be opened in Eagle (download the latest version). At the moment I don't know how to place to connectors to matchup with the board. Are there gerber files available so I can finish my shield design? Kind regards, Remco de Wit Re: S32K144EVB gerber file I need a gerber file, too. Can you send it? email: nguyenducdung05082004@gamil.com Re: S32K144EVB gerber file I posted this question in the thread: https://community.nxp.com/t5/S32K/S32K144EVB-gerber-file/m-p/1770749/emcs_t/S2h8ZW1haWx8YWNjZXB0X2FzX3NvbHV0aW9uX3JlbWluZGVyfExRNFhNMUxKUEg1MVUxfDE3NzA3NDl8T1RIRVJTfGhL#M29417 Could you please let me know if it's possible to send the Gerber File for the development board via email? Re: S32K144EVB gerber file I need a gerber file, too. Can you send it? Re: S32K144EVB gerber file Hello,  Please share the gerber files for S32k144EVB kit as we are using eagle software to design the compatible shield.  Awaiting for a quick response.  Regards, Akshay Re: S32K144EVB gerber file Please share gerber files and parts lists so we can get organized on component sourcing given long lead times for our custom PCB project based on the S32K144 EVB as well. Re: S32K144EVB gerber file I need a gerber file, too. Can you send it? Thanks. Re: S32K144EVB gerber file Hello, I am dealing with the same kind of problem, but intstead I am using the S32K148EVB. Would it be possible to get those files too?(I am also using eagle to design a shield). Thank you Re: S32K144EVB gerber file Hello, Thank you for the gerber files. I have received them.  Kind regards, Remco de Wit Re: S32K144EVB gerber file Hello Remco de Wit, I just sent you the Gerber files to your email, please confirm if you receive them. Have a great day, TIC ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" 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. -------------------------------------------------------------------------------
記事全体を表示
HSEB FW is NOT installed example project ele_hseb_demo Hi,  I use this dev board: FRDM-MCXE31B And build and flash this example project: mcuxsdk\examples\ele_hseb\ele_hseb_demo And I get this printout: "HSEB FW is NOT installed, please follow README for installation steps." File: C:\work\mcx\mcuxpresso-sdk\mcuxsdk\components\ele_hseb\services\src\hse_demo_app_config.c line 37. How can I install the HSEB FW? I thought the FW was flashed in factory. BR,  Jonas Re: HSEB FW is NOT installed example project ele_hseb_demo I followed the instructions I found here: https://github.com/nxp-mcuxpresso/mcux-edgelock/tree/mcux_main/ELE_HSEB And flashed  mcxe3xb_hse_fw_0.5.0_2.55.0_pb250324.bin.pink Here is the log from the flashing session with J-link Commander: j_link_command_ELE_flash.txt I run the program but I still get  "HSEB FW is NOT installed, please follow README for installation steps." I can see in the XPERIPHERALSW that the bit that is polled from MU0_B FSR register is zero: ELE_flashing.png What might the issue be? Re: HSEB FW is NOT installed example project ele_hseb_demo Seems like I can't write to address 0x1B00 0000: J-Link>W8 0x1b000000 0xAABBCCDDDDCCBBAA Writing AABBCCDDDDCCBBAA -> 1B000000 J-Link>Mem8 0x1b000000 8 1B000000 = FF FF FF FF FF FF FF FF J-Link> What might cause this? Why is not 0x 1B00 0000 writeable? Re: HSEB FW is NOT installed example project ele_hseb_demo Hello, Thanks for your post. For clarification, this issue involves security-related content and cannot be supported through the community channel. Follow-up support has already been provided via a private case. (case number: 00975237) Have a nice day. BR Celeste
記事全体を表示
ECAT SOEM demo in RT1180-EVK board can't send out pkt I‘m trying the “evkmimxrt1180_soem_gpio_pulse_freertos_cm7“ in RT1180-EVK board, but  I found the demo can't send out the Ethercat packets. In the demo code, I found It use the ENET4, but it can't find any Ethercat slaves. then I check the port's registers about packets TX and RX (baseaddress : 0x60B00000u),  the tx registers has numbers(SITFRM0, SITOCT0), but there was non data when  I capture packet on line. Is there any other setting about EVK board when run the ecat soem demo ? 回复: ECAT SOEM demo in RT1180-EVK board can't send out pkt I found when the port is connected to the SLAVE, the link status of PHY alternates  up and down. 回复: ECAT SOEM demo in RT1180-EVK board can't send out pkt Hi @shrek-tan, Could you help me with the following questions? Did you make any changes to the example? Did you make any modifications to the EVK? Could you share how you are setting up the slave? How many slaves are you setting up? If you set up the slave before running the example, does the example still fail to find the slave? Best Regards, Pablo 回复: ECAT SOEM demo in RT1180-EVK board can't send out pkt Hi, I'm glad to hear that you managed to resolve the issue and thank you for sharing your discoveries with the community. If there is anything else we can help with, please do not hesitate to use our community. Best Regards, Pablo 回复: ECAT SOEM demo in RT1180-EVK board can't send out pkt Thanks for your reply, I had fix this problem by change the autoneg setting  from fause to true, then the link status can stably remain in the up state. phy8201Config.autoNeg = true. ESC phy chip is TI DP83848 But then ,I have met an other issue:  When the current EtherCAT master station's network port is directly connected to the slave station, the two cannot interact, and the slave station cannot go online. Later, when the network port of the master station environment in this demo was directly connected to the PC, it was found that the packets captured by the PC's network port were 19-byte packets with an ETH TYPE of 0x888E. However, if a HUB is first connected in series between the master station environment and the PC, the PC's network port can capture the correct EtherCAT packets (BWR & BRD) sent from the master station demo environment.
記事全体を表示
RT1180-EVK 主板中的 ECAT SOEM 演示无法发出 pkt 我正在试用 RT1180-EVK 主板中的 “evkmimxrt1180_soem_gpio_pulse_freertos_cm7”,但我发现演示版无法发出 Ethercat 数据包。 在演示代码中,我发现它使用了 ENET4,但却找不到任何 Ethercat 从属设备。 然后我检查了端口上关于数据包 TX 和 RX(基址:0x60b00000U)的寄存器,发送器有数字(SITFRM0、SITOCT0),但是我在网上捕获数据包时没有数据。 运行 ecat soem 演示版时还有其他关于 EVK 板的设置吗? 回复: ECAT SOEM demo in RT1180-EVK board can't send out pkt 我发现当端口连接到 SLAVE 时,PHY 的链接状态会交替上升和下降。 回复: ECAT SOEM demo in RT1180-EVK board can't send out pkt 嗨,@史莱克-谭、 您能帮我解决以下问题吗? 你对示例做了什么改动吗? 您对 EVK 进行过任何改装吗? 能否介绍一下您是如何设置从属设备的? 您要设置多少个奴隶? 如果您在运行示例之前设置了从属服务器,该示例是否仍然无法找到从属服务器? 敬上, Pablo 回复: ECAT SOEM demo in RT1180-EVK board can't send out pkt 您好, 很高兴听到您成功解决了这个问题,并感谢您与社区分享您的发现。 如果还有其他需要我们帮助的地方,请随时联系我们的社区。 敬上, Pablo 回复: ECAT SOEM demo in RT1180-EVK board can't send out pkt 感谢您的答复、 我把 autoneg 设置从 fause 改为 true 后,链路状态就能稳定地保持在 up 状态,从而解决了这个问题。 phy8201Config.autoNeg = true。 电调 phy 芯片是 TI DP83848 但是,我又遇到了另一个问题: 当当前 EtherCAT 主站的网络端口直接连接到从站时,两者无法交互,从站也无法联机。后来,当本演示中主站环境的网络端口直接连接到 PC 时,发现电脑网络端口捕获的数据包是 19 字节的数据包,ETH 类型为 0x888E。但是,如果集线器首先串联连接在主站环境和计算机之间,则计算机的网络端口可以捕获从主站演示环境发送的正确 EtherCAT 数据包 (BWR & BRD)。
記事全体を表示
S32K12 HSE インストールの問題 こんにちは、HSEのインストールで問題が発生しました。ピンク色のファイルを配置し、プログラムを実行しました。 0x1B000000ULから 0xAABBCCDDDDCCBBAAULですが、0x4039C028はまだ0x1c0です 私のSBAFバージョンとHSEバージョンは以下のとおりです:s32k3x2_hse_fw_1.13.0_2.6.0_pb221129.bin.pink 00 0D 00 00 00 0F 00 06 Re: S32K12 HSE INSTALL problem 新しいチケットを作成してください。サンプルコードをお送りします(NDAが必要です)。 https://www.nxp.com/support/support:SUPPORTHOME
記事全体を表示
GPIOピン割り当てツールにバグがある ピンツールを使用してGPIOピンを割り当てると、生成されたコードがGPIOマクロではなくPORTマクロを初期化コードに誤って割り当ててしまいます。 expected 'GPIO_Type *' but argument is of type 'PORT_Type *' hal_gpio_pin_config_t createAdapterGpioPinConfig(GPIO_Type *port, uint8_t pin, hal_gpio_direction_t direction, uint8_t level) 例えば、私のpin_mux.hでは次のようになります。 /* Symbols to be used with GPIO driver */ #define BOARD_INITPINS_LCD_BL_GPIO GPIOA /*!<@brief GPIO peripheral base pointer */ #define BOARD_INITPINS_LCD_BL_INIT_GPIO_VALUE 1U /*!<@brief GPIO output initial state */ #define BOARD_INITPINS_LCD_BL_GPIO_PIN_MASK (1U << 17U) /*!<@brief GPIO pin mask */ /* Symbols to be used with PORT driver */ #define BOARD_INITPINS_LCD_BL_PORT PORTA /*!<@brief PORT peripheral base pointer */ #define BOARD_INITPINS_LCD_BL_PIN 17U /*!<@brief PORT pin number */ #define BOARD_INITPINS_LCD_BL_PIN_MASK (1U << 17U) /*!<@brief PORT pin mask */ 次にペリフェラル.cで gpioPinConfig = createAdapterGpioPinConfig(BOARD_INITPINS_LCD_BL_PORT, BOARD_INITPINS_LCD_BL_PIN, BOARD_INITPINS_LCD_BL_PIN_DIRECTION, BOARD_INITPINS_LCD_BL_PIN_LEVEL); 次のように変更する必要があります。 gpioPinConfig = createAdapterGpioPinConfig(BOARD_INITPINS_LCD_BL_GPIO, BOARD_INITPINS_LCD_BL_PIN, BOARD_INITPINS_LCD_BL_PIN_DIRECTION, BOARD_INITPINS_LCD_BL_PIN_LEVEL); これには、peripherals.c の手動編集が必要です。設定を変更するたびにコードが実行されます。これを恒久的に解決する方法はありますか? 対象プロセッサ: MCXW71 パッケージとIO|GPIO Re: Pin Assigment Tool Bugged For GPIOs こんにちは、 @cnebe-autopac 私自身もテストしてみました。 /* Get GPIO pin configuration */ hal_gpio_pin_config_t createAdapterGpioPinConfig(GPIO_Type *port, uint8_t pin, hal_gpio_direction_t direction, uint8_t level){ hal_gpio_pin_config_t temp; 生成されたコードは正しいです。 この問題を再現するにはどうすればよいですか? BR ハリー
記事全体を表示
i.MX RT1060プロセッサリファレンスマニュアル、文書番号:IMXRT1060RM Rev. 4、2026年1月 i.MX RT1060プロセッサリファレンスマニュアル、Rev.4、01/2026のリファレンスマニュアルの3293ページには、次のように記載されています。 「 XBAR_IN03をXBAR_OUT07に接続するには、インデックスに従って、 XBAR_OUT07 を選択し、SEL07 (選択した XBAR_OUT インデックスと同じ番号) を選択します。 Select Register 3 XBAR_SEL3 の MSB のフィールドにインデックス (0x03、 選択された XBAR_IN の 16 進数)。 XBAR_SEL3 &= 0x0011; /*SEL7フィールドをクリアします XBAR_SEL3 |= 0x0300; /*SEL7フィールドに0x03を割り当てます" つまり、SEL07 なのか XBAR_SEL3 なのか?それとも、レジスタ XBAR_SEL3 の最上位ビットが SEL07 と呼ばれるのか?もしそうなら、レジスタ アドレスの代わりに (SEL07) をどのように、どこで使用すればよいのか。 また、 XBAR_SEL3 &= 0x0011; /*SEL7 フィールドをクリアします XBAR_SEL3 |= 0x0300; /* SEL7 フィールドに 0x03 を割り当てます" 正しい ありがとう Re: i.MX RT1060 Processor Reference Manual, Document Number: IMXRT1060RM Rev. 4, 01/2026 こんにちは、 @MahmoudRagab さん。 NXP MIMXRTシリーズにご関心をお寄せいただきありがとうございます! i.MX RT1060とi.MX RT1060Xのリファレンスマニュアルでは、XBARの設定方法は同じです。XBAR_IN03 を XBAR_OUT07 に接続するには、XBAR_SEL3 の SEL07 に 0x03 をプログラムします。ご使用のユースケースに合わせて、XBAR3入力割り当てテーブルとXBAR3出力割り当てテーブルで、正確なソースインデックスと宛先インデックスを確認してください。 RMの以下のセクションを参照してください。 よろしくお願いします、 ギャビン
記事全体を表示
RT1176のLPSPI問題に関する協議 RT1176のLPSPIメインモードルーチンで、masterconfig.enableInputDelayを設定した後、SPI初期化関数でtrueにすると、プログラムはwhile(LpspI GetTxFifocount(base) = fifo size)ループで停止します。リファレンスマニュアルを確認したところ、クロックループバックを有効にするための注意事項として、SCKピンの入力バッファと出力バッファの両方を同時に有効にする必要があると記載されていました。これが入力バッファが有効になっていない理由かもしれません。しかし、SDK内で入力バッファと出力バッファを有効にする場所が見つかりませんでした。(図に示すように)これについて手伝っていただけますか? Re: RT1176's LPSPI issue consultation SIONを有効にすると、ポーリングホストルーチンは停止しなくなりますが、DMAホストルーチンを実行すると、割り込みに入ることができないブロッキング状態が発生します。ご確認いただければ幸いです。よろしくお願いいたします。 Re: RT1176's LPSPI issue consultation ありがとう。そして、もう一つ疑問があります。ループバックを有効にした後、このレイテンシ増加の理論的な値はどれくらいですか?どのように計算されるのですか? Re: RT1176's LPSPI issue consultation こんにちは@Zhaozhiling さん SCKピンのルックバックパスを有効にするには、SIONビットを以下のように設定してください。 お役に立てば幸いです。 すてきな一日を、 カン ------------------------------------------------------------------------------- 注記: この投稿があなたの質問への回答になっている場合は、「正解としてマーク」ボタンをクリックしてください。ありがとう! - 最後の投稿から7週間はThreadをフォローしますが、それ以降の返信は無視されます。 後日、関連する質問がある場合は、新しいThreadを作成し、閉じられたThreadを参照してください。 ------------------------------------------------------------------------------- Re: RT1176's LPSPI issue consultation こんにちは@Zhaozhiling さん デモを単体で動作させた場合と、スレーブデモを実行している別のボードと連携させた場合、どちらで動作確認を行いましたか?ご説明いただけますでしょうか。 よろしくお願いいたします。 カン
記事全体を表示