Multi Source Translation Content

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Multi Source Translation Content

讨论

排序依据:
S32K148はセキュアブート機能を備えているが、JTAGを無効にするとブートローダーが起動しない。 NXP様、こんにちは。 弊社のK148には、ブートローダーとアプリケーションパーティションの2つのパーティションがあります。アプリケーションパーティションには、JTAGを無効にする機能があります。アプリケーションでJTAGを無効にすると、リセット後にブートローダーが起動せず、チップが動作不能になります。調査の結果、ブートローダーは32KBで、アドレス0x00から0x8000の範囲であることが判明しました。JTAGを無効にするには、アドレス0x408に0xFFu 、0xFFu 、 0xFFu 、 0xFFu 、 0xFCu 、 0x7Fu 、 0xFFu 、 0xFFuを書き込む必要があり、これによりフラッシュメモリの内容が変更されます。リセット後、CSEcがブートローダーに対して異なるboot_mac値を計算してしまうため、チップが動作不能になります。NXPは、この問題を解決するための成熟したソリューションを提供していますでしょうか?よろしくお願いいたします。 Re: S32K148有secureboot功能,但是bootloader在jtag关闭后起不来 こんにちは、 @lukaszadrapa 上記のマニュアルによると、 BOOT_MACは一度だけ書き込まれる不可逆的な値です。この値を変更できる公式APIはありますか?もしあれば、そのAPIを提供していただけますか? Re: 晶振波形异常 御社のFS32K144HFT0MLHT MCを使用しています 水晶発振器は8MHzの受動型水晶発振器(AV08000009)ですが、波形が異常です。この波形は貴社製MCUにとって許容範囲内でしょうか?また、正常な動作に影響はありますか? Re: S32K148有secureboot功能,但是bootloader在jtag关闭后起不来 こんにちは@vurtual 一般的な方法は、デバッグインターフェースを製造時に無効にすることであり、アプリケーションから後から無効化するのではなく、その場合、このプロセスは単一の生産ステップで完了します:フラッシュ構成フィールド(FCF)を再プログラムしてデバッグポートを無効化し、正しいBOOT_MAC値をプロビジョニングするか(または次のリセット後にCSEcが自動的に計算できるようにします)。 製品ライフサイクルの後半でデバッグインターフェースを無効化する必要がある場合も可能です。しかし、FCFが再プログラムされると、セキュアブートの計算には変更されたFCFの内容が含まれるため、BOOT_MACも更新する必要があります。そうしないと、セキュアブートの検証が失敗します。 BOOT_MACは標準的なSHEメモリ更新プロトコルを用いて更新可能で、CSEcキーの更新と同じ方法で行えます。BOOT_MACを新しいFCFの内容に合わせて更新した後、デバッグポートを無効にした状態でセキュアブートが正しく動作するはずです。 よろしくお願いいたします。 ルーカス Re: 晶振波形异常 この件のために新しいThreadを作成してください。ありがとう。 Re: 晶振波形异常 こんにちは、@ ルカシャドラパ 弊社では、貴社製FS32K144HFT0MLHTマイコンを8MHzのパッシブ水晶発振器(AV08000009)と組み合わせて使用していますが、波形が異常です。この水晶発振器の波形は貴社製マイコンにとって許容範囲内でしょうか?また、マイコンの正常な動作に影響はありますか?よろしくお願いいたします。 Re: S32K148有secureboot功能,但是bootloader在jtag关闭后起不来 こんにちは@vurtual これが不可逆的な操作であると、あなたはどこにお考えですか?それは正しくありません。BOOT_MAC更新可能です。 以前にも述べたように: 「BOOT_MACは標準的なSHEメモリ更新プロトコルで更新できます。CSEcキーの更新と同じ方法です。」 つまり、通常のSHE/CSEcキーのインポートや更新に使われるCMD_LOAD_KEYコマンドを使えます。 BOOT_MACを更新するには、標準のSHEキー更新手順に従ってM1~M5の値を生成する必要があります。キーカウンターは増分されなければならず、更新はMASTER_ECU_KEYまたはBOOT_MAC_KEYのいずれかで承認できます。 したがって、BOOT_MACの更新はサポートされている操作であり、元に戻せない操作ではありません。 よろしくお願いいたします。 ルーカス Re: 晶振波形异常 はい、ありがとうございます。
查看全文
S32 Design Studio for Power Architecture 2017.R1 许可证续期申请(许可证即将到期) 尊敬的恩智浦技术支持团队: 我目前使用的是 S32 Design Studio for Power Architecture 版本 2017.R1(内部版本号:171018)。我的许可证(激活码:[4C46-757C-2641-913E])几天后就要到期了。请问您能否帮我续订一下,以便我能继续不间断地使用该工具? 我已经登录了我的NXP账户并确认了许可证状态。如果您需要任何其他信息,请告诉我。 感谢您的支持。 此致, [zt] 激活ID:4C46-757C-2641-913E Re: License Renewal Request – S32 Design Studio for Power Architecture 2017.R1 (License about to exp 你好, 您的S32DS许可证已延期。请使用您之前的激活码重新激活S32DS。
查看全文
PCA9640A driver source code and uPower firmware software package Hi, Currently I am using custom hardware with iMX8ULP processor and I am using PCA9640A PMIC. I have to modify some changes in the PMIC source code according to my career card requirement. While checking I found a document to custom build uPower.bin following the document https://www.nxp.com/docs/en/user-guide/uPower_USERS_GUIDE.pdf In this document, it has been mentioned to cross compile using riscv. Please refer section 10.3.1 Preparing the uPower software build environment  Here it is been mentioned that NXP release a package includes the PCA9460 driver source code and basic uPower firmware static library. If the user uses other PMIC chips, it is not difficult to port the PMIC driver. I am not sure where to get this software package with PCA9460 driver source code and uPower firmware static library. Please help me in the right way to get this software package so that i can do my modifications accordingly. Regards, Ajith Ali Re: PCA9640A driver source code and uPower firmware software package Hello @Ajith_Ali  Hope you are doing very well. Sure, please take a look to the Embedded Linux for i.MX Applications Processors web page. There is the uPower Firmware Porting Kit 1.3.1: Inside is the PMIC_driver Porting guide and the uPower firmware binaries. Direct download link of the uPower Firmware Porting Kit 1.3.1. Best regards, Salas.
查看全文
MCUのSecureBootが有効S32K312別のブートローダーの認証 こんにちは。セキュアブートを有効にした後、FBLを変更する際に再認証を行う方法があるかどうかお伺いしたいのですが。 Securebootが有効になっている状態で別のFBLに変更すると、HMACキーを介して生成されるMETAデータ値が変更されます。FBLが変更されると、HSEはHMACキーを使用してメタデータを再計算する必要があります。しかし、新しいFBLによってHMACキーが削除されるため、メタデータの再計算が不可能になります。その結果、FBLでの検証失敗によりリセットが発生し、アプリケーションの起動が不可能になります。HMACキーを使って変更されたFBLを再認証し、FBLとアプリケーションの両方が正常に動作できるようにする方法はありますか?   Re: Authentication of another bootloader while S32K312 MCU SecureBoot is enabled こんにちは、 @jeongwoo これがセキュアブートの本質的な目的であり、認証に失敗したソフトウェアの実行を防ぐことです。 重要なのは、まだデバッグインターフェースにアクセスできるか、それともデバッガアクセスなしで現場で問題を回復しなければならないかです。 現場では、事前にそのような機能を備えた代替・復旧イメージ(例:HMAC鍵のインポート、新しい認証タグの生成、外部生成の認証タグの受け入れ、SMRの再インストール・再構成など)がなければ、通常は復旧は不可能です。 デバッグインターフェースにアクセスできる場合、最も簡単な解決策は外部で新しい認証タグを計算し、デバッガを使って更新したタグをフラッシュにプログラムすることです。この方法では、SMRのインストール時にHSE_SMR_CFG_FLAG_INSTALL_AUTHフラグが設定されていることが必要です。 HSE_SMR_CFG_FLAG_INSTALL_AUTHが設定されていない場合、HSEは内部に保存されているハッシュを使用して検証を行います。その場合、認証タグの更新だけでは不十分であり、新しいイメージパラメータでSMRを再インストールする必要があります。 よろしくお願いいたします。 ルーカス Re: Authentication of another bootloader while S32K312 MCU SecureBoot is enabled こんにちは、ルーカスさん。 前回の状態では、コントローラーにはHSE_SMR_CFG_FLAG_INSTALL_AUTHが設定されていません。あなたが言った方法、つまり新しいイメージパラメータでSMRを再インストールする方法を試そうとしています。以下に示す Fota_S32k3_SecureBootProcess の該当部分は正しいでしょうか? pSmrEntryInstall->accessMode = HSE_ACCESS_MODE_ONE_PASS; pSmrEntryInstall->entryIndex = 0u; pSmrEntryInstall->pSmrEntry = (HOST_ADDR)&smrEntry; pSmrEntryInstall->pSmrData = (HOST_ADDR)IVT.pAppImg_addr_0;/* アクティブなパーティションを指す */ pSmrEntryInstall->smrDataLength = smrEntry.smrSize; pSmrEntryInstall->pAuthTag[0] = (HOST_ADDR)smrEntry.pInstAuthTag[0];/* パッシブパーティションを指す */ pSmrEntryInstall->pAuthTag[1] = (HOST_ADDR)smrEntry.pInstAuthTag[1];/* パッシブパーティションを指す */ pSmrEntryInstall->authTagLength[0] = HmacTagLength; pSmrEntryInstall->authTagLength[1] = HmacTagLength; これが正しい場合、HSE_SRV_ID_SMR_ENTRY_INSTALL サービスを実行すると、HseResponse は 0xA5AA5317 として返され、これは以下に対応します。 #define HSE_SRV_RSP_KEY_EMPTY ((hseSrvResponse_t)0xA5AA5317UL) キーが空であることを示しています。(以前にも質問したように、この表示は該当部分が削除されたために生じているのではないかと推測しています。) キーの注入方法やこの問題の解決方法について、ぜひご案内いただけると大変ありがたいです。 ご返信よろしくお願いします。
查看全文
License Renewal Request – S32 Design Studio for Power Architecture 2017.R1 (License about to expire) Dear NXP Support Team, I am currently using S32 Design Studio for Power Architecture Version 2017.R1 (Build id: 171018). My license (Activation Code: [4C46-757C-2641-913E]) is about to expire in a few days. Could you please help me renew it so that I can continue using the tool without interruption? I have already logged into my NXP account and confirmed the license status. Please let me know if you need any additional information. Thank you for your support. Best regards, [zt] ActivationId: 4C46-757C-2641-913E Re: License Renewal Request – S32 Design Studio for Power Architecture 2017.R1 (License about to exp Hi,  your S32DS license has been extended. Please activate S32DS again with your old code. 
查看全文
GUIGuider-2.0.0がCコードを生成すると、生成されたフォルダの下のフォルダは完全に空になります。 Windows 11でGUIGuider-2.0.0を使用してCコードを生成すると、ログには生成が成功したと表示されているにもかかわらず、「generated」フォルダ以下のフォルダがすべて空になります。これは、コードを完全に生成できるGUI-Guider-1.10.1-GAと同じコンピュータで発生します。ウイルス対策ソフトを無効にしたり、管理者として実行したりするなど、さまざまな方法を試しましたが、問題は解決しません。同じ問題に遭遇した方はいらっしゃいますか?何かご助言いただければ幸いです。 21:10:08 INFO [gg_event] gg_event_layer_sys.c が生成されました 21:10:08 INFO [gg_event] gg_event_layer_top.c が生成されました 21:10:08 INFO [gg_event] gg_event_layer_bottom.c が生成されました 21:10:08 INFO update-sdk 開始 21:10:08 INFOターゲットエグゼキュータが初期化されました 21:10:08成功SDKテンプレートが正常に更新されました 21:10:08成功操作は0.00秒で完了しました 21:10:08 INFO [gg_event] gg_event_screen.c が生成されました 21:10:08 INFO [gg_event] gg_event.h が生成されました 21:10:08 INFO [gg_event] 生成が完了しました 21:10:08成功=== コード生成が正常に完了しました === Re: GUIGuider-2.0.0生成C代码时generated文件下面的文件夹全是空的 システムを再インストールしましたが、それでも動作しませんでした。GUI Guider 1.10は正常に動作します。空のプロジェクトにボタンを追加しました。 Re: GUIGuider-2.0.0生成C代码时generated文件下面的文件夹全是空的 こんにちは、 @IFYINT さん、 お待たせして申し訳ありません。問題が発生したプロジェクトを共有していただけますでしょうか?こちらで再現を試みます。 BR セレステ Re: GUIGuider-2.0.0生成C代码时generated文件下面的文件夹全是空的 Windows 11搭載PCで試してみましたが、あなたの問題は再現できませんでした。 別のコンピューターをお試しいただくのはご都合よろしいでしょうか?
查看全文
PCA9640A 驱动程序源代码和 uPower 固件软件包 您好, 目前我使用的是定制硬件,处理器为 iMX8ULP,电源管理芯片为 PCA9640A。 根据我的职业卡要求,我需要对 PMIC 源代码进行一些修改。 在查找资料时,我找到了一份关于如何按照文档https://www.nxp.com/docs/en/user-guide/uPower_USERS_GUIDE.pdf自定义构建 uPower.bin 的文档。 本文档中提到了使用 riscv 进行交叉编译。请参阅10.3.1 节“准备 uPower 软件构建环境”。 这里提到,NXP 发布的软件包包含 PCA9460 驱动程序源代码和基本的 uPower 固件静态库。如果用户使用其他 PMIC 芯片,移植 PMIC 驱动程序并不困难。 我不确定在哪里可以找到包含 PCA9460 驱动程序源代码和 uPower 固件静态库的软件包。 请帮我找到获取这个软件包的正确方法,以便我能进行相应的修改。 此致, 阿吉特·阿里 Re: PCA9640A driver source code and uPower firmware software package 你好@Ajith_Ali 希望你一切都好。 当然,请查看i.MX 应用处理器的嵌入式 Linux网页。 uPower固件移植工具包1.3.1: 其中包含 PMIC_driver 移植指南和 uPower 固件二进制文件。 uPower固件移植套件1.3.1的直接下载链接。 顺祝商祺! 萨拉斯。
查看全文
asoc-simple-card:升级到内核 6.18.x 后出现解析错误 您好, 这是我为内核 6.6.52 编写的工作 DT: / { codec: max98357a@0{ compatible = "maxim,max98357a"; #sound-dai-cells = <0>; pinctrl-names = "default"; pinctrl-0 = <&sdmode_en>; sdmode-gpios = <&gpio4 28 GPIO_ACTIVE_HIGH>; status = "okay"; }; sound { compatible = "simple-audio-card"; simple-audio-card,name = "SAI3 MAX98357A"; simple-audio-card,format = "i2s"; simple-audio-card,widgets = "Speaker","Speakers"; simple-audio-card,routing = "Speakers","Speaker"; simple-audio-card,bitclock-master = <&cpu_dai>; simple-audio-card,frame-master = <&cpu_dai>; cpu_dai: simple-audio-card,cpu { sound-dai = <&sai3>; clocks = <&clk IMX8MP_CLK_SAI3>; clock-names = "mclk"; //system-clock-frequency = <&clk IMX8MP_CLK_AUDIOMIX_SAI3_MCLK1>; dai-tdm-slot-num = <2>; dai-tdm-slot-width = <32>; }; codec_dai: simple-audio-card,codec { sound-dai = <&codec>; //clocks = <&clk IMX8MP_CLK_SAI3>; }; }; }; &sai3{ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_sai3>; #sound-dai-cells = <0>; clocks = <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_SAI3_IPG>, <&clk IMX8MP_CLK_DUMMY>, <&audio_blk_ctrl IMX8MP_CLK_AUDIOMIX_SAI3_MCLK1>, <&clk IMX8MP_CLK_DUMMY>, <&clk IMX8MP_CLK_DUMMY>, <&clk IMX8MP_AUDIO_PLL1_OUT>, <&clk IMX8MP_AUDIO_PLL2_OUT>; clock-names = "bus", "mclk0", "mclk1", "mclk2", "mclk3", "pll8k", "pll11k"; assigned-clocks = <&clk IMX8MP_CLK_SAI3>, <&clk IMX8MP_AUDIO_PLL1>, <&clk IMX8MP_AUDIO_PLL2>; assigned-clock-parents = <&clk IMX8MP_AUDIO_PLL2_OUT>, <&clk IMX8MP_AUDIO_PLL1_OUT>; // Try common MCLK rates that divide well to 48 kHz multiples // Option A: 24.576 MHz (very common for MAX98357A + 48 kHz) assigned-clock-rates = <24576000>, // PLL2 for 48 kHz <22579200>; // PLL1 for 44.1 kHz // Option B (if 44.1 kHz needed later): use PLL1 + 22579200 //assigned-clock-rates = <22579200>; fsl,sai-asynchronous; fsl,sai-mclk-direction-output; status = "okay"; }; 升级到内核 6.18.20 后,SAI3 无法探测,而且我的声卡也无法工作。 启动日志显示: 平台声音:延迟探测待处理:asoc-simple-card:解析错误 从内核 6.6.52 到 6.18.x,DT 语法有哪些变化?我没有找到任何相关信息。我该如何调查解析错误? i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Linux Yocto Project Re: asoc-simple-card: parse error after upgrading to kernel 6.18.x 你好, 能否请您分享一下您的dmesg日志? 顺祝商祺!
查看全文
MPC564xL用RAppID Initのライセンス RAppIDがダウンロードされましたが、情報には以下のようにE0002と表示されています。これはどういう意味ですか?
查看全文
When GUIGuider-2.0.0 generates C code, the folder under the generated folder is completely empty. When using GUIGuider-2.0.0 on Windows 11 to generate C code, the folders under the "generated" folder are all empty, even though the logs show successful generation. This happens on the same computer as GUI-Guider-1.10.1-GA, which generates the code perfectly. I've tried various methods, including disabling antivirus software and running it as administrator, but the problem persists. Has anyone encountered the same issue? I would appreciate any help. 21:10:08 INFO [gg_event] gg_event_layer_sys.c Generated 21:10:08 INFO [gg_event] gg_event_layer_top.c Generated 21:10:08 INFO [gg_event] gg_event_layer_bottom.c Generated 21:10:08 INFO update-sdk Started 21:10:08 INFO Target Executor initialized 21:10:08 SUCCESS SDK template updated successfully 21:10:08 SUCCESS Operation completed in 0.00s 21:10:08 INFO [gg_event] gg_event_screen.c Generated 21:10:08 INFO [gg_event] gg_event.h Generated 21:10:08 INFO [gg_event] Generation completed 21:10:08 SUCCESS === Code generation completed successfully === Re: GUIGuider-2.0.0生成C代码时generated文件下面的文件夹全是空的 I reinstalled the system but it still didn't work; GUI Guider 1.10 works fine. I added a button to a blank project. Re: GUIGuider-2.0.0生成C代码时generated文件下面的文件夹全是空的 Hello @IFYINT , Sorry to keep you waiting. Could you please share the project where the problem occurred? We'll try to reproduce it. BR Celeste Re: GUIGuider-2.0.0生成C代码时generated文件下面的文件夹全是空的 I tried it on my Windows 11 PC, but I couldn't reproduce your problem: Would it be convenient for you to try a different computer?
查看全文
Authentication of another bootloader while S32K312 MCU SecureBoot is enabled Hello, I would like to inquire if there is a way to re-authenticate when changing the FBL after activating Secureboot. When changing to a different FBL while Secureboot is enabled, the META Data values ​​generated via the HMAC Key change. As the FBL is changed, the HSE needs to recalculate the META Data using the HMAC Key; however, because the HMAC Key is deleted due to the new FBL, recalculating the META Data becomes impossible. Consequently, a reset occurs due to a verification failure at the FBL, making it impossible to launch the application. Is there a way to re-authenticate the changed FBL using the HMAC Key, thereby allowing both the FBL and the application to run normally?   Re: Authentication of another bootloader while S32K312 MCU SecureBoot is enabled Hi @jeongwoo  That is essentially the purpose of Secure Boot: to prevent execution of software that fails authentication. The key question is whether you still have access to the debug interface, or whether the issue must be recovered in the field without debugger access. In the field, if there is no alternate/recovery image that was designed with such functionality in advance (for example, importing an HMAC key, generating a new authentication tag, accepting a new externally generated authentication tag, or reinstalling/reconfiguring the SMR), then recovery is generally not possible. If you have access to the debug interface, the simplest solution is typically to calculate a new authentication tag externally and program the updated tag into flash using a debugger. This approach requires that the HSE_SMR_CFG_FLAG_INSTALL_AUTH flag was set when the SMR was installed. If HSE_SMR_CFG_FLAG_INSTALL_AUTH was not set, HSE uses the internally stored hash for verification. In that case, updating the authentication tag alone is not sufficient and the SMR must be reinstalled with the new image parameters. Regards, Lukas Re: Authentication of another bootloader while S32K312 MCU SecureBoot is enabled Hello Lukas, In the previous state, our controller does not have HSE_SMR_CFG_FLAG_INSTALL_AUTH set. I'm trying to apply the method you mentioned — reinstalling the SMR with new image parameters. Is the relevant part of Fota_S32k3_SecureBootProcess shown below correct? pSmrEntryInstall->accessMode = HSE_ACCESS_MODE_ONE_PASS; pSmrEntryInstall->entryIndex = 0u; pSmrEntryInstall->pSmrEntry = (HOST_ADDR)&smrEntry; pSmrEntryInstall->pSmrData = (HOST_ADDR)IVT.pAppImg_addr_0; /* pointing to active partition */ pSmrEntryInstall->smrDataLength = smrEntry.smrSize; pSmrEntryInstall->pAuthTag[0] = (HOST_ADDR)smrEntry.pInstAuthTag[0]; /* pointing to passive partition */ pSmrEntryInstall->pAuthTag[1] = (HOST_ADDR)smrEntry.pInstAuthTag[1]; /* pointing to passive partition */ pSmrEntryInstall->authTagLength[0] = HmacTagLength; pSmrEntryInstall->authTagLength[1] = HmacTagLength; If this is correct, when I run the HSE_SRV_ID_SMR_ENTRY_INSTALL service, the HseResponse is returned as 0xA5AA5317, which corresponds to: #define HSE_SRV_RSP_KEY_EMPTY ((hseSrvResponse_t)0xA5AA5317UL) indicating that the key is empty. (As I asked previously, I suspect this is displayed because that part has been erased.) I would greatly appreciate it if you could guide me on how to inject the key or otherwise resolve this issue. Thank you very much.
查看全文
S32K148有secureboot功能,但是bootloader在jtag关闭后起不来 亲爱的NXP,你好:         我们公司K148上有一个bootloader和app两个分区,在app里面有关闭jtag的功能,当在app中把jtag关了之后reset后bootloader起不来导致芯片变砖。经调查,bootloader有32K,从0x00到0x8000,关闭jtag是在0x408地址处写入了0xFFu, 0xFFu, 0xFFu, 0xFFu, 0xFCu, 0x7Fu, 0xFFu, 0xFFu,导致flash内容变化,reset后CSEc计算bootloader的boot_mac的值和原先的不一致导致变砖。请问NXP官方有没有什么成熟的方案来解决此问题?谢谢。 Re: S32K148有secureboot功能,但是bootloader在jtag关闭后起不来  Hi,@lukaszadrapa  根据上面的手册,BOOT_MAC是一次性不可逆写入的。还是说有官方专门的API能变更它的值?如果是 ,能提供这个API接口吗? Re: 晶振波形异常 使用贵公司的FS32K144HFT0MLHT这款MC, 晶振为AV08000009这款8MHz的无源晶振,波形异常。请问这样的晶振波形 贵公司的MCU可以接受吗 是否会影响正常使用 Re: S32K148有secureboot功能,但是bootloader在jtag关闭后起不来 嗨@vurtual 通常的做法是在生产过程中禁用调试接口,而不是之后在应用程序中禁用。在这种情况下,该过程可以在一个生产步骤中完成:重新编程 Flash 配置字段 (FCF) 以禁用调试端口,然后配置正确的 BOOT_MAC 值(或者允许 CSEc 在下次 RESET 后自动计算该值)。 如果在产品生命周期的后期需要禁用调试接口,也是可以的。但是,一旦 FCF 被重新编程,BOOT_MAC 也必须更新,因为安全启动计算包括修改后的 FCF 内容。否则,安全启动验证将失败。 BOOT_MAC 可以使用标准的 SHE 内存更新协议进行更新,就像 CSEc 密钥的更新方式一样。在将 BOOT_MAC 更新为与新的 FCF 内容匹配后,禁用调试端口后,安全启动应该可以正常工作。 问候, 卢卡斯 Re: 晶振波形异常 你好,@ lukaszadrapa 我们公司使用贵公司的FS32K144HFT0MLHT这款MCU, 配合晶振为AV08000009这款8MHz的无源晶振,波形异常。请问这样的晶振波形,贵公司的MCU可以接受吗,是否会影响MCU的正常使用,谢谢 Re: S32K148有secureboot功能,但是bootloader在jtag关闭后起不来 嗨@vurtual 你从哪里看出这是一项不可逆的操作?那不正确。BOOT_MAC 可以更新。 正如我之前提到的: “BOOT_MAC 可以使用标准的 SHE 内存更新协议进行更新,就像 CSEc 密钥的更新方式一样。” 这意味着您可以使用 CMD_LOAD_KEY 命令,该命令与用于导入和更新常规 SHE/CSEc 密钥的命令相同。 要更新 BOOT_MAC,您需要按照标准 SHE 密钥更新程序生成 M1–M5 值。密钥计数器必须递增,并且可以使用 MASTER_ECU_KEY 或 BOOT_MAC_KEY 授权更新。 因此,更新 BOOT_MAC 是受支持的操作,并且不是不可逆的。 此致, Lukas Re: 晶振波形异常 请为此另开一个帖子。谢谢。 Re: 晶振波形异常 好的,谢谢。
查看全文
imx8mmini sai1 最大采样率 hi sai1连接编解码器支持 768kHz/32bit 采样率。SAI1 -RX0 连接 codec_DOUT。 没有 768kHz/32bit 和 L/R 通道的数据可供读取。但SAI1-TXFS/SAI1-TXC 可以输出 768kHz/49.152MHz 的数据。读取 768kHz/16bit 和 384kHz/32bit 的 L/R 通道数据正常。内核版本 6.1.36。 谢谢。 Re: imx8mmini sai1 max sample rates 关于编解码器 DTS 的信息如下: 运行 arecord 命令,参数为“-f S32_LE -r 384000 -c 2 -d 1 test.wav”或者“-f S16_LE -r 786000 -c 2 -d 1 test.wav”也可以。但是运行“-f S32_LE -r 768000 -c 2 -d 1 test.wav”,test.wav 为 NULL。 Re: imx8mmini sai1 max sample rates 你好, 请问您能否分享一下您的设备树配置? 你使用的是哪种编解码器? 顺祝商祺! Re: imx8mmini sai1 max sample rates 你好, 如果出现与采样率相关的错误,可能是由于时钟源无法产生该采样率所需的频率造成的。 有时需要使用专用时钟源(例如外部时钟)来获得特定的采样率。 顺祝商祺! Re: imx8mmini sai1 max sample rates 当使用 768kHz 32bit x 2 通道读取时,SAI1_TXFS/SAI1_TXC 输出正常(768kHz/49.152MHz)。用示波器检查时,编解码器数据输出引脚(连接到 SAI1_RX0)有数据输出。imx8mmini sdma 是否有可能不工作? Re: imx8mmini sai1 max sample rates 你好, 测试过程中是否出现下溢或溢出错误? 顺祝商祺! Re: imx8mmini sai1 max sample rates 测试过程中出现如下内核打印错误: [ 506.336480] [858] wait_for_avail:1936: asoc-simple-card sound-pcmdev: 捕获写入错误(DMA 或 IRQ 问题?) Re: imx8mmini sai1 max sample rates 你好, 请分享您的 dmesg: dmesg | grep -i -E "xrun|overrun|dma|fifo|sdma|sai" 根据该错误日志,问题可能是由溢出引起的,请尝试增加周期和缓冲区大小,例如: arecord -D hw:0,0 -f S32_LE -r 768000 -c 2 --buffer-size=65536 --period-size=8192 -d 5 test.wav 顺祝商祺!
查看全文
etpu 曲轴读取信号-mpc5775e 您好, 我正在尝试使用CodeWarrior eTPU 功能集 (AN4907)在MPC5775E上使用 eTPU CRANK 功能。 根据 AN4907,当 CRANK 功能分配给通道 0 时,输入信号应通过TCRCLK连接。因此,我将外部曲轴信号连接到 EVB 上的TCRCLK 输入(J122,引脚 12) 。在引脚工具中相应地配置引脚,并启用角度模式(TBCR.AM) 。 然而,CRANK 函数始终检测不到任何输入信号。状态始终保持在SEEK(状态 = 0) ,齿计数器保持为零,并且不记录齿周期。 我已经核实了以下内容: 外部信号存在,可以作为 GPIO 正确读取。 CRANK 功能分配给发动机 A,通道 0 。 该引脚配置为TCRCLK 。 TBCR.AM已启用。 CRANK 通道已成功初始化,并具有高优先级。 尽管如此,eTPU 似乎并未检测到任何输入转换。 有没有人遇到过类似的问题,或者知道在 MPC5775E 上使用TCRCLK作为 CRANK 输入是否需要任何额外的配置? 我已附上我的项目供您参考。 若能得到任何帮助,我将不胜感激。 谢谢! Re: etpu crank-reading signal-mpc5775e 你好, 你体内可能存在活性IGF1。 我认为默认情况下过渡检测是禁用的,所以不会有信号通过。必须启用 IGF 旁路才能处理信号。 顺祝商祺! Peter
查看全文
S32DS.3.xIDEウイルスのチェックと削除 S32DS.3.5 IDEのインストールと更新中に、Alyacのウイルスチェックが出て削除しました。これらの症状は以前から知られていたものですか?その原因を突き止める解決策はあるのでしょうか? Re: S32DS.3.x IDE virus checked and deleted こんにちは、 正直に言うと、このようなメッセージを見たのは私にとって初めてのことです。インストーラーが破損しているか、ウイルス対策ソフトに問題がある可能性があります。 Re: S32DS.3.x IDE virus checked and deleted ランサムウェアが検出され、メッセージが削除されました
查看全文
s32k324 写入 Dflash 问题 我使用 S32DS3.5 + RTD2.0 开发了 S32K324。现在,我根据示例“Fee_Example_S32K344”中的配置和代码编写了 S32K324 的程序,并且编译成功了。但是程序运行时,一进入代码“Fls_Init(NULL_PTR);”就会报错。当我单步执行时,发现它无法跳过函数“Fls_IPW_Init();”。错误导致程序进入此函数“ static inline void DevAssert(volatile boolean x) { 如果(x) { } 否则 { for(;;) {ASM_KEYWORD(BREAKPOINT_INSTR);} } }" 所以我想如果RTD版本不支持S32K324来使用费用函数模型的话?或者能否给我一些其他通过 S32k324 的 eeprom 模式写入 Dflash 的示例? 谢谢。 Re: s32k324 write Dflash problem 由于所有项目工程都是基于 RTD2.0 创建的,因此迁移可能不太方便。如果RTD2.0能够修改和使用费用就最好了。您能帮我审核一下这个程序吗? Re: s32k324 write Dflash problem S32DS 生成的 Fls_IPW_Init() 函数是否会输出错误日志? Re: s32k324 write Dflash problem 嗨@mmyjh_123 , 能否分享一下项目文件,或者至少分享一下 .mex 文件?文件? 另外,你用的还是很老旧的RTD。 我建议升级到 RTD 7.0.1 版本。 谢谢! BR,丹尼尔 Re: s32k324 write Dflash problem 嗨@mmyjh_123 , 你有两个选择。 1. 要么将其更改为 VARIANT-PRE-COMPILE 就按你平时的方式称呼它吧: Fls_Init(NULL_PTR); 2. 或者选择 VARIANT-POST-BUILD 代替 并拨打电话: Fls_Init(&Fls_Config_BOARD_InitPeripherals); 此致, 丹尼尔 Re: s32k324 write Dflash problem 哦,我明白了,谢谢。
查看全文
etpu crank-reading signal-mpc5775e Hi, I am trying to use the eTPU CRANK function on an MPC5775E using the CodeWarrior eTPU Function Set (AN4907). According to AN4907, when the CRANK function is assigned to Channel 0, the input signal should be connected through TCRCLK. Therefore, I connected my external crank signal to the TCRCLK input (J122, pin 12) on the EVB. The pin is configured accordingly in the Pins Tool, and Angle Mode (TBCR.AM) is enabled. However, the CRANK function never detects any input signal. The state always remains in SEEK (state = 0), the tooth counters remain zero, and no tooth periods are logged. I have already verified the following: The external signal is present and can be read correctly as a GPIO. The CRANK function is assigned to Engine A, Channel 0. The pin is configured for TCRCLK. TBCR.AM is enabled. The CRANK channel is initialized successfully and has high priority. Despite this, the eTPU does not seem to detect any input transitions. Has anyone experienced a similar issue or knows if there is any additional configuration required for using TCRCLK as the CRANK input on the MPC5775E? I have attached my project for reference. Any help would be greatly appreciated. Thank you. Re: etpu crank-reading signal-mpc5775e Hello, You have probably active IGF1. I believe the transition detection is disabled by default, so no signal will pass through. The IGF bypass must be enabled in order for the signal to be processed. Best regards, Peter
查看全文
Code Warrior 10.5.1 for PA - Install New Software not working I have Code Warrior for PA 10.5.1 installed and I am trying to add QCVS (for RCW work). The installation was done as a clean new install. When I try to use Install New Software I get errors. Please help. Also, links to any offline install packages do not work for me (they send me back to the NXP Code Warrior main page). FYI - if I try to navigate to any of the update locations in a web browser I get 'Page Not Found'. The generated error is: Some sites could not be found. See the error log for more detail. Unable to read repository at http://freescale.com/lgfiles/updates/Eclipse/PA10_5_1/com.freescale.pa.pkt_win/content.xml. Remote host closed connection during handshake Unable to read repository at http://freescale.com/lgfiles/updates/Eclipse/PA10_5_1/com.freescale.pa.buildtools_win/content.xml. Remote host closed connection during handshake Unable to read repository at http://freescale.com/lgfiles/updates/Eclipse/PA10_5_1/com.freescale.pa.qcvs_win/content.xml. Remote host closed connection during handshake Unable to read repository at http://freescale.com/lgfiles/updates/Eclipse/PA10_5_1/com.freescale.pa.updatesite_win/content.xml. Remote host closed connection during handshake Re: Code Warrior 10.5.1 for PA - Install New Software not working Still I was not able to get the tool Getting error as below Re: Code Warrior 10.5.1 for PA - Install New Software not working I was able to get this working by modifying where the installation new software tool gets the new software, since it's still pointing to the old freescale.com address. If you go to help -> install new software... then click on the "available Software Sites" then update some of the locations to nxp from freescale, including the QCVS you should be able to get the tool.  Re: Code Warrior 10.5.1 for PA - Install New Software not working Hi, Can you send the QCVS offline installation packages to me Thank you Re: Code Warrior 10.5.1 for PA - Install New Software not working I've used the link https://nxp.flexnetoperations.com/control/frse/download?agree=Accept&element=6529687&dkey=9017647 But it would not work for you. You should: 0. log in to nxp 1. Open ticket support 2. Get a link from support 3. Support->Click on ticker -> Click on download, approve commitment and then goto next protal: i.e. the link something as above. it will be valid for a few days. Re: Code Warrior 10.5.1 for PA - Install New Software not working How can I get a copy of this, those sites are still down....  Re: Code Warrior 10.5.1 for PA - Install New Software not working Can you send the offline install file to me, Thanks a lot! Re: Code Warrior 10.5.1 for PA - Install New Software not working Can you send the offline install file to me, Thanks a lot! Also Re: Code Warrior 10.5.1 for PA - Install New Software not working I have already got one, Thanks a lot! Re: Code Warrior 10.5.1 for PA - Install New Software not working Can you send the offline install file to me, Thanks a lot! Re: Code Warrior 10.5.1 for PA - Install New Software not working I actually found the QCVS for PA 4.5 here and successfully added to codewarior-10.5.1. Attached a screenshot of the location. It may useful for others. Re: Code Warrior 10.5.1 for PA - Install New Software not working Hi, Thanks for the offline install file. I have this installed and working now with Code Warrior 10.5.1. Note I needed to de-select the option "Contact all update sites during install to find required software", else the install would fail with an error. Thanks again Re: Code Warrior 10.5.1 for PA - Install New Software not working I have transcended QCVS offline installation packages for CodeWarrior for Power Architectures Rev 4.5 to you, please pay attention to your email box to download it. After downloading QCVS for PA 4.5, please open CodeWarrior for PA 10.5.1 IDE, then install QCVS package from "Help->Install New Software->Add->Archive" Re: Code Warrior 10.5.1 for PA - Install New Software not working I've got a bit further with this. The Install New Software not working was because CodeWarrior installer still sets the download site as the old 'freescale.com'. I have edited and replaced with 'cache.nxp.com'. This information was very difficult to find! The QCVS installer now runs but generates MD5 hash errors (see attached). This also happens when running any of the update sites (build tools, eclipse, etc.). It also does the same in other versions of CodeWarrior (we also have v10.3). How do I sort this out? Re: Code Warrior 10.5.1 for PA - Install New Software not working Hi, Thanks for the answer. QoriQ Configuration and Validation Suite doesn't appear in my NXP software list. Also does not appear under the Code Warrior list. See screenshots attached. I am currently using an evaluation copy of Code Warrior 10.5.1. We have a licensed copy of Code Warrior 10.3 but have not upgraded yet. The online docs for Code Warrior says QCVS is free (unlicensed) so I wanted to try out and start looking at PBL/RCW configuration for our QoriQ T-series based boards. How do I get QCVS in my Code Warrior? Thanks again. Re: Code Warrior 10.5.1 for PA - Install New Software not working You could download QCVS for Power Architectures Rev 4.5 from NXP public Web site. Please login "www.nxp.com", then download the installation file from "My NXP Account->Software Licensing and Support->View accounts->NXP Software->QorIQ Configuration and Validation Enablement Suite-> 4.5 QCVS offline installation packages for CodeWarrior for Power Architectures Rev 4.5”. After downloading QCVS for PA 4.5, please open CodeWarrior for PA 10.5.1 IDE, then install QCVS package from "Help->Install New Software->Add->Archive". Then reopen CodeWarrior IDE, create a QCVS PBL project from "File->New->QorIQ Configuration Project", please enter "Project name" and select the processor to be used, click Next. Then in "Toolset selection" panel, please select "PBL - Preboot Loader RCW configuration" Re: Code Warrior 10.5.1 for PA - Install New Software not working Hi, Can you send the QCVS offline installation packages to me. Thank you! Re: Code Warrior 10.5.1 for PA - Install New Software not working hello,could you please send one to me Re: Code Warrior 10.5.1 for PA - Install New Software not working Hi, Open CodeWarrior for PA 10.5.1 IDE and add the below repository in "Help->Install New Software->Add" to install QCVS http://cache.nxp.com/lgfiles/updates/Eclipse/PA10_5_1/com.freescale.pa.qcvs_win
查看全文
s32k324 Dflash書き込みの問題 S32K324の開発には、S32DS3.5とRTD2.0を使用しました。今回、サンプル「Fee_Example_S32K344」の構成とコードに基づいてS32K324用のプログラムを作成し、コンパイルしました。しかし実行されると、このコードを入力した直後にエラーを報告しました」Fls_Init(NULL_PTR);「、入ったときにこの機能をスキップできないことがわかりました」 Fls_IPW_Init();".そしてerrはプログラムにこの関数を入力させました static inline void DevAssert(volatile boolean x) { if(x) { } else { for(;;){ASM_KEYWORD(BREAKPOINT_INSTR);}} }" つまり、RTD版がS32K324をサポートしていないなら、手数料機能モデルを使うということですか?あるいは、S32k324のeepromモードでDflashを書く他の例を教えてもらえますか? ありがとうございます。 Re: s32k324 write Dflash problem プロジェクトエンジニアリングはすべてRTD2.0に基づいて作成されているため、移行はあまり容易ではないかもしれません。RTD2.0が手数料を修正して利用できれば最善でしょう。プログラムのレビューを手伝ってもらえますか? Re: s32k324 write Dflash problem S32DSで生成されたFls_IPW_Init()やエラーログは印刷できますか? Re: s32k324 write Dflash problem こんにちは、 @mmyjh_123 さん。 プロジェクトか、せめて.mexファイルを共有してもらえますか?ファイル? また、非常に古いRTDを使用しています。 RTD 7.0.1へのアップグレードをお勧めします。 ありがとうございました。 BR、ダニエル Re: s32k324 write Dflash problem こんにちは、 @mmyjh_123 さん。 選択肢は2つあります。 1. VARIANT-PRE-COMPILE に変更してください。 そして、あなたがそう呼ぶように呼んでください。 Fls_Init(NULL_PTR); 2. または、代わりにVARIANT-POST-BUILDを選択してください。 そして電話してください: Fls_Init(&Fls_Config_BOARD_InitPeripherals); よろしくお願いいたします。 ダニエル Re: s32k324 write Dflash problem ああ、わかりました、ありがとうございます。
查看全文
如何在 S32 Design Studio 中安装 S32K144EVB SDK 你好, 今天,我安装了 S32 Design Studio 来评估S32K144EVB板。我想运行一个小测试,但是阅读手册后发现,当我创建一个新的应用程序项目时,当我点击“SDK”按钮时,并没有出现任何 S32 SDK。 如何为我的开发板安装 SDK 谢谢。 Re: How install S32K144EVB SDK in S32 Design Studio 嗨@ptcaos 首先,您需要下载与您的 S32DS IDE 兼容的软件版本。支持的 IDE 版本在软件的发行说明文档中指定。 在这个例子中,我将使用适用于 S32K1 设备的最新 RTD 版本: 下载 S32K1_S32M24x_RTD_R21-11_3.0.0_D2503_DesignStudio_updatesite.zip。该软件包可在“S32K1 实时驱动程序→ 汽车软件 - S32K1_S32M24x - Cortex-M 实时驱动程序 → S32K1_S32M24x 实时驱动程序 AUTOSAR R21-11 版本 3.0.0”下找到。 在 S32 设计工作室 3.6.x 版本中,导航至帮助 → S32DS 扩展和更新。 在 S32DS 扩展和更新窗口中,单击右下角的“添加更新站点” 。 选择 .zip 文件文件是之前下载的。添加后,该代码包,软件包将出现在可用扩展和更新列表中。 选择要安装的软件包,然后单击“安装/更新” 。 接受许可协议,然后单击“完成”。 安装成功后,S32DS 将提示您重新启动 IDE 以使更改生效。 重要提示:创建新项目时,请确保选择与已安装的 RTD 软件包兼容的工具链版本。例如,RTD 3.0.0使用 NXP GCC 10.2.0 进行开发和测试。此信息可在相应的版本说明文档中找到。 BR,VaneB
查看全文