Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
S32K322カスタムボード:デバッガが接続できず、RESET_bが低いままです こんにちは 、 私はS32K 322 MCUを使っていて、そのボードは開発前のブランクチップで、量産ボードではありません。HSM関連の設定は一切変更しておらず、S32DSバージョン3.6.10を使用しています。Flash Debugでデバッグしていると上記のメッセージが表示され、デバッグがうまくいかないので、質問したいです。 ご協力ありがとうございました。 こちらはリーです Re: S32K322 custom board: debugger cannot connect, RESET_b stays low こんにちは、 セキュアデバッグメッセージは、根本原因ではなく、結果である可能性があります。これはカスタムボードであり、RESET_bがローのままであるため、まずは電源、リセット回路、またはRESET_bをアサート状態に保持している外部デバイスなど、ハードウェア関連の問題を調査します。リセット中のデバイスはデバッガでアクセスできず、Secure Debugが有効でなくてもこのメッセージが発生することがあります。   BR、ペトル Re: S32K322 custom board: debugger cannot connect, RESET_b stays low さらに、Multilink Universal FX Port G Mini 10ピンJTAGを使用しています。
View full article
Migrating v8.3.10 LVGL based project to v9.2.1 The following document describes the migration process of a GUI Guider project based on the older LVGL library 8.3.10, to the newer LVGL library 9.2.1 that is supported on GUI Guider v1.9.0+. We will take the CoffeePourAnimation example project as a basis to illustrate this process. For demonstrative purposes, we will create the project on GUI Guider 1.8.0, which was the last GUI Guider version that only supported LVGL 8.3.10, and migrate it to GUI Guider 1.10.0, currently the latest version of GUI Guider, that supports LVGL 9.2.1. In this case, we will use a MIMXRT1060-EVKC with a RK043FN66HS-CTG display. With the project created, the very first thing we have to make sure to do is generate the GUI C code using the ‘Generate Code’ button: Note that the project created will be based on the SDK version 2.16.000: This SDK version is what contains the LVGL libraries, which are v8.3.10. If we want to upgrade the LVGL libraries to the latest v9.2.1, we need to update the SDK as well. But simply importing the project to a newer GUI Guider version will not update the SDK. This will just update the project file, without changing any of the underlying software package. In order to make sure both the SDK and the LVGL libraries get updated, we will use MCUXpresso IDE. Here, we can create a new base project that uses the SDK version 25.06.00 and replace only the GUI with the one of the older projects. This will ensure we have a v9.2.1 LVGL based project, with the GUI from the previous project. Why use specifically v25.06.00 of the SDK? Because this is the version of SDK that the latest GUI Guider (v1.10.0) uses to create projects based on LVGL v9.2.1. In order to do this, first import the LVGL example for the board we are using (in this case, the MIMXRT1060-EVKC). This new project will be used to ensure the newest LVGL library is in place: Make sure to import the example project named: "lvgl_guider". The resulting project will be created, along with the following folders and files. The actual GUI, is stored on the “custom” and “generated” folders, so these are the folders that have to be replaced to bring the old GUI on the new project: In order to replace them, navigate to both the original GUI Guider project folder, as well as the MCUXpresso lvgl_guider example project folder. Delete the ‘custom’ and ‘generated’ folders from the lvgl_guider example, and drag-and-drop these same folders from the GUI Guider project into the MCUXpresso example project: After doing this, the new ‘generated’ and ‘custom’ folders will not be detected as source folders for the project, since they were copied from an external project. In order to add them as source folders, navigate to Project Properties > C/C++ General > Paths and Symbols, click on ‘Add Folder…’ and select both ‘custom’ and ‘generated’ folders before clicking OK: After following either of these two processes, the old GUI Guider project will have been updated to the new SDK, which also has the new LVGL 9.2.1 libraries. That said, due to major changes on the APIs of LVGL v8 and v9, building the project will most likely result in compilation errors. Most changes of the LVGL libraries are addressed on the official LVGL documentation, specifically the following migration guide from v8 to v9: Changelog — LVGL documentation The following section will describe the process to address the specific changes from the CoffeePourAnimation example project from LVGL v8.3.10 to v9.2.1. Adjusting for 9.2.1 LVGL library changes: First of all, if after compiling the project, the following error shows up: fatal error: gui_guider.h: No such file or directory It means that the code generated by GUI Guider was not done correctly. If that is the case, one must repeat the whole process described earlier, making sure to click on the “Generate Code” in C, as mentioned previously. Specifically for this example  CoffeePourAnimation GUI, we get an error stating: fatal error: extra/widgets/animimg/lv_animimg.h: No such file or directory This is because the path to the “lv_animimg.h” header file was changed on LVGL v9. In fact, that LVGL file was also renamed to “lv_animimage.h”. Therefore, we have to change the following line in “gui_guider.h”. From: #include "extra/widgets/animimg/lv_animimg.h" To: #include "src/widgets/animimage/lv_animimage.h" The next error that shows up is one that is present for all of the image files: fatal error: lvgl/lvgl.h: No such file or directory This is because previously, on LVGL v8, the include path was set to the parent directory of the “lvgl.h” file (meaning that the inclusion of this header file had to be “lvgl/lvgl.h”). This is no longer the case, so we can define the following macro in order to fix the inclusion issue and simplify it to: #include “lvgl.h”. The macro to be defined is LV_LVGL_H_INCLUDE_SIMPLE. In project properties, under C/C++ Build > Settings > Tool Settings > MCU C Compiler> Preprocessor, click on the “Add…” button, and add that macro: After completing this, the next errors that are shown after a compilation are all related to the images of the GUI. There were several format changes on the image headers from LVGL v8 to v9. This means that the “.c” array files that were generated on GUI Guider will no longer be compatible with the new LVGL libraries. Because of this, the images have to be re-converted for LVGL v9.2.1. This can be achieved by using the official LVGL image converter tool, either online here: Image Converter — LVGL, or via a python script found here: lvgl/scripts/LVGLImage.py at master · lvgl/lvgl · GitHub. All of the images used on the GUI should be located under the “import” folder of the main project’s folder location. Once all of the images from the project have been converted to the LVGL v9 format, simply replace the .c array files located under the project folder > generated > images, with the newly generated ones: Although several changes were made to the API of the LVGL library between v8.x and v9.x, LVGL comes with an API map file, that maps new API functions to older ones for retroactive compatibility. As stated on the aforementioned Changelog — LVGL documentation, for example, “lv_disp_... is renamed to lv_display_...”, and the “lv_api_map_v8.h” file addresses this change, so that the old v8 function calls that our GUI uses, will still work on the new v9 LVGL: That said, there might be some exceptions that fly under the radar. In the specific case that we are looking at, it happens on the following line under the “events_init.c” file: lv_animimg_del(guider_ui.coffeePour_animimg_coffee); In this case, the API map file does not currently contain an alias for the new function call of LVGL v9, therefore we have to adjust it manually. This might happen on other functions for specific GUIs being imported. Thankfully MCUXpresso does provide suggestions that might point to the right function to replace them with: Also, the next change is necessary on the “events_init.c” file, which instead of doing a direct call to “animimg1->dsc”, we do it through the following call. From: const void **coffee_imgs = animimg1->dsc; To: const void **coffee_imgs = lv_animimg_get_src(guider_ui.coffeePour_animimg_coffee); Finally, the lv_line_set_points() was changed from using the following arguments on v8: void lv_line_set_points(lv_obj_t *obj, const lv_point_t points[], uint16_t point_num) To these arguments on v9: void lv_line_set_points(lv_obj_t *obj, const lv_point_precise_t points[], uint32_t point_num)​ Therefore, the following change has to be made on “setup_scr_coffeePour.c”. From: static lv_point_t coffeePour_line_right[] = {{0, 0},{0, 180},{0, 90},{120, 90},}; static lv_point_t coffeePour_line_left[] = {{120, 0},{120, 180},{120, 90},{0, 90},}; To: static lv_point_precise_t coffeePour_line_right[] = {{0, 0},{0, 180},{0, 90},{120, 90},}; static lv_point_precise_t coffeePour_line_left[] = {{120, 0},{120, 180},{120, 90},{0, 90},}; With these changes, the CoffePourAnimation GUI Guider project has been migrated from using LVGL v8.3.10 to v9.2.1. Happy migrating!
View full article
FRDM i.MX 95 Pro Hands-On: Unboxing and first steps   Introduction This hands-on walks you through everything that happens before you ever write a line of application code: unboxing your FRDM i.MX 95 Pro board, getting acquainted with its layout and ports, powering it on, and confirming a healthy first boot from the on-board eMMC. By the time you are done, you will be comfortable using both the i.MX System Manager console and the Linux command line to confirm exactly what hardware you have in front of you. By the end you will be able to: Verify that the contents of your FRDM i.MX 95 Pro box are complete Get acquainted with the board, its peripherals, and ports Set up and boot the board for the first time Get familiar with the i.MX System Manager (SM) console and the Linux CLI Verify the board's hardware and resources using Linux commands Hardware & Prerequisites You need very little to get started: FRDM-IMX95-PRO board (the box) — in addition to the board itself, the box includes USB-C cables for power and debugging, mounting standoffs, the IW612 wireless module, and a documentation card linking to the product page and a getting-started tutorial. Power supply — a USB-C to USB-C cable is included in the box. For basic bring-up, any standard USB-C phone charger is sufficient. If your setup adds higher-power accessories (e.g., a display), use a 100 W-capable USB-C power adapter instead. PC host — a computer with a terminal / serial console program to connect to the board's debug port. That's it — no display or camera is required for this hands-on. Watch the Module Video Watch the full hands-on walkthrough below, then follow along on your own board. (function() { var wrapper = document.getElementById('lia-vid-6406134452112w960h540r408'); var videoEl = wrapper ? wrapper.querySelector('video-js') : null; if (videoEl) { if (window.videojs) { window.videojs(videoEl).ready(function() { this.on('loadedmetadata', function() { this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) { bar.setAttribute('role', 'presentation'); bar.setAttribute('aria-hidden', 'true'); }); }); }); } }})(); (view in My Videos)   Steps to Run the Hands-On Step 1: Explore the Board with Linux Commands Once the board has booted, open a terminal on the debug console and run the following commands to confirm the Linux environment and the hardware resources available to you. # 1) Linux version uname -a # 2) Storage devices lsblk # 3) Verify CPU numbers and architecture. lscpu # 4) SoC Id and Family cat /sys/devices/soc0/soc_id cat /sys/devices/soc0/family # 5) RAM memory available cat /proc/meminfo | head -20 # 6) network peripherals and addresses ip addr # 7) List Video Encoders and Decoders v4l2-ctl --list-devices # 😎 GPU specs and capabilities vulkaninfo --summary # 9) Print available GPIOs gpioinfo Step 2: Explore the i.MX System Manager Console Next, switch to the i.MX System Manager (SM) console to inspect the board at the system level — Logical Machines, boot times, power rails, and clocks. # 1) System manager version, Board, Revision, Silicon etc info # 2) Logical Machines information lm info # 3) Boot time of each Logical machine btime # 4) Power status of each peripheral power.r # 5) Clocks status clock.r Troubleshooting Symptom What to check Power LED is on but there is no output on the console Check the Boot Mode switches (set them to eMMC) Power-cycle the board (turn it off and back on) after changing the Boot Mode switches Verify the serial console baud rate is set to 115200 Confirm the Debug port is connected to the host PC Open all the COM ports exposed by the board when the Debug port is connected to the host PC Conclusion In this hands-on, you: Verified the contents of your FRDM i.MX 95 Pro box Got acquainted with the board, its peripherals, and ports Set up and booted the board for the first time from eMMC Used the i.MX System Manager console and the Linux CLI to inspect the board Confirmed the board's hardware and resources via Linux commands If you have not already, watch the module video above for the full walkthrough, and check out the rest of the FRDM Training Hub for the next hands-on in the series. FRDM-IMX9 FRDM-Training Hands-On Training i.MX Application Processors
View full article
Introduction DNPU Training Introduction DNPU Training   Explore the evolution of AI at the edge, from perception AI and generative AI to the emerging era of Agentic AI. This session introduces NXP’s discrete NPU strategy and examines how neural networks, transformer models, and AI agents enable intelligent decision-making for industrial, healthcare, and automation applications. Participants will gain an understanding of the technologies driving the next generation of intelligent edge systems.   (function() { var wrapper = document.getElementById('lia-vid-6405511518112w960h540r721'); var videoEl = wrapper ? wrapper.querySelector('video-js') : null; if (videoEl) { if (window.videojs) { window.videojs(videoEl).ready(function() { this.on('loadedmetadata', function() { this.el().querySelectorAll('.vjs-load-progress div[data-start]').forEach(function(bar) { bar.setAttribute('role', 'presentation'); bar.setAttribute('aria-hidden', 'true'); }); }); }); } }})(); (view in My Videos) ARA240 DNPU Hands-On Training
View full article
Example S32K358 PWM ADC_HWtrig BCTU_TriggerMode RTD600 EBTresos29 ********************************************************************************* * Detailed Description: * * ADC hardware trigger demonstration using BCTU Trigger Mode on S32K358. * * An eMIOS1 Channel 23 reload event is used as a trigger source for the BCTU). * The BCTU initiates a hardware-triggered conversion of an ADC1 group containing * three channels. * * The result of the third ADC channel, connected to the on-board potentiometer * (ADCPOT0), is used to dynamically update the duty cycle of an * eMIOS Channel 5 PWM output. * * The PWM output drives the on-board LED, allowing the potentiometer position * to control LED brightness. * * Key Functionality: * - eMIOS-triggered BCTU operation. * - BCTU Trigger Mode configuration. * - ADC1 hardware-triggered group conversion. * - ADC notification callback processing. * - PWM duty-cycle update based on ADC result. * - LED brightness control using the potentiometer. * * ------------------------------------------------------------------------------ * Test HW: S32K3x8EVB-Q289 * MCU: S32K358 * IDE: EB Tresos 29.0.0 * RTD Release: S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_20250610 * Debugger: Lauterbach * Target: Internal_FLASH ******************************************************************************** * Revision History: * Ver Date Author Description of Changes * 1.0 02-10-2026 Petr Stancik Initial version ********************************************************************************
View full article
HSE-B 安全散列算法\(SHA\)-512 / Ed25519 在 S32K344 上验证时间 - 这些数值是否符合预期? 嗨,卢卡斯( @lukaszadrapa ) 参考已解决:关于 HSE 对 ED25519 和 安全散列算法\(SHA\)-512 的支持的澄清 (S32K394) - NXP 社区, 感谢您澄清关于 HSE-B 上软件模拟 安全散列算法(SHA)-384/512 的问题。我们在 S32K344 引导加载程序中遇到了完全相同的问题,想知道我们的测量结果是否具有代表性。 设置 S32K344,CORE_CLK 160 MHz,HSE_CLK 80 MHz(CORE_CLK/2,如 Clock_Ip 中配置) 来自软件包 0.2.55.0 的 HSE 主机接口/标头已安装 HSE FW 0.2.40.0 (我们目前使用的是 SBAF 0.10.0,所以我们现在还不能升级到 0.2.55.0 版本) 消息:应用程序映像位于 PFLASH 中,大小为 2,965,376 字节(0x00500000–0x007D3F7F),通过地址传递(不复制到 RAM) 单次请求,MU0 通道 1,同步轮询;描述符和输出缓冲区位于不可缓存的 SRAM 中 在 M7 上使用 PIT (40 MHz) 对 HSE_Send() 进行计时 测量代码   c static uint8_t digest[64] __attribute__((aligned(32), section(".mcal_bss_no_cacheable"))); static uint32_t digest_len __attribute__((aligned(32), section(".mcal_bss_no_cacheable"))); static uint32_t hash_time_ms(hseHashAlgo_t algo, const uint8_t *msg, uint32_t len, uint32_t *rsp) { hseSrvDescriptor_t *desc = &gHseSrvDesc[0][1]; hseHashSrv_t *hsh = &desc->hseSrv.hashReq; digest_len = sizeof(digest); memset(desc, 0, sizeof(*desc)); desc->srvId = HSE_SRV_ID_HASH; hsh->accessMode = HSE_ACCESS_MODE_ONE_PASS; hsh->hashAlgo = algo; hsh->sgtOption = HSE_SGT_OPTION_NONE; hsh->inputLength = len; hsh->pInput = HSE_PTR_TO_HOST_ADDR(msg); /* PFLASH */ hsh->pHashLength = HSE_PTR_TO_HOST_ADDR(&digest_len); hsh->pHash = HSE_PTR_TO_HOST_ADDR(digest); uint32_t t0 = ~IP_PIT_0->TIMER[1].CVAL; /* 40 MHz up-counter */ *rsp = HSE_Send(0, 1, gSyncTxOption, desc); return ((~IP_PIT_0->TIMER[1].CVAL) - t0) / 40000u; /* ms */ } t256 = hash_time_ms(HSE_HASH_ALGO_SHA2_256, (const uint8_t *)0x00500000, 0x2D3F80, &rsp256); t512 = hash_time_ms(HSE_HASH_ALGO_SHA2_512, (const uint8_t *)0x00500000, 0x2D3F80, &rsp512); EdDSA 验证是一次 HSE_SRV_ID_SIGN 请求,其中 HSE_SIGN_EDDSA、bHashEddsa = FALSE(纯 Ed25519)、bInputIsHashed = FALSE,以及相同的消息指针和长度。密钥是导入到 RAM 插槽中的 ED25519 公钥。 结果(所有请求均返回 HSE_SRV_RSP_OK) 操作,2,965,376 字节 引擎时间 安全散列算法(SHA)-256 HSE-B(HW) 38毫秒 安全散列算法(SHA)-512 HSE-B(软件仿真) 26,010 毫秒 Ed25519 验证(纯) HSE-B 26,019 毫秒 Ed25519 验证(纯) Cortex-M7 软件,160 MHz,-O2,数据缓存 开启 952毫秒 因此,HSE 验证的速度比 M7 软件实现慢约 27 倍。几乎所有时间都是对消息进行 安全散列算法\(SHA\)-512 校验:验证减去 安全散列算法\(SHA\)-512 校验时间约为 9 毫秒。 问题 HSE-B 的 安全散列算法(SHA)-512 吞吐量约为 114 KB/s(80 MHz 时约为 700 个 HSE 周期/字节),这是预期值吗?还是说这指向了我们这边的配置问题(例如 HSE 的闪存读取路径)? FW 0.2.40.0 与 0.2.55.0 在 安全散列算法\(SHA\)-512/EdDSA 性能方面是否存在差异?针对固件版本 0.2.40.0,运行 0.2.55.0 接口头是否支持 HASH 和 SIGN 服务? 对于 HSE-B 上的快速图像认证,推荐的方法是使用 安全散列算法\(SHA\)-256 的 ECDSA P-256,还是有支持的方法使用带有硬件加速摘要的 Ed25519? 关于我们的硅 我们的零件是早期硅芯片,带有 SBAF 0.10.0,因此我们无法安装 HSE FW 0.2.55.0,只能使用 0.2.40.0。我们想知道这种较旧的 SBAF/FW 组合是否会导致 安全散列算法(SHA)-512 软件仿真速度比当前部件慢。也就是说,据我们了解,即使使用较新的固件,在 80 MHz 的 HSE 内核上模拟的安全散列算法(SHA)-512 也无法在 160 MHz 的 Cortex-M7 上达到相同的计算速度(完整的 Ed25519 验证需要 952 毫秒,而 HSE 大约需要 26 秒)。除非您发现我们的设置有误,否则我们计划在 M7 上保留 Ed25519 验证,并且仅在硬件加速的情况下(AES、安全散列算法\(SHA\)-256)使用 HSE。如果这个结论有误,请指正。 提前感谢! 法比奥 Re: HSE-B SHA-512 / Ed25519 verify timings on S32K344 – are these figures expected? 嗨@FabioG 测量结果看起来合理。Ed25519 验证时间过长几乎完全是由 安全散列算法(SHA)-512 处理 ~2.97 造成的。MB消息。 我有一些基准数据,与你的结果相符。当 HSE_CLK = 120MHz 时,对 24KB 数据进行哈希运算大约需要 140ms。将此扩展到 80MHz 和 ~2.97 MB 消息大小,大约需要 26.5 秒,这与您的测量值非常接近。 上述HSE固件版本之间没有性能差异。本次更新仅包含一些小改动和几个错误修复。这完全是由软件模拟引起的。 如果图像认证性能很重要,那么在 HSE-B 上,采用 安全散列算法\(SHA\)-256 的 ECDSA P-256 将是一个速度更快的选择。安全散列算法\(SHA\)-256 是硬件加速的。根据我掌握的基准测试数据,ECDSA P-256/安全散列算法(SHA)-256 验证结果约为 2.9780 MHz 的 MB 图像估计大约需要 0.3 秒,而 Ed25519 的 MB 图像则需要大约 26 秒。请注意,这只是简单的缩放,我还没有在硬件上验证过。 此致, Lukas
View full article
顶级供应商为制造企业构建定制化人工智能代理 我当时正在寻找能够为制造企业构建定制人工智能代理的顶级供应商,然后发现了 Intellectyx。该公司开发企业级人工智能代理,用于预测性维护、质量检验、生产计划、存货优化、设备监控、功能安全管理和供应链协调等工作流程。Intellectyx 还将这些代理与现有的 ERP、MES、CMMS、CRM 和工业数据系统集成。其在 Clutch 认证的我的获得了 4.9 分(满分 5 分),基于 10 条客户评价。有人与 Intellectyx 合作过或者评估过其制造业人工智能解决方案吗?
View full article
LS1046A IBIS file How do I get an IBIS model for the LS1046A? QorIQ LS1 Devices Re: LS1046A IBIS file How do I get an IBIS model for the LS1046A
View full article
需要澄清MPC5200CVR400B与SPC5200CVR400B的生命周期状态 尊敬的恩智浦技术支持团队: 我们正在评估 MPC5200/MPC5200B 系列产品的生命周期状态,希望您能就以下部件号提供一些说明: MPC5200CVR400B SPC5200CVR400B 根据 NXP 网站上提供的信息,我们了解到MPC5200CVR400B与停产通知 202601026DN 和 202601026DNU01 相关,并提供了最后购买日期和最后交货日期。 然而,对于SPC5200CVR400B ,我们注意到产品页面显示其已停产,但我们无法确定: SPC5200CVR400B 已正式发布与 MPC5200CVR400B 相同的停产通知。 SPC5200CVR400B 的最后购买日期 (LTB) 和最后交货日期 (LTD) 相同。 SPC5200CVR400B 被认为是过时/停产的,或者如果它在不同的生命周期状态下仍然可用。 MPC5200CVR400B 和 SPC5200CVR400B 在生命周期管理方面没有任何功能或商业上的区别。 请问能否提供SPC5200CVR400B的官方生命周期状态,以及(如有)相关的 PCN/EOL 文档? 您的确认将有助于我们在元器件生命周期数据库中正确分类此设备。 感谢您的支持。 此致, 阿比吉特·索兰基 CG动力与工业解决方案有限公司 [email protected] Re: Clarification Required on Lifecycle Status of MPC5200CVR400B vs SPC5200CVR400B 你好, 所有 S/MPC5200 型号现已停产。 https://www.nxp.com/products/MPC5200 内部电子邮件记录证实 SPC5200CVR400B 已停止使用。 SPC5200CVR400B:已停产/过时,但尚未正式确认是否适用同一停产通知,但我预计情况会相同。 如果您需要更多信息,请联系恩智浦销售部门或在NXP.com提交工单。 顺祝商祺! Peter
View full article
HSE-B SHA-512 / Ed25519 の S32K344 における検証タイミング - これらの数値は想定どおりですか? こんにちは、ルーカス( @lukaszadrapa ) 解決済み:ED25519およびSHA-512(S32K394)に対するHSEサポートに関する明確化 - NXPコミュニティ SHA-384/512がHSE-Bのソフトウェアでエミュレートされるという説明ありがとうございます。S32K344ブートローダーでまさにこの問題に遭遇したのですが、私たちの測定結果が代表的なものかどうかを知りたいと思っています。 設定 S32K344、CORE_CLK 160 MHz、HSE_CLK 80 MHz(CORE_CLK/2、Clock_Ipで設定) パッケージ0.2.55.0のHSEホストインターフェース/ヘッダー、HSE FW 0.2.40.0 がインストールされています(弊社は SBAF 0.10.0 を使用しています)。したがって、まだ0.2.55.0に移行することはできません) メッセージ:PFLASHのアプリケーションイメージ、2,965,376バイト(0x00500000–0x007D3F7F)、アドレスで渡されます(RAMコピーなし) ワンパスリクエスト、MU0チャネル1、同期ポーリング;非キャッシュ可能なSRAM内のディスクリプタおよび出力バッファ M7でPIT(40MHz)を使用してHSE_Send()付近で計測したタイミング 測定コード   c static uint8_t digest[64] __attribute__((aligned(32), section(".mcal_bss_no_cacheable"))); static uint32_t digest_len __attribute__((aligned(32), section(".mcal_bss_no_cacheable"))); static uint32_t hash_time_ms(hseHashAlgo_t algo, const uint8_t *msg, uint32_t len, uint32_t *rsp) { hseSrvDescriptor_t *desc = &gHseSrvDesc[0][1]; hseHashSrv_t *hsh = &desc->hseSrv.hashReq; digest_len = sizeof(digest); memset(desc, 0, sizeof(*desc)); desc->srvId = HSE_SRV_ID_HASH; hsh->accessMode = HSE_ACCESS_MODE_ONE_PASS; hsh->hashAlgo = algo; hsh->sgtOption = HSE_SGT_OPTION_NONE; hsh->inputLength = len; hsh->pInput = HSE_PTR_TO_HOST_ADDR(msg); /* PFLASH */ hsh->pHashLength = HSE_PTR_TO_HOST_ADDR(&digest_len); hsh->pHash = HSE_PTR_TO_HOST_ADDR(digest); uint32_t t0 = ~IP_PIT_0->TIMER[1].CVAL; /* 40 MHz up-counter */ *rsp = HSE_Send(0, 1, gSyncTxOption, desc); return ((~IP_PIT_0->TIMER[1].CVAL) - t0) / 40000u; /* ms */ } t256 = hash_time_ms(HSE_HASH_ALGO_SHA2_256, (const uint8_t *)0x00500000, 0x2D3F80, &rsp256); t512 = hash_time_ms(HSE_HASH_ALGO_SHA2_512, (const uint8_t *)0x00500000, 0x2D3F80, &rsp512); EdDSA検証は、HSE_SIGN_EDDSA、bHashEddsa = FALSE(純粋なEd25519)、bInputIsHashed = FALSE、および同じメッセージポインタと長さを指定した、1パスのHSE_SRV_ID_SIGNリクエストです。鍵となるのは、RAMスロットにインポートされたED25519公開鍵です。 結果(すべてのリクエストがHSE_SRV_RSP_OKを返しました) 処理時間:2,965,376バイト SHA-256 HSE-B(HW) 38ミリ秒 SHA-512 HSE-B(ソフトウェアエミュレーション) 26,010ミリ秒 Ed25519 検証 (純粋) HSE-B 26,019ミリ秒 Ed25519 検証 (純粋) Cortex-M7ソフトウェア、160MHz、-O2、Dキャッシュオン 952ミリ秒 つまり、HSEの検証はM7ソフトウェアの実装より約27倍遅いです。ほとんどの場合、メッセージに対するSHA-512: 検証マイナスSHA-512は約9ミリ秒です。 質問 約114 KB/秒(80 MHzで約700 HSEサイクル/バイト)は、HSE-BにおけるSHA-512の想定スループットでしょうか、それとも弊社側の設定上の問題(例えば、HSEからのフラッシュ読み取りパスなど)を示しているのでしょうか? FW 0.2.40.0はSHA-512/EdDSAのパフォーマンスにおいて0.2.55.0と異なる挙動を示す可能性はありますか?HASHおよびSIGNサービスで、FW 0.2.40.0に対して0.2.55.0インターフェースヘッダーを実行させることはサポートされていますか? HSE-Bで高速画像認証を行う場合、推奨される方法はECDSA P-256とSHA-256ですか?それともハードウェアアクセラレーションダイジェストでEd25519を使用するサポート方法はありますか? シリコンに関する注意事項 当社の部品はSBAF 0.10.0の初期シリコン製なので、HSE FW 0.2.55.0をインストールできず、0.2.40.0に制限されています。この古いSBAF/FWの組み合わせが、現在の部品よりもSHA-512ソフトウェアエミュレーションを遅くする可能性があるかどうか知りたいです。とはいえ、私たちの理解では、新しいFWを使っても、HSEコアで80MHzでエミュレートしたSHA-512は、Cortex-M7の160MHz(完全なEd25519検証で952ms、HSEで約26秒)に近づくことはできません。私たちの設定に問題がなければ、M7ではEd25519の認証を維持し、ハードウェアアクセラレーション(AES、SHA-256)でのみHSEを使用する予定です。この結論が間違っている場合は、ご指摘ください。 よろしくお願いいたします。 ファビオ Re: HSE-B SHA-512 / Ed25519 verify timings on S32K344 – are these figures expected? こんにちは、 @FabioGさん 測定結果は妥当なようだ。Ed25519の長い検証時間は、ほぼ完全にSHA-512による~2.97のプロセッシングによって引き起こされます。MBメッセージ。 あなたの結果と一致するベンチマークデータを持っています。HSE_CLK = 120MHzの場合、24KBのデータに対するハッシュ演算は約140msかかります。これを80MHz、メッセージサイズ約2.97MBにスケーリングすると、約26.5秒となり、これは測定値と非常に近い値です。 上記HSEファームウェアのバージョン間には、パフォーマンス上の違いはありません。軽微なアップデートといくつかのバグ修正が含まれています。これは完全にソフトウェアエミュレーションが原因です。 画像認証性能が重要な場合、ECDSA P-256とSHA-256の組み合わせはHSE-B上でより高速な選択肢となります。SHA-256はハードウェアアクセラレーションに対応しています。私が持っているベンチマークデータに基づくと、同じもののECDSA P-256/SHA-256検証は約2.97です。80 MHzでのMB画像は約0.3秒と推定でき、Ed25519は約26秒かかります。これは単純なスケーリングであり、ハードウェアでの確認はしていませんのでご注意ください。 よろしくお願いいたします。 ルーカス
View full article
HSE-B SHA-512 / Ed25519 verify timings on S32K344 – are these figures expected? Hi Lukas (@lukaszadrapa) Referring to Solved: Clarification on HSE support for ED25519 and SHA-512 (S32K394) - NXP Community,  Thanks for the clarification on SHA-384/512 being emulated in software on HSE-B. We ran into exactly this on an S32K344 bootloader and would like to know whether our measurements are representative. Setup S32K344, CORE_CLK 160 MHz, HSE_CLK 80 MHz (CORE_CLK/2, as configured in Clock_Ip) HSE host interface/headers from package 0.2.55.0, HSE FW 0.2.40.0 installed (we are on SBAF 0.10.0, so we cannot move to 0.2.55.0 yet) Message: application image in PFLASH, 2,965,376 bytes (0x00500000–0x007D3F7F), passed by address (no RAM copy) One-pass requests, MU0 channel 1, synchronous polling; descriptors and output buffers in non-cacheable SRAM Timing taken on the M7 with the PIT (40 MHz) around HSE_Send() Measurement code   c static uint8_t digest[64] __attribute__((aligned(32), section(".mcal_bss_no_cacheable"))); static uint32_t digest_len __attribute__((aligned(32), section(".mcal_bss_no_cacheable"))); static uint32_t hash_time_ms(hseHashAlgo_t algo, const uint8_t *msg, uint32_t len, uint32_t *rsp) { hseSrvDescriptor_t *desc = &gHseSrvDesc[0][1]; hseHashSrv_t *hsh = &desc->hseSrv.hashReq; digest_len = sizeof(digest); memset(desc, 0, sizeof(*desc)); desc->srvId = HSE_SRV_ID_HASH; hsh->accessMode = HSE_ACCESS_MODE_ONE_PASS; hsh->hashAlgo = algo; hsh->sgtOption = HSE_SGT_OPTION_NONE; hsh->inputLength = len; hsh->pInput = HSE_PTR_TO_HOST_ADDR(msg); /* PFLASH */ hsh->pHashLength = HSE_PTR_TO_HOST_ADDR(&digest_len); hsh->pHash = HSE_PTR_TO_HOST_ADDR(digest); uint32_t t0 = ~IP_PIT_0->TIMER[1].CVAL; /* 40 MHz up-counter */ *rsp = HSE_Send(0, 1, gSyncTxOption, desc); return ((~IP_PIT_0->TIMER[1].CVAL) - t0) / 40000u; /* ms */ } t256 = hash_time_ms(HSE_HASH_ALGO_SHA2_256, (const uint8_t *)0x00500000, 0x2D3F80, &rsp256); t512 = hash_time_ms(HSE_HASH_ALGO_SHA2_512, (const uint8_t *)0x00500000, 0x2D3F80, &rsp512); The EdDSA verify is a one-pass HSE_SRV_ID_SIGN request with HSE_SIGN_EDDSA, bHashEddsa = FALSE (pure Ed25519), bInputIsHashed = FALSE, and the same message pointer and length. The key is an ED25519 public key imported into a RAM slot. Results (all requests returned HSE_SRV_RSP_OK) Operation, 2,965,376 bytes Engine Time SHA-256 HSE-B (HW) 38 ms SHA-512 HSE-B (SW emulation) 26,010 ms Ed25519 verify (pure) HSE-B 26,019 ms Ed25519 verify (pure) Cortex-M7 software, 160 MHz, -O2, D-cache on 952 ms So the HSE verify is about 27x slower than the M7 software implementation. Almost all of the time is the SHA-512 over the message: verify minus SHA-512 is about 9 ms. Questions Is ~114 KB/s (≈700 HSE cycles/byte at 80 MHz) the expected SHA-512 throughput on HSE-B, or does it point to a configuration issue on our side (for example the flash read path from HSE)? Could FW 0.2.40.0 behave differently from 0.2.55.0 for SHA-512/EdDSA performance? Is running 0.2.55.0 interface headers against FW 0.2.40.0 supported for the HASH and SIGN services? For fast image authentication on HSE-B, is the recommended approach ECDSA P-256 with SHA-256, or is there a supported way to use Ed25519 with a hardware-accelerated digest? Note on our silicon Our parts are early silicon with SBAF 0.10.0, which is why we could not install HSE FW 0.2.55.0 and are limited to 0.2.40.0. We would like to know whether this older SBAF/FW combination could make the SHA-512 software emulation slower than on current parts. That said, our understanding is that even with a newer FW, a SHA-512 emulated on the HSE core at 80 MHz cannot get close to the same computation on the Cortex-M7 at 160 MHz (952 ms for the complete Ed25519 verify, against about 26 s on HSE). Unless you see something wrong in our setup, we plan to keep Ed25519 verification on the M7 and use HSE only where it is hardware accelerated (AES, SHA-256). Please correct us if this conclusion is wrong. Thanks in advance, Fabio Re: HSE-B SHA-512 / Ed25519 verify timings on S32K344 – are these figures expected? Hi @FabioG  The measured results look reasonable. The long Ed25519 verification time is caused almost entirely by SHA-512 processing of the ~2.97 MB message. I have some benchmark data which corresponds to your results. Hash operation on 24KB of data should take about 140ms when HSE_CLK = 120MHz. Scaling this to 80MHz and ~2.97 MB message size, it gives approximately 26.5 s, which is very close to your measured value. There’s no performance difference between mentioned HSE FW versions. There are just some minor updates and several bug fixes. It’s completely caused by SW emulation. If image authentication performance is important, ECDSA P-256 with SHA-256 would be a much faster option on HSE-B. SHA-256 is hardware accelerated. Based on benchmark data I have, ECDSA P-256/SHA-256 verification of the same ~2.97 MB image at 80 MHz can be estimated at approximately 0.3 s, compared with ~26 s for Ed25519. Please notice that this is just simple scaling, I haven’t confirmed this on HW. Regards, Lukas
View full article
LS1046A IBISファイル <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> LS1046A用のIBISモデルはどうやって取得できますか? QorIQ LS1デバイス Re: LS1046A IBIS file LS1046A用のIBISモデルはどうやって入手すればいいですか?
View full article
Top Vendors Building Custom AI Agents for Manufacturing Enterprises I was looking for top vendors that build custom AI agents for manufacturing enterprises and came across Intellectyx. The company develops enterprise AI agents for workflows such as predictive maintenance, quality inspection, production planning, inventory optimization, equipment monitoring, safety management, and supply-chain coordination. Intellectyx also integrates these agents with existing ERP, MES, CMMS, CRM, and industrial data systems. Its Clutch-verified profile has a 4.9 out of 5 rating based on 10 client reviews. Has anyone worked with Intellectyx or evaluated its manufacturing AI solutions?
View full article
MPC5200CVR400BとSPC5200CVR400Bのライフサイクル状況に関する明確化が必要 親愛なるNXPサポートチームへ、 MPC5200/MPC5200Bファミリのライフサイクル状況を審査しており、以下の部品番号についてご説明いただけると幸いです。 MPC5200CVR400B SPC5200CVR400B NXPのウェブサイトで入手可能な情報に基づくと、 MPC5200CVR400Bは販売終了通知202601026DNおよび202601026DNU01に関連付けられており、最終購入日と最終納品日が記載されています。 しかし、製品ページ SPC5200CVR400B「 End of Service 」と表示されているものの、以下のものかどうかは判断できません。 SPC5200CVR400Bは、MPC5200CVR400Bと同じ販売終了通知の対象となります。 SPC5200CVR400Bは、最終購入日(LTB)と最終納品日(LTD)が同じです。 SPC5200CVR400Bは、廃止/販売終了とみなされるか、または別のライフサイクルステータスで引き続き入手可能です。 ライフサイクルマネジメントに関して、MPC5200CVR400BとSPC5200CVR400Bの間に機能的または商業的な違いはありません。 公式なライフサイクル状況と、可能であれば関連するPCN/EOLドキュメントを SPC5200CVR400B教えていただけますか? お客様からのご確認は、当社の部品ライフサイクルデータベースにおいて、このデバイスを正しく分類するために役立ちます。 再開まで今しばらくお待ちください。 敬具 アビジート・ソランキ CGパワー・アンド・インダストリアル・ソリューションズ・リミテッド [email protected] Re: Clarification Required on Lifecycle Status of MPC5200CVR400B vs SPC5200CVR400B こんにちは、 S/MPC5200はすべて販売終了となりました。 https://www.nxp.com/products/MPC5200 社内メールの記録によると、SPC5200CVR400Bは販売終了(EOL)状態であることが確認されています。 SPC5200CVR400B:EOL/廃止品ですが、同じ販売終了通知の対象となるかどうかは正式には確認されていませんが、同じになると予想されます。 さらに詳しい情報が必要な場合はNXPセールスに連絡するか、NXP.com でチケットを提出してください よろしくお願いいたします。 ピーター
View full article
Clarification Required on Lifecycle Status of MPC5200CVR400B vs SPC5200CVR400B Dear NXP Support Team, We are reviewing the lifecycle status of the MPC5200/MPC5200B family and would appreciate your clarification regarding the following part numbers: MPC5200CVR400B SPC5200CVR400B Based on the information available on the NXP website, we understand that MPC5200CVR400B is associated with discontinuance notices 202601026DN and 202601026DNU01, with Last Time Buy and Last Time Delivery dates provided. However, for SPC5200CVR400B, we observe that the product page indicates an End of Life status, but we are unable to determine whether: SPC5200CVR400B is officially covered by the same discontinuance notice as MPC5200CVR400B. SPC5200CVR400B has the same Last Time Buy (LTB) and Last Time Delivery (LTD) dates. SPC5200CVR400B is considered obsolete/discontinued, or if it remains available under a different lifecycle status. There is any functional or commercial distinction between MPC5200CVR400B and SPC5200CVR400B regarding lifecycle management. Could you please provide the official lifecycle status and, if available, the relevant PCN/EOL documentation for SPC5200CVR400B? Your confirmation will help us correctly classify this device in our component lifecycle database. Thank you for your support. Best Regards, Abhijeet Solanki CG Power and Industrial Solutions Limited [email protected] Re: Clarification Required on Lifecycle Status of MPC5200CVR400B vs SPC5200CVR400B Hello, All S/MPC5200 are now end of life. https://www.nxp.com/products/MPC5200 Internal email records confirm that SPC5200CVR400B is in End of Life status. SPC5200CVR400B: EOL/obsolete, but coverage by the same discontinuance notice is not officially confirmed, but I expect that it will be the same. If you require more info get in touch with NXP Sales or rise a ticket at NXP.com Best regards, Peter
View full article
LS1046A IBIS 文件 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 如何获取LS1046A的IBIS模型? QorIQ LS1设备 Re: LS1046A IBIS file 如何获取LS1046A的IBIS模型
View full article
製造業向けにカスタムAIエージェントをビルディングするトップベンダー 製造業向けにカスタムAIエージェントを開発するトップベンダーを探していたところ、Intellectyxに出会いました。同社は、予測保守、品質検査、生産計画、在庫最適化、設備監視、セーフティマネジメント、サプライチェーン調整などのワークフロー向けのエンタープライズAIエージェントを開発しています。Intellectyxはこれらのエージェントを既存のERP、MES、CMMS、CRM、インダストリアル用データシステムと統合しています。Clutchが認証したプロフィールでは、10件の顧客レビューに基づき、5点満点中4.9点の評価を得ています。Intellectyx社と協業した経験のある方、あるいは同社の製造業向けAIソリューションを評価した経験のある方はいらっしゃいますか?
View full article
iMX8qm ブートコア A72_0 こんにちは、NXPフォーラムの皆様、 iMX8qmで、A72コアから起動できますか?SCUFWはそれを許可していますか? よろしくお願いします。 Re: iMX8qm Boot Core A72_0 まず既存の flash_ca72 ターゲットで処理を進めてください。u-boot-atf.bin は置き換えないでください。u-boot-atf-a72.bin を使用コックピット/マルチAPイメージフローを意図的に使用しない限り。 証拠はこの違いを示している。 flash_ca72は、通常のAコアブートターゲットと同じ基本ブートイメージですが、A53ではなくA72にロードされるものとして説明されています。 u-boot-atf.bin は、ATF と U-Boot を組み合わせたイメージです: bl31.bin加えて u-boot.bin/ u-boot-hash.bin . u-boot-atf-a72.binflash_cockpitターゲットに表示され、イメージには2つのAPペイロードが含まれています。1つはA53用、もう1つはA72用です。 -ap u-boot-atf.bin a53 0x80000000 ... -ap u-boot-atf-a72.bin a72 0xC0000000 ... 。 したがって、重要なセレクタは単なるファイル名ではありません。それはIMX-MKIMAGE -APです...A72 ...ターゲットの議論。単一の A72 ブート イメージの場合、u-boot-atf.bin を使用する flash_ca72 は、文書化された意図と一致しています。ファイル名に -a72 が付加されていなくても、ターゲット ルールによってペイロードが A72 にロードされます。 推奨パス: 既存のターゲットを使用して、標準のA72専用イメージを作成します。 SOC=iMX8QM flash_ca72 を作成します Linux側ではCA72デバイスツリー/設定を使いましょう。NXPのドキュメントによると、i.MX8QM MEK CA72 DTBは2つのCortex-A72コアのみをサポートし、flash_ca72で構築された特別なブートイメージが必要です。 u-boot-atf-a72.bin を予約するflash_cockpitのように、2つ目のA72 APイメージを明示的にパッケージ化するフローの場合、ただしBSPのsoc.makが使わない限りコメントやリリースノートには、それとは異なる記載がある。 起動時にイメージが実際にA72パスに入っていることを確認します。make V=1 SOC=iMX8QM flash_ca72によって生成されるimx-mkimageコマンドを確認するか、iMX8QM/soc.makを調べます。AP ラインが a72 を使用していることを確認してください。 要点:現在の flash_ca72 参照を u-boot-atf.bin として扱う。意図的なものです。u-boot-atf-a72.bin は、コックピット/マルチパーティション スタイルのイメージで使用される個別の A72 ペイロード用であり、flash_ca72 の自動的な代替ではありません。 Re: iMX8qm Boot Core A72_0 明確に/検証したい小さな点があります: `flash_ca72` ターゲットは現在 `u-boot-atf.bin` を参照しています。同じ構成で、別の `u-boot-atf-a72.bin` も利用可能です。 どのように進めていくべきか Re: iMX8qm Boot Core A72_0 はい、i.MX8QMではアプリケーションプロセッサのブートイメージをCortex-A53ではなくCortex-A72にターゲットに設定でき、SCFWはその流れを許可しています。NXPのimx-mkimageには、通常のA53ブートイメージのA72バリアントとして説明されているflash_ca72ターゲットがあり、ブート時間の最適化のためにA72をできるだけ早く起動することを目的としています。 重要な違いは次のとおりです。 リセット後の最初のコード: A72ではない。デバイスの起動フローは、引き続きROM/SCU/SCFWを経由して開始されます。 AP側ブートローダー/OSの起動:はい、A72で可能です。SCFWはDDRを初期化し、Cortex-Aイメージを読み込み、コアを起動して開始アドレスを設定します。 設定機構:ブートコンテナはa72用のAPイメージを指定することができます。例:例として、imx-mkimage の使用例で -ap ... a72 ... が示されています。 つまり答えはこうです:SCFWはA72からAPソフトウェアパスを起動できますが、A72はリセットやROMのブートマスターではなく、SCFWによってブートコンテナの設定に従って起動されます。 Re: iMX8qm Boot Core A72_0 あなたの具体的な手順に関して、重要な点は以下のとおりです。 SOC=iMX8QM flash_ca72 を作成します ブートローダーをA53ではなくA72にロードすることが目的であれば、概念的にはこれが正しいターゲットです。NXPコミュニティのガイダンスでは、flash_ca72は基本flash_b0イメージに似ていますが、A53ではなくA72に読み込まれています。 「ログなし」という症状は、必ずしもSCFWがA72ブートを拒否したことを意味するものではありません。よく知られている落とし穴として、A53とA72は同じログターミナルを使っていないため、通常のAコア/A53 UARTを監視しても、A72イメージが別のコンソールパスで動作しているか、後で失敗しても何も見つからないことがあります。 手順の検証: エリア 評価 SECOコンテナ mx8qmb0-ahab-container.img は i.MX8QM B0 に適したコンテナのクラスです。 ATF make PLAT=imx8qm bl31 は i.MX8QM に対して妥当です。 SCFW qm=B0 B=var_som V=1の構築はi.MX8QM B0 Varisciteターゲットと一致します。 U-Boot imx8qm_var_som_defconfig は確認すべき重要な項目です。A72 のブートパスおよびコンソール構成と互換性がある必要があります。 mkimageターゲット flash_ca72 は A72 ブートの場合にのみ適切なターゲットです。通常のLinux BSP起動では、文書化されたi.MX8QMコマンドがmake SOC=iMX8QM flashです。 SPLコピー u-boot-spl.bin は flash_ca72 にはおそらく関係ありません。そのターゲットは SPL ベースのフローではありません。 イメージの複製 トップレベルの make SOC=iMX8QM flash_ca72 を実行してから、手動で make -f soc.mak ... flash_ca72 を実行する必要はありません。簡潔なトップレベルコマンドを1つだけ使用してください。 画像生成部分を以下のように修正・整理します。 cd ~/iMX8/Scarthgap_New/MkImage/imx-mkimage cp ../../SECO/imx-seco-5.9.4.1-0333596/firmware/seco/mx8qmb0-ahab-container.img ./iMX8QM/ cp ../../SCFW/imx-sc-firmware/src/scfw_export_mx8qm_b0/build_mx8qm_b0/scfw_tcm.bin ./iMX8QM/ cp ../../u-boot/uboot-imx/u-boot.bin ./iMX8QM/ cp ../../ATF/imx-atf/build/imx8qm/release/bl31.bin ./iMX8QM/ make clean SOC=iMX8QM flash_ca72 を作成します 次に以下を使用します。 iMX8QM/flash.bin また、このSCFWパスも修正/確認してください。 export TOOLS=/home/mkashyap/iMX8/Scarthgap_New/SCFW/Opt ./opt に展開しました、ただしエクスポートされた…/SCFW/Opt。Linuxのパスは大文字を区別しています。scfw_tcm.bin を生成したので実際のシェルには有効なツールパスが設定されていたかもしれませんが、この行を確認する必要があります。 推奨デバッグ手順: まず、標準イメージをビルドして起動します。 make SOC=iMX8QM flash これは、SECO + SCFW + ATF + U-Boot + ボードのDDR/コンソールが基本的に正しいことを確認するものです。Linuxユーザーガイドにはこの標準i.MX8QMが記載されていますflash.bin生成パス。 次に、以下のコマンドで再構築します。 SOC=iMX8QM flash_ca72 を作成します 通常のA53コンソールだけでなく、 A72コンソール/UARTも監視してください。A53とA72のログ端末は異なります。 それでも音がしない場合は、生成された flash.bin を比較してください。flash と flash_ca72 間のサイズ/レイアウトを確認し、Variscite U-Boot の設定が実際に A72 ブートターゲットで使用されるコンソールを有効にしていることを確認します。 つまり、直接的な答えはこうです:SCFWはflash_ca72イメージフローを通じてA72のCortex-A側を起動することを許可していますが、SCFWは初期のブートオーケストレーションを所有しています。あなたの手順はA72ブートにはほぼ有効ですが、重複したsoc.mak呼び出しを削除し、SCFWツールパスを確認し、そして何よりもA72のUART/コンソールを確認してください。 要点:i.MX8QM での A72 ブートは flash_ca72 を介してサポートされています。サイレントブートは、SCFW が単に A72 の起動を拒否しているというよりも、イメージ/設定/コンソールの問題である可能性が高いです。 Re: iMX8qm Boot Core A72_0 こんにちは、 以下の手順に従ってブートローダーを構築しましたが、ログも出力されずにブートローダーが失敗します。 添付された手順を検証していただけますか? よろしくお願いします。 mkdir Scarthgap_New cd Scarthgap_New   1. セキュリティ・コントローラバイナリーを入手する mkdir SECO CDセコ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-seco-5.9.4.1-0333596.bin chmod +x imx-seco-5.9.4.1-0333596.bin ./imx-seco-5.9.4.1-0333596.bin   mkashyap@cse-dev02:~/iMX8/Scarthgap_New/SECO/imx-seco-5.9.4.1-0333596/firmware/seco$ ls -al 合計976 drwxrwxr-x 2 mkashyap mkashyap   4096 8月26日 22:21 . drwxrwxr-x 3 mkashyap mkashyap   4096 8月 26 22:21 .. -rw-r--r-- 1 mkashyap mkashyap    194 7月29日  2024 commit-id.txt -rw-r--r-- 1 mkashyap mkashyap 163840 2024年7月29日 mx8dxla1-ahab-container.img -rw-r--r-- 1 mkashyap mkashyap 163840 2024年7月29日 mx8dxlb0-ahab-container.img -rw-r--r-- 1 mkashyap mkashyap 76944 Jul 29 2024 mx8qmb0-ahab-container.img -rw-r--r-- 1 mkashyap mkashyap  71312 7月29日  2024 mx8qxb0-ahab-container.img -rw-r--r-- 1 mkashyap mkashyap  78408 7月29日  2024 mx8qxc0-ahab-container.img -rwxr-xr-x 1 mkashyap mkashyap 423875 Jul 29 2024 SECO_FW_release_note.pdf mkashyap@cse-dev02:~/iMX8/Scarthgap_New/SECO/imx-seco-5.9.4.1-0333596/firmware/seco$   私たちはmx8qmb0-ahab-container.imgを使用します   CD ../../../..   2. ATFをダウンロードしてビルドする mkdir ATF cd ATF git clone https://github.com/varigit/imx-atf-b lf_v2.10_6.6.52-2.2.0_var01   cd imx-atf 出典 /opt/FSL-IMX-Xwayland/6.6-scarthgap/environment-setup-armv8a-poky-linux LDFLAGSを解除します PLAT=imx8qm bl31 を作成します   mkashyap@cse-dev02:~/iMX8/Scarthgap_New/ATF/imx-atf/build/imx8qm/release$ ls -al 合計76 drwxrwxr-x 7 mkashyap mkashyap  4096 8月26日 22:37 . drwxrwxr-x 3 mkashyap mkashyap  4096 8月 26 22:36 .. drwxrwxr-x 3 mkashyap mkashyap  4096 8月26日 22:37 bl31 -rwxrwxr-x 1 mkashyap mkashyap 45213 8月26日 22:37 bl31.bin drwxrwxr-x 2 mkashyap mkashyap 4096 8 月 26 日 22:37 ライブラリ drwxrwxr-x 2 mkashyap mkashyap 4096 8月26日 22:37 libc drwxrwxr-x 2 mkashyap mkashyap 4096 8 月 26 日 22:37 libwrapper drwxrwxr-x 2 mkashyap mkashyap 4096 8月26日 22:37 romlib   CD ../../../../../   3. SCFWをダウンロードしてビルドする    mkdir SCFW    cd SCFW     wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/8-2018q4/gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz sudo tar xf gcc-arm-none-eabi-8-2018-q4-major-linux.tar.bz -C ./opt     git clone https://github.com/varigit/imx-sc-firmware.git -b 1.17.0 cd imx-sc-firmware/src/scfw_export_mx8qm_b0     export TOOLS=/home/mkashyap/iMX8/Scarthgap_New/SCFW/Opt clean-qm を作成する    qm R=B0 B=var_som V=1 にする     mkashyap@cse-dev02:~/iMX8/Scarthgap_New/SCFW/imx-sc-firmware/src/scfw_export_mx8qm_b0/build_mx8qm_b0$ ls -al 合計 3384    drwxrwxr-x 11 mkashyap mkashyap    4096 8月26日 22:47 .    drwxrwxr-x  6 mkashyap mkashyap    4096 8月26日 22:47 ..    drwxrwxr-x  3 mkashyap mkashyap    4096 8月26日 22:47 掲示板    drwxrwxr-x  3 mkashyap mkashyap    4096 8月26日 22:44 デバイス    drwxrwxr-x 25 mkashyap mkashyap    4096 Aug 26 22:47 ドライバ    drwxrwxr-x  2 mkashyap mkashyap    4096 8月26日 22:44 main    -rwxrwxr-x 1 mkashyap mkashyap 184448 8 月 26 日 22:47 scfw_tcm.bin -rwxrwxr-x 1 mkashyap mkashyap 2787784 8月26日 22:47 scfw_tcm.elf    -rw-rw-r-- 1 mkashyap mkashyap 513123 8 月 26 日 22:47 scfw_tcm.map    drwxrwxr-x  4 mkashyap mkashyap    4096 8月26日 22:44 soc    drwxrwxr-x 26 mkashyap mkashyap    4096 8月26日 22:44 ss    drwxrwxr-x  9 mkashyap mkashyap    4096 8月26日 22:47 svc    drwxrwxr-x 10 mkashyap mkashyap    4096 8月26日 22:44 test    drwxrwxr-x  2 mkashyap mkashyap    4096 8月26日 22:44 utilities     CD ../../../../../     4. u-bootをビルドする    mkdir u-boot    cd u-boot     git clone https://github.com/varigit/uboot-imx.git -b lf_v2024.04_6.6.52-2.2.0_var01 cd uboot-imx        cp ../../SECO/imx-seco-5.9.4.1-0333596/firmware/seco/mx8qmb0-ahab-container.img ./mx8qm-ahab-container.img    cp ../../SCFW/imx-sc-firmware/src/scfw_export_mx8qm_b0/build_mx8qm_b0/scfw_tcm.bin ./mx8qm-mek-scfw-tcm.bin mrproper を作る    imx8qm_var_som_defconfig を作成する    make -j8     CD ../../     5. 画像を作成する mkdir MkImage cd MkImage     git clone https://github.com/varigit/imx-mkimage-b lf-6.6.52_2.2.0_var01 cd imx-mkimage        cp ../../SECO/imx-seco-5.9.4.1-0333596/firmware/seco/mx8qmb0-ahab-container.img ./iMX8QM/    cp ../../SCFW/imx-sc-firmware/src/scfw_export_mx8qm_b0/build_mx8qm_b0/scfw_tcm.bin ./iMX8QM/    cp ../../u-boot/uboot-imx/u-boot.bin ./iMX8QM/    cp ../../u-boot/uboot-imx/spl/u-boot-spl.bin ./iMX8QM/    cp ../../ATF/imx-atf/build/imx8qm/release/bl31.bin ./iMX8QM/     SOC=iMX8QM flash_ca72 を作成します     cd iMX8QM    make -f soc.mak SOC=iMX8QM MKIMG=../mkimage_imx8 PAD_IMAGE=./pad_image.sh flash_ca72        mkashyap@cse-dev02:~/iMX8/Scarthgap_New/MkImage/imx-mkimage/iMX8QM$ ls -al 合計6792    drwxrwxr-x  3 mkashyap mkashyap    4096 8月26日 23:08 .    drwxrwxr-x 13 mkashyap mkashyap    4096 8月 26 23:06 ..    -rwxrwxr-x  1 mkashyap mkashyap   45213 8月26日 23:06 bl31.bin    -rwxrwxr-x  1 mkashyap mkashyap    2564 8月 26 22:59 expand_c_define.sh    -rw-rw-r-- 1 mkashyap mkashyap 1895424 8 月 26 日 23:08 flash.bin    -rw-rw-r--  1 mkashyap mkashyap       9 Aug 26 23:06 head.hash    -rwxrwxr-x  1 mkashyap mkashyap    2078 Aug 26 22:59 mkimage_fit_atf.sh    -rw-r--r-- 1 mkashyap mkashyap 76944 8 月 26 日 23:02 mx8qmb0-ahab-container.img    -rwxrwxr-x 1 mkashyap mkashyap 184448 8 月 26 日 23:03 scfw_tcm.bin    drwxrwxr-x  2 mkashyap mkashyap    4096 8月26日 22:59 scripts    -rwxrwxr-x 1 mkashyap mkashyap 13271 8 月 26 日 22:59 soc.mak    -rwxrwxr-x 1 mkashyap mkashyap 1631521 8 月 26 日 23:06 u-boot-atf.bin    -rw-rw-r-- 1 mkashyap mkashyap 1500440 8 月 26 日 23:04 u-boot.bin    -rw-rw-r-- 1 mkashyap mkashyap 1500449 8 月 26 日 23:06 u-boot-hash.bin    -rw-rw-r-- 1 mkashyap mkashyap 139387 8 月 26 日 23:04 u-boot-spl.bin     生成された flash.bin はブートローダーイメージとして使用されました Re: iMX8qm Boot Core A72_0 こちらから始められます: https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101/ta-p/1124236 https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/System-Controller-Firmware-101-Getting-started/ta-p/1121153 SCFWのリファレンス/ポーティングドキュメントは、独立した公開リファレンスマニュアルではなく、NXP SCFWポーティングキット内に提供されています。 NXPの i.MX ソフトウェア&開発ページからキットをダウンロードしてください。ご使用のi.MX BSPに対応するリリースを選択してください。NXPは、提供するバイナリとの互換性を維持するために、対応するポーティングキットを必要とします。 ライセンスに同意し、付属の.binファイルを実行してください。インストーラ。 以下をご覧ください: doc/pdf/sc_fw_port.pdf — SCFW移植ガイドの詳細 doc/pdf/ — SCFW APIユーザーガイド、リリースノートおよび関連ドキュメント src/ — SoC固有のSCFWエクスポートアーカイブ このキットには、ソースコードとオブジェクトコードが混在して含まれています。基板依存のカスタマイズは、エクスポートされたボードソースで行われます。通常はplatform/board/mx8 _ /の下で、board.cなどのファイルも含まれます;SCFWのコアの多くはオブジェクトのみのままで、パブリックキットを通じて変更することはできません。 UG10165年の一般的な i.MX Porting Guideには「Porting System Controller Firmware」の章があり、BSPやmeta-imx-scfwとの統合について説明しています。 Re: iMX8qm Boot Core A72_0 SCFWファームウェアの修正を行うためのSCFWリファレンスマニュアルや設計マニュアルはどこで入手できますか? Re: iMX8qm Boot Core A72_0 SCFWで独自のカスタマイズされたログを取得するにはどうすればよいですか? ありがとう モハン
View full article
LPIT GPTドキュメントが欠落しています LPit_Gpt IPドライバーモジュールのLPIT GPT機能を使いたいと思っています。 S32K118のサンプルでは、「 Lpit_Gpt_Ip_Init 」、「 Lpit_Gpt_Ip_InitChannel 」、「 Lpit_Gpt_Ip_StartTimer 」など、このモジュールに関するさまざまな関数が示されています。 しかし、対応するユーザーマニュアルや統合マニュアルを確認すると、これらの機能が記載されていません。 適切なドキュメントはどこで見つけられますか? RTDバージョンは3.0.0です。QLP06。 Re: LPIT GPT documentation missing こんにちは、 @daniel_meier さん。 ユーザーマニュアルとインテグレーションマニュアルは主にAUTOSARの高レベルドライバー機能(したがって下位機能を使用します)について説明しています。IPの下位APIについてさらに情報が必要な場合は、LPit_Gpt_Ip.hを参照してくださいヘッダー。 例えば、 Lpit_Gpt_Ip_Initの場合: /** * @brief Function Name : Lpit_Gpt_Ip_Init * @details Driver initialization function for LPit instance. * * * @param[in] instance LPIT hw instance number * @param[in] config Pointer to a selected configuration structure * @return void * @pre The data structure including the configuration set required for initializing the driver * */ void Lpit_Gpt_Ip_Init(uint8 instance, const Lpit_Gpt_Ip_InstanceConfigType *config); よろしくお願いします、 ジュリアン Re: LPIT GPT documentation missing 情報をありがとうございます。 ソースファイルとは独立した、きちんとした完全なドキュメントを持つことは必須だと思います。 いずれにせよ、自分でソースからdoxygen ドキュメントを作成できるようです。
View full article
M33でSAI1を使用するとiMX93 FIFOがアンダーランする SAI1を使って外部I2Sデバイスを駆動しています。40MHz BCLK、1.25MHz WCLK。 Linuxから起動し、リモートプロック経由でM33上でコードを動かします。 SAI1インターフェースでFIFOアンダーランを取得する方法。 なぜそうなっているのか分かりません。 M33上でSAI3を使用して同じコードを実行しましたが(A55はubootに保持されていました)、問題はありませんでした。 何か解決策はありますか。 よろしくお願いします! オーディオ(PDM |I2S |SAI) Re: iMX93 FIFO underruns when using SAI1 on M33 こんにちは、 残念ながら、SDKにはCODECをSDKで使う例はありません。 SDKの例を参考にしてみると、次のパスで見つかります: mcuxsdk\examples\driver_examples\sai FIFOが警告を不足している場合、それはデータが十分に速くプッシュされていないか、トランスミッタが正しく有効化されていないために空のTX FIFOが原因かもしれません。 この問題の原因の一つはリソースの利用可能性や設定です。まず、Cortex-AプロセッサがCortex-Mと同じリソースを使っていない問題がないか確認することをお勧めします。 SAI送信制御レジスタ(TCSR)レジスタのトランスミッタ有効ビットが有効であることは確認しましたか? よろしくお願いいたします。 Re: iMX93 FIFO underruns when using SAI1 on M33 SAI1のコードをLinuxのA55に移しました。 依然としてFIFOエラーが発生しています。 設定の詳細と質問事項は以下のとおりです。 プラットフォーム ボード:i.MX93 EVK;/sys/devices/soc0/soc_id=i.MX93, /sys/devices/soc0/revision=1.1。パッケージのマーキング/マスクはまだ記録されていません。 Linux: 6.12.20-lts-next-gdfaf2136deb2,先取り、A55。 テキサス州0x443b0000のSAI1(44000000.dma-controller-CH21経由)。 SAI1シリアルルート:VIDEO_PLLから40 MHz;40 MHz BCLK、1.25 MHzのフレームレート。 SAI3/WM8962はLinux所有で、以下の複製では使用されていません。 LMX2571 I2S FSKシンク:アクティブスロットには符号付き16ビットコード、その他のスロットにはゼロ。 定数コード+8500は期待される+17 kHzのRFオフセットを生成します。 最小限のLinux再現(M33リモートプロックオフライン) カスタムDTBはSAI1をALSA再生デバイスとして公開します。SAI1 PCMカード0。 静的ALSA PCM:hw:0,0、S16_LE、2チャネル、1,250,000フレーム/秒; 期間は2,400フレーム、バッファは19,200フレームです。ガウスフィルターやその他のフィルターは使用していません。 リアルタイム波形生成。TX FIFO深度32ワード、TX DMAバースト8ワード、 FIFO透かし24。静的データ: スロット 0=8500、スロット 1=0。 コマンド: python3 /root/cp7g_static_playback.py --device hw:0,0 --seconds 600 最新の結果:7億5000万フレームを599.958秒で書き込み、ALSA xruns=0。 SAI1 FEF IRQ診断:1エピソード、2.685ms間に9回のIRQエントリ。 単調稼働時間約675.892537秒で初めて観測されました。 再生が停止する7.16秒前でした。ストリーム終了時のドレインイベントではありません。 最初の割り込み処理(FEFハードウェアアサーション後のタイミング) TCSR=0x90150c01; 連続読み取り時間=41 ns; 最初の読み取り前にハンドラが動作 TCSR読み取り=209 ns; 最初のTCSR regmap読み取り=120,607 ns (戻り値0)。 FEF W1C regmap 書き込み=241,007 ns (戻り値 0)、詳細スナップショット前。 ACK後TFR0=0x00020001、読み取り時間=242,799 ns。 ACK後のeDMA CH21の最初の生レジスタ読み出し=241,423 ns; 合計CH21 スナップショット時間=487,722 ns。CH_CSR=0x80000005、CH_ES=0x00000000、 CH_INT=0x00000000、CH_SBR=0x00208003、CH_PRI=0x00000000。 TFR0とCH21の値は、確認後ではなく、 初期FEFアサーション。長い読み書きでは、 初期のFIFOエラーを引き起こしました。CH_ES=0はチャネルエラーがなかったことを示すだけです サンプリングされるとラッチ(吸付)ができた。FEFはALSA xruns=0にもかかわらずハードウェアイベントです。 独立簡易ファームウェア再現 Linux起動時にALSAキャプチャがアイドル状態の場合、M33コードは同じSAI1 TXを駆動しました 単一のセルフリンクeDMA CH21 TCDを使用し、一定の+8500スロット、 メジャーループのコールバックもフォアグラウンドバッファのリフィルもガウスフィルターもありません。 40 MHz BCLK、FIFO 深度 32、ウォーターマーク 24、DMA マイナーループ 16 バイト、 216秒後(Rev R)にSAI1 FEFで停止しました。FEF障害発生後のスナップショットでは、 CH21_ES=0、DMAグローバルES=0の場合、TCDは依然として自己リンク状態でした。同様の故障が発生した 後の優先順位付け試験および内部BCLK試験において。半額料金での試行も失敗に終わった。 したがって、PythonもM33波形計算/再充填も必要ありません。 断続的なSAI1 FEFを再現する。Linuxの再生も M33、オフライン。プローブの負荷と外部ワイヤの長さの変更は除去されませんでした 問題。 追加の観察 burst-4 / watermark-28のLinux実行では、稼働時間にFEFエピソードが1回ほどありました 別ブートでは676.889秒、最新のバースト8フォルトは675.893秒でした。 最新の起動で約670〜682秒のシステムジャーナル検索では、何も見つかりませんでした 記録された活動。同様の稼働時間はあくまで示唆的なものであり、タイマーの存在を証明するものではありません。 NXPへの質問 1.i.MX93 rev 1.1マスクのエラタムや低消費電力/インターコネクトの既知のものはありますか? SAI1およびeDMA CH21レジスタへのアクセスやDMAを遅らせる可能性のある状態 SAI1 TXとそのクロックが有効である間に100〜250 USのサービスができるのでしょうか? 2. ハードウェアの状態、クロックゲーティング、インターコネクト、またはeDMAトレースが可能なもの FEFの前に最初に見落としたSAI1のFIFOサービスリクエストを特定しますか? 3. SAI1 TX FEFは実際のFIFO以外の状態を示しているか? この非同期マスター構成でアンダーラン? 4. SAI1/eDMAのバースト、ウォーターマーク、またはクロックの制約は文書化されていますか? i.MX93上の連続40MHz BCLK / 1.25 MHzステレオフレーム出力の場合? カスタムDTBやLinux fsl_sai.c/hも提供可能です変更と静的再生 スクリプト、M33自己リンクTCDソース、完全なブートクロックツリー、およびスコープ/RFデータ。
View full article