Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
CW_PA_v10.5.1でQCVSパッケージをインストールしている際のエラー こんにちは、 PBL用のQorIQ設定プロジェクトを作成する必要があり、そのためQCVSパッケージをインストールする必要があります。 「QCVS Power Architecture Rev 4.5.zip for CodeWarrior オフラインインストールパッケージ」をダウンロードしました。しばらく前にサポートポータルから。最近、新しいノートPCに CodeWarrior 10.5.1 をインストールしました。 しかし、CodeWarriorにQCVSパッケージをインストールしたり追加したりすることができません。インストール中に、以下のエラーが発生しました。 この問題を解決するのを手伝ってください。 よろしくお願いいたします。 ヴィマルプラサード。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 PCでCodeWarriorソフトウェアをアンインストールしてください。 以下のリンクから「QCVS offline installation packages for CodeWarrior for Power Architectures Rev 4.5.zip」および「CodeWarrior Development Studio for Power Architecture v10.5.1 – Windows.exe」をダウンロードしてください https://support.nxp.com/s/case/500Te00000gyh6mIAA/community-error-while-installing-the-qcvs-package-in-cwpav1051?language=en_US まず、CodeWarrior for PA 10.5.1をインストールしてください。その後、新しいワークスペースでCodeWarrior IDEを開き、「CodeWarrior for Power Architectures Rev 4.5.zipのQCVSオフラインインストールパッケージ」をインストールします。CodeWarrior IDEのHelp->Install New Software->Add->Archiveから。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 こんにちは@yipingwangさん ご回答ありがとうございます。 新しいワークスペースで試してみましたが、それでもインストール中にこのエラーが発生します。 CW_PA_v10.5.1に対応した最新バージョンのQCVSツールはありますか? よろしくお願いいたします。 ヴィマルプラサード。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 まず新しいワークスペースでCodeWarrior IDEを開き、CodeWarrior IDEのHelp->Install New Software->Add->ArchiveからQCVS 4.5をインストールしてください。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 こんにちは@yipingwangさん まだ以下のエラーが表示されます。 さらに、 CodeWarrior for Power Architecture Rev 4.5.zip向けのQCVSオフラインインストールパッケージを追加しました。 これは、「processcheck」アクションで「path」パラメータが設定されていないことを示しています。 よろしくお願いいたします。 ヴィマルプラサド M Re: Error while installing the QCVS package in CW_PA_v10.5.1 こんにちは@yipingwangさん ご返信ありがとうございます。 Windows 11にCW 10.5.1とQCVS 4.5をインストールする方法はありますか? あるいは、Windows 11に対応した最新のQCVSバージョンはありますか? Re: Error while installing the QCVS package in CW_PA_v10.5.1 お使いのOSは何ですか?Windows 11? Re: Error while installing the QCVS package in CW_PA_v10.5.1 こんにちは@yipingwangさん はい、Windows 11を使用しています。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 私もWindows 11環境で同様の問題を再現できました。 Windows 10の仮想マシンにCW 10.5.1とQCVS 4.5をインストールすることをお勧めします。 Re: Error while installing the QCVS package in CW_PA_v10.5.1 Windows 11向けの新しいバージョンのQCVSソフトウェアはまだありません。 ご不便をおかけして申し訳ありません。
View full article
Error while installing the QCVS package in CW_PA_v10.5.1 Hi, I need to create a QorIQ Configuration Project for PBL and therefore need to install the QCVS package. I downloaded "QCVS Offline Installation Packages for CodeWarrior for Power Architectures Rev 4.5.zip" from the support portal some time ago. Recently, I installed CodeWarrior 10.5.1 on a new laptop. However, I am unable to install or add the QCVS package to CodeWarrior. During the installation, I encounter the following error: Please help me to resolve this issue. Regards, Vimalprasad. Re: Error while installing the QCVS package in CW_PA_v10.5.1 Please uninstall CodeWarrior software on your PC. Please download "QCVS offline installation packages for CodeWarrior for Power Architectures Rev 4.5.zip" and  “CodeWarrior Development Studio for Power Architecture v10.5.1 – Windows.exe” from the following link https://support.nxp.com/s/case/500Te00000gyh6mIAA/community-error-while-installing-the-qcvs-package-in-cwpav1051?language=en_US Please install CodeWarrior for PA 10.5.1 first. Then open CodeWarrior IDE in a new workspace and install "QCVS offline installation packages for CodeWarrior for Power Architectures Rev 4.5.zip" from Help->Install New Software->Add->Archive in CodeWarrior IDE. Re: Error while installing the QCVS package in CW_PA_v10.5.1 Hi @yipingwang , Thanks for your response, I have tried in the new workspace, but still I'm getting this error while installing. Is there any latest version of QCVS tool is there for CW_PA_v10.5.1? Regards, Vimalprasad. Re: Error while installing the QCVS package in CW_PA_v10.5.1 Please open CodeWarrior IDE in a new workspace first and install QCVS 4.5 from Help->Install New Software->Add->Archive in CodeWarrior IDE. Re: Error while installing the QCVS package in CW_PA_v10.5.1 Hi @yipingwang , I'm still getting this following error. while adding this QCVS offline installation packages for CodeWarrior for Power Architectures Rev 4.5.zip. It shows the "path" parameter was not set in the "processcheck" action. Regards, Vimalprasad M Re: Error while installing the QCVS package in CW_PA_v10.5.1 What OS are you using? Windows 11? Re: Error while installing the QCVS package in CW_PA_v10.5.1 Hi @yipingwang , Thanks for your reply,  Is there any way to install CW 10.5.1 and QCVS 4.5 on a Windows 11? Or, is there any updated QCVS version is there for Window 11? Re: Error while installing the QCVS package in CW_PA_v10.5.1 I also reproduced your problem on my Windows 11 OS environment. I suggest you install CW 10.5.1 and QCVS 4.5 on a Windows 10 VM. Re: Error while installing the QCVS package in CW_PA_v10.5.1 Hi @yipingwang ,       Yes, I'm using Windows 11. Re: Error while installing the QCVS package in CW_PA_v10.5.1 We don't have new version QCVS software for Windows 11 so far. Sorry for the inconvenience. 
View full article
MCSPTE1AK144 – Hall FOC stops above ~600 rpm and automatic deployment from Simulink not working Hello, I am working with the NXP MCSPTE1AK144 # and a Sunrise PMSM motor, using the Hall-sensor PMSM FOC example Software setup: MATLAB R2025b NXP Support Package for S32K1xx 2.2.0 NXP Model-Based Design Toolbox for S32K1xx 4.3.0 The model builds successfully and generates the .mot file. When I manually copy the .mot file to the EVB-S32K144 drive, the motor runs successfully. Using the host model, I am able to start and stop the motor and change the speed reference. I am currently facing two issues. Motor stops above approximately 600 rpm The motor operates correctly at low speeds. I have tested operation from around 10 rpm and also increased the speed gradually. When the speed is increased above approximately 600 rpm, the motor stops and D11 starts flashing red. How can I identify the exact fault responsible for this shutdown? Which fault variable or register should I monitor? Automatic deployment from Simulink The Simulink model builds successfully and generates the .mot file, but the firmware is not automatically flashed to the board. Manually copying the same .mot file to the EVB-S32K144 drive works correctly. What is the correct configuration for automatically deploying the generated code to the S32K144 through OpenSDA? I also found an older NXP recommendation for this example using MATLAB R2021a with NXP Support Package S32K1xx 2.3.0. Would you recommend using this configuration instead of R2025b with MBDT 4.3.0? Thank you.
View full article
i.MX8MP USB Host Lockup (-110) on Low Speed device Physical Unplug Target Setup: SoC: NXP i.MX8MP Port Configuration: 4x USB Ports total (2x USB 2.0, 2x USB 3.0) OS : yocto scarthgap 6.6.52 Topology: In our design the i.MX8MP SoC uses its internal USB2(USB1 lines are connected to otg in our design) controller in USB 3.0 mode to provide the upstream connection directly to an onboard Fresco Logic FL5500-2F0 hub. The hub then distributes this connection downstream to four physical ports: two ports are wired for full USB 3.0 operation, while the remaining two ports are wired only for USB 2.0 operation. i.MX8MP (SoC Controller "USB2" lines, operating in USB 3.0 mode) -> USB 3.0 Hub (Fresco Logic FL5500-2F0, exposing 2x USB 3.0 and 2x USB 2.0 ports)   Issue Description: We are tracking down a fatal xHCI command ring lockup on the i.MX8MP,the hardware fails to respond to data commands issued by xchi drver on replug. The crash conditions are highly specific, isolating to a single hardware 3.0 usb port and the other 3.0 and 2.0 ports dont show this issue. The lockup only occurs on one specific USB 3.0 port when a Low-Speed (LS) device is physically unplugged from a downstream High-Speed Hub, while there is at least one other Low speed device actively connected in the background in one of other 3 ports(if the background device low speed device is unplugged before trying re-plug on the problematic port the issue wont occur). Key behavioral isolations: Port Isolation: If we perform this exact same multi-device unplug test on the other USB 3.0 port, or on the USB 2.0 ports, it tears down cleanly. The crash is isolated to a single USB 3.0 port. Speed Isolation: The background device must be Low-Speed. It does not matter how many High-Speed devices (like USB storage drives) are connected in the background; if there is no other LS device present, the unplug handles cleanly. note: One thing that mitigated this issue was un-authorising the bad usb port using the below command before trying physical un-plug and re-plug back in, echo 0 > /sys/bus/usb/devices/1-1.1/authorized It also works if we unbind and bind the usb driver. Port Used  Background Device(s) on Hub Device Being Unplugged Disconnect Method Host Controller Result USB 3.0 (Good Port) Low-Speed Low-Speed Physical Yank Clean Teardown USB 2.0 Ports Low-Speed Low-Speed Physical Yank Clean Teardown USB 3.0 (Failing Port) High-Speed(s) only Low-Speed Physical Yank Clean Teardown USB 3.0 (Failing Port) None Low-Speed Physical Yank Clean Teardown USB 3.0 (Failing Port) Low-Speed Low-Speed Software (authorised=0) Clean Teardown USB 3.0 (Failing Port) Low-Speed Low-Speed Physical Yank Cmd Ring Timeout (-110), Host Dies logs, root@lec-imx8mp:~# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 002: ID 1d5c:5510 Fresco Logic Frescologic USB2.0 HUB Bus 001 Device 004: ID 413c:301a Dell Computer Corp. Dell MS116 Optical Mouse Bus 001 Device 005: ID 413c:2113 Dell Computer Corp. KB216 Wired Keyboard Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 002: ID 1d5c:5500 Fresco Logic Frescologic USB3.1Gen2 HUB root@lec-imx8mp:~# [ 39.686850] usb 1-1.2: USB disconnect, device number 5 [ 41.191295] usb 1-1.1: new low-speed USB device number 6 using xhci-hcd root@lec-imx8mp:~# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub [ 51.427313] xhci-hcd xhci-hcd.1.auto: xHCI host not responding to stop endpoint command [ 51.443403] xhci-hcd xhci-hcd.1.auto: xHCI host controller not responding, assume dead [ 51.451350] xhci-hcd xhci-hcd.1.auto: HC died; cleaning up [ 51.457035] usb 1-1-port1: couldn't allocate usb_device [ 51.462339] usb 1-1: USB disconnect, device number 2 Bus 001 Device 002: ID 1d5c:5510 [ 51.467338] usb 1-1.4: USB disconnect, device number 4 Fresco Logic Frescologic USB2.0 H[ 51.475602] usb 2-1: USB disconnect, device number 2 Bus 001 Device 004: ID 413c:301a Dell Computer Corp. Dell MS116 Optical Mouse Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 002 Device 002: ID 1d5c:5500 Fresco Logic Frescologic USB3.1Gen2 HUB root@lec-imx8mp:~# lsusb Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub   i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Linux Yocto Project Re: i.MX8MP USB Host Lockup (-110) on Low Speed device Physical Unplug Any insight or fix on this issue would be hugely helpfull. thanks Re: i.MX8MP USB Host Lockup (-110) on Low Speed device Physical Unplug Hello, Could you try with this two quirks con your device tree? /* Disables the park mode feature on the USB 2.0 pipeline */ snps,parkmode-disable-hs-quirk; /* Strongly recommended to include this as well to prevent aggressive link sleeps */ snps,dis_u2_susphy_quirk; This modifies bit 16 (PARKMODE_DISABLE_HS) inside the controller's GUCTL1 register. It halts the prefetching scheduler mechanism specifically for the High-Speed bus lines, ensuring that your controller stops running into the unresponsiveness trap when handling operations from the devices behind your hub. Hope this helps, Best regards/Saludos, Aldo.
View full article
开发 H.264 解码软件需要 i.MX8QM VPU 信息 亲爱的, 我们想开发一款软件,利用 i.MX8QM 内部的 VPU 来解码 H.264 视频。 然而,参考手册对 VPU 的细节描述非常简略。 是否有更多关于其运行的信息?例如,如何与这四个 M0+ 核心交互,如何提供 TS 数据,如何检索解码后的视频? 提前感谢! 顺祝商祺! Re: i.MX8QM VPU information needed for developing H.264 decoding software 你好@Manuel_Salas 是的,我们很好,谢谢关心! 为了确保我们目标一致,我们希望在 A 核心上开发软件,而不是在 M4 核心上,甚至不是直接在 M0+ 核心上。 从我们提供的文档来看,Linux 发行版中应该有驱动程序,对吗?我想我找到了这段代码的源代码。 必须加载到这些 M0+ 内核上的固件本身,是否也存在于 Linux 发行版中? 再次非常感谢! 顺祝商祺! ToarteFretter。 Re: i.MX8QM VPU information needed for developing H.264 decoding software 你好@ToarteFretter 希望你一切都好。 遗憾的是,NXP并未公开分享详细的Amphion VPU固件文档。固件由 IP 所有者(Amphion)提供,NXP 没有用于直接从 M 内核控制 VPU 的任何驱动程序或 SDK 示例。 我们目前只有i.MX VPU 应用程序编程接口 Linux 参考手册。 此致敬礼, 萨拉斯。 Re: i.MX8QM VPU information needed for developing H.264 decoding software 嗨@Manuel_Salas , 请问,i.MX8QM 的 VPU 功能需要在 M0+ 内核上运行的固件,是否必须由 A 内核上运行的软件(例如 Linux)加载,还是通过 ROM 集成到芯片中,或者作为 SCFW 的一部分? 快速查看 Linux 源代码并不能给我们提供这个问题的明确答案;此外,i.MX8 的版本众多且令人困惑,而且 VPU 的类型也很多。 如果您能提供更多相关信息,那将对我们非常有帮助。另外,如果需要我们自行加载固件,我们应该在哪里找到它? 非常感谢! 顺祝商祺! ToarteFretter。 Re: i.MX8QM VPU information needed for developing H.264 decoding software 你好@ToarteFretter 对于 i.MX8QM Amphion VPU,解码器固件不存储在 ROM 中,也不是 SCFW 的一部分。 这是一个独立的二进制文件,由 A-core 主机软件(通过 Linux Amphion 内核驱动程序)在运行时加载。 此外,您还可以通过以下方式找到二进制文件: wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.33-7ce4783.bin 在里面,你会找到 vpu_fw_imx8_dec.bin 和 vpu_fw_imx8_enc.bin。 注:表格来自i.MX Linux 版本说明。 顺祝商祺! 萨拉斯。 Re: i.MX8QM VPU information needed for developing H.264 decoding software 你好@Manuel_Salas , 是否除了分别运行在一个和两个 M0+ 内核上的解码器和编码器固件之外,还需要第三个固件来运行第四个 M0+ 内核? 如果是,这会不会是‘vpu_fw_imx8_xuvi.bin’?在提供的存档文件内? 非常感谢! 顺祝商祺! Toartefretter。 Re: i.MX8QM VPU information needed for developing H.264 decoding software 您好。 是的。 VPU核心 功能 固件 M0+核心0 马龙解码器 vpu_fw_imx8_dec.bin M0+核心1-2 温莎编码器 vpu_fw_imx8_enc.bin M0+核心3 XUVI/PPM 处理,包括 TS 相关功能 vpu_fw_imx8_xuvi.bin 顺祝商祺! 萨拉斯。 Re: i.MX8QM VPU information needed for developing H.264 decoding software 你好@Manuel_Salas , 非常感谢! 此致, Toartefretter。 Re: i.MX8QM VPU information needed for developing H.264 decoding software 你好@Manuel_Salas , 我有一个新问题,解码器能否以 YUV 以外的其他格式(例如 .x、.yml、 ...RGBA 或 BGRA)? 如果不是,那么通常情况下,这种转换是如何进行的呢? 提前感谢! 此致, Toartefretter。 Re: i.MX8QM VPU information needed for developing H.264 decoding software 你好@Manuel_Salas , 我还有一个问题…… 我们找不到M0+ 核心 3 加载“vpu_fw_imx8_xuvi.bin”镜像的位置,这是通过 Linux、uBoot 还是其他方式加载的?不过,我们已经找到了编码器和解码器镜像…… 非常感谢! 此致敬礼, Toartefretter。
View full article
S32K312 LPUART – 1 Mbpsボーレート、30 MHz LPUARTクロックにおけるフレーミングエラー こんにちは、NXP チームの皆様、 NXP S32K312 MCUを使い、LPUARTペリフェラルを使っています。通信に必要なUARTボーレートは1Mbpsです。 LPUART 6の機能クロックは30MHzです。 最初にUARTを以下のように設定しました。 ボーレート:1,000,000 bps LPUARTクロック:30MHz SBRまたは仮数部:2 OSRまたは除数:15 データビット数:8 パリティ:なし ストップビット: 1 LSBファースト この構成では、通信中にフレーミングエラーが発生することを確認しました。 LPUARTのボーレート計算に関して、以下のことが理解できます。 ボーレート = LPUARTクロック÷SBR×OSR 正確に1Mbpsを実現することを目的とした構成も試してみました。 SBR = 2 OSR = 15 ボーレート = 30 MHz ÷ 2 × 15 = 1 Mbps しかし、依然としてフレーミングエラーが見られます。 921600bpsも試してみましたが、このボーレートでもフレーミングエラーが発生しました。 現在の観測結果 LPUARTクロック:30MHz 必要な通信ボーレート:1Mbps UART構成: 8 N 1 1 Mbpsでフレーミングエラーが観測されました 921600ボーでもフレーミングエラーが観測されています。 通信はTI BQ79600ブリッジを介して行われます。 ロジックアナライザを使用してTX波形を監視しています。 もう少し詳しく教えていただけますか: S32K312 LPUARTは30 MHzのLPUARTクロックで1 MbpsのUART通信を安定してサポートしていますか? 30MHzのクロックで1Mbpsを実現するための、推奨されるOSRとSBRの組み合わせはありますか? 1MbpsにおけるOSR値、SBR値、またはボーレート精度に関して、既知の制限事項や制約はありますか? 信頼性の高い1Mbps通信を実現するために、LPUARTの追加設定は必要ですか? 1Mbpsで通信する場合、LPUARTの推奨クロック周波数はありますか? フレーミング誤差はLPUARTサンプリング構成やクロック許容差に関連している可能性はありますか? 必要に応じてLPUART BAUDレジスタ値、RTD設定、ロジックアナライザのキャプチャも提供できます。 推奨される構成と、追加のデバッグ手順についてご教示ください。 ありがとうございます。 Re: S32K312 LPUART – Framing Error at 1 Mbps Baud Rate with 30 MHz LPUART Clock こんにちは、 @gayathri123 さん、 フレーミング誤差とはレシーバ側の誤差です。したがって、LPUART6_TXとして使用されるPTD9を一時的に再多重化しても、それ自体でLPUARTのフレーミングエラーフラグが設定されるべきではない。このフレーミングエラーは、レシーバが停止ビットを期待していた論理0を検出したことを示しています。   誤差がLPUART6_STAT[FE]で報告されているのか、BQ79600が報告しているのか、それともロジックアナライザだけで報告されているのか、確認していただけますか? 2.75ミリ秒のLOWウェイクアップパルスは、UARTフレームよりもはるかに長い。レシーバが有効なままS32K312 RX入力にもLOWレベルが存在する場合、有効な停止ビットが検出されないため、LPUARTは正しくフレーミングエラーを報告することがあります。したがって、このフラグはウェイクアップフェーズで発生し、通常のUART通信が開始された後も設定されたままになる可能性がある。 テストとして、以下をお試しください。 ピンマルチックスを変更する前に、LPUARTレシーバとトランスミッタを無効にしてください。 GPIOを使用してウェイクアップパルスを生成します。 GPIO出力をHIGHに戻します。 PTD9をLPUART6_TXにリマルチプレクサ。 以前の受信エラーフラグをすべてクリアします。 LPUARTを再度有効にし、BQ79600のウェイクアップ回復に必要な時間が経過するまで待ちます。 有効なコマンドフレームを送信してください。 ウェイクアップパルスの前後のLPUART6_STAT値とともに、TXとRXの両方のロジックアナライザによるキャプチャデータを提供してください。STAT[FE]が設定される正確な瞬間を特定することは特に重要です。 よろしくお願いいたします。 パベル Re: S32K312 LPUART – Framing Error at 1 Mbps Baud Rate with 30 MHz LPUART Clock こんにちは 当社では、 LPUART6を1Mbpsに設定したS32K312を使用しています。PTD9はLPUART6のTXピンとして設定されています。 PTD9を一時的にGPIOとして設定し、その後LPUART6 TXに再多重化すると、UART通信中にフレーミングエラーが発生することが確認されています。 手順は以下のとおりです。 PTD9をGPIOとして設定し、約 2.75ms 間LOWに駆動して 、必要なウェイクアップパルスを生成します。 PTD9 をLPUART6_TXに再多重化します。 LPUART6を介してダミーデータを1Mbpsで送信します。 UART通信中にフレーミングエラーが発生しています。 Re: S32K312 LPUART – Framing Error at 1 Mbps Baud Rate with 30 MHz LPUART Clock こんにちは、 @gayathri123 さん、 詳細な説明をありがとうございました。 まず最初に明確にしておくべき点は、LPUARTのボーレートの計算式です。S32K3 LPUARTの場合、実効ボーレートは次のように計算されます。   ボーレート = LPUART機能クロック / (SBR × (OSR + 1))   したがって、BAUDレジスタにSBR = 2、OSR = 15が格納されている場合、結果として得られるボーレートは次のようになります。   30 MHz / (2 × 16) = 937,500 ボー   したがって、1Mbpsではありません。このずれは、通信相手が1Mbpsで動作している場合、フレーミングエラーを引き起こすのに十分な大きさである。 30 MHzのLPUART機能クロックの場合、以下の方法で正確な1 Mbpsのボーレートを得ることができます:     SBR = 2 OSRレジスタ値 = 14 実効オーバーサンプリング比 = 15   30 MHz / (2 × 15) = 1,000,000 ボー   一部の設定ツールでは実効オーバーサンプリング比が表示される場合がありますが、BAUDレジスタにはこの値から1を引いた値が格納されていることにご注意ください。そのため、初期化後にLPUART6_BAUDレジスタ全体を読み出し、実際のOSRフィールドとSBRフィールドを確認してください。 S32K312 LPUARTは1 Mbpsの通信をサポートできます。30MHzの動作クロックも、ボーレートを正確に生成できるため適している。正しいクロック、ボーレート設定、フレームフォーマット、ピン構成、レシーバ設定以外に特別な追加設定は通常必要ありません。 よろしくお願いいたします。 パベル
View full article
JTAG_TMS pull up or pull down? S32K144 Hello: When I'm reading the safety manual of S32K1xx, there's chapter about debug mode. It says JTAG_TMS shall be pulled low to ensure that JTAGC TAP controller is disabled. How to understand this sentence? Is that mean I shall assert this pin to low by external components during normal operation (non-debug mode) ? Re: JTAG_TMS pull up or pull down? S32K144 Hello @Stanley_Xu , The recommendations in the S32K1xx Safety Manual and AN5426 apply to different use cases. AN5426 recommends a 10 kΩ to 47 kΩ pull-up on the JTAG_TMS/SWD_DIO pin. This is the recommended hardware configuration when JTAG or SWD access is required during development, programming, or debugging. However, the Safety Manual addresses the final in-field configuration of a safety-relevant application. According to Section 5.6.2.1 and assumption SM_047, debugging must be disabled in the field while the device is used for safety-relevant functions. For this operating condition, JTAG_TMS should be held low so that the JTAGC TAP controller remains disabled and cannot unintentionally interfere with normal application operation. Therefore, if the application is required to comply with assumption SM_047 of the S32K1xx Safety Manual, the final production hardware shall provide a means of keeping JTAG_TMS low in the field. This can be implemented using an external pull-down resistor or another system-level solution that guarantees the required low level and prevents an external source from asserting this signal. The TAP state diagram only shows how TMS controls state transitions on the rising edge of TCK. It does not by itself provide permanent debug protection. If an external debugger can actively drive TMS and TCK, the TAP controller can be moved through its state machine. Therefore, the TMS pull-down is a functional-safety measure intended to prevent unintended debug activation, not a security mechanism for permanently locking the debug interface. If debug access is required during development or manufacturing, separate development and production configurations may be necessary. Best regards, Pavel Re: JTAG_TMS pull up or pull down? S32K144 According to RM of Chapter 59 JTAG Controller (JTAGC), TMS status impact entering the dubug mode or not. As the diagram show, when the TMS set to 0, TAP will not enter debug status. So it would be safe to maintain low status while the hardware connection is recommended to pull-up to VDD through resistor 10k-47k according to AN5426
View full article
Unable to Download RTD - Download Option Greyed Out I am unable to download/install the RTD package for the S32K344 board in S32 Design Studio (S32DS). The option to select or download the RTD is greyed out and unavailable. I have restarted S32DS and checked the available updates/packages, but the issue persists. Due to this, I am unable to proceed with the project setup and development activities. Could you please check and advise on the resolution? Details: IDE: S32 Design Studio (S32DS) Target MCU: S32K344 Issue: RTD download option is greyed out Impact: Unable to install/download RTD package   Re: Unable to Download RTD - Download Option Greyed Out Could you see it is the second tab as below?
View full article
MCSPTE1AK144 – ホールFOCが約600rpm以上で停止し、Simulinkからの自動展開が機能しない こんにちは、 私はNXP MCSPTE1AK144 #とSunrise PMSMモーターを使い、ホールセンサーPMSMのFOC例を使っています ソフトウェア設定: MATLAB R2025b NXPサポートパッケージ S32K1xx 2.2.0 NXPモデルベース設計ツールボックス S32K1xx 4.3.0 モデルは成功裏に構築され、.motを生成しますファイル。.mot ファイルを手動でコピーするとEVB-S32K144ドライブにファイルを送信すると、モーターは正常に動作します。ホストモデルを使うと、モーターの始動・停止や速度基準の変更が可能です。 私は現在、2つの問題に直面しています。 モーターは回転数が約600rpmを超えると停止します。 モーターは低速では正常に動作します。約10rpmから動作確認を行い、徐々に速度を上げていきました。 回転速度が約600rpmを超えると、モーターが停止し、D11が赤く点滅し始めます。 このシャットダウンの正確な原因を特定するにはどうすればよいでしょうか?どの障害変数またはレジスタを監視すべきですか? Simulinkからの自動デプロイ Simulinkモデルは成功裏に構築し、.motを生成します。ファイルは存在するが、ファームウェアは自動的にボードに書き込まれるわけではない。同じ.motファイルを手動でコピーするEVB-S32K144ドライブへのファイル転送は正常に動作します。 OpenSDAを介して生成されたコードをS32K144に自動的にデプロイするための正しい設定は何ですか? また、この例についてはMATLAB R2021aとNXP サポート Package S32K1xx 2.3.0を使った古いNXPの推奨も見つけました。MBDT 4.3.0とR2025bの組み合わせの代わりに、この構成を使用することをお勧めしますか? よろしくお願いします。
View full article
i.MX8QM VPU information needed for developing H.264 decoding software Dear, We would like to develop software to decode H.264 video using the VPU inside the i.MX8QM. However, the reference manual is very brief on the VPU details. Is there more information available regarding its operation; for example, how to interact with these four M0+ cores, how to provide the TS data, how to retrieve the decoded video? Thanks in advance! Best regards. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hello @Manuel_Salas Yes, we're doing fine, thanks for asking! Just to be sure we're aligned, we want to develop the software on the A-core, not on the M4 or even directly on the M0+ cores. From what we've seen in the provided document, there should be a driver inside the Linux distribution, right? I think I've found the source code of this. The firmware itself that must be loaded on these M0+ cores, is this also somewhere present inside the Linux distribution? Many thanks again! Best regards, ToarteFretter. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hello @ToarteFretter  Hope you are doing very well. Unfortunately, NXP does not publicly share detailed Amphion VPU firmware documentation. The firmware is provided by the IP owner (Amphion), and NXP does not have any driver or SDK examples for controlling the VPU directly from the M core. We just have the i.MX VPU Application Programming Interface Linux Reference Manual available. Best regarsd, Salas. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hi @Manuel_Salas, Can you tell us if the firmware that needs to run on the M0+ cores for the VPU functionality on the i.MX8QM, has to be loaded by the software running on the A-core (e.g.: by Linux), or is this baked into the chip through ROM or maybe part of the SCFW? Quickly looking into the source code of Linux doesn't give us a clear response on this question; also because of the confusing and many flavours of the i.MX8, as well as the VPU types from what it looks. It would be very helpful of you, if you could give some more information on this? Also, if firmware needs to be loaded by us, where that we can find it? Many thanks! Best regards, ToarteFretter. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hello @ToarteFretter  For the i.MX8QM Amphion VPU, the decoder firmware is not stored in ROM and is not part of SCFW. It is a separate binary that is loaded at runtime by the A-core host software (by the Linux Amphion kernel driver). Also, you can find the binary with: wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.33-7ce4783.bin Inside, you will find the vpu_fw_imx8_dec.bin and vpu_fw_imx8_enc.bin. NOTE: Table from i.MX Linux Release Notes. Best regards, Salas. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hello @Manuel_Salas, Can it be that next to the decoder and encoder firmware's, that run respectively on one and two M0+ cores, there is also a third firmware needed for the fourth M0+ core? If yes, could this be ‘vpu_fw_imx8_xuvi.bin’ inside the provided archive? Many thanks! Best regards, Toartefretter. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hello. Correct. VPU core Function Firmware M0+ core 0 Malone decoder vpu_fw_imx8_dec.bin M0+ cores 1–2 Windsor encoder vpu_fw_imx8_enc.bin M0+ core 3 XUVI/PPM processing, including TS-related functions vpu_fw_imx8_xuvi.bin Best regards, Salas. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hello @Manuel_Salas, Many thanks! Regards, Toartefretter. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hello @Manuel_Salas, I have a new question, can the decoder output frames in another format than YUV (e.g. RGBA or BGRA)? If not, how is the conversion "normally" done then? Thanks in advance! Regards, Toartefretter. Re: i.MX8QM VPU information needed for developing H.264 decoding software Hello @Manuel_Salas, I have an additional question... We don't find back where the 'vpu_fw_imx8_xuvi.bin' image gets loaded for the M0+ core 3, is this done by Linux, or uBoot, or by some other means? The encoder and decoder images though we've found back... Many thanks! Kind regards, Toartefretter.
View full article
JTAG_TMS 上拉还是下拉?S32K144 你好: 我在阅读 S32K1xx 的功能安全手册时,其中有一章是关于调试模式的。它表示应将 JTAG_TMS 拉低,以确保 JTAGC TAP 控制器被禁用。 如何理解这句话?这是否意味着在正常运行(非调试模式)期间,我需要通过外部元器件将此引脚拉低? Re: JTAG_TMS pull up or pull down? S32K144 你好@Stanley_Xu , S32K1xx 功能安全手册和 AN5426 中的建议适用于不同的使用情况。 AN5426 建议在 JTAG_TMS/SWD_DIO 引脚上使用 10 kΩ 至 47 kΩ 的上拉电阻。如果在开发、编程或调试过程中需要使用 JTAG 或 SWD 访问,则推荐使用此硬件配置。 然而,功能安全手册针对的是与功能安全相关的应用的最终现场配置。根据第 5.6.2.1 节和假设 SM_047,当设备用于安全相关功能时,必须在现场禁用调试。在这种操作条件下,JTAG_TMS 应保持低电平,以便 JTAGC TAP 控制器保持禁用状态,并且不会意外干扰正常的应用程序操作。 因此,如果应用需要符合 S32K1xx 功能安全手册中的假设 SM_047,则最终生产的硬件应提供在现场保持 JTAG_TMS 低电平的方法。这可以通过使用外部下拉电阻或其他系统级解决方案来实现,以保证所需的低电平并防止外部源发出此信号。 TAP 状态图仅显示 TMS 如何控制 TCK 上升沿的状态转换。它本身并不能提供永久的调试保护。如果外部调试器能够主动驱动 TMS 和 TCK,则可以控制 TAP 控制器在其状态机中运行。因此,TMS 下拉是一种功能安全措施,旨在防止意外激活调试功能,而不是永久锁定调试接口的安全机制。 如果在开发或制造过程中需要调试访问权限,则可能需要单独的开发配置和生产配置。 此致, 帕维尔 Re: JTAG_TMS pull up or pull down? S32K144 根据第 59 章 JTAG 控制器 (JTAGC) 的 RM,TMS 状态会影响是否进入调试模式。如图所示,当 TMS 设置为 0 时,TAP 将不会进入调试状态。因此,保持低电平状态是安全的,同时建议根据 AN5426 的说明,通过 10k-47k 的电阻将硬件连接上拉至 VDD。
View full article
JTAG_TMSはプルアップかプルダウンか?S32K144 こんにちは: S32K1xxのセーフティマニュアルを読んでいると、デバッグモードについての章があります。JTAGC TAPコントローラーが無効化されていることを確認するためにJTAG_TMSをローに引き上げると書かれています。 この文をどう理解すればいいですか?つまり、通常動作時(デバッグモード以外)には、外部コンポーネントによってこのピンをローレベルにアサートする必要があるということですか? Re: JTAG_TMS pull up or pull down? S32K144 こんにちは、 @Stanley_Xu さん。 S32K1xxセーフティマニュアルおよびAN5426の推奨事項は、さまざまな用途に適用されます。 AN5426では、JTAG_TMS/SWD_DIOピンに10kΩ~47kΩのプルアップ抵抗を設けることを推奨しています。これは、開発、プログラミング、デバッグ時にJTAGやSWDアクセスが必要な場合に推奨されるハードウェア構成です。 しかし、セーフティマニュアルはセーフティ関連アプリケーションの最終的な現場構成について扱っています。セクション5.6.2.1および仮定SM_047によれば、セーフティ関連機能のために装置を使用する間、現場でのデバッグは無効化されなければなりません。この動作条件では、JTAG_TMSを低く保ち、JTAGC TAPコントローラが無効化されたまま通常のアプリケーション動作に誤って干渉しないようにする必要があります。 したがって、アプリケーションがS32K1xxセーフティマニュアルの仮定SM_047に準拠する必要がある場合、最終生産ハードウェアは現場での低速を保つ手段JTAG_TMSなければなりません。これは外部プルダウン抵抗や、必要な低レベルを保証し、外部ソースがこの信号を主張するのを防ぐ他のシステムレベルのソリューションを用いて実装できます。 TAP状態図は、TMSがTCKの立ち上がりエッジにおける状態遷移をどのように制御するかのみを示しています。それ自体では、永続的なデバッグ保護を提供するものではありません。外部デバッガがTMSやTCKをアクティブに駆動できる場合、TAPコントローラはその状態機械を通じて移動させることができます。したがって、TMSプルダウンは、デバッグインターフェースを永久にロックするためのセキュリティ機構ではなく、意図しないデバッグの有効化を防ぐための機能安全対策です。 開発や製造中にデバッグアクセスが必要な場合は、開発と本番の別々の設定が必要になることがあります。 よろしくお願いします、 パベル Re: JTAG_TMS pull up or pull down? S32K144 JTAGコントローラー(JTAGC)第59章のRMによると、TMSの状態はdubugモードに入るかどうかに影響します。図に示すように、TMSが0に設定されている場合、TAPはデバッグ状態に入りません。したがって、AN5426によると、ハードウェア接続は抵抗10k-47kを介してVDDにプルアップすることが推奨されているため、低ステータスを維持するのが安全です
View full article
S32K3xx 数据表表 10:LVR_VDD_HV_A 条件列中的“RPM”是什么意思? 在 S32K3xx 数据手册的表 10“电源监控”中,LVR_VDD_HV_A 行 (断言阈值)出现两次,最小值/典型值/最大值相同(2.77 / 2.85 / 2.93 V): - LVR_VDD_HV_A,断言阈值(在 FPM 中) - LVR_VDD_HV_A,断言阈值(以 RPM 为单位) S32K3xx 参考手册其他部分对“FPM”的定义是“全功率模式”。 (运行模式)。然而,我找不到“RPM”的任何定义。 数据表或参考手册(5394页),包括: 缩写/词汇表部分列出了它。 请问您能否澄清一下: 1.在这个语境中,“RPM”代表什么? 2. FPM 和 LVR_VDD_HV_A 阈值是否相同? 如表格所示,转速是多少? 谢谢! Re: S32K3xx Data Sheet Table 10: What does "RPM" mean in the LVR_VDD_HV_A condition column 您好, 表 10 中的“RPM”代表低功耗模式。它指的是第二个物理冗余的 LVR 监测电路,当设备处于待机(低功耗)模式时,该电路仍保持激活状态。相比之下,FPM(全功率模式/运行模式)监测在正常运行模式工作期间运行。这两个监视器是设备功能安全架构的一部分,用于确保无论当前电源状态如何,VDD_HV_A 电源都能持续受到监控。 关于你的第二个问题,FPM 和 RPM 条目的最小值/典型值/最大值阈值 (2.77 / 2.85 / 2.93 V) 相同,这是正确的。VDD_HV_A 的最低供电要求在运行模式和待机模式下保持不变,因此两个监控器共享相同的触发阈值。 BR,彼得
View full article
S32K3xxデータシート表10:LVR_VDD_HV_A条件列の「RPM」は何を意味しますか? S32K3xxデータシートの表10「電源監視」のLVR_VDD_HV_A行 (アサートしきい値)が、同一の最小値/標準値/最大値(2.77 / 2.85 / 2.93 V)で2回出現します。 - LVR_VDD_HV_A、しきい値のアサート(FPM内) - LVR_VDD_HV_A、アサートしきい値(RPM内) 「FPM」はS32K3xxリファレンスマニュアルの他の箇所で「フルパワーモード」として定義されています (ランモード)」しかし、どこにも「RPM」の定義は見つかりませんでした データシートまたはリファレンス・マニュアル(5394ページ)のいずれかで、含まれていません。 略語/用語集のセクションでリストアップしています。 もう少し詳しく教えていただけますか: 1.この文脈における「RPM」とは何のことですか? 2. LVR_VDD_HV_A しきい値は FPM と 表が示唆するように、RPMですか? よろしくお願いします。 Re: S32K3xx Data Sheet Table 10: What does "RPM" mean in the LVR_VDD_HV_A condition column こんにちは、 表10の「RPM」は、低出力モードを表します。これは、デバイスがスタンバイ(低電力)モードのときにアクティブ状態を維持する、物理的に冗長な2つ目のLVRモニター回路を指します。一方、FPM(フルパワーモード/ランモード)モニターは、通常のランモード動作中に動作します。両方のモニターは、現在の電源状態に関わらずVDD_HV_A電源が継続的に監視されることを保証するため、デバイスのセーフティアーキテクチャの一部として存在します。 2つ目のご質問についてですが、FPMとRPMの両方のエントリで最小値/標準値/最大値のしきい値(2.77 / 2.85 / 2.93 V)が同一であることは正しいです。VDD_HV_Aの最低供給要件は実行モードとスタンバイモードで変わらず、両方のモニターは同じトリップ閾値を共有します。 BR、ペトル
View full article
i.MX9 ELE 的已知问题 根据 2025 年的讨论,i.MX 9 存在一个问题,即安全世界和非安全世界同时使用其 MU 与 ELE 通信。讨论中提到,计划在 2025 年第三季度修复该问题。这个修复程序发布了吗?该修复是在 ELE 固件中实现的,还是需要修改 Cortex A55 代码?如果该修复程序已在 ELE 固件中实现,那么哪个固件版本是第一个包含该修复程序的? 根据i.MX Linux 发行说明 (RN00210),电压变化会导致已知的 ELE 问题。这个问题会造成什么影响?即使发送了 ELE_VOLT_CHANGE_START_REQ 请求,电压故障检测器也会触发吗?电压变化会对随机数生成器产生影响吗?RN00210 仅针对 i.MX 93 提到了该问题。与 i.MX 91 非常相似的机型是否也受到影响? 背景:我们需要从 OP-TEE 内部可靠地访问 ELE,但我们不能指望 Linux 能够正常运行。 安全 Re: Known issues with i.MX9 ELE 你好, 您是在寻找特定型号的 i.MX9 吗? 这会影响该系列中的不同处理器,例如,在 i.MX91/93 上,OPTEE 使用专用的 Trusted MU 进行通信,因此这些处理器不受影响。 关于 ELE 电压变化问题,这是一个命令排序问题,而不是随机数据损坏问题。在接受 ELE_VOLT_CHANGE_START_REQ 后,ELE 会暂时禁用其电压故障传感器,并立即期望收到 ELE_VOLT_CHANGE_FINISH_REQ。因此,并发的 HRNG 请求可能会失败或挂起;如果完成请求延迟超过超时时间,ELE 可能会中止序列并 RESET SoC。 最后,i.MX 91 通常只在标称驱动电压和低驱动电压之间切换,两者之间的差异约为 50 mV,预计不会触发 GDET,因此它不受此问题的影响。 此致敬礼/Saludos, 阿尔多。 Re: Known issues with i.MX9 ELE 我在最初的问题中链接的讨论听起来像是并发 ELE 请求存在问题,尽管安全世界有自己的 MU。引用讨论中的内容: >>>>>> I'm aware that the >>>>>> i.MX93 has two MUs one for the secure and one for the non-secure >>>>>> world. But I'm really concerned about the fact that both MUs can't >>>>>> be used at the same time from both world: >>>>> >>>>> Yes, you are correct. >>>>> >>>>> Fix is still work in progress. Marco Felsch 在 GitHub 上链接到了 NXP 一位工程师的这条评论: 当内核和 OP-TEE 同时向 ELE 发出请求时,就会出现问题,而这并非 RNG 特有的问题。我们正在努力解决这个问题,很快就会有解决方案。 那么,这个解决方案已经发布了吗? 当非安全世界滥用 ELE_VOLT_CHANGE_START_REQ 来停止安全世界中的随机数生成时,重置 SoC 听起来是可以接受的。
View full article
Known issues with i.MX9 ELE According to this discussion from 2025 there was an issue on i.MX 9 when both the secure and non-secure world were using their MUs at the same time to communicate with the ELE. In the discussion it was said that a fix was planned for Q3 2025. Has this fix been released? Is the fix implemented in the ELE firmware or did it need modifications to the Cortex A55 code? If it was implemented in the ELE firmware, which firmware version was the first one to contain the fix? According to the i.MX Linux Release Notes (RN00210) there is a known ELE problem with voltage changes. What is the impact of this problem? Will the voltage glitch detector trigger even if ELE_VOLT_CHANGE_START_REQ was sent? Or will the voltage change impact the random number generator? RN00210 mentions the problem only for i.MX 93. Is the very similar i.MX 91 affected as well? Background: We need reliable access to the ELE from within OP-TEE and can't trust Linux to behave nicely. Security Re: Known issues with i.MX9 ELE Hello, Are you looking for an specific i.MX9? This impact different processors in the familly, for example on the i.MX91/93 OPTEE uses a dedicated Trusted MU for the communication so this processors are no impacted. Regarding ELE voltage change issue, the issue is a command-sequencing problem, not corruption of random data. After ELE_VOLT_CHANGE_START_REQ is accepted, ELE temporarily disables its voltage-glitch sensors and expects ELE_VOLT_CHANGE_FINISH_REQ immediately. A concurrent HRNG request can therefore fail or hang; if the finish request is delayed beyond the timeout, ELE may abort the sequence and reset the SoC. And finally no, i.MX 91 normally switches only between nominal and low-drive voltage, with an approximately 50 mV difference that is not expected to trigger GDET, so it is not considered affected by this same issue. Best regards/Saludos, Aldo. Re: Known issues with i.MX9 ELE The discussion I linked in my initial question sounds like there were problems with concurrent ELE requests although the secure world has its own MU. To quote from the discussion: >>>>>> I'm aware that the >>>>>> i.MX93 has two MUs one for the secure and one for the non-secure >>>>>> world. But I'm really concerned about the fact that both MUs can't >>>>>> be used at the same time from both world: >>>>> >>>>> Yes, you are correct. >>>>> >>>>> Fix is still work in progress. Marco Felsch linked to this comment from an NXP engineer on Github: Problem comes when doing simultaneous request to ELE from Kernel and OP-TEE not specific to RNG, and we are working on the solution, which will be available soon. So, has this solution been made available? Resetting the SoC when the non-secure world abuses ELE_VOLT_CHANGE_START_REQ to stop random number generation in the secure world sounds acceptable.
View full article
i.MX9 ELEの既知の問題 2025年のこの議論によると、i.MX 9では、セキュアワールドと非セキュアワールドの両方が同時にMUを使用してELEと通信していた際に問題が発生したとのことです。議論の中で、2025年Q3に修正が計画されていると言われました。この修正プログラムは既にリリースされていますか?修正はELEファームウェアに実装されているのか、それともCortex A55コードの修正が必要だったのでしょうか?ELEファームウェアに実装された場合、その修正が最初に含まれたファームウェアバージョンはどれですか? i.MX Linuxリリースノート(RN00210)によると、電圧変化に関する既知のELE問題があります。この問題の影響は何ですか?ELE_VOLT_CHANGE_START_REQが送信された場合でも、電圧グリッチ検出器は作動しますか?あるいは、電圧の変化は乱数発生器に影響を与えるだろうか?RN00210では、i.MX 93のみに問題が記載されています。非常によく似たi.MX 91も影響を受けているのでしょうか? 背景:OP-TEE内部からELEへの信頼性の高いアクセスが必要で、Linuxがうまく振る舞うとは信頼できません。 Security Re: Known issues with i.MX9 ELE 私が最初の質問でリンクした議論によると、セキュアワールドには独自のMUがあるにもかかわらず、同時ELEリクエストに問題があったようです。議論からの引用: >>>>>> I'm aware that the >>>>>> i.MX93 has two MUs one for the secure and one for the non-secure >>>>>> world. But I'm really concerned about the fact that both MUs can't >>>>>> be used at the same time from both world: >>>>> >>>>> Yes, you are correct. >>>>> >>>>> Fix is still work in progress. マルコ・フェルシュは、GitHub上のNXPエンジニアによるこのコメントへのリンクを投稿した。 問題は、RNGに特有のものではなく、カーネルとOP-TEEからELEへの同時リクエストを行う際に発生します。現在、解決策に取り組んでおり、まもなく提供開始予定です。 では、この解決策はすでに提供されていますか? セキュアでない世界がELE_VOLT_CHANGE_START_REQを悪用してセキュアな世界での乱数生成を停止させた場合にSoCをリセットするのは妥当な措置と言えるでしょう。 Re: Known issues with i.MX9 ELE こんにちは、 特定のi.MX9をお探しですか? これはファミリー内の異なるプロセッサに影響を及ぼします。例えばi.MX91/93では、OPTEEは通信に専用のTrusted MU(信頼管理ユニット)を使用しているため、これらのプロセッサには影響がありません。 ELE電圧変化の問題に関してですが、これはランダムデータの破損ではなく、コマンドシーケンスの問題です。ELE_VOLT_CHANGE_START_REQが受け入れられた後、ELEは一時的に電圧グリッチセンサーを無効化し、すぐにELE_VOLT_CHANGE_FINISH_REQを期待します。同時進行のHRNG要求は失敗またはハングする可能性があります。完了要求がタイムアウトを超えて遅延した場合、ELEはシーケンスを中止しSoCをリセットすることがあります。 最後に、i.MX 91は通常、標準電圧と低電圧の間だけスイッチし、約50 mVの差があり、GDETが起こるとは思われないため、同じ問題の影響を受けないと考えられます。 よろしくお願いいたします。 アルド。
View full article
S32K3xx Data Sheet Table 10: What does "RPM" mean in the LVR_VDD_HV_A condition column? In the S32K3xx Data Sheet, Table 10 "Supply Monitoring", the LVR_VDD_HV_A row (assert threshold) appears twice with identical Min/Typ/Max values (2.77 / 2.85 / 2.93 V): - LVR_VDD_HV_A, assert threshold (in FPM) - LVR_VDD_HV_A, assert threshold (in RPM) "FPM" is defined elsewhere in the S32K3xx Reference Manual as "Full-power mode (Run mode)". However, I could not find any definition of "RPM" anywhere in either the Data Sheet or the Reference Manual (5394 pages), including no abbreviation/glossary section that lists it. Could you please clarify: 1. What does "RPM" stand for in this context? 2. Is it correct that the LVR_VDD_HV_A threshold is identical between FPM and RPM, as the table implies? Thank you. Re: S32K3xx Data Sheet Table 10: What does "RPM" mean in the LVR_VDD_HV_A condition column Hi, "RPM" in Table 10 stands for Reduced Power Mode. It refers to a second, physically redundant LVR monitor circuit that remains active when the device is in Standby (low-power) mode. In contrast, the FPM (Full Power Mode / Run mode) monitor operates during normal Run mode operation. Both monitors exist as part of the device's safety architecture to ensure the VDD_HV_A supply is continuously supervised regardless of the current power state. Regarding your second question, the identical Min/Typ/Max threshold values (2.77 / 2.85 / 2.93 V) for both the FPM and RPM entries are correct. The minimum supply requirement for VDD_HV_A does not change between Run and Standby modes, so both monitors share the same trip threshold.  BR, Petr
View full article
Video: How to Spin a Motor Starting from an Example (function() { var wrapper = document.getElementById('lia-vid-6405736766112w960h540r439'); 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) Getting Started
View full article
How To Import ELE Key To RT1180 Based On AN14861SW Table of Contents  Document Objective and Overall Flow  Software and Hardware Environment Preparation  Program SRKH on the RT1180 Board  Import the AN14861SW Project  Obtain the NXP Manufacturing Public Key from ELE  Generate Signed Content and the TLV Blob  Replace the C Arrays in the Demo Project  Build, Run, and Analyze the Success Log  1. Document Objective and Overall Flow  This document describes how to complete the OEM Key Import flow using the EdgeLock Enclave (ELE) on the i.MX RT1180. The flow is mainly used to securely import OEM-generated or OEM-owned key material into the device key store through the secure import mechanism supported by ELE, and then verify the imported key by performing AES encryption and decryption.  The overall flow can be summarized as follows:  Install the tool environment        ↓  Program and verify SRKH        ↓  Import the AN14861SW demo project        ↓  Export the NXP Manufacturing Public Key from ELE        ↓  Generate a local ECC key pair for ECDH key agreement        ↓  Generate the KEY_EXCHANGE_REQ Signed Message        ↓  Generate the OEM Import Key TLV Blob        ↓  Replace the generated C arrays in the demo project        ↓  Run the demo and perform Key Agreement and OEM Key Import  Note: The commands in this document primarily use Windows/PowerShell and the SPSDK CLI. When running them on Linux, adjust path separators and shell syntax as required.  2. Software and Hardware Environment Preparation  2.1 Hardware Platform  The following hardware is recommended:  i.MX RT1180 EVK or a custom RT1180 board  USB debug cable or an onboard debug interface  Serial terminal software, such as Tera Term, PuTTY, MobaXterm, or VS Code Serial Monitor  A boot configuration environment that has passed basic startup verification  2.2 Install SPT 26.06  It is recommended to install the latest SPT release. The version used in this document is:  SPT 26.06  SPT stands for Secure Provisioning Tool. It is used to generate SRK/SRKH data, configure signed images, program fuses, and configure secure boot.  After installation, confirm the following:  SPT starts normally.  The target RT1180 board can be detected.  Fuse read operations work correctly on the target board.  The selected connection interface matches the board boot mode.  2.3 Install the Latest SPSDK  It is recommended to install SPSDK in a Python virtual environment to avoid conflicts with Python packages already installed on the system.  python -m venv .venv  .\.venv\Scripts\activate  pip install -U pip  pip install -U spsdk  Verify the installation:  spsdk --version  nxpcrypto --help  nxpimage --help  If a command is not recognized, check the following:  The virtual environment is active in the current PowerShell session.  The Python Scripts directory is included in PATH.  SPSDK is installed in the Python environment currently in use.  3. Program SRKH on the RT1180 Board  This step establishes the OEM Root of Trust. Before programming, make sure that the SRK table and SRKH are the final versions intended for use, because fuse programming or locking is normally irreversible.  3.1 Generate and Program SRKH Using SPT  The relevant configuration screenshots are shown below:  Figure 1 - SPT SRKH configuration  Figure 2 - SRKH programming confirmation  Figure 3 - SRKH fuse operation  Recommended checkpoints:  Confirm that the SRK table was generated from the correct OEM signing key.  Confirm that SRKH matches the SRK table used by the current project.  Save the configuration record before programming the fuses.  Perform readback verification after programming the fuses.  If Secure Boot will be enabled later, confirm that the SRKH locking policy meets the project manufacturing requirements.  Risk notice: SRKH is a core element of the secure boot chain of trust. Programming or locking must be confirmed by the project security owner in advance.    4. Import the AN14861SW Project  Use MCUXpresso IDE to import the AN14861SW project.  Recommended steps:  Open MCUXpresso IDE.  Select File → Import.  Select Existing Projects into Workspace.  Browse to the AN14861SW project directory.  Confirm that the project builds successfully.  Verify the Debug Probe, serial port, and boot configuration for the target board.  It is recommended to keep the original project unchanged at first and complete one baseline build and run. This confirms that the demo environment itself is functional.  5. Obtain the NXP Manufacturing Public Key from ELE  5.1 Enable the NXP Production Key Export Path in the Demo  AN14861 requires reading the NXP Manufacturing Public Key from ELE. This key is subsequently used as the peer public key for ECDH key agreement and is required to generate the Signed Message and TLV Blob materials.  The relevant flow screenshots are shown below:  Figure 4 - Enable key export in the project  Figure 5 - Exported NXP Manufacturing Public Key  After running the demo, a HEX string similar to the following is obtained:  744a536d9078795b037db78f8738dbab5ae7dbab76660eb7067a06f386791687  f6988017e90c73a889f5b6dd9abb3b5c1bb9c1cffdca34c6ba64600244e8a314  The string must be converted to a binary file and then converted to a PEM-format public key.  5.2 Convert the HEX String to a Binary File Using PowerShell  Create the following script:  create_key.ps1  Script content:  $hex = "744a536d9078795b037db78f8738dbab5ae7dbab76660eb7067a06f386791687f6988017e90c73a889f5b6dd9abb3b5c1bb9c1cffdca34c6ba64600244e8a314"    [byte[]]$bytes = for ($i = 0; $i -lt $hex.Length; $i += 2) {      [Convert]::ToByte($hex.Substring($i, 2), 16)  }    [System.IO.File]::WriteAllBytes("key.bin", $bytes)  Write-Host "Created key.bin successfully."  Write-Host "File size:" (Get-Item ".\key.bin").Length "bytes"  Run the script:  .\create_key.ps1  Expected output:  Created key.bin successfully.  File size: 80 bytes  The test result is shown below:  Figure 6 - PowerShell generated key.bin  If script execution is restricted by the PowerShell execution policy, temporarily allow execution in the current session:  Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass  5.3 Convert key.bin to a PEM-Format Public Key  Run:  nxpcrypto key convert -e PEM -i key.bin -o nxp_prod.pub  Generated file:  nxp_prod.pub  Use the following command to inspect the PEM content:  openssl pkey -pubin -in nxp_prod.pub -text -noout  6. Generate Signed Content and the TLV Blob  This chapter corresponds to Section 7.4 of AN14861 and covers the following tasks:  Generate a local ECC key pair.  Export the ECC public key as raw binary.  Calculate the SHA-256 digest of the ECC public key.  Obtain and edit the Signed Message configuration template.  Generate signed_message.bin.  Generate the OEM Import Key TLV Blob.  Convert the binary files into C arrays for use in the demo.  6.1 Generate a Local ECC Key Pair  This key pair is used to perform ECDH key agreement with the NXP Manufacturing Public Key inside ELE.  nxpcrypto key generate -k secp256r1 --force -o app_ecc256.pem  Expected generated files:  app_ecc256.pem  app_ecc256.pub  Notes:  secp256r1 selects the NIST P-256 curve.  The private key, app_ecc256.pem, must be stored securely.  The public key, app_ecc256.pub, will be converted to RAW format and embedded in the demo project.  6.2 Convert the ECC Public Key to RAW Binary  nxpcrypto key convert -e RAW -i app_ecc256.pub -o ecc256_pub_key.bin  Then convert it to a C array:  nxpimage utils convert bin2carr -i ecc256_pub_key.bin -e little -c 8 -n ecc256_pub_key -o app_ecc256_pub.c  Parameter description:  -i ecc256_pub_key.bin: input RAW binary public key.  -e little: output in little-endian format.  -c 8: output eight bytes per line.  -n ecc256_pub_key: generated C array name.  -o app_ecc256_pub.c: output C source file.  6.3 Calculate the SHA-256 Digest of the ECC Public Key  nxpcrypto digest -h sha256 -i ecc256_pub_key.bin  Example output:  SHA256(ecc256_pub_key.bin)= b3a20b5679c5ddd77d6bd1a3eb0ff6ea7ab32ac6883d597db30dfcb64d5f8164  This digest must later be entered in the Signed Message configuration file to identify the local ECC public key participating in the key exchange.  6.4 Obtain the KEY_EXCHANGE_REQ Signed Message Template  nxpimage signed-msg get-template -f rt118x -m KEY_EXCHANGE_REQ -o signed_msg_config.yaml --force  6.5 Edit signed_msg_config.yaml  Edit the template file:  signed_msg_config.yaml  Verify the following items carefully:  The family is rt118x.  The message type is KEY_EXCHANGE_REQ.  The correct NXP Manufacturing Public Key is used.  The ECC public key digest is correct.  The output file path is consistent with subsequent commands.  The working directory is located where SPT/SPSDK expects it.  A reference sample is provided in the attachment.  6.6 Generate the Signed Message Binary  After entering the SPT workspace, run:  nxpimage signed-msg export -c signed_msg_config.yaml -w ecdh_derived_key  The result is shown below:  Figure 7 - Export signed message  Expected generated file:  signed_message.bin  ECDH-derived-key intermediate files are also generated in the working directory.  6.7 Convert signed_message.bin to a C Array  nxpimage utils convert bin2carr -i signed_message.bin -e little -c 8 -n signed_msg_bin -o signed_message.c  The test result is shown below:  Figure 8 - Convert signed message to a C array  Generated file:  signed_message.c  It contains:  const uint8_t signed_msg_bin[] = {      ...  };  6.8 Obtain the Key Import TLV Blob Template  nxpimage signed-msg tlv get-template -f rt118x -o oem_import_key.yaml --force  The result is shown below:  Figure 9 - Get TLV template  6.9 Edit oem_import_key.yaml  Configure the following items according to the target key to be imported:  Key type  Key length  Key usage  Key policy  Blob ID  Storage location  Key group  TLV output file name  Keep the configuration consistent with the parsing logic in the demo project. Otherwise, TLV generation may succeed while the ELE Import step fails. A reference sample is provided in the attachment.  6.10 Generate the TLV Blob  nxpimage signed-msg tlv export -c oem_import_key.yaml  The result is shown below:  Figure 10 - Export TLV blob  Expected generated file:  tlv.bin  6.11 Convert tlv.bin to a C Array  nxpimage utils convert bin2carr -i tlv.bin -e little -c 8 -n oem_tlv_blob -o oem_tlv_blob.c  The result is shown below:  Figure 11 - Convert TLV blob to a C array  Generated file:  oem_tlv_blob.c  It contains:  const uint8_t oem_tlv_blob[] = {      ...  };  7. Replace the C Arrays in the Demo Project  Replace the generated C arrays in the ele_crypto_hsm.c file of the demo project.  The arrays to replace are:  ecc256_pub_key[]  signed_msg_bin[]  oem_tlv_blob[]  The relevant screenshots are shown below:  Figure 12 - Replace the ecc256_pub_key array  Figure 13 - Replace the signed_msg_bin array  Figure 14 - Replace the oem_tlv_blob array  Recommended procedure:  Back up the original ele_crypto_hsm.c file.  Use the contents of the generated .c files to replace the corresponding arrays. Do not change the array names.  8. Build, Run, and Analyze the Success Log  8.1 Disable the NXP Product Key Export Code Path  After replacing the arrays, disable the code path used to export the product key, and then rebuild the demo.  The relevant screenshot is shown below:  Figure 15 - Disable the product key export path  8.2 Rebuild the Project  In MCUXpresso IDE, run:  Clean Project  Build Project  Debug / Run  8.3 Key Success Log Messages  The successful demo log is lengthy. Focus on the following key messages:  EdgeLock FW loaded and authenticated successfully.  EdgeLock RNG Start success.  EdgeLock services initialized successfully.  Open session successfully.  Open service and create Key Store successfully.  ele perform key agreement successfully. Derived key ID: 0x3fffffff  Import key successfully. User key ID: 0x3ffffffe  OEM_IMPORT_MK_SK deleted successfully.  AES-ECB decrypted data match the original plain text - success.  End of Example with SUCCESS!!  These messages indicate the following:  ELE firmware was loaded and authenticated successfully.  The RNG service started successfully.  ELE services were initialized successfully.  The session, Key Store, NVM, and Key Management services opened successfully.  ECDH key agreement succeeded.  OEM key import succeeded.  The temporary key pair was deleted successfully.  AES-ECB encryption and decryption verified that the imported key is usable.  8.4 Detailed Runtime Log  Original successful log summary:  EdgeLock Enclave Sub-System oem provsioning example:  ****************** Load EdgeLock FW ***********************  EdgeLock FW loaded and authenticated successfully.  ****************** Start RNG ******************************  EdgeLock RNG Start success.  EdgeLock RNG ready to use.  ****************** Initialize EdgeLock services ***********  EdgeLock services initialized successfully.  ****************** Load EdgeLock NVM Mgr ******************  EdgeLock NVM manager registered.  ****************** Open EdgeLock session ******************  Open session successfully. Session ID: 0xbe962305  ****************** Create Key Store ***********************  Open service and create Key Store successfully. Key Store ID: 0xbe962e85  ****************** Open NVM Storage service ***************  Open NVM Storage service successfully. Handle ID: 0xbe96294d  ****************** Key Management Open ********************  Open Key management service successfully. Key Handle ID: 0xbe96293d  ele perform key agreement successfully. Derived key ID: 0x3fffffff  Write sd, blob_id_msb = 4, 45, 12345678  Write sd, blob_id_msb = 3, 0, 12345678  Write sd, blob_id_msb = 0, 0, 0  Import key successfully. User key ID: 0x3ffffffe  OEM_IMPORT_MK_SK deleted successfully. Key Pair ID: 0x3fffffff  ****************** Close Key Management Service ***********  Close Key Management Service successfully.  ****************** Close Key Store ************************  Close Key Store successfully.  Close NVM storage session successfully.  ****************** Close EdgeLock session *****************  Close session successfully.  ...  ****************** Cipher AES ECB *************************  Output returned by AES-ECB encryption.  ****************** Decrypt Cipher AES-ECB *****************  Read sd, blob_id msb = 0x4, lsb: 0x45, ext: 0x12345678  AES-ECB decrypted data match the original plain text - success.  ...  End of Example with SUCCESS!!  OEM Key Import, Signed Message, and TLV Blob Generation Flow  Based on the i.MX RT1180 EdgeLock Enclave 
View full article