Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi support, Customer shared that they have an issue where when called sCheck_ExecuteStartupTests() at start up after that it jump to Hard Fault Exception when it executes ECC Test. Could you help to check this point ? MCU: S32K314 Safety_SW Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi @marcuslim , for each sCheck tests there is mandatory to follow all conditions as described in sCheck UM chapter:  L1 CACHE ECC Tests In this case most likely there is wrong placement of the memory section and appropriate MPU setup, this is important for proper execution of this test. For more details please refer to the sCheck UM chapter:  Memory Allocation (placement into  the sections with correct Cacheable or Non-cacheable MPU attributes is essential) and also you can explore linker file and MPU setup in the SAF Demo example. Kind Regards, Radoslav Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi Radoslav, Cusotmer replaced sCheck_ExecuteRuntimeTests() with sCheck_ExecuteStartupTests() in the NXP example and encountered a similar error. Could you please clarify exactly where I can check this? Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi @marcuslim  No, you can't use sCheck startup tests by replacing it in a loop dedicated for runtime tests. Startup tests are supposed to be executed only once at the very beginning of application startup process. Moreover, K314 is not supported in SAF Demo Example, so if you have reused some linker file it will most likely not follow memory map for K314 device and need to be updated. SAF is not easy to integrate and requires really to study very well sCheck manual and understand SW safety concept. Kind Regards, Radoslav Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi Radoslav, The customer feedback: However, we are currently encountering issues related to ECC checking. As you may have noticed, similar ECC check problems also appear in the NXP example. Integrating the SAF package is quite challenging, and therefore we would appreciate support from NXP specialists in this matter. Could you please advise on the specific linker-related points or requirements that we need to follow and verify in order to properly integrate ECC checking? Thank you in advance for your assistance. Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi Marcus, all information should be clear from sCheck UM, at least I usually don't have these kind of questions, so SAF team assumed sCheck UM is clear in this matter. Could you ask customer what exactly is not clear from sCheck UM so we can improve? Thanks, Radoslav Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi Radoslav, The customer moved *(.ramcode_no_cacheable) from int_sram_no_cacheable to int_sram and it worked correctly.  Feel free to comment if any. According to Table 55. MemMap sections present in the sCheck module, the following sections must be placed in specific flash regions: s32_saf_const_flash_0 → Code Flash Memory 0 s32_saf_const_flash_1 → Code Flash Memory 1 s32_saf_const_flash_2 → Code Flash Memory 2 s32_saf_const_flash_3 → Code Flash Memory 3 However, in my system I am using A/B Swap, so at any given time only Flash 0 and Flash 1 are active/used by the application. Placing s32_saf_const_flash_2 and s32_saf_const_flash_3 in the remaining flash blocks may interfere with the unused flash regions (e.g., reserved for the other bank or OTA updates). My questions are: Is there a way to configure sCheck so that it only performs tests on Flash 0 and Flash 1? Or, is there a safe method to test all four flash blocks (Flash 0–3) without affecting the content of the inactive bank used by A/B Swap? Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi Radoslav, On top of the questions from the last post, Customer shared that after executing the sCheck_ExecuteStartupTests and sCheck_ExecuteRuntimeTests, the system consistently reports the same set of ECC-related errors: SCHECK_ERR_DCACHE_ECC_CM7_0 SCHECK_ERR_ICACHE_ECC_CM7_0 SCHECK_ERR_ITCM_M7_0_ECC SCHECK_ERR_DTCM_M7_0_ECC These errors occur repeatedly and consistently during every test execution. Could you please support us in investigating and identifying the root cause of this behavior? Regard, Marcus Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi @marcuslim  I think there is common root cause. The memory sections need to be placed correctly with cacheable/non-cacheable MPU attributes and that HFNMIENA bit mention in previous post can also cause trouble. Kind Regards, Radoslav Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi @marcuslim , that is probably some coincidence that moving  *(.ramcode_no_cacheable) from int_sram_no_cacheable to int_sram worked. I suspect here if customer has set HFNMIENA = 0, that could cause a trouble when exception is triggered.  Please could you check what is that value of MPU_CTRL.HFNMIENA If it is zero, following fix has been made for upcoming 1.0.6 release: [ASFT-19327] [sCheck] Arm M7 HFNMIA not supported - NXP JIRA sCheck Flash test can't be reduced just to Flash_0 and Flash_1, but there has been made change for upcoming 1.0.6 release where you don't need to put specififc flash memory sections into the linker file rather it will use configured flash addresses where the content of the address will be not modified, that could solve also the issue for the A/B swap customers. https://jira.sw.nxp.com/browse/ASFT-19738 Kind Regards, Radoslav Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi Radoslav, The customer has tried relocating *(.ramcode_no_cacheable) to int_sram_no_cacheable instead of int_sram , and has also set HFNMIENA = 0.  In addition, the MPU has been properly configured to allow code execution from the non-cacheable RAM region.  After further investigation, it is observed that within sCheck_Tcm_RunEccTest , the functions  sCheck_Tcm_MemTestEccCorrError and sCheck_Tcm_MemTestUncorrError are executed. Both of these functions call sCheck_ErrRead(pParams, &result). However, while sCheck_Tcm_MemTestEccCorrError completes successfully, sCheck_Tcm_MemTestUncorrError triggers a HardFault when calling sCheck_ErrRead(pParams, &result) (point 1 in the attached image), and the system subsequently gets stuck in a BusFault handler (point 2 in the attached image). Could you please help investigate this point? Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi @marcuslim , Sorry I was wrong, correct setting with SAF release you have shall be HFNMIENA = 1 to avoid changing MPU settings in the exception which could further cause some changes in cache flushed afterwards. That would explain why TCM correctable was passing but Uncorrectable not, as it is using exception to test proper reaction. Kind Regards, Radoslav Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi Radoslav, The customer feedback: >>>>>>>> After configuring HFNMIENA = 1, I observed that sCheck_ExecuteStartupTests() operates correctly. At this point, I no longer observe any ECC-related errors. I will perform additional stress testing to further verify this behavior. However, when sCheck_ExecuteRuntimeTests() is invoked and subsequently calls sCheck_Tcm_MemTestUncorrError(), the system triggers a UsageFault exception with the INVSTATE (Invalid State) flag set. Could you please advise whether there are any design differences or specific usage conditions between sCheck_ExecuteStartupTests() and sCheck_ExecuteRuntimeTests() that could lead to this behavior? Regards, Marcus Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hello @marcuslim , if FPU is enabled, that might indicate protentional issue we need to investigate further. Could you try to disable FPU and perform the test again? What is the result now? With FPU enabled could you within the exception track within Watch window these variables: sCheck_ErrRead_ExceptionContext.bAbortFlag sCheck_DetectedFaults[0] and paste the screenshot again? What is configured reaction for FCCU NCF_2 channel? Kind Regards, Radoslav Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi Radoslav, Please find here the information requested: Point 1: disable FPU - same error. Point 2: Enable FPU Point 3: FCCU NCF_2  reaction Regards, Marcus Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi Marcus, the latest screenshots show that it generates memory manage fault, not usage fault (as in original post). So, I think we need to clarify which is the exception we are facing. Please check/share MPU configuration. Can you check if the exception is cause by "LDRD R0,R1,[R1]\n" instruction from sCheck_Lib_ARMv7M.c or some other instruction? Kind Regards, Radoslav Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi Radoslav, Attached is customer's MPU configuration and linker file. He would like us to review them. Regards, Marcus Re: S32K3 SAF - sCheck_ExecuteStartupTests run to HardFault Execption Hi @marcuslim , I see they have reused MPU config from RTD example SystemInit(). Please be aware this is just stub from RTD which is not validated and might be not sufficient even for some RTD drivers let alone for SAF. Similarly for the linker file, I can see origins from RTD linker file with additional SAF and SCST memory sections. For the MPU config I strongly recommend to use RTD Platform plugin to configure MPU. In SAF Demo example we also have example MPU configuration for K344 (not for K314, but it's just about modifying correct memory size for TCM). But it's also just example code (stub) for SAF Demo setup, not validated deliverable. As per AI their MPU config should represent this setup: Region RBAR Address Size Type / Cache Policy Shareable Access Notes 0 0x00000000 Covers entire address space (RASR = 0x1004003F ) Strongly ordered, no cache Yes No Access Background region blocking everything 1 __INT_ITCM_START From linker Normal, no cache No RW/RW ITCM for CM7 2 __ROM_CODE_START From linker Normal, WB/WA (inner & outer) No RO/RO Main program flash 3 __ROM_DATA_START From linker Normal, WB/WA Yes RO/RO Data flash 4 0x1B000000 8 KB ( 0x160B0019 ) Normal, WB/WA Yes RO/RO UTEST area 5 __INT_DTCM_START From linker Normal, no cache No RW/RW DTCM for CM7 6 __INT_SRAM_START Size from linker ( __RAM_CACHEABLE_SIZE ) Normal, WB/WA No RW/RW Cacheable SRAM (subregions 6 and 7 disabled) 7 __RAM_NO_CACHEABLE_START From linker Normal, no cache Yes RW/RW Non‑cacheable RAM region 8 __RAM_SHAREABLE_START From linker Normal, no cache Yes RW/RW Shareable RAM 9 0x40000000 6 MB Strongly ordered, no cache Yes RW/RW AIPS0–2 peripheral space (subregions 6/7 disabled) 10 0x40600000 Disabled for S32K314 — — — AIPS3; active only on S32K39x 11 0x67000000 128 MB Strongly ordered Yes RW/RW QSPI RX 12 0x68000000 128 MB Normal, WB/WA No RW/RW QSPI AHB mapped region 13 0xE0000000 Default ARM PPB size Strongly ordered Yes RW/RW Private Peripheral Bus (SCB, NVIC, etc.) 14 __ROM_CODE_START + 0x400000 0 for S32K314 — — — Additional program flash (only valid for other derivatives) 15 0x44000000 0 for S32K314 — — — ACE region active only on S32K388 and this is MPU config from SAF Demo example for K344: Briefly comparing these two MPU configs + Linker files can see just: - wrong placement for these memory sections:  *(.s32_saf_const_flash_1) *(.s32_saf_const_flash_2) *(.s32_saf_const_flash_3) *(.s32_saf_const_flash_4) *(.s32_saf_const_flash_5) - Can't see Executable attribute for Non-Cacheable SRAM, but this is not required by sCheck, it's probably redundant attribute in SAF example MPU setup - considering customer is running OS, I'd expect some specific MPU setting and memory sections required by the OS and their application (it's just guess, not saying this can be root cause of some issues) Anyway, customer should follow SAF User manuals and RTD manuals, chapter "Memory Allocation" for proper MPU and linker file setup, reusing stubs from NXP examples is not a good practice.  And especially when OS running during sCheck tests also following sCheck chapter " Exclusive Areas to be defined in the BSW Scheduler" is requested. Similar Exclusive areas are in eMcem and RTD drivers. Kind Regards, Radoslav
View full article
配置I2C的问题 用MCUXpresso Config Tools 25.06根据示例生成RT1061的工程里,我并不是选的i2c的示例,但是因需要用到i2c,所以在 里做了配置,生成的代码里的引脚总是置0: 我对比了使用i2c的示例生成的工程里,这里应该是置1的,请问,是不是需要在MCUXpresso Config Tools的其他地方做配置,才能正确生成代码呢?请给个指示。谢谢 Re: 配置I2C的问题 Hi @ChenHua. Thank you for your question! This parameter corresponds to the Software Input On field. In the PinConfig tool, you need to configure the following locations if you want to enable: Best regards, Gavin
View full article
用于 RTD 的 S32K3xx NXP RTOS 7.0.0 队员们好 我看到SW32K3_S32M27x_RTD_R21-11_5.0.0_D2410 正式支持S32K3xx NXP RTOS 0.4.3 版本。 从那时起,更新的 RTD 版本(6.0.0 和 7.0.0)已经推出。 这些 RTD 版本与 NXP RTOS v0.4.3 兼容吗? 如果不是,我们什么时候可以期待与RTD 7.0.0正式兼容的新恩智浦实时操作系统版本? 谢谢! BR,丹尼尔 RTD 实时操作系统 Re: S32K3xx NXP RTOS for RTD 7.0.0 队员们好 客户希望明天之前得到答复。 您能对此发表评论吗? 谢谢 Re: S32K3xx NXP RTOS for RTD 7.0.0 嗨,丹尼尔 恩智浦实时操作系统和K3xx设备的最后一个版本是在2025年5月发布的,它与RTD 6.0.0 RTM一致(该版本已经发布并由模板团队进行了测试)。从理论上讲,下一个版本计划于2026年11月发布,但由于PL走廊,该版本很可能会被取消。 适用于K3xx设备的恩智浦实时操作系统是演示版,仅用于启用,因此优先级较低。如果有客户提出要求,必须与 PL 讨论。
View full article
i.MX 8M Mini LPD4-EVK の個々の電源レールの消費電力を測定する方法は? こんにちは、 i.MX 8M Mini LPD4-EVK を稼働させており、VDD_1V8 や NVCC_DRAM_1V1 などの特定の独立した電源レールで消費電力測定を実行したいと考えています。 対応する PMIC 出力 (BUCK8 および BUCK7) を回路図上で見つけましたが、これらのラインにはオンボードのシャント抵抗 (センス抵抗) がないことに気付きました。 これらのレールの電流 (または電力) を測定するための最良の方法についてアドバイスをいただけますか? よろしくお願いします! Re: How to measure power consumption for individual power rails on the i.MX 8M Mini LPD4-EVK? こんにちは、 i.MX8MM のCASE、i.MX 8M Plus 評価キットの電力測定を可能にする他のボードのように、各電源レールで電力測定を行うボードはありません。 これを測定する必要がある場合は、これらのシャット抵抗器を組み込んだ新しい SOM ボードのデザインを行うか、ボードを作り直してトレース内にシャント抵抗器を追加してみる必要があります。 上記のボードの回路図を参考にして抵抗器を追加し、測定を行うことができます。 i.MX 8M Plus 電力測定ボードデザインファイル よろしくお願いいたします。 Re: How to measure power consumption for individual power rails on the i.MX 8M Mini LPD4-EVK? わかりました、ありがとう
View full article
CodeWarrior 8.3 - 支持 DSP56F807PY80E,正确的 .cfg文件和闪存编程器/CCS 问题 留言: 你好 我正在使用 CodeWarrior 8.3(56800E 架构),我需要使用 USB TAP 对 DSP56F807PY80E 进行编程。我有几个问题,希望得到官方的澄清。 创建新目标时,CPU 列表中未显示 DSP56F807。我只看到 DSP5685x 和 M56F8002。我想知道在 CodeWarrior 8.3 中是否有任何支持 DSP56F807 的代码包、更新或附加组件,或者它是否包含在较旧的代码包中。 闪存程序员需要此设备的配置文件,通常称为 56807_flash.cfg。恩智浦是否提供该处理器的官方 cfg 文件?如果是,在哪里可以下载?如果不是,请确认有效配置所需的 HFM 内存范围和参数是否正确? 关于 CCS,我按照 AN4338 中的程序(更换 ccs 文件夹并使用 libusb-win32 驱动程序)让 USB TAP 正常工作。这仍然是 CodeWarrior 8.3 的正确方法吗?Windows 7 或 Windows 10 有更新的 CCS 版本吗?libusb-win32 仍然是受支持的驱动程序吗? 有时 CodeWarrior 会成功擦除闪存,但无法完成编程。将 56800E 闪存编程器与 DSP56F807 一起使用时,是否存在已知的限制?是否有推荐的 JTAG 时钟设置或超时? 最后,CodeWarrior 8.x 中使用 DSP56F807 的最新文档是什么? 谢谢! Re: CodeWarrior 8.3 – Support for DSP56F807PY80E, correct .cfg file, and Flash Programmer/CCS issues 你好@Raffaele_AQS、 谢谢您的帖子。 创建新目标时,CPU 列表中未显示 DSP56F807。我只看到 DSP5685x 和 M56F8002。我想知道在 CodeWarrior 8.3 中是否有任何支持 DSP56F807 的代码包、更新或附加组件,或者它是否包含在较旧的代码包中。 ->> 我认为不需要任何更新,CW8.3下载后即原生支持 DSP56F807。就我而言,通过选择 “文件-> 新建”,然后选择除第一个选项 " DSP56800E Quick Start r2.5 Stateries " 之外的任何项目模板,你可以在可用设备选项中找到列出的 DSP56F807。 闪存程序员需要此设备的配置文件,通常称为 56807_flash.cfg。恩智浦是否提供该处理器的官方 cfg 文件?如果是,在哪里可以下载?如果不是,请确认有效配置所需的 HFM 内存范围和参数是否正确? ->> 我可以在这里找到它,附在后面。 关于 CCS,我按照 AN4338 中的程序(更换 ccs 文件夹并使用 libusb-win32 驱动程序)让 USB TAP 正常工作。这仍然是 CodeWarrior 8.3 的正确方法吗?Windows 7 或 Windows 10 有更新的 CCS 版本吗?libusb-win32 仍然是受支持的驱动程序吗? -> > 要在 win7/10 电脑中使用 CW 8.3,请参阅 Windows 7/10:在 DSC 版 CodeWarrior 上使用 USB TAP。 只需将适用于微控制器的 Eclipse IDE | 恩智浦半导体安装到计算机上,将 ccs 文件夹从 CodeWarrior v11 安装文件夹复制到 CodeWarrior v8.3 安装文件夹,替换原来的 ccs 文件夹。 有时 CodeWarrior 会成功擦除闪存,但无法完成编程。将 56800E 闪存编程器与 DSP56F807 一起使用时,是否存在已知的限制?是否有推荐的 JTAG 时钟设置或超时? ->> 闪存编程名为"56800E Flash programmer" ,但从工具名称可以看出,它只支持以 DSP56800E 为内核的 DSC 处理器,例如 MC56F83xx,DSP56F807 使用的是 DSP56800 内核,而不是 DSP56800E,因此我认为不能使用"56800E Flash programmer" 工具对 DSP56F807 进行编程。 您可以考虑使用 flash-over-jtag.exe 工具,它支持 S_record 文件下载。但是,这些工具必须在DOS操作系统和并行命令变流器设备(Wiggler)中运行,它不支持usbtap设备。 你可以使用 USBTAP 设备下载代码,只能使用 CodeWarrior 来下载适用于 DSP56800E ver8.3 工具的代码,但它不支持 S_Record 文件下载。 Flash-over-jtag 工具可在此处找到: [CodeWarrior Installation Directory]\ProcessorExpert\Tools\applications\flash_over_jtag 最后,CodeWarrior 8.x 中使用 DSP56F807 的最新文档是什么? -> > DSP56F807 是传统设备,不建议用于新设计。我们没有为其提供最新的文档,但我会尽我所能寻找任何可用的资源。 制作 Flash 程序 使用适用于 DSC 的 CodeWarrior 8.3 版对飞思卡尔 DSC 进行生产闪存编程 您还可以尝试使用串行引导加载程序更新固件。 56F8xx 串行引导加载程序 希望对你有所帮助。 如果您有更多问题,请告诉我。 祝你愉快 BR 西莱斯特 ---------------------------------------------------------------------------------------------------------------------- 注:如果本帖回答了您的问题,请点击"ACCEPT AS SOLUTION" 按钮。Thank you! ----------------------------------------------------------------------------------------------------------------------
View full article
freemasterのcanfd設定 CAN通信プラグインを設定する場合、接続文字を生成できません。代替となるCAN通信プラグインの新バージョンはありますか? Re: The canfd configuration of freemaster こんにちは、 表示されているエラーは、FreeMASTER のインストールが間違っていることを示しています。最新バージョン ( 3.2.6 ) を管理者として再インストールしてください。すでに最新バージョンがインストールされている場合は、「register.bat」を実行してプラグインの登録を修正CAN。管理者として。register.bat は通常、インストール フォルダー c:\NXP\FreeMASTER 3.2\FreeMASTER にあります。 バージョン 3.2.6 では、CAN 通信プラグインが更新され、一部のホスト インターフェース (IXXAT、Kvaser、ZLG) の CAN-FD モードもサポートされます。 よろしくお願いいたします。 ミハル Re: The canfd configuration of freemaster 上記で提案した実験を試してみてください: 「管理者として」"cmd" コマンドライン プロンプトを起動し、"c:\NXP\FreeMASTER 3.2\FreeMASTER" に 'cd' して、register.bat を実行します。 コンソール出力のスクリーンショットを送信します。 私のものと似ているはずです: ありがとう、 ミハル Re: The canfd configuration of freemaster しかし、管理者として実行しているにもかかわらず、フリーマスターを開くことができません Re: The canfd configuration of freemaster error=5 は通常、「アクセスが拒否されました」を意味します。何らかの理由でシステムがプラグインの登録を許可していません。インストーラーを「管理者として」実行していますか? 実験として、コマンド ライン プロンプトを「管理者として」起動し、「c:\NXP\FreeMASTER 3.2\FreeMASTER」に 'cd' して、register.bat を実行してください。 コンソール出力のスクリーンショットを送信します。 ありがとう、 ミハル Re: The canfd configuration of freemaster はい、あなたと同じです   Re: The canfd configuration of freemaster 同じではありません。出力内のエラー メッセージに注意してください。 同じコンソールでこのコマンドを実行してください: regsvr32 mcbobjps.dll 成功メッセージウィンドウが表示されます。(ただし、おそらくエラー メッセージが表示されるでしょう): 出力されたスクリーンショットを共有してください (PrintScreen キーを使用してスクリーンショットをクリップボードに取得し、Ctrl+V でメッセージを送信CAN)。 よろしくお願いいたします。 ミハル Re: The canfd configuration of freemaster 最新バージョン (3.2.6) をダウンロードしたところ、インストールが失敗したと表示されました。しかし、以前のバージョンを再度インストールするとインストールは成功しました。そこで、新しいバージョンのプラグインを残して古いバージョンに入れたところ、当初の問題が発生しました   Re: The canfd configuration of freemaster こんにちは、 3.2.6 のインストール問題を解決してみましょう。この投稿では、新しいバージョンを再インストールするときに発生する典型的な問題について説明します。 まず古いバージョンをアンインストールし、次にC:\Program Files (x86)\Zero G Registry\.com.zerog.registry.xmlをクリーン/削除してみてください。その投稿で議論されたファイルですか? この後、管理者として 3.2.6 をインストールしてみます。 ありがとう、 ミハル Re: The canfd configuration of freemaster 次に何をすべきか   Re: The canfd configuration of freemaster こんにちは、 エラー コード0x80070005はアクセスが拒否されたことを意味します。cmd を実行するときに「管理者として実行」を使用していないと思われます。 Windows エクスプローラーでregister.batファイルを見つけて、「管理者として」実行します。 よろしくお願いいたします。 ミハル Re: The canfd configuration of freemaster 他に何か理由があるのでしょうか?インストール中に問題が発生しました。当時はまだこのファイルを実行する必要はなかった
View full article
imx93 で NXP_PROD_KA_PUB をエクスポートできません こんにちは、 ここでのフォーラムの質問に対して得た回答によれば、これが私たちが探していたもののようです。ただし、ID 0x70000000 の NXP_PROD_KA_PUB キーをエクスポートできません。 nvm_daemon を使用して Linux ユーザー空間から試してみましたが、正常に起動しましたが、ELE メッセージを送信するときにエクスポートしようとすると失敗しました。 U-Boot と spdsk からも試しましたが、問題は依然として解決しません。 user@vbox:/data/gitclone/src_spsdk/spsdk$ uv run spsdk nxpele -f mimx9352 -p /dev/ttyACM0 -d uboot_serial export-nxp-prod-ka-puk -o file ステップ 1/4: SAB を初期化しています... SAB初期化成功 ステップ 2/4: セッションを開始します... セッションが正常に開始されました。ハンドル: 0xE59B04F0 ステップ 3/4: キーストアを開いています... キーストアが正常に開かれました。ハンドル: 0xE59B0970 ステップ 4/4: 公開キーをエクスポートしています... NXP プロダクション キー アグリーメント公開キーのエクスポート中にエラーが発生しました: SPSDK: ELE メッセージが失敗しました。 コマンド: PUBLIC_KEY_EXPORT_REQ - (0x32) コマンドワード: 7 コマンドデータ: False 応答語: 4 応答データ: True 応答ステータス: 失敗 応答表示: ResponseIndication:Unknown_0x1b - (0x1b) 応答中止コード: 0x0 公開鍵エクスポートコマンド: - キーストアハンドル: 0xE59B0970 - キーID: 0x70000000 - 出力バッファサイズ: 64バイト - キーストアから非対称キーの公開キーをエクスポートする - 公開鍵が再計算されます(Twisted Edwards/Montgomeryを除く) - 有効なキーストアサービスを開いた後に呼び出す必要があります キーストアハンドル: 0xE59B0970 キーID: 0x70000000 出力公開鍵のサイズ: 0 バイト 公開鍵データが受信されませんでした クリーンアップ中: キーストアを閉じています... クリーンアップ: セッションを終了しています... NXP Production Key Agreement 公開鍵のエクスポートに失敗しました また、get-info からはすべて正しいようです。SRKH は融合されており、私の知る限り、デバイスをエクスポートするために OEM クローズする必要はありません。以下は get-info の内容です: user@vbox:/data/gitclone/src_spsdk/spsdk$ uv run spsdk nxpele -f mimx9352 -p /dev/ttyACM0 -d uboot_serial get-info ELE 情報取得が正常に終了しました: コマンド: 0xda バージョン: 2 長さ: 160 SoC ID: MX93 - 0x9300 SoCバージョン: A100 ライフサイクル: OEM_OPEN - 0x0010 SSSM状態: 4 証明 API バージョン: 2 UUID: 86ee42794bb64887bddcb53e5666e040 SHA256 ROMパッチ: e9b0338e5f4a0a92025f764c5eeae2d26be1211c77ee51e49a9ee36a7185d587 SHA256 ファームウェア: 7d0dd0b6d993e4df39eb69cee18b4f7eb6ac1622aaf7d144c25c00cc4908ca60 詳細情報: OEM SRKH: 2a6b7811117a8f2d16e1b506b587f6f44e2e444111f8ec7df047eec5200e6fd9 IMEMの状態: IMEMが完全にロードされており、すべてのELE機能が使用可能 - 0xCA CSAL状態: EdgeLockセキュア・エンクレーブ ランダムコンテキスト初期化成功 - 0x02 TRNG状態: TRNGエントロピーは有効であり、読み取り準備ができています - 0x03 ご返信ありがとうございます。
View full article
UTEST(DCF)からHSEライフサイクル情報を取得する方法 現在は EOL 段階にあり、S/W 以外でメモリを読み取る方法はありません。 現在、S32K3 シリーズ MCU に取り組んでおり、HSE ライフサイクル (LC) 情報がどのように保存されるかを理解するために UTEST メモリ領域を調査しています。 以下の文書を確認しました。 RM758223-HSE-B ファームウェアリファレンスマニュアル v2.3 S32K312_HSE_サービス_API_リファレンス_マニュアル.pdf AN13388_S32K3 メモリーズガイド S32K3xx_DCF_クライアント.xlsx ただし、公開ドキュメントには次の内容が記載されていません。 1. UTEST のどの DCF フィールドが HSE ライフサイクル (LC) の状態を表しますか。 2. 生の UTEST 値 (例: 0x1b0000040) が標準の HSE ライフサイクル コード (例: 0x04 CUST_DEL、0x08 OEM_PROD、0x10 IN_FIELD) にどのようにマッピングされるか。 3. HSE Get Attribute サービスを使用せずに UTEST から LC を直接読み取る公式の方法があるかどうか。 UTEST/DCF に保存されている LC 情報を正式に解釈する方法を明確にしていただけますか? 再開まで今しばらくお待ちください。   Re: How to obtain HSE Lifecycle information from UTEST (DCF) ここに注意してください: https://community.nxp.com/t5/S32K/S32K312-read-lifecycle-from-UTEST/mp/1982203 また、あなたの質問に対して私は次のことを付け加えたいと思います。 1、2) 明らかに公開文書化されていないようですが、DCM レジスタを確認すると、DCMLCC で現在の LC をチェックでき、DCMLCS はセクション 37.2.6 LC で説明されている LC スロットからの値を反映します。 レジスタ: 37.3.3LCおよびLC制御(DCMLCC)、37.3.4LCスキャンステータス(DCMLCS) 3) 上記のThreadで回答しました。
View full article
T1024 的 PCIe 架构兼容性 大家好, 我们在一个原型中使用 T1024,我们正在尝试将该板与实现 SRNS 架构的 PCIe 交换机集成。 因此,我们的问题是: T1024 与该架构兼容吗? 来自德国的问候 David CONDOR Re: PCIe arquitecture compatibility for T1024 是 T1024 支持 SRNS 时钟架构。
View full article
关于 IMX6ULL 的 LVDDR3 速度问题 我们使用的是 MCIMX6Y2CVM05AB + LvDDR3 (MT41K256M16TW-107)。在压力测试期间,当 DDR3 速度达到 432MHz 时发生以下错误: DDR Freg: 432 MHZ t0.1: data is addr test Address of failure(step2):0x80000004 Data was: 0x80000000 But pattern should match address Error: failed to run stress test!!! 问题如何修正此错误以获得更高的速度,特别是 500MHz 以上的速度? Re: Regarding the speed issue of LVDDR3 for IMX6ULL 可以看到,i.MX6ULL 支持的最大 DDR 时钟为 400MHZ。 试试看 400 兆赫(800 Mbps)或 396 兆赫(792 Mbps) 这些是采用 LPDDR3 的 i.MX6ULL 的常用稳定频率。 您选择的是超频
View full article
写入 2180..2380 时出错。信息:该地址的 Ni 内存。 您好, 我不知道这里是否是论坛的正确位置。 我正试图上传新的 firmwire,但消息不断弹出:写入 2180..2380 时出错。信息:该地址的 Ni 内存。 有谁知道可能出了什么问题? 致以最诚挚的问候 通信& 控制(I3C | I2C | SPI | FlexCAN | 以太网 | FlexIO) MCXC MCX N Re: Error while writing to 2180..2380. Information: Ni memory at this address. 您好, 您使用的是哪个版本的 Windows?对于 Windows 7 及更高版本,建议使用 CodeWarrior v11.1。 您要编程的 MCU 部件号是多少?另外,该项目最初是为哪个 MCU 创建的? 根据设备拥有的内存量,某些内存部分可能会被保留或未实现。我建议检查设备的内存映射以进行确认。 顺祝商祺! 巴勃罗
View full article
S32K358 LockStep Core1 Hi. I am using a S32K3X8EVB-Q289 devkit board and have a question regarding lockstep (which is enabled): Lockstep core0's PRTN0_CORE0_STAT register shows that its clock is active. Lockstep core1's PRTN0_CORE1_STAT register shows that its clock is inactive. Just wondering if the lockstep's 2nd core needs to be explicitly configured to run i.e. enable its clock? Or, the fact that lockstep is enabled,  the contents of locktstep core1's PRTN0_CORE1_STAT register is not valid? Thanks in advance. Re: S32K358 LockStep Core1 Hi Bryan. Thanks for the response and clarifying my doubt. As a suggestion, it would be nice to state this in the PRTN section of the S32K3XX RM. Re: S32K358 LockStep Core1 Hello, When configured for lockstep, the cores will be configured to run in lockstep before being released from reset. Hence the Core1 registers have no effect. Best, Bryan
View full article
构建错误“对‘__data_end__’未定义引用,start、etext、StackTop 请帮忙! 朋友们, 在MCUXpresso IDE v11.10.0 [Build 3148] [2024-07-03] 中,我遇到的两种主要构建错误很奇怪: 1) 我*认为*在我尝试使用 Segger 调试器进行半托管时出现了几个“时钟的多重定义”错误。 2)几个“对‘__data_end__’的未定义引用”等等,非常神秘和可怕。 我附上了这些错误的图片,如果您知道到底发生了什么,我将不胜感激。我真的很困惑。 谢谢,~~罗伯特 回复:构建错误“对‘__data_end__’未定义引用,start、etext、StackTop 请帮忙! 无需导入基于 CMSIS 的组件来支持电路板/设备/核心。这些已经由基于 NXP 的 SDK 示例中的 IDE 带来。在项目资源管理器中选择项目后,您会注意到工具栏中的“管理 SDK 组件”按钮处于活动状态。单击它,您将能够查看/删除/更新 SDK 组件。 此致, 阿德里安 回复:构建错误“对‘__data_end__’未定义引用,start、etext、StackTop 请帮忙! 阿德里安,我相信你是对的。我不知道如何摆脱系统中不协调的方面,实际上也不知道要删除哪个部分,所以我将重新开始并尝试让一切保持简约并从 SDK 开始 - 让项目告诉我我缺少一些东西并让它提供所需的东西。我的指令是获取 CMSIS 驱动程序,但也许我可以得到一个可运行的系统并一次更换一个驱动程序,如果 CMSIS 替换导致我的系统崩溃则恢复。希望这能起作用?祝我好运。 感谢您的回复,祝您有美好的一天,~~罗伯特 回复:构建错误“对‘__data_end__’未定义引用,start、etext、StackTop 请帮忙! 我怀疑您的项目中有多个启动/系统配置文件。鉴于您没有提供用于创建项目的步骤,我怀疑您将 NXP SDK 的设备级支持组件(通过已安装的 SDK 视图安装)与特定于同一设备的 CMSIS-Packs 组件混合在一起。请注意,您有两个不同的组件来源,因此您必须确保项目中不会出现重复的组件。 此致, 阿德里安
View full article
MCX-Nx4x EEPROM 型存储器 寻找与 LPC546xx 部件上的 EEPROM 存储块类似的东西。 MCX 部件似乎有一个闪存 ROMAPI,但它的文档非常少,而且缺乏清晰的示例。CFPA 与 CMPA?递增字段?有很多预先指定的地点?区块大小限制不明确?工厂还是内场还是密钥库? 再加上它是在 ROM 中,所以根本无法按照代码进行操作。这让我想起了 LPC546xx USB 功能,由于文档不完善,这些功能同样难以理解。 哦,我读过 AN14259,有一点帮助,但还不够。 我想要的只是一个持久但不是 OTP 内存区域,我可以在其中存储特定应用的常量。我可能遗漏了什么,请为我指点迷津。 感谢您的帮助! 启动 ROM | 启动配置 | 闪存 核心与内存 Re: MCX-Nx4x EEPROM type memory 你好,帕布罗、 感谢你们一直以来的支持。 我想我终于找到了解决这个问题的办法,现在我可以把数据放到 CMPA 页面的空闲区域了。这一切都取决于对MBC的理解,不幸的是,参考手册对它的使用方式并不十分清楚。但是,《网络安全参考手册》第 21 章更有帮助,一旦我配置了 MBC,ROM 闪存 API 就开始按我的预期工作了。 我真的认为,如果在这方面有一些更好的例子,就会节省我很多时间。闪光灯隐藏可能是最接近所需的方法,但如果没有很好地解释它的实际作用,就太不清楚了。 祝您一切顺利,再次感谢您的帮助、 安迪 Re: MCX-Nx4x EEPROM type memory 你好,我是@andyjackson、 要编程和读取 CMPA 区域,可以使用 FLASH API。通常,用于写入 CMPA 数据的函数是 ffr_cust_factory_page_write。您可以在参考手册的第 13.2.2.10 节中找到有关此函数的更多信息。 此外,以下社区帖子可能有助于了解如何使用 FLASH API 更新 CMPA 闪存区域。 MCXN5 CMPA 写入失败 - 恩智浦社区 最美好的祝愿, Pablo Re: MCX-Nx4x EEPROM type memory 你好,帕布罗、 感谢您上次的回复。我一直在进一步研究这个问题,根据CMPA参考手册中的MCXNx4x_IFR.xlsx 电子表格,CMPA 的 0x01004200 到 0x01005FFF 是客户定义的,看起来很完美。但是,我还没有找到进入这一区域的方法。 ffr_getCustomerData () 最多可以让我读取 CMPA 8Kbyte 页面的 0x1FF 字节,而标准闪存功能 flash_read/program/Erase 等似乎只能在主程序闪存中使用。如何访问 CMPA 页面的其他内容? 我已经看过这样的例子,其中CMPA页面的前512字节可以更新,但不能访问页面的其余部分。有什么想法吗? 致以最美好的祝愿、 安迪 Re: MCX-Nx4x EEPROM type memory 你好@andyjackson 我知道参考手册可能会让人不知所措。 Re: 使用 MCX N ROM API 进行内部闪存擦除/编程 - NXP Community 此外,mcxromapi_flash_hiding_cm33_core0 示例可能会有所帮助,因为它展示了 MBC 如何对内部闪存的每个块提供读、写和执行访问控制。 敬上, Pablo Re: MCX-Nx4x EEPROM type memory 你好,帕布罗、 谢谢您的答复。我希望能够在运行时读取和保存持久的应用程序数据,因此无法选择安全配置工具。 主闪存库可能会在固件更新时重新刷新,因此使用主闪存库似乎也不是办法。 此外,更新后重启同样也是不可能的,因为这会中断执行,因此这似乎排除了 CFPA 的可能性,只剩下 CMPA。 在 AN14259 中,几乎 CFPA 和 CMPA 中的所有位置都有预定义用途,因此我不确定可以安全地写入哪些位置。 我尝试使用 FFR_GetCustKeystoreData/FFR_CustKeystoreWrite 和 FFR_GetCustomerData/FFR_CustFactoryPageWrite,虽然读取似乎正常,但写入似乎总是产生硬故障。此外,我还在猜测如何正确使用它们,因为我不知道它们的代码示例。 我不禁觉得自己漏掉了什么,因为对于大多数微控制器应用来说,类似 EEPROM 的小块用户区域似乎是必不可少的。不幸的是,有了将近4000页的参考手册,很难消化所有信息。 致以最美好的祝愿、 安迪 Re: MCX-Nx4x EEPROM type memory 你好,我是@andyjackson、 MCXN 具有保护闪存区域 (PFR),其中包括两个可编程页面:CFPA(客户现场可编程区域)和 CMPA(客户制造/工厂可编程区域)。这两个区域都可以多次写入。 正如你所提到的,应用笔记 AN14259 提供了如何使用 ROM API 修改 CFPA 位域的示例。 您也可以使用 MCUXpresso安全配置工具来实现此目的。该工具的《用户指南》包括第 5.2.8 节:OTP/PFR/IFR/BCA/FCF 配置,说明如何使用图形用户界面修改 CFPA 位字段。图形用户界面还提供了每个字段的详细说明。 此外,应用笔记 AN14178 可能会有所帮助,因为它演示了如何使用闪存命令控制器而不是 ROM API 来执行闪存读写操作。 此外,MCXN947 SDK 中还有一个名为 mcxromapi_flash_hiding_cm33_core0 的示例,你可能会感兴趣,这个示例演示了闪存隐藏程序。 顺祝商祺! 巴勃罗 Re: MCX-Nx4x EEPROM type memory 你好 不幸的是我无法提供代码版本,但关键部分是: 1。阅读并理解《网络安全参考手册》中关于 MBC 功能的第 21 章 2.在初始化代码(在 CPU0 上运行)中需要这样的内容: //要让 RW 访问 CMPA 页面,需要配置 MBC//参见 MCX Nx4x 网络安全参考手册第 21 章 TRDC-> MBC_INDEX [0] .MBC_MEMN_GLBAC [5] = 0x7700; TRDC-> MBC_INDEX [0] .MBC_DOM0_MEM1_BLK_CFG_W [0] |= 0x500; 之后,FLASH_xxxxxx 功能应能以 RW 方式访问 CMP 块。有关这些功能的使用,请参见恩智浦示例。 希望对你有所帮助、 安迪 Re: MCX-Nx4x EEPROM type memory @andyjackson能否提供代码示例或更多细节,说明您是如何做到这一点的?我也在尝试将数据存储到 CFPA 的客户定义区域,但至今没有任何进展。 Re: MCX-Nx4x EEPROM type memory 谢谢你,安迪、 在再次查看了你的评论和参考手册之后,我仍然遇到CFPA的问题,但是,我现在有一个与CMPA合作的小例子,这将是一个很好的起点。我附上了一个小的示例片段,以备将来有人偶然发现时能有所帮助。 感谢您的帮助 Re: MCX-Nx4x EEPROM type memory 您好, 一个很好的小例子!我要补充的唯一一点是,如果你想在区块的前512字节中保留恩智浦定义的数据,我认为你需要在擦除之前复制它,然后重写。 作为恩智浦的最后评论——这确实应该是SDK的示例之一,因为我怀疑很多人想要一种存储动态特定应用数据的机制。遗憾的是,没有专用的用户闪存区,没有恩智浦定义的数据要求。 安迪
View full article
求新产品SPC5675KFK0MMS2R与替代原产品SPC5675KFF0VMS2R的参数区别 老产品SPC5675KFF0VMS2R已经停产,官网提供的信替代型号SPC5675KFK0MMS2R与原产品的具体区别,还求提供说明,谢谢 Re: 求新产品SPC5675KFK0MMS2R与替代原产品SPC5675KFF0VMS2R的参数区别 你好 旧版 SPC5675KFF0VMS2R 已停产。我希望能详细解释一下替换型号 SPC5675KFK0MMS2R 与原始型号之间的区别,如官方网站所提供的那样。谢谢。 我想知道新的 SPC5675KFK0MMS2R 和原来的 SPC5675KFF0VMS2R 在参数上有什么不同。 区别如下: K0 与 F0-出厂时不同但设备切割效果相同(修订版) M vs V - 不同温度范围 您可以在第 9 版数据表中找到这些信息。 顺祝商祺! Peter
View full article
S32K344T172 时钟在示例 MBDT 项目中不工作 在学习使用带有 Simulink MBDT 的 S32K344 评估板时,我偶然发现了有关带有时钟输出的项目的问题(“s32k344_clockout_s32ct”,“s32k3xx_i2c_async_23st”,“s32k344_spi_async_interr_master_ebt”等......)。主要问题是任何引脚上都没有时钟输出,并且由于缺少时钟输出,SPI 的 MOSI 和 CP 引脚以及 I2C 的 SDA 上也没有数据信号。从硬件角度来看,评估板运行良好,因为当 SPI、I2C 和 NXP_S32 SDK 的时钟输出的示例代码上传到电路板时,时钟似乎可以工作。 为了使 MBDT 的示例项目能够在 S32K344EVB-T172 上运行,是否可能遗漏了任何其他设置和配置? 回复:S32K344T172 时钟在示例 MBDT 项目中不工作 你好@dragostoma , 谢谢您的帮助和澄清。我已将您的第一个回复标记为该问题的解决方案。我仍然对 Pin MSCR 值有疑问,因为我无法根据 S32K344 引脚排列电子表格设置适当的值,但我会将这个问题留给另一篇文章。 干杯!
View full article
支持 Arduino 的 Portenta X8 硬件 我参与了一个研究项目,该项目决定创建利用 Arduino 的 Portenta X8 模块的定制硬件,该模块基于 NXP 的 MIMX8MM6CVTKZAA SoC。 https://docs.arduino.cc/hardware/portenta-x8/ 由于项目要求,我无法使用 Arduino 的固件(我也不想使用)。到目前为止,我已经能够开始使用 NXP 的引脚配置工具创建 mex 配置文件,但这就是我开始对如何继续感到困惑的地方。 问题 1:对于 NXP 处理器,我可以通过 JTAG 进行哪些闪存选择?MCU-Link 调试探针可以与该 SoC 配合使用吗? 问题 2:由于这不是 EVK 开发板,我很难找到创建极简 Linux 构建(yocto)的支持。对此有什么支持?如何创建一个兼容在 portenta X8 上运行的全新基于 Linux 的项目? 回复:对 Arduino 的 Portenta X8 硬件的支持 有没有办法将图像刷入 MIMX8MM6CVTKZAA 上的内部存储器?请原谅我。我习惯于通过 SWD 使用微控制器。 回复:对 Arduino 的 Portenta X8 硬件的支持 我知道我必须生成自己的解决方案来从 X8 刷新 X8 的 ST MCU,但我现在不想问这个问题。我的问题是: NXP 提供什么调试或编程硬件,使我能够在没有 EVK 板的情况下将图像闪存到此 NXP 处理器?例如,NXP 的 MCU-Link 调试探针是否可以用于刷新 NXP 设备?
View full article
S32K312 の SPI および SD カードの読み取りと書き込み用のドライバーはありますか? S32K312mcuを使ってSPI経由でSDカードの読み書きを行うプロジェクトに取り組んでいますが、いつも困惑しています。STM32のcubemxではSPIを設定すると自動的にSPIピンの初期化と有効化が行われるのに対し、S32DSでは再度設定が必要なのです。STM32のドライバコードを使って移植しようとしたのですが、いつも失敗してしまいます。そこで、S32K312またはS32K3シリーズ用のSPIおよびSDカードドライバをお持ちの方がいらっしゃいましたら、ぜひ教えてください。
View full article
Interrupt Callback for DMA in MPC(Multiple Parallel Conversion) not getting generated (DMA trig). Hello, (For S32K39-37 (S32K396)) The below mentioned signals are connected to the respective ADCs as per the below table:  Signals ADC CL attributes FIFO SIN_P ADC3_P2 List Start FIFO 1 COS_P ADC5_P0   SIN_Inv_P ADC3_P1   COS_Inv_P ADC5_P1 Last channel Here, BCTU shall be triggered and data from the above ADCs shall be stored in FIFO1 which shall be further be accessed through DMA. Currently through debugging it can be observed that BCTU is getting triggered, FIFO is getting updated, source and destination for DMA are as expected, interrupt is also enabled but interrupt callback mentioned in DMA is not getting trigger. Please check the below doc.("Configurations.docx") for all the respective configurations. Re: Interrupt Callback for DMA in MPC(Multiple Parallel Conversion) not getting generated (DMA trig) SOLVED. Had missed updating "Dma Mux Source" Re: Interrupt Callback for DMA in MPC(Multiple Parallel Conversion) not getting generated (DMA trig) Hello @AkhileshBelore, Did you enable the DMA interrupt in the Interrupt driver?
View full article
chromium could not play video on network on imx93evk Hi experts:   I found that the chromium could not play video on network on platfrom imx93evk, yocto: LF 6.1.55.  No log print out,  just show "network could not connect" on wed.  Does any knows why ?    Thanks  Best Regards Linux Multimedia Yocto Project Re: chromium could not play video on network on imx93evk HI Bio_TICFS: Thanks . I't's not the problem of ethernet, but the problem of no hardware decoder in imx93. I have fixed the problem,  it need to add config to chromium to build h264 software decoder. Best Regards Re: chromium could not play video on network on imx93evk Hello, Please send us the log file, is this your custom board or is EVK? I have the MX93EVK and everything works well on ethernet. Regards Re: chromium could not play video on network on imx93evk Hi Bio_TICFSL: I have upgraded  to LF.6.6.36, but the issue still remain.  Any suggestion ?  Re: chromium could not play video on network on imx93evk Hello, Try the latest BSP, chromium has some bugs in the version you are playing. Regards
View full article