Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
安全配置工具 - 版本镜像错误 您好,我正在尝试使用 SPT 对代码包,软件包进行签名。 我有一个包含 FCFB + DCD + IVT + app.bin 的二进制文件(一个完整的可启动映像),当我尝试对其进行签名时,签名成功了。 但是,当我选择一个只包含 IVT 和 app.bin 的二进制时,为什么“版本映像”选项被禁用?我已经附上了屏幕截图。 Re: Secure Provisioning Tool - Build image error 我已经附上了图片。请检查 Re: Secure Provisioning Tool - Build image error 你好@Abhay2080 , 请问您使用的是哪个版本的安全配置工具? 此外,我无法看到您在附件中提到的图片。请您再尝试上传一次好吗? 此致, 巴勃罗 Re: Secure Provisioning Tool - Build image error 你好@Abhay2080 , 我使用您分享的二进制文件对 Secure Provisioning Tool v26.09 进行了一些测试,并注意到以下情况: 根据《安全配置工具用户指南 v26.09》第 5.2.2 节“源映像格式”,可以明确指定 S19 文件的入口点。对于其他图像格式,入口点是从中断向量表中检索的(因此中断向量表必须位于应用程序映像的开头)。 对于没有 IVT 和 FCFB 的图像,该工具检测到入口点位于 0x601006C9,该点超出应用程序代码范围。此外,起始地址应在 0x600D2D01 到 0x601006C9 的范围内。 安全配置工具在应用程序映像中定位到偏移量为 0x4 的入口点。 请您测试一下,将入口点更改为有效地址后,是否可以成功构建镜像? 此致, 巴勃罗 Re: Secure Provisioning Tool - Build image error 是的,成功了……谢谢。
View full article
デバッガー PE マイクロ NXPチームの皆様、こんにちは。 UTESTフラッシュにDCFを記録して、MCUのコードがボードから読み取られるのを防ぐために(パスワードで)保護したいです。デバッガを使わずにDesign Studioでそれを実現できますか? よろしくお願いいたします。 アフメド Re: Debugger PE Micro こんにちは、 はい、S32Design Studioや他のコンパイラを使ってその点は可能です。 DCFが格納されているUTESTフラッシュは、OTPとして設定された通常のフラッシュです。ですので、他のブロックと同様に標準的なフラッシュプログラミングを使います。 または、デバッガーを使うこともできます: https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Program-DCF-record-into-UTEST-flash-in-S32-Design-Studio/ta-p/1099436 よろしくお願いいたします。 ピーター Re: Debugger PE Micro 迅速なご返信ありがとうございます。 あなたが教えてくれた手順に従ってDesign Studioを使ってみたら、このエラーが出ました。このエラーの原因と解決方法を教えてください。 もう一つの疑問は、この方法で検閲を実装した後、デバッガを使っているかどうかに関わらず、パスワードを知らずにボードのコードを読むことができるのかということです。 Re: Debugger PE Micro S32DSのR2017バージョンをインストールし、このバージョンで再度手順を試しましたが、やはり同じエラーが出ました。原因は何でしょうか?何を確認すればいいですか? その理由は、S32DSが消去してからUTESTに書き込みしようとするのに、UTEST自体を削除できないからだと思います。DS32にDCFレコードを書き込む前に消去しないように指示する手順が抜けているのでしょうか? Re: Debugger PE Micro こんにちは、 Threadエクスプレスとして、これはS32DSバージョンR2017でテストされています。 どのバージョンを使っているのか分からず、誤差表現があまりにも一般的すぎます。 マイクロは空白ですか? PEmicro/S32DSの場合、このメカニズムは通常、専用のUTESTフラッシュアルゴリズム(*_UTest.pcp)を介して実装されます。 また、PEMicroのデバッガ用スクリプトやアルゴリズムの最新バージョンがあれば問い合わせることもできます。 よろしくお願いいたします。 ピーター Re: Debugger PE Micro こんにちは、 その理由は、S32DSが消去してからUTESTに書き込みしようとするのに、UTEST自体を削除できないからだと思います。DS32にDCFレコードを書き込む前に消去しないように指示する手順が抜けているのでしょうか? それが一つの説明になり得ます。私はUTESTのプログラミングにPEを使ったことは一度もなく、代わりにLauterbachのデバッガを使っています。 PEプログラミングの手順については分かりませんが、スクリプトが最初に消去しようとすると、処理は中断されます。 しかし、代替アルゴリズムはUTESTをターゲットにしているため、スクリプトはマイクロを消去しないはずです。単にプログラムし直せばいい。 以下のガイドによると、PEマイクロGUIでも試すことができます。 https://community.nxp.com/t5/S32-Design-Studio/MPC5777C-update-DCF-record/m-p/791557 よろしくお願いいたします。 ピーター Re: Debugger PE Micro これらの手順をMCUにコネクテッドして試したところ(REV EでREV Bではなく)、ポートフィールドがロックされたウィンドウが表示されました。 ユーザーマニュアルに戻ってみると、この方法は ハードウェアインターフェースを使う必要があるのですが、追加のデバッガを使わずに方法が必要だと分かりました。では、PE Micro PROGDSCを使ったこの方法はハードウェアインターフェースなしで動作するのでしょうか、それとも何ができるのでしょうか? Re: Debugger PE Micro どんな返信でも構いませんので、お願いします!
View full article
Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF Hello, We need to install the HSE firmware (FULL_MEM 0.2.55) in the field on S32K344 boards that use an FS26 SBC, without a debugger. Our software writes the pink image in code flash, sets IVT+0x2C to its address, programs the HSE FW feature flag in UTEST and triggers a destructive reset. The SBAF then installs the firmware. The FS26 runs a window watchdog (128 ms, challenger, reaction RSTB + FS0B). As far as we understand, the FS26 RSTB is connected to the MCU RESET_B, so after the destructive reset the FS26 goes back to INIT_FS and our software must close INIT_FS (first watchdog refresh) within the INIT_FS timeout (about 256 ms). While the SBAF installs the firmware, none of our code runs and nobody serves the FS26. In another thread NXP mentioned that the installation takes about 0.8-1 s, which is longer than the INIT_FS timeout. The attached diagram shows what we expect (A) and what we are afraid of (B): the FS26 resets the MCU during the installation, the SBAF starts again because the UTEST flag and the IVT pointer are still set, and the board ends up in a reset loop. Our questions: 1. Is this scenario real? Does the installation by the SBAF actually take longer than the FS26 INIT_FS timeout? 2. If the installation is interrupted by an external reset (RESET_B pulled low by the FS26), is it safe? Does the SBAF restart it from scratch at the next reset, or can the HSE be left partially installed? 3. What is the recommended way to install the HSE firmware on a board with an FS26 ? Installing with the FS26 in debug mode? Is there any other option, in the FS26 configuration or in the SBAF/IVT, so that the installation can complete in the field? (Diagram attached: FS26_HSE_install_timing.png. Times not to scale.) Thank you in advance. Best regards, Fabio Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF Hi @FabioG  1. The HSE firmware installation process can take approximately 1 second to complete. After the reset, the host application must wait until HSE_STATUS_INIT_OK is set before issuing any HSE service requests or proceeding with initialization. 2. Power instability, unexpected resets during HSE installation/update, failure to wait for HSE_STATUS_INIT_OK, execution of BIST before HSE_STATUS_INIT_OK is reached, or unsupported clock configurations may corrupt or erase the HSE FW. Also it is recommended to use a functional reset rather than a power-on reset during the installation process and to ensure that the power supply remains stable throughout the operation. 3. Using the FS26 in Debug Mode is recommended during development and programming activities, as the watchdog can be configured to provide either an 8-second timeout window or an unlimited open window. This helps avoid automatic resets and reduces the risk of interrupting HSE operations. BR, VaneB Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF Hi @VaneB   I have another question:  First start after the installation. After the SBAF has installed the HSE firmware, our bootloader starts and, during its normal start-up, performs a software functional reset to start the application, possibly before HSE_STATUS_INIT_OK is set. Is a functional reset at that moment safe, or is the installation still in progress until HSE_STATUS_INIT_OK is set for the first time? Fabio Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF Hi @FabioG  The BIST test should only be started after SBAF has entered the WFI state and the HSE_STATUS_INIT_OK bit is set. Regarding the wait time for HSE_STATUS_INIT_OK to be asserted, there is no fixed time. The initialization time depends on several factors, including the core frequency and the HSE firmware version. Therefore, measuring the HSE boot time on your target platform is the best way to determine an appropriate timeout value. Finally, it is not recommended to assume that a functional reset is safe before HSE_STATUS_INIT_OK is asserted. The HSE installation/initialization may still be in progress at that stage. As a result, the system should treat the startup process as incomplete until HSE_STATUS_INIT_OK is reached. Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF Hi VaneB, thank you for the answer. A short follow-up on the BIST point (2). Our software runs the BIST at every power-on, early in the start-up. Following your advice, on devices with the HSE firmware installed we could wait for HSE_STATUS_INIT_OK before starting the BIST. If HSE_STATUS_INIT_OK is not set within a short time (how much?), we would skip the BIST for that power cycle. Would this be enough to avoid any risk for the HSE firmware, or is there anything else we should take care of? Thank you. Best regards, Fabio
View full article
标题:S32K344 + FS26:SBAF 在 HSE 固件安装期间的外部看门狗 你好, 我们需要在没有调试器的情况下,在现场将 HSE 固件(FULL_MEM 0.2.55)安装到使用 FS26 SBC 的 S32K344 板上。我们的软件将粉色图像写入代码闪存,将 IVT+0x2C 设置为其地址,在 UTEST 中对 HSE FW 功能标志进行编程,并触发信号破坏性复位。然后 SBAF 安装固件。 FS26 运行窗口监视程序(128 毫秒,挑战者,反应 RSTB + FS0B)。据我们了解,FS26 RSTB 连接到 MCU RESET_B,因此在破坏性复位后,FS26 会返回到 INIT_FS,我们的软件必须在 INIT_FS 超时(约 256 毫秒)内关闭 INIT_FS(第一次看门狗刷新)。 在 SBAF 安装固件期间,我们的任何代码都不会运行,也没有人为 FS26 提供服务。在另一个帖子中,NXP提到安装大约需要0.8-1秒,这比INIT_FS超时时间要长。附图显示了我们期望的结果 (A) 和我们担心的结果 (B):FS26 在安装过程中 RESET MCU,由于 UTEST 标志和 IVT 指针仍然设置,SBAF 再次启动,最终板进入 RESET 循环。 我们的疑问: 1. 这种情况是真的吗?SBAF 的安装时间是否真的比 FS26 INIT_FS 超时时间更长? 2. 如果安装过程被外部复位(FS26 将 RESET_B 拉低)中断,是否安全?SBAF 会在下次 RESET 时从头开始重新启动吗?还是可以保留部分安装的 HSE? 3. 在带有 FS26 的板上安装 HSE 固件的推荐方法是什么?是否在调试模式下安装 FS26?在 FS26 配置或 SBAF/IVT 中,是否有其他选项可以让安装能够在现场完成? (附图:FS26_HSE_install_timing.png。时间未按比例绘制。) 提前谢谢您。 此致, 法比奥 Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF 嗨@FabioG 1.HSE固件安装过程大约需要1秒钟即可完成。重置后,主机应用程序必须等到 HSE_STATUS_INIT_OK 设置后才能发出任何 HSE 服务请求或继续进行初始化。 2.电源不稳定、HSE 安装/更新期间意外 RESET、未等待 HSE_STATUS_INIT_OK、在达到 HSE_STATUS_INIT_OK 之前执行 BIST 或不支持的时钟配置可能会损坏或擦除 HSE 固件。 此外,建议在安装过程中使用功能复位而不是上电复位,并确保电源在整个运行过程中保持稳定。 3.建议在开发和编程活动期间使用 FS26 的调试模式,因为可以将看门狗配置为提供 8 秒超时窗口或无限期打开窗口。这有助于避免自动RESET,并降低中断 HSE 操作的风险。 BR,VaneB Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF 嗨 VaneB, 谢谢你的回答。对 BIST 点 (2) 的简要后续说明。 我们的软件会在每次上电时,在启动初期运行 BIST。按照您的建议,对于安装了 HSE 固件的设备,我们可以在启动 BIST 之前等待 HSE_STATUS_INIT_OK。如果在短时间内(多久?)未设置 HSE_STATUS_INIT_OK,我们将跳过该电源循环的 BIST。 这样是否足以避免 HSE 固件的任何风险,还是还有其他需要注意的地方? 谢谢! 此致, 法比奥 Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF 嗨@FabioG 只有在 SBAF 进入 WFI 状态且 HSE_STATUS_INIT_OK 位设置后,才应启动 BIST 测试。 关于 HSE_STATUS_INIT_OK 钳位的等待时间,没有固定的时间。初始化时间取决于几个因素,包括核心频率和 HSE 固件版本。因此,测量目标平台上的 HSE 启动时间是确定合适的超时值的最佳方法。 最后,不建议在 HSE_STATUS_INIT_OK 钳位之前假定功能复位是安全的。届时 HSE 安装/初始化工作可能仍在进行中。因此,系统应将启动过程视为未完成,直到达到 HSE_STATUS_INIT_OK 状态。 Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF 嗨@VaneB 我还有个问题: 安装完成后首次启动。SBAF 安装 HSE 固件后,我们的引导加载程序启动,并在正常启动期间执行软件功能 RESET 以启动应用程序,这可能发生在 HSE_STATUS_INIT_OK 设置之前。此时进行功能 RESET 是否安全?或者说,在 HSE_STATUS_INIT_OK 首次被设置之前,安装仍在进行中? 法比奥
View full article
MCSPTE1AK144 – MATLABホストモデル起動直後のモーター故障 MATLAB/Simulinkで提供されている開ループおよび閉ループのサンプルを使用してMCSPTE1AK144キットを制御する際に問題が発生しています。 ターゲットモデルが構築され、生成されたファイルは S32K144に正常にフラッシュされます。MATLABはOpenSDA CDCシリアルポートも検出し、ホストモデルは通信を確立できます。 しかし、ホストモデルを起動してモーターをオンにすると、モーターシャフトが一瞬ピクピク動くか、動かず、D11の赤いLEDがすぐに点灯・点滅し、故障を示しています。するとモーターが反応しなくなる。 基本的なボード通信は、LPUART Hello Worldサンプルを使用して別途検証されており、OpenSDAシリアルポートを介して正常にビルド、フラッシュ、通信が行われます。 MATLABホストモデルから制御開始直後にモーター制御アプリケーションが故障に入る原因や、根本原因を特定するためにどの故障/ステータス変数をチェックすべきか教えていただけますか? ハードウェア:MCSPTE1AK144(S32K144-EVB + DEVKIT-MOTORGD) モーター:Sunrise 42BLY3A78-24110 MATLAB/SimulinkとNXP MBDT ありがとうございます。 ホットフィックス
View full article
Secure Provisioning Tool - Build image error Hi i am trying to sign a package using SPT. I have one binary that have FCFB + DCD + IVT + app.bin (a complete bootable image) and when i tried to sign it it is succesfull. But when i am selecting a binary that only have IVT and app.bin why Build Image is disabled ?? I have attached the screen shot also. Re: Secure Provisioning Tool - Build image error I have attached the image now. Please check Re: Secure Provisioning Tool - Build image error Hi @Abhay2080, Could you share which version of the Secure Provisioning Tool you are using? Additionally, I'm unable to see the image you mentioned in your attachment. Could you please try uploading it again? Best Regards, Pablo Re: Secure Provisioning Tool - Build image error Hi @Abhay2080, I ran some tests with Secure Provisioning Tool v26.09 using the binary you shared and noticed the following: According to Section 5.2.2, Source Image Formats of the Secure Provisioning Tool User Guide v26.09 the entry point can be specified explicitly for S19 files. For other image formats, the entry point is retrieved from the interrupt vector table (so the interrupt vector table must be at the beginning of the application image). In the case of the image without an IVT and FCFB, the tool detects the entry point at 0x601006C9, which is outside the application code range. Additionally, the start address is expected to be within the range 0x600D2D01 to 0x601006C9. Secure Provisioning Tool locates the entry point at offset 0x4 within the application image. Could you please test whether changing the entry point to a valid address allows you to build the image successfully? Best Regards, Pablo Re: Secure Provisioning Tool - Build image error Yes it worked ..Thankyou
View full article
PE Micro调试器 您好,NXP团队, 我想在 UTEST 闪存中记录一个 DCF,以保护 MCU 上的代码不被从板上读取(通过密码)。我可以在不使用调试器的情况下,使用 Design Studio 来完成这项操作吗? 顺祝商祺! 艾哈迈德 Re: Debugger PE Micro 你好, 是的,您可以使用 S32Design Studio 或任何其他编译器来实现。 UTEST 闪存(DCF 所在位置)只是一个设置为 OTP 的普通闪存。因此,您将使用与其他模块相同的标准闪存编程方法。 或者您可以使用调试器: https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Program-DCF-record-into-UTEST-flash-in-S32-Design-Studio/ta-p/1099436 顺祝商祺! Peter Re: Debugger PE Micro 感谢您的快速回复。 当我按照您分享的步骤使用 Design Studio 时,出现了这个错误。请问这个错误的原因是什么?如何解决? 另一个问题是,使用这种方法实施审查后,即使使用调试器,一个人是否能在不知道密码的情况下读取板上的代码? Re: Debugger PE Micro 我安装了S32DS R2017版本,并在此版本中重新尝试了这些步骤,但仍然出现同样的错误。可能是什么原因?我应该检查哪些方面? 我认为原因可能是 S32DS 尝试擦除 UTEST 并写入数据,但 UTEST 无法被删除。是否有遗漏的步骤导致 DS32 在写入 DCF 记录之前不要擦除数据? Re: Debugger PE Micro 你好, 正如帖子中所述,这是在 S32DS 版本 R2017 上测试的。 所以我不知道你使用的是哪个版本,而且错误表达式也太笼统了。 微型空白吗? 对于 PEmicro/S32DS,该机制通常通过专用的 UTEST 闪存算法 (*_UTest.pcp) 来实现。 您也可以联系 PEMicro,询问他们的调试器是否有最新版本的脚本/算法。 顺祝商祺! Peter Re: Debugger PE Micro 你好, 我认为原因可能是 S32DS 尝试擦除 UTEST 并写入数据,但 UTEST 无法被删除。是否有遗漏的步骤导致 DS32 在写入 DCF 记录之前不要擦除数据? 这或许是一种可能的解释。我从不使用 PE 来编写 UTEST 程序,我们使用的是 Lauterbach 调试器。 我不了解 PE 编程流程,但如果脚本先尝试擦除,则该过程将被中止。 但替代算法针对的是 UTEST,因此脚本不应该删除微数据。重新编程一下就行了。 您也可以按照以下指南尝试使用 PE 微型 GUI: https://community.nxp.com/t5/S32-Design-Studio/MPC5777C-update-DCF-record/m-p/791557 顺祝商祺! Peter Re: Debugger PE Micro 当我尝试将 MCU(版本 E 而非版本 B)连接到 MCU 并执行这些步骤时,出现了如下窗口,其中端口字段被锁定,如图所示。 回到用户手册后,我发现这种方法需要使用硬件接口,但我需要一种不需要任何额外调试器的方法,那么使用 PE Micro PROGDSC 的方法是否可以在不使用硬件接口的情况下工作,或者我该怎么做? Re: Debugger PE Micro 任何回复都请!!!
View full article
タイトル: S32K344 + FS26: SBAFによるHSE FWインストール中の外部ウォッチドッグ こんにちは、 デバッガを使用せずに、FS26 SBCを使用するS32K344ボードにHSEファームウェア(FULL_MEM 0.2.55)を現場でインストールする必要があります。私たちのソフトウェアはコードフラッシュでピンク画像を書き込み、IVT+0x2Cをそのアドレスに設定し、UTESTでHSE FW機能フラグをプログラムして破壊的なリセットをトリガーします。SBAFはその後ファームウェアをインストールします。 FS26はウィンドウウォッチドッグを実行します(128ms、チャレンジャー、反応RSTB + FS0B)。私たちの理解では、FS26のRSTBはMCU RESET_Bに接続されており、破壊的なリセット後はFS26がINIT_FSに戻り、ソフトウェアはINIT_FSタイムアウト(約256ms)内にINIT_FSを閉じ(最初のウォッチドッグリフレッシュ)しなければなりません。 SBAFがファームウェアをインストールしている間は、私たちのコードは一切実行されず、誰もFS26にサービスを提供しません。別のThreadでNXPはインストールに約0.8〜1秒かかると言っていましたが、これはINIT_FSタイムアウトよりも長い時間です。添付の図は、私たちが期待すること(A)と恐れていること(B)を示しています:FS26は設置中にMCUをリセットし、UTESTフラグとIVTポインタがまだ設定されているためSBAFが再起動し、基板はリセットループに陥ります。 私たちの質問: 1. このシナリオは現実のものですか?SBAFによるインストールは、FS26のINIT_FSタイムアウトよりも実際に時間がかかるのでしょうか? 2. インストール中に外部リセット(FS26によってRESET_Bがローにプルダウンされる)によって中断された場合、安全ですか?SBAFは次のリセット時に一から再起動しますか?それともHSEは部分的にインストールしたままにしてもいいのでしょうか? 3. FS26搭載のボードにHSEファームウェアをインストールする推奨方法は何でしょうか?FS26をデバッグモードでインストールしますか?現場で設置を完了させるために、FS26構成やSBAF/IVTで他に選択肢はありますか? (添付の図:FS26_HSE_install_timing.png)(時間は縮尺通りではありません。) 事前に感謝いたします。 よろしくお願いします、 ファビオ Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF こんにちは、 @FabioGさん 1.HSEファームウェアのインストールプロセスは約1秒で完了することがあります。リセット後、ホストアプリケーションはHSE_STATUS_INIT_OKが設定されるまでHSEサービスリクエストを発行したり初期化を進めたりするのを待たなければなりません。 2.電源の不安定性、HSE のインストール/アップデート中の予期しないリセット、HSE_STATUS_INIT_OK を待たないこと、HSE_STATUS_INIT_OK に到達する前に BIST が実行されること、またはサポートされていないクロック構成により、HSE ファームウェアが破損または消去される可能性があります。 また、インストールプロセス中は、電源投入リセットではなく機能リセットを使用することを推奨します。さらに、動作中は電源供給が安定していることを確認してください。 3. 開発およびプログラミング活動中は、監視ドッグが8秒のタイムアウトウィンドウまたは無制限の開ウィンドウのいずれかを提供できるように設定できるため、デバッグモードでFS26を使用することが推奨されます。これにより、自動リセットを回避し、HSE(安全衛生環境)業務の中断リスクを軽減できます。 BR、VaneB Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF こんにちは、 @VaneBさん もう一つ質問があります。 インストール後、最初に起動してください。SBAFがHSEファームウェアをインストールした後、ブートローダーが起動し、通常の起動時にソフトウェア機能リセットを行いアプリケーションを起動します。場合によってはHSE_STATUS_INIT_OK設定前に行われます。その時点で機能リセットを実行しても安全でしょうか、それともHSE_STATUS_INIT_OKが初めて設定されるまでインストールは継続中でしょうか? ファビオ Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF こんにちは、VaneBさん。 ご回答ありがとうございます。BISTの点(2)について簡単に補足します。 私たちのソフトウェアは、起動初期の電源オン時にBISTを実行します。あなたのアドバイスに従い、HSEファームウェアがインストールされているデバイスならHSE_STATUS_INIT_OKを待ってからBISTを起動できます。HSE_STATUS_INIT_OKが短時間(どのくらいの時間?)以内に設定されない場合、その電源サイクルではBISTをスキップします。 これでHSEファームウェアへのリスクを回避できるでしょうか?それとも他に注意すべき点はありますか? よろしくお願いします。 よろしくお願いします、 ファビオ Re: Title: S32K344 + FS26: external watchdog during HSE FW installation by the SBAF こんにちは、 @FabioGさん BISTテストは、SBAFがWFI状態に入り、HSE_STATUS_INIT_OKビットが設定された後にのみ開始する必要があります。 HSE_STATUS_INIT_OKがアサートされるまでの待機時間については、決まった時間はありません。初期化時間は、コア周波数やHSEファームウェアのバージョンなど、いくつかの要因によって異なります。したがって、ターゲットプラットフォームでのHSEブート時間を測定することが、適切なタイムアウト値を決定する最良の方法です。 最後に、HSE_STATUS_INIT_OKがアサートされる前に機能リセットが安全であると想定することは推奨されません。その段階では、HSE(環境・安全・衛生)システムの設置/初期化がまだ進行中である可能性があります。その結果、システムはHSE_STATUS_INIT_OKに到達するまで、起動プロセスが未完了であるとみなすべきである。
View full article
MCXN94/54/53: USB embedded memory confusion Hello, I am trying to select the correct model of MCX N MCU to use for a new board design. In the datasheet MCXNP184M150F70.pdf, at page 12, below the models comparison table, there is the small NOTE 4 saying, "Dedicated USB RAM not available for devices which do not have USB FS module."  I don't need the USB FS device. I need to use the USB HS device only. So I thought to save a bit of the BOM budget, selecting a model without the USB FS, such as the MCXN537, but the tone of the note 4 sounds important. I wanted to check the reference manual to get some light. Reference manual: MCXNP184M150F70RM.pdf Chapter 61, paragraph 61.7.1, page 2197 (about USB LS) says: "In addition to the address space occupied by the USBFS registers, 512 bytes of embedded RAM are required for use in Keep Alive mode. On this chip the starting address of the USB RAM block is 4801_0000h. You can use this USB RAM in Active power mode for BDT entries, USB data buffers, or other purposes." I suppose that is the RAM that note 4 of the datasheet is referring to. The following chapter, 62, about USB HS, never mentions the word "RAM." I am confused. Questions: 1. Why is it important to notice that models without USB LS don't have USB embedded RAM? 2. Can I still do ISP programming with the MCXN53 from an USB pendrive, using only the USB HS device and without the "USB embedded RAM"? Thank you so much to everybody! F. Board Design MCXN USB Re: MCXN94/54/53: USB embedded memory confusion Hi @elfarolab  The missing “dedicated USB RAM” does not prevent you from using USB HS on an MCXN537. The datasheet lists USB HS as present and USB FS as absent for that model; Note 4 says the dedicated RAM is absent with the USB FS module . 1. Why the note matters: It warns you not to count on that memory address or its USBFS Keep Alive function when selecting a part without USB FS. For a design using only USB HS, it is not, by itself, a disqualifier. Also, the module name here is USB FS (full-speed), not USB LS (low-speed). 2. ISP from a USB pendrive: Do not plan on the factory ROM doing that. NXP’s documented MCX N ISP programming path uses USB HID with a connected computer and a tool such as blhost , or one of the listed serial interfaces. A pendrive instead requires the MCU to act as a USB host , read mass storage, and program the image; BR Harry Re: MCXN94/54/53: USB embedded memory confusion thank you!
View full article
Compulab IOTDIN-IMX8-C 1800QM-D4-N32 CAN 性能问题 各位团队成员,大家好! 我们目前正在使用通过终端 I/O 模块暴露的板载 CAN 接口,在基于 CompuLab ARM 的平台上评估 CAN 通信性能。 在测试过程中,我们观察到,在类似的 CAN 网络条件下,ARM 平台上的 CPU 利用率明显高于基于 x86 的系统: x86平台: CPU利用率约为30%。 CompuLab ARM平台: CPU利用率约为45%。 相比之下,当使用PEAK USB CAN 适配器和 compulab时,整体性能似乎更好,CPU 利用率也比使用板载 CAN 接口时更低。 我们的CAN网络配置如下: 具有18 个节点的 CANopen 网络。 CAN总线比特率: 250 kbps SocketCAN,txqueuelen 设置为 2000 通信主要通过PDO消息进行。 消息周期范围为100 毫秒至 10 秒 目前使用的最短更新间隔为100 毫秒 CAN-FD 未启用 x86 和 ARM 平台使用相同的应用软件和 CAN 配置。 我们希望更好地了解: 哪些因素可能导致 ARM 平台上的 CPU 占用率较高? 该平台上的板载 CAN 控制器/驱动程序是否存在任何已知的限制或优化建议? 是否有需要检查的特定 CAN 驱动程序、中断处理、缓冲或内核级调优参数? 板载 CAN 控制器和 PEAK USB CAN 适配器之间的差异是否可以解释观察到的性能差距? 是否有推荐的我的或诊断方法可以帮助确定 CPU 负载的主要来源? 我们的目标是在 ARM 平台上实现与 x86 系统相当的性能,同时保持当前的网络负载和消息速率。 我们非常感谢您能提供任何关于提高该平台上 CAN 性能的指导、建议或最佳实践。 感谢您的支持。 Re: Compulab IOTDIN-IMX8- C 1800QM-D4-N32 CAN performance issues 你好@JyothiKrao 希望你一切都好。 目前信息不足,无法确定是否存在平台特定的限制。在推荐针对特定控制器的变通方案之前,需要确切的 CompuLab 型号、SoC、内核版本、CAN 驱动程序和接口配置。具体来说,我们应该确认接口是否使用 FlexCAN 或其他控制器,是否选择 RX FIFO 或邮箱模式,以及驱动程序是否支持任何接收卸载机制。 我们建议首先比较两个系统上的以下测量结果: 实际 CAN 流量:每秒帧数、每秒字节数、总线利用率以及发送和接收的 PDO 数量。 CAN 错误和丢包: ip -details -statistics link show can0 以及控制器/驱动程序统计信息。 中断负载: /proc/interrupts 、 /proc/softirqs 以及运行 CAN 中断的 CPU。 进程和内核负载: top -H 、 pidstat -t ,以及(如果可用) perf top 或 perf record 同时保持相同的流量处于活动状态。 CPU 频率和调速器:验证两个平台是否都在预期的频率下运行,并且频率缩放是否影响比较结果。 顺祝商祺! 萨拉斯。
View full article
S32G3 EB AUTOCORE LICENSE Hello Team, We are facing issue in the activation code within EB Client License Administrator to start EB tresos AutoCore: 7FCB-75DF-0F6E-4E7A (valid until 12/30/2026),saying its expired. Please see the below attachment Re: S32G3 EB AUTOCORE LICENSE Hi, Please try signing in with an account from a colleague that has not access the license in the past. This should help you get the most updated license. Please do not share passwords, licenses other sensitive information in the community post.
View full article
セキュアプロビジョニングツール - イメージ構築エラー こんにちは、SPTを使ってパッケージに署名しようとしています。 FCFB + DCD + IVT + app.bin (完全なブート可能なイメージ) を含むバイナリが 1 つあり、それに署名しようとしたところ成功しました。 しかし、IVTとapp.binのみを含むバイナリを選択した場合、なぜ「イメージのビルド」が無効になるのでしょうか?スクリーンショットも添付しました。 Re: Secure Provisioning Tool - Build image error 画像を添付しました。チェックしてください Re: Secure Provisioning Tool - Build image error こんにちは、 @Abhay2080 さん。 どのバージョンのSecure Provisioning Toolを使っているか教えていただけますか? さらに、添付ファイルに記載されている画像を確認できません。もう一度アップロードしてみていただけますか? よろしくお願いします、 パブロ Re: Secure Provisioning Tool - Build image error こんにちは、 @Abhay2080 さん。 あなたが共有してくれたバイナリを使ってSecure Provisioning Tool v26.09でいくつかのテストを実行したところ、以下の点に気づきました。 Secure Provisioning Tool User Guide v26.09のセクション5.2.2「ソース画像フォーマット」によると、S19ファイルに対してエントリポイントを明示的に指定できます。他の画像形式では、エントリポイントは割り込みベクターテーブルから取得されます(したがって割り込みベクターテーブルはアプリケーション画像の先頭にある必要があります)。 IVTやFCFBがない場合、ツールはアプリケーションコードの範囲外の0x601006C9にエントリポイントを検出します。さらに、開始アドレスは0x600D2D01から0x601006C9の範囲内にあることが想定されます。 Secure Provisioning Toolはアプリケーションイメージ内のオフセット0x4のエントリポイントを特定します。 エントリポイントを有効なアドレスに変更することで、画像を正常に構築できるかどうかテストしてもらえますか? よろしくお願いします、 パブロ Re: Secure Provisioning Tool - Build image error はい、うまくいきました。ありがとうございます。
View full article
Compulab IOTDIN-IMX8- C 1800QM-D4-N32 CAN performance issues Hello Team, We are currently evaluating CAN communication performance on a CompuLab ARM-based platform using the onboard CAN interface exposed through the terminal I/O block. During our testing, we have observed significantly higher CPU utilization on the ARM platform compared to our x86-based system under similar CAN network conditions: x86 platform: approximately 30% CPU utilization CompuLab ARM platform: approximately 45% CPU utilization For comparison, when using a PEAK USB CAN adapter with compulab, the overall performance appears to be better, and the CPU utilization is lower than with the onboard CAN interface. Our CAN network configuration is as follows: CANopen network with 18 nodes. CAN bitrate used: 250 kbps SocketCAN with txqueuelen set to 2000 Communication consists primarily of PDO messages Message periodicity ranges from 100 ms to 10 seconds The shortest update interval currently used is 100 ms CAN-FD is not enabled The same application software and CAN configuration are used on both x86 and ARM platforms We would like to better understand: What factors could contribute to the higher CPU consumption observed on the ARM platform? Are there any known limitations or optimization recommendations for the onboard CAN controller/driver on this platform? Are there specific CAN driver, interrupt handling, buffering, or kernel-level tuning parameters that should be reviewed? Could differences between the onboard CAN controller and the PEAK USB CAN adapter explain the observed performance gap? Are there any recommended profiling or diagnostic methods that would help identify the primary source of CPU load? Our objective is to achieve performance on the ARM platform comparable to what we observe on x86 systems while maintaining the current network load and message rates. We would greatly appreciate any guidance, recommendations, or best practices for improving CAN performance on this platform. Thank you for your support. Re: Compulab IOTDIN-IMX8- C 1800QM-D4-N32 CAN performance issues Hello @JyothiKrao  Hope you are doing very well. There is not enough information to identify a platform-specific limitation yet. The exact CompuLab model, SoC, kernel version, CAN driver, and interface configuration are required before recommending a controller-specific workaround. In particular, we should confirm whether the interface uses FlexCAN or another controller, whether RX FIFO or mailbox mode is selected, and whether the driver supports any receive offload mechanism. We recommend first comparing the following measurements on both systems: Actual CAN traffic: frames per second, bytes per second, bus utilization, and the number of PDOs transmitted and received. CAN errors and drops: ip -details -statistics link show can0 and the controller/driver statistics. Interrupt load: /proc/interrupts , /proc/softirqs , and the CPU on which the CAN interrupt is running. Process and kernel load: top -H , pidstat -t , and, if available, perf top or perf record while the same traffic is active. CPU frequency and governor: verify that both platforms are operating at their expected frequency and that frequency scaling is not affecting the comparison. Best regards, Salas.
View full article
MCSPTE1AK144 – Motor Faults Immediately After Starting MATLAB Host Model I am facing an issue while controlling the MCSPTE1AK144 kit using the MATLAB/Simulink open-loop and closed loop examples available. The target model builds and the generated file can be flashed to the S32K144 successfully. MATLAB also detects the OpenSDA CDC serial port and the host model is able to establish communication. However, whenever I start the host model and switch the motor ON, the motor shaft either twitches briefly or does not run, and the D11 red LED immediately turns ON/flashes, indicating a fault. The motor then stops responding. Basic board communication has been verified separately using the LPUART Hello World example, which builds, flashes, and communicates successfully through the OpenSDA serial port. Could you please advise what could cause the motor-control application to enter a fault immediately after starting control from the MATLAB host model, and which fault/status variables should be checked to identify the root cause? Hardware: MCSPTE1AK144 (S32K144-EVB + DEVKIT-MOTORGD) Motor: Sunrise 42BLY3A78-24110 MATLAB/Simulink with NXP MBDT Thanks. HotFix
View full article
S32G3 EB AUTOCORE 许可证 各位团队成员,大家好! 我们在 EB Client License Administrator 中遇到激活码问题,无法启动 EB tresos AutoCore: 7FCB-75DF-0F6E-4E7A(有效期至 2026 年 12 月 30 日),提示已过期。 请参阅以下附件。 Re: S32G3 EB AUTOCORE LICENSE 你好, 请尝试使用之前未曾访问过该许可证的同事的帐户登录。这应该有助于您获得最新许可证。 请勿在社区帖子中分享密码、许可证或其他敏感信息。
View full article
MCXN94/54/53: USB組み込みメモリの混乱 こんにちは、 新しいボードデザインに使うためのMCX N MCUの正しいモデルを選ぼうとしています。 データシートMCXNP184M150F70.pdfの12ページのモデル比較表の下には、「USB FSモジュールを搭載しないデバイスには専用のUSB RAMは利用できません」という小さなNOTE 4の記載があります。 USB FSデバイスは必要ありません。私はUSB HSデバイスのみを使用する必要があります。そこでBOMの予算を少し節約するために、USB FSなしのモデル(例えばMCXN537など)を選びましたが、Note 4のトーンは重要そうですね。リファレンス・マニュアルを確認して、少し光を当てたかったんです。 リファレンス・マニュアル:MCXNP184M150F70RM.pdf 第61章、61.7.1項、2197ページ(USB LSについて)には次のように記載されています。 「USBFSレジスタが占めるアドレス空間に加えて、キープアライブで使用するために512バイトの組み込みRAMが必要です。」 モード。このチップでは、USB RAMブロックの開始アドレスは4801_0000hです。 このUSB RAMはアクティブ電源モードでBDTエントリやUSBデータバッファ、その他の用途に使用できます。」 データシートの注記4で言及されているのは、おそらくそのRAMのことだろう。 次の章である第62章(USB HSについて)では、「RAM」という言葉は一切出てこない。 私は混乱しています。 質問: 1. なぜUSB LSを搭載していないモデルにはUSB内蔵RAMがないことに注目するのか? 2. USB HSデバイスだけで、「USB組み込みRAM」なしで、USBペンドライブからMCXN53でISPプログラミングはできますか? 皆さん、本当にありがとうございます! F. ボード設計 MCX N USB Re: MCXN94/54/53: USB embedded memory confusion こんにちは、 @elfarolab さん 「専用USB RAM」が搭載されていないからといって、MCXN537でUSB HSを使用することが妨げられるわけではありません。データシートにはUSB HSが存在し、USB FSは存在しないと記載されています。注4ではUSB FSモジュールには専用RAMがありません。 1. メモが重要な理由:USB FSがない部品を選ぶ際に、そのメモリアドレスやUSBFSのKeep Alive機能に頼らないようにと警告しています。USB HSのみを使用する設計の場合、それ自体が不合格の理由にはなりません。また、ここでいうモジュール名はUSB FS(フルスピード)であり、USB LS(ロースピード)ではありません。 2. USBメモリからのISP: 工場出荷時のROMでそれができるとは思わないでください。NXPの文書化されたMCX N ISPプログラミングパスは、コネクテッドコンピュータとblhostなどのツール、または記載されたシリアルインターフェースのいずれかを備えたUSB HIDを使用します。代わりにペンドライブは、MCUがUSBホストとして機能し、マスストレージを読み込み、イメージをプログラムする必要があります。 BR ハリー Re: MCXN94/54/53: USB embedded memory confusion ご協力の程、よろしくお願い申し上げます。
View full article
MCXN94/54/53:USB嵌入式存储器混淆 你好, 我正在尝试为新的电路板设计选择合适的 MCX N MCU 型号。 在数据手册 MCXNP184M150F70.pdf 的第 12 页,型号对比表下方,有一条小小的注释 4,内容为:“对于没有 USB FS 模块的设备,专用的 USB RAM 不可用。” 我不需要USB FS设备。我只需要使用USB HS设备。因此,为了节省一些物料清单预算,我决定选择一款没有 USB FS 的型号,例如 MCXN537,但是 Note 4 的音质听起来很重要。我想查阅一下参考手册,看看能不能找到一些线索。 参考手册:MCXNP184M150F70RM.pdf 第 61 章,第 61.7.1 段,第 2197 页(关于 USB LS)指出: 除了 USBFS 寄存器占用的地址空间外,Keep Alive 功能还需要 512 字节的嵌入式 RAM。 模式。该芯片上 USB RAM 块的起始地址为 4801_0000h。 您可以将此 USB RAM 设置为主动供电模式,用于 BDT 条目、USB 数据缓冲区或其他用途。 我猜想,数据手册中提到的第 4 点指的就是 RAM。 下一章,即第 62 章,是关于 USB HS 的,其中从未提到“RAM”这个词。 我感到困惑。 问题: 1. 为什么需要注意没有 USB LS 的型号没有 USB 嵌入式 RAM? 2. 我还能使用 U 盘通过 MCXN53 进行 ISP 编程吗?只使用 USB HS 设备,而不使用“USB 嵌入式 RAM”? 非常感谢大家! f. 电路板设计 MCX N USB Re: MCXN94/54/53: USB embedded memory confusion 你好@elfarolab 缺少“专用的 USB RAM”并不会阻止您在 MCXN537 上使用 USB HS。数据表显示该型号支持 USB HS,不支持 USB FS;注 4 指出,使用 USB FS 模块时,专用的 RAM 缺失。 1. 注释的重要性:它警告您在选择没有 USB FS 的部件时,不要依赖该内存地址或其 USBFS Keep Alive 功能。对于仅使用 USB HS 的设计而言,这本身并不是一个不合格的因素。另外,这里的模块名称是 USB FS(全速),而不是 USB LS(低速)。 2. 从 USB 闪存盘启动 ISP:不要指望工厂 ROM 能做到这一点。NXP 官方记录的 MCX N ISP 编程路径使用 USB HID 连接计算机和 blhost 等工具,或者使用列出的串行接口之一。U盘则需要MCU充当USB主机,读取大容量存储设备,并对映像进行编程; BR 哈里 Re: MCXN94/54/53: USB embedded memory confusion 非常感谢!
View full article
MCSPTE1AK144 – 启动 MATLAB 主机模型后立即出现电机故障 我在使用 MATLAB/Simulink 提供的开环和闭环示例控制 MCSPTE1AK144 套件时遇到了问题。 目标模型构建成功,生成的文件可以成功烧录到S32K144。MATLAB也能检测到OpenSDA CDC串口,主机模型能够建立通信。 但是,每当我启动主机模型并打开电机时,电机轴要么短暂地抽动一下,要么根本不运转,D11 红色 LED 灯立即亮起/闪烁,表明出现故障。随后电机停止响应。 已使用 LPUART Hello World 示例单独验证了基本板通信,该示例可以成功版本、烧录并通过 OpenSDA 串行端口进行通信。 请问是什么原因导致电机控制应用程序在从 MATLAB 主机模型启动控制后立即出现故障?应该检查哪些故障/状态变量来确定根本原因? 硬件:MCSPTE1AK144(S32K144-EVB + DEVKIT-MOTORGD) 电机:Sunrise 42BLY3A78-24110 MATLAB/Simulink 与 NXP MBDT 谢谢。 热修复
View full article
Debugger PE Micro Hello NXP team, I want to record a DCF in the UTEST flash to protect the code on the MCU from being read out from the board (by a password). Can I use Design Studio to do that without using a debugger? Best regards, Ahmed Re: Debugger PE Micro Hello, Yes, you can use S32Design studio or any other compiler for that. UTEST flash where DCF reside is just a normal flash set as OTP. So you will use standard flash programming as for any other block. or you can use debugger: https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Program-DCF-record-into-UTEST-flash-in-S32-Design-Studio/ta-p/1099436 Best regards, Peter Re: Debugger PE Micro Thank you for the fast reply. When I followed the steps you shared using Design Studio, I got this error. Please tell me what the reason of this error is and how to fix it? Another question is that after implementing censorship using this method, can a person read the code from the board without knowing the password even if he uses a debugger or not? Re: Debugger PE Micro I installed the S32DS version R2017 and retried the steps again in this version, but again I got the same error. What may be the reason? What can I check?    I think the reason may be that S32DS tries to erase and then write to UTEST, but the UTEST can't be deleted. Is there any missed step to tell DS32 not to erase before writing the DCF record? Re: Debugger PE Micro Hello, As the thread express, this is tested on the S32DS version R2017. So I am not aware of which version do you use and the error expression is too general. Is the micro blank? For PEmicro/S32DS the mechanism is generally implemented through a dedicated UTEST flash algorithm (*_UTest.pcp). You can also reach out to PEMicro if there is any latest version of script/algorithm for their debugger. Best regards, Peter Re: Debugger PE Micro Hello, I think the reason may be that S32DS tries to erase and then write to UTEST, but the UTEST can't be deleted. Is there any missed step to tell DS32 not to erase before writing the DCF record? That could be a possible explanation. I never used PE for programming UTEST, we use Lauterbach debuggers instead. I cant speak for PE programming procedure, but if the script try to erase first then the process will be aborted. But the alternative algorithm target the UTEST, so the script should not erase the micro. Just reprogram it. You can also try it with PE micro GUI according to the guide bellow: https://community.nxp.com/t5/S32-Design-Studio/MPC5777C-update-DCF-record/m-p/791557 Best regards, Peter Re: Debugger PE Micro When I tried these steps with being connected to the MCU (REV E not REV B), I got this window with the port field locked as shown, When returning to the user manual, I found that this approach needs using a hardware interface, but I need a method without using any additional debugger, so can this approach using PE Micro PROGDSC work without a hardware interface or what I can do? Re: Debugger PE Micro Any reply, please!!!
View full article
S32G3 EB AUTOCORE ライセンス こんにちは、チームの皆さん、 EB Client License Administrator 内のアクティベーション コード 7FCB-75DF-0F6E-4E7A (有効期限 2026 年 12 月 30 日) が期限切れであると表示され、EB tresos AutoCore を起動する際に問題が発生しています。 下記の添付ファイルをご覧ください。 Re: S32G3 EB AUTOCORE LICENSE こんにちは、 過去にライセンスにアクセスしていない同僚のアカウントでサインインしてみてください。これにより、最新のライセンスを入手できるはずです。 コミュニティ投稿では、パスワード、ライセンス、その他の機密情報を共有しないでください。
View full article