Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
How to use an m_sramx memory region? Hi NXP team, I am using MCXN547 with MCUXpresso SDK and noticed that the linker script defines an m_sramx memory region. Could you clarify how this memory region is intended to be used? Specifically: Do variables need to be explicitly placed into the m_sramx section using a compiler attribute or section macro? Or will the linker automatically place variables into m_sramx when the default SRAM region becomes full? Is m_sramx suitable for large DMA buffers or eDMA TCD pools? Are there any cache, bus-access, or performance considerations when using it with DMA? I would appreciate an example of how to place a buffer in m_sramx in an MCUXpresso SDK project. Thank you. Core and Memory
View full article
RT1176外部フラッシュブート失敗 私はRT1176の開発は初めてです。J-Link SWDモードでは、ジャイロスコープ、Wi-Fi、その他のペリフェラルが完全にデバッグされ、正常に動作しています。しかし、Flashからの起動に問題があり、常に失敗します。どの点をチェックすべきか教えてもらえますか? HW-Open-Source Re: RT1176 external flash boot failure こんにちは、 @Amily さん。 Marekが述べたことに加えて、以下のナレッジベース記事は、i.MX RTがFlexSPIからどのように起動するかを理解する上で良い出発点となります。 i.MX RT FLEXSPIブートガイド さらに、以下の質問にも手伝ってもらえますか? テストを実施した際、EVKを使用しましたか、それともカスタムボードを使用しましたか? カスタムボードを使用している場合、どのフラッシュデバイスを使用していますか?EVKで使われているのと同じ装置ですか? どのIDEを使っていますか? どのSDKバージョンを使いましたか? ペリフェラルのデバッグ時にSDKの例を使いましたか? よろしくお願いします、 パブロ Re: RT1176 external flash boot failure こんにちは、 @Amily FCB(フラッシュ構成ブロック)が正しいかどうかを確認することをお勧めします。 セキュアプロビジョニングツール( https://nxp.com/sec )の使用を検討してください。起動可能なアプリケーションをフラッシュにインストールするために。よくあるミスを見つけるのに役立ちます。
View full article
如何使用 m_sramx 内存区域? 您好,NXP团队: 我正在使用 MCXN547 和 MCUXpresso SDK,并注意到链接器脚本定义了一个 m_sramx 内存区域。 您能否说明一下这块内存区域的用途?具体来说: 是否需要使用编译器属性或节宏将变量显式地放入 m_sramx 节中? 或者,当默认 SRAM 区域满时,链接器是否会自动将变量放入 m_sramx 中? m_sramx 是否适用于大型 DMA 缓冲区或 eDMA TCD 池?使用 DMA 时,缓存、总线访问或性能方面是否存在任何需要考虑的问题? 我希望能得到一个如何在 MCUXpresso SDK 项目中将缓冲区放置在 m_sramx 中的示例。 谢谢! 核心与内存
View full article
MCX-N947 モーター制御の例コードはSDKには含まれていません。 チームの皆さん、こんにちは。 MCX-N947のモーター制御SDKの例が見つかりません。 NXP SDK Builderからダウンロードした最新のSDKを使っています。MCX-N947のモーター制御の例コードがどこにあるか教えていただけますか? よろしくお願いします。 MCX N モータ制御 Re: MCX-N947 Motor Control example code is not available in SDK. こんにちは、 @embedabu さん、 投稿ありがとうございます。 モータ制御のデモについては、必ずしもすべてのSDKリリースに含まれているわけではありません。デモが以前のSDKバージョンと変わっていなければ、通常はその後のSDKリリースで再パッケージされません。 モータ制御のためのMCUXpresso SDK |NXPセミコンダクターズのウェブページを参照して、特定のデモの最新リリースを含むSDKバージョンを特定してください。 例えば 、FRDM-MCXN947のデモは SDK v26.03で見ることができます。 EVKボードMCXN9XXデモはSDK v2.14で見ることができます。 Celeste_Liu_0-1787886386939.png お役に立てば幸いです。 BR セレステ Re: MCX-N947 Motor Control example code is not available in SDK. こんにちは、 お返事ありがとうございます。 この例はSDK V25.09で利用可能でした
View full article
MPXM2053GSのダイ損傷 圧力センサでダイが損傷した経験がある方はいらっしゃいますか?この種の製品はかなり脆弱なようです。最近の生産工程において、複数のMPXM2053GSデバイスを設置したところ、出力がゼロであることが判明しました。その後のデカプセル化分析により、金型に亀裂が存在することが確認された。 以下の点についてご指導いただければ幸いです。 この金型割れの原因は何だったのでしょうか? 今後の制作で同様の問題を回避する方法。
View full article
marking of MPXM2053GS What does the marking KCY547C mean? It is normal that there are two different marking in one reel? 
View full article
MPXM2053GS芯片损坏 有人遇到过压力传感器芯片损坏的情况吗?感觉这类产品很容易出问题。在最近的生产过程中,我们安装了几个 MPXM2053GS 设备,发现它们没有输出。随后进行的去封装分析证实了芯片上存在裂纹。 我们希望获得以下方面的指导: 是什么原因导致了模具开裂? 如何避免未来生产中出现类似问题。
View full article
im8QMのA72コア上のCNTFRQ_el0の値を変更します。 こんにちは! im8QMのA72コアのCNTFRQ_el0の値を変更するにはどうすればよいですか?現在は8000000ですが、16Mに変更したいです。 ありがとう! Re: 修改im8QM的A72核的CNTFRQ_el0的值 i.MX8QMでは、A72のCNTFRQ_EL0に対応する実際のカウント周波数を8MHzから16MHzに変更することは推奨されず、事実上不可能です。その理由は、CNTFRQ_EL0はソフトウェアがシステムカウンタの周波数を「検出」するためのレジスタに過ぎず、ソフトウェアがこのレジスタ値を書き込めたとしても、ハードウェアのシステムカウンタの実際の周波数は変更されないためです。 i.MX8QMの場合、リファレンスマニュアルには、SCU ROMがシステムカウンタを有効にし、24MHzクロックを入力すると記載されています。システムカウンタは内部でこれを分周して8MHzクロックを生成します。関連するクロックルートも、システムコントローラファームウェアによって管理されるクロックドメインに属します。ドキュメントには、SCU_MSLICE0_CLK_ROOT / SCU_MSLICE1_CLK_ROOTをSYS COUNTERのルートクロックとして使用でき、ルートクロックの生成はSC FWによって制御されることが示されています。 もしあなたが今これを読んでいるなら: CNTFRQ_EL0 = 8000000 次のように変更したいです。 CNTFRQ_EL0 = 16000000 区別すべき点が2つある。 CNTFRQ_EL0 レジスタの値 だけを変更すると、一部のソフトウェアはタイマーが16MHzであると「認識」しますが、ハードウェアカウンタは依然として8MHzで動作するため、時間、スケジューリング、レイテンシ、プロファイリングなどにエラーが発生し、すべてが通常の2倍の値になります。 システムカウンタは実際に16MHzに変更されました。 私が調べたi.MX8QMのドキュメントによると、システムカウンタはSCU ROM内で24MHz / 3 = 8MHzに初期化されており、16MHzに変更するための公開されているレジスタや手順は存在しません。i.MX8シリーズに関する同様の議論でも、システムカウンタの周波数はハードウェアで固定されており変更できないことが明確に述べられています。 Linux/RTOSで正しい周波数を使用することが目的であれば、CNTFRQ_EL0を8000000に設定したまま、デバイスツリー/ファームウェア/ブートローダーがタイマー周波数を誤って上書きしていないか確認することをお勧めします。16MHzの要件を満たすためだけにCNTFRQ_EL0を変更しないでください。ただし、意図的に非現実的な周波数で実験を行う場合は除きます。 結論:i.MX8QMのA72 CNTFRQ_EL0レジスタの値を8MHzから16MHzに変更しないでください。実際のシステムカウンタはSCU/SCFWによって初期化され、実際には8MHzです。レジスタ値だけを変更してもハードウェア周波数は変更されず、システムタイムベースが乱れるだけです。 Re: 修改im8QM的A72核的CNTFRQ_el0的值 こんにちは: お返事ありがとうございます! SCUまたはSCFWでシステムカウンタを16MHzに設定するための方法またはデモコードを提供していただけますか? ありがとう! Re: 修改im8QM的A72核的CNTFRQ_el0的值 SCFWでできることは、通常SCFWポーティングキットのボード上でボード固有のファームウェアをカスタマイズすることです。しかし、取得したSCFWのガイダンスは、システムカウンタの周波数変更フックではなく、ボード/クロック/リソースのカスタマイズ全般について説明している。他のNXPプラットフォームの議論では、同じクラスのシステムカウンタ周波数がハードウェア固定とされ、周波数ID / CNTFRQ_EL0スタイルの値を書き込んでも実際のカウンタクロックは変わりません。 ですので、16 MHzをSCFWに書き込むデモコードは提供しません。なぜなら、実際のSystem Counterハードウェアのクロックや分圧器を変更しない限り、ソフトウェア上で誤った周波数が生まれるだけだからです。 安全な診断/デモ方法としては、実際のカウンターレートを確認することです。 コピー /* * A72 上で特権ファームウェアまたは初期のベアメタルコードから実行します。  * これはアーキテクチャカウンタと CNTFRQ_EL0 のみを読み取ります。 * システムカウンターを変更しようとはしません。 */ #include static inline uint64_t read_cntpct_el0(void) { uint64_t v;     __asm__ volatile("mrs %0, cntpct_el0" : "=r"(v));     return v; } static inline uint32_t read_cntfrq_el0(void) { uint64_t v;     __asm__ volatile("mrs %0, cntfrq_el0" : "=r"(v));     return (uint32_t)v; } void check_arch_timer_frequency(void) { uint32_t reported_hz = read_cntfrq_el0();     /* * cntpct デルタを独立した既知の良好な遅延源と比較する      * SCUタイマー、ボードオシロスコープGPIOトグルタイミング、またはその他 * 校正済みタイマー。i.MX8QMでは、約8,000,000カウント/秒が期待できます。      */ uint64_t t0 = read_cntpct_el0();     /* CNTFRQ_EL0 に基づかない、ボードで校正された 1 秒の遅延に置き換えます。*/     external_calibrated_delay_1s(); uint64_t t1 = read_cntpct_el0(); uint64_t measured_counts_per_sec = t1 - t0;     board_print(3,      "CNTFRQ_EL0 は %u Hz を報告し、CNTPCT は %llu カウント/秒を測定しました\n"、         reported_hz、         計測カウント数(1秒あたり) } Linuxや他のOSが正しいタイムベースを使うことを目的とする場合は、CNTFRQ_EL0を実際のカウンター周波数、つまりRMのテキストでi.MX8QMの8 MHzに合わせるように保つようにしてください。ハードウェアの実際のレートを変更せずに16MHzに設定すると、タイマーの遅延や時間計測が正しくスケーリングされなくなります。 要点:i.MX8QMの場合、システムカウンタはSCU ROMによって初期化される8MHzのハードウェアタイムベースとして扱われます。SCFWによるカスタマイズは、これを16MHzに変更するためのサポートされた方法ではありません。
View full article
The larger the CCLK for LPC1778 IAP programming, the slower the programming speed. Hello, when I was using the IAP mode of the LPC1778 to burn the program, I found that the larger the CCLK, the slower the burning process became. Most IAP instructions can accept the CCLK parameter, which is described in the manual as: Param3: CPU Clock Frequency (CCLK) in kHz. When debugging the LPC1778, I changed the default CCLK value of the driver from 12000 (12MHz) to 4000 (4MHz), and found that the burning speed actually increased. I tried several values and found that the larger the CCLK parameter, the slower the burning process. What could be the reason for this? What frequency does CCLK refer to? 回复: LPC1778 IAP烧录CCLK越大反而烧录越慢 Hi @BianHaopeng1 In the LPC1778/LPC178x documentation, CCLK refers to the ARM processor clock frequency / Main CPU clock, which is the core CPU clock. The IAP erase command explicitly requires the CPU Clock Frequency (CCLK) to be passed in kHz. The reason is most likely not that "a lower CCLK results in faster physical Flash writes," but rather that the IAP ROM routine treats the CCLK you pass in as the current CPU frequency to calculate the Flash erase/write timings/wait times. Therefore, if the actual CPU is still running at a higher frequency, and you only change the parameter passed to IAP from 12000 to 4000, IAP will generate a shorter latency/timing based on 4 MHz, resulting in faster burning; however, this means that an incorrect clock is being passed to IAP, and the reliability of Flash erase/write, temperature/voltage boundaries, and long-term stability are not guaranteed. The correct approach is to fill in the actual CPU clock speed at the time of the IAP call, in kHz, for the CCLK parameter. BR Harry Re: LPC1778 IAP烧录CCLK越大反而烧录越慢 On the LPC1778, CCLK means the actual CPU core clock frequency (in kHz), not the crystal/XTAL frequency. The IAP bootloader uses the CCLK parameter to calculate its internal timing, particularly for flash programming and UART communication. If the value you provide does not match the MCU’s real CPU clock—or if the clock is configured differently from what the IAP code expects—the timing calculations can become incorrect, causing slower programming or communication. Therefore, make sure the CCLK parameter exactly matches the CPU clock after PLL/divider configuration (e.g., 120 MHz should be specified as 120000 kHz, not 12000).
View full article
m_sramxメモリ領域の使い方 こんにちは、NXPチームの皆様、 私はMCUXpresso SDKでMCXN547使っているのですが、リンカースクリプトがm_sramxメモリ領域を定義していることに気づきました。 このメモリ領域がどのように使われるのか、もう少し詳しく教えていただけますか?具体的には: コンパイラ属性またはセクションマクロを使用して、変数をm_sramxセクションに明示的に配置する必要がありますか? それとも、デフォルトのSRAM領域がいっぱいになったときに、リンカが自動的に変数をm_sramxに配置するのでしょうか? m_sramxは、大規模なDMAバッファやeDMA TCDプールに適していますか?DMAと組み合わせて使う場合、キャッシュやバスアクセス、パフォーマンス上の考慮事項はありますか? MCUXpresso SDKプロジェクトでバッファをm_sramxに置く例があれば教えていただけると助かります。 よろしくお願いします。 コアとメモリ
View full article
FRDM-MCXE31B FRDM-MCXE31Bボードのデバッグやフラッシュを試みているのですが、接続シーケンス中にアプリケーションコードが読み込まれる前に一貫してRAM初期化の失敗に遭遇します。配線、ケーブル、USBポート、ジャンパー、プローブのファームウェアについては、問題ないと判断しました。詳細は下記をご覧ください。 設定: 基板: FRDM-MCXE31B MCU: MCXE31B テスト対象:M C U X Presso IDE v25.6(Windows)およびスタンドアロンのLink-server v26.6.137(Ubuntu Linux)— 両方とも同じ故障です MCU-Linkオンボードプローブファームウェア:v3.172に更新(マッチング確認、バージョン不一致なし) 接続スクリプト: MCXE31x_connect.scp 効果的な方法: SWDの物理的接続が成功しました デバッグ認証/アンロック成功(「アプリケーションデバッグがすでに有効」)。 チップ識別成功 — 正しい部品番号を読み返します:   SIUL2:MIDR1 @ 0x40290004 = 0x6BA02477 MCU Part Number is 0x000003A0 失敗する点 ― 両方のOSで、あらゆる試みにおいて:   ... RAM init via eDMA: address=0x20400000 size=0x00028000 Error: Wire Ack Fault - target connected? [repeats ~46 times] Error: RAM initialization failed (timeout)! これにより、次のエラーが発生します: 接続に失敗しました: Ep(01)。対象がデバッグ不可としてマークされました。 関連かもしれないコンテキスト情報: S32K3のリファレンス・マニュアル(同じアーキテクチャファミリ)によると、これらの部品のECC保護済みRAMは、電源オンリセット後に32ビットアクセスを有効にする前に64ビットマスターライトで初期化しなければならないと理解しています。したがって、connectスクリプトのeDMAステップがその必須の初期化を自動的に行っていると推測しています。この自動化されたステップ自体がタイムアウトしているようで、配線や接続の問題ではありません。チップ識別(これ以前のステップ)は毎回きれいに成功しているからです。 質問: FRDM-MCXE31Bでこの特定のエラーに遭遇した方は他にいますか?既知の回避策、更新された接続スクリプト、または自動RAM初期化ステップをスキップ/調整する方法はありますか?必要であれば、詳細なログ(Link-server -l 5)を提供いたします。 通信・制御(I3C |I2C |SPI |FlexCAN |イーサネット |FlexIO) Re: FRDM-MCXE31B こんにちは、 @Lokeshgowdasさん。 投稿ありがとうございます! これは特定のプロジェクトだけで発生している現象ですか? あなたのプロジェクトはZephyrを使っているようですが、どのバージョンを使っているのか教えていただけますか? ログを共有して確認させてください。
View full article
Secure boot on imxrt1024..5A Hi, I am trying to sign my bootable image (which contains the FCFB, IVT, and other boot components) using CST, and I need to understand a few things: Do we need to create a CSF.txt/hab.csf file and use cst.exe to generate csf.bin? Then, do we need to use elftosb.exe to generate the final boot image? If elftosb.exe is required, where can I find it? In my CST installation, I can only find cst.exe and srktool.exe. As we know, SPT generates a nopadding_signed.bin. Is it possible to sign a bootable firmware image while retaining the FCFB block? Since the PKI contains four SRKs and I burn the SRK hash into OTP, if I sign my firmware using the private key corresponding to each of the four SRKs (IMG_1, IMG_2, IMG_3, and IMG_4), will all four signed images be able to pass HAB authentication? i.MXRT 102x Re: Secure boot on imxrt1024..5A The reason to use CST is that i guess we can just select the region of firmware we want to sign, like in SPT if i give firmware to sign it remove FCFB block from the firmware and then manually we have to concatenate the FCFB block. I want that if development team gives me binary  just signed it and ship the signed_firmware.bin that is ready to use Re: Secure boot on imxrt1024..5A Hi @Abhay2080 , I am sorry, but why are you still using CST package? For i.MX RT customers, we recommend SPT as the primary tool — use the GUI for development/prototyping, then leverage the generated scripts (powered by SPSDK) for mass production. This is NXP's official recommended path and eliminates the need to manually deal with elftosb , cst.exe , or BD file authoring. Please refer to https://www.nxp.com/applications/industrial/factory-automation/mobile-robotics/mcuxpresso-secure-provisioning-tool:MCUXPRESSO-SECURE-PROVISIONING for more details. Hope that helps, Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: Secure boot on imxrt1024..5A Hi @Abhay2080 , Thanks for the clarification! Please have my comments as below: 1. Do we need to create a CSF.txt/hab.csf file and use cst.exe to generate csf.bin? Then, do we need to use elftosb.exe to generate the final boot image? - Yes to CSF + cst.exe. For RT1024, elftosb is part of the standard NXP-documented workflow — but is NOT required if you already have a pre-assembled binary. There are two valid workflows for RT1024: 1. Standard NXP workflow (elftosb + CST, image built from components) This is documented in AN12079 (How to use RT Security Boot) and AN12681 (How to use HAB secure boot in i.MX RT10xx), the primary references for RT1024. elftosb reads a BD file, calls CST internally to generate the signature, and assembles the final image including the FCFB, IVT, and App in a single step: 2. CST-direct workflow (pre-assembled binary, for "receive → sign → ship") If the development team delivers a pre-assembled firmware.bin (already containing FCFB + IVT + App with CSF space reserved), CST is used directly and elftosb is not needed at all. 2. If elftosb.exe is required, where can I find it? In my CST installation, I can only find cst.exe and srktool.exe. - Correct -  elftosb.exe is intentionally not bundled with CST. CST only ships cst.exe and srktool.exe . elftosb is a separate tool from the flashloader/boot utility ecosystem. For i.MX RT1024, you can obtain it from: MCUBoot Flashloader Package: — download from NXP's website for i.MX RT102x. The tool is documented in the elftosb User's Guide  https://www.nxp.com/docs/en/user-guide/MBOOTELFTOSBUG.pdf  Kan_Li_0-1787913209797.pngKan_Li_0-1787913209797.pngKan_Li_0-1787913209797.png  You may refer to https://www.nxp.com/docs/en/nxp/application-notes/AN12238.pdf for more details.   3. As we know, SPT generates a nopadding_signed.bin. Is it possible to sign a bootable firmware image while retaining the FCFB block? - Yes — and CST direct is the correct approach for this exact requirement. The complete workflow for RT1024: # Step 1: Generate CSF binary (CST only reads firmware.bin for hashing — never modifies it) cst.exe --i hab.csf --o csf.bin # Step 2: Append CSF to original binary (FCFB intact at file offset 0x000) cat firmware.bin csf.bin > signed_firmware.bin signed_firmware.bin = FCFB (0x000–0x3FF) + IVT + App + CSF appended. Flash directly. Done. The following is a sample hab.csf for RT1024: [Header] Version = 4.3 Hash Algorithm = sha256 Engine Configuration = 0 Certificate Format = X509 Signature Format = CMS [Install SRK] File = "../crts/SRK_1_2_3_4_table.bin" Source index = 0 [Install CSFK] File = "../crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem" [Authenticate CSF] [Install Key] Verification index = 0 Target index = 2 File = "../crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem" [Authenticate Data] Verification index = 2 Blocks = 0x60001000 0x1000 0x "firmware.bin" 4. Since the PKI contains four SRKs and I burn the SRK hash into OTP, if I sign my firmware using the private key corresponding to each of the four SRKs (IMG_1, IMG_2, IMG_3, and IMG_4), will all four signed images be able to pass HAB authentication? - Yes — all four will pass, as long as no SRK revocation bits have been burned. Hope that makes sense, Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: Secure boot on imxrt1024..5A Just a small doubt regarding # Step 2: Append CSF to original binary (FCFB intact at file offset 0x000) cat firmware.bin csf.bin > signed_firmware.bin If i am just appending csf.bin to firmware how csf pointer will get updated in IVT? Re: Secure boot on imxrt1024..5A Hi @Abhay2080 , The CSF pointer in the IVT is NOT updated by the cat command. It must be pre-set by the development team in the firmware build, before CST ever runs. The cat step simply places csf.bin at exactly the offset the IVT pointer already expects. Hope that makes sense, Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
View full article
RT1052的运行模式问题 尊敬的NXP技术支持:        您们好!         正点原子的RT1052开发板的SDK中,有XIP运行模式和SDRAM运行模式两种例程。其中,SDRAM运行模式只能在调试模式下运行,一旦断电,断开调试器,重新启动,程序就运行不了。而正点原子的XIP运行模式的程序属于教学用的,有些方面,肯定不如现在NXP官方的SDK完善。        我有个疑问:“C:\Users\admin1\Desktop\SDK_25_06_00_EVKB-IMXRT1050\boards\evkbimxrt1050\lvgl_examples\lvgl_demo_widgets\mdk\flexspi_nor_sdram_releasep”这个例程属于XIP运行模式的还是SDRAM运行模式的?我查了编译之后的MAP文件,运行地址(Execution Region)有在QSPI FLASH里面的,也有在SDRAM里面的。然后,LVGL文件有分别运行在QSPI FLASH和SDRAM里的,那么,lv_conf.h文件中的“#define LV_MEM_SIZE (500 * 1024U)”所定义的内存空间到底是SDRAM里还是内部RAM里? Re: RT1052的运行模式问题 理解了。感谢! Re: RT1052的运行模式问题 Hi @FromCH0 , 感谢联系NXP技术支持团队! 该工程 flexspi_nor_sdram_release 不是纯 SDRAM 调试模式,而是 NXP SDK 定义的 FlexSPI NOR Flash XIP + SDRAM Data 混合模式。NXP SDK 25.06.00 官方文档明确说明,该 target 的程序 text 位于 FlexSPI NOR Flash,可直接 XIP 执行,而可读写 data 位于外部 SDRAM。 请参考:https://docs.mcuxpresso.nxp.com/mcuxsdk/25.06.00/html/boards/RT/evkbimxrt1050/gettingStarted/topics/build_an_example_application_003.html 因此,MAP 文件中同时看到 QSPI/FlexSPI Flash 和 SDRAM 的 Execution Region 是正常的。通常 LVGL 的函数代码和只读常量位于 Flash,而 LVGL 的运行时变量、动态内存池、显示缓冲区等位于 SDRAM。一个源文件也可能同时产生 Flash 中的代码段和 SDRAM 中的数据段,不能按源文件整体判断其运行位置。 LV_MEM_SIZE (500 * 1024U) 只定义 LVGL 内部动态内存池的大小,并不直接指定地址。如果工程使用 LVGL 自带内存管理器,未启用自定义 allocator,也没有设置固定内存池地址,那么在 flexspi_nor_sdram_release 链接配置下,这个约 500 KiB 的内存池通常作为 RW/ZI 数据放在外部 SDRAM,而不是片内 RAM。 您可以尝试在生成的 MAP 文件中搜索 work_mem、lv_mem 或相应 LVGL 内存池符号确认:地址为 0x800xxxxx 表示位于外部 SDRAM。 Best regards, Gavin
View full article
S32DS拡張機能とアップデートでPEmicroプラグイン(v6.2.3.202608261238)のインストールに失敗します— ZLIB入力ストリーム NXPサポートの皆さん、こんにちは。 S32 Design Studioの S32DS拡張機能とアップデート を通じてパッケージをインストールしようとしていますが、 Collect フェーズ中にPEmicroプラグインの破損によりインストールが一貫して失敗します。 エラーメッセージ: インストールするアイテムの収集中にエラーが発生しました セッションコンテキストは次のとおりです:(profile=DefaultProfile、phase=org.eclipse.equinox.internal.p2.engine.phases.Collect、operand=、action=)。 アーティファクトのダウンロードに関する問題: osgi.bundle、com.pemicro.debug.gdbjtag.pne、6.2.3.202608261238。 ZLIB入力ストリームの予期しない終了   私が試したこと: ローカルのp2キャッシュ(C:\Users\ \.p2\、S32DS eclipse/p2/、system Tempフォルダ)を検索しましたが、アーティファクトcom.pemicro.debug.gdbjtag.pne_6.2.3.202608261238.jarは ローカルには存在しません (0バイトのスタブすらありません)ので、古いキャッシュの問題ではありません。 異なる日に複数回インストールを試みましたが、毎回全く同じアーティファクトで同じエラーが発生します。 3台のコンピューターにインストールを試みたところ、いずれも同じ問題が発生した。 PEmicroは必要なパッケージ(例:S32K3xx開発パッケージ、S32 Design Studio Debugger Core)に 厳密に依存し ているようで、インストールウィザードで選択を解除できません。 私の環境: S32DS バージョン: [S32DS.3.5] ビルドID: 240924 (アップデート14) OS: Windows 10 インストールパス: D:\NXP\S32DS.3.5\(スペースや非ASCII文字は使用しないでください) リクエスト: お願いします: NXP/PEmicroアップデートサーバー上のアーティファクトcom.pemicro.debug.gdbjtag.pne_6.2.3.202608261238.jarが破損していないか確認してください。 PEmicro GDBプラグインの 過去の安定ビルド (例:タイムスタンプが古い6.2.3、または6.2.2)をダウンロードリンクを提供して、オフラインでインストールして壊れたアーティファクトを回避できるようにしていただけますか? ご協力ありがとうございます。 よろしくお願いします、Yuanbin Jing Re: S32DS Extensions and Updates fails to install PEmicro plugin (v6.2.3.202608261238) — ZLIB input こんにちは@yuanbin 「Available S32DS Software Sites」のURLをhttpからhttpsに変更してみてください。 VaneB_0-1787934025894.pngVaneB_0-1787934025894.pngVaneB_0-1787934025894.png また、この問題はネットワークやプロキシの制限が必要なアーティファクトのダウンロードを妨げている可能性もあります。ファイアウォール、プロキシ、VPN、セキュリティポリシーがS32DSのアップデートリポジトリへのアクセスに影響を与えている可能性があるかどうか、IT部門に確認してください。 BR、VaneB Re: S32DS Extensions and Updates fails to install PEmicro plugin (v6.2.3.202608261238) — ZLIB input こんにちは@yuanbin 残念ながら、私の環境ではその問題を再現できませんでした。S32DS 3.5のインストールでPEmicroドライバーを問題なくバージョン6.2.3にアップデートできました。このことから、発生している現象はプラグイン自体ではなく、お客様の環境設定に関連している可能性があります。 しかし、PEmicroプラグインは独自のソフトウェアであるため、内部の整合性を検証したりプラグインコンポーネントの詳細な調査を行うことはできません。 PEmicroサポートに直接連絡することをお勧めします。彼らは自社のソフトウェアに特化したアドバイスをくれます。 ご不便をおかけして申し訳ありません。 Re: S32DS Extensions and Updates fails to install PEmicro plugin (v6.2.3.202608261238) — ZLIB input こんにちは、 @VaneB さん。 ご提案ありがとうございます。 Available Software Sitesの設定でURLをhttpからhttpsに変更してみましたが、残念ながら同じアーティファクトで「ZLIB入力ストリームの予期せぬ終了」エラーが依然として発生します。 osgi.bundle、com.pemicro.debug.gdbjtag.pne、6.2.3.202608261238 ネットワークやプロキシの可能性については、確認済みです: - 私のマシンにはプロキシが設定されていません - 他のS32DSプラグインのインストールや更新は問題なく行えます - PEmicroプラグインだけが毎回一貫して失敗します 問題のある成果物のビルドタイムスタンプが非常に新しい(20260826)ことから、アップデートサーバー上のファイル自体が破損しているか不完全である可能性があると推測されます。エラーは収集フェーズ中に発生し、アーティファクトはローカルのp2キャッシュに全く表示されないため、ダウンロードストリームがソース側で切り捨てられていることが示唆されます。 お願いします: 1. NXP/PEmicroのアップデートリポジトリで「com.pemicro.debug.gdbjtag.pne_6.2.3.202608261238.jar」の整合性を確認する? 2. あるいは、以前の安定ビルド(例:6.2.2やそれ以前の6.2.3ビルド)への直接ダウンロードリンクを提供して、オフラインで「Help → Install New ソフトウェア → Archive」からインストールできる方法はありますか? ご協力ありがとうございました。 よろしくお願いします、 ユアンビン
View full article
Support FRDM-IMX93 (MIMX9352CVVXMAC, mask 2P87F) I'm seeing boot failures on a FRDM-iMX93 board using an i.MX93 chip with mask 2P87F (part number MIMX9352CVVXMAC). Setup: - Board: FRDM-iMX93 - SoC marking: MIMX9352 / CVVXMAC / 2P87F / SBAK2552K / KOREA - Boot method: SD card (uSDHC2), boot switches set per user manual (SW1[3:0]=0011) - Image: built via deploy-wizard.sh -> flexbuild (LSDK), Debian target, machine imx93frdm - U-Boot SPL 2025.04 Symptom: booting failed right after power-on 1. Board hangs right after "M33 prepare ok", no further output. I swapped in a second FRDM-iMX93 board with an older chip, part number MIMX9352CVVXMAB (mask 1P87F, Rev A1), using the exact same SD card and image. That board boots successfully. Questions: 1. Is there any current dedicated firmware for this part? 2. And any way to deal with that ? Thanks in advance. Re: Support FRDM-IMX93 (MIMX9352CVVXMAC, mask 2P87F) For the symptoms you describe, I would not treat this first as an SD-card or boot-switch problem. The board is already executing SPL from SD and reaches M33 prepare ok ; the failure point matches a known FRDM-i.MX93 early-boot issue where the boot image’s DDR configuration does not match newer FRDM boards / memory population. Dedicated firmware for MIMX9352CVVXMAC / 2P87F: I did not find a separately named “2P87F-only” firmware binary. NXP’s PCN identifies 2P87F as the new i.MX93 mask set and notes that new part numbers end in C , for example MIMX9352CVVXMAC , replacing the older ...MAB part-number suffix family. Most likely fix: use an i.MX93 FRDM boot image/BSP that includes the updated FRDM DDR configuration. A matching community case reports the same hang after M33 prepare ok ; the working resolution was moving to LF6.18.2 / Whinlatter , whose SPL prints found DRAM 2CS_2GB DRAM matched before continuing to Normal Boot . If you must stay on an older BSP/FlexBuild base: cherry-pick the NXP U-Boot change referenced in that case, 4c35a6086aedca2f6220382920242ad81ae372f6 , which was described as adding FRDM-iMX93 2CS/2GB DRAM support for boards using the substituted LPDDR4X device. Recommended path: repo init -u https://github.com/nxp-imx/imx-manifest \   -b imx-linux-whinlatter \   -m imx-6.18.2-1.0.0.xml repo sync DISTRO=fsl-imx-xwayland MACHINE=imx93-11x11-lpddr4x-frdm \   source sources/meta-imx/tools/imx-setup-release.sh -b build-frdm bitbake imx-image-core Then flash the generated .wic.zst to the whole SD device and boot from SD. The expected good SPL progression is: DDR: 3733MTS found DRAM 2CS_2GB DRAM matched M33 prepare ok Normal Boot Also check the LPDDR4X marking on the failing FRDM-iMX93. In the matching reports, older/working boards used Micron LPDDR4X, while failing newer boards used a substituted “J”-marked LPDDR4X device such as JSL4BAG167ZAMF ; the failure was identified as DDR training/validation, not Linux/rootfs and not simply the M33 firmware itself . Separately, keep the AHAB/ELE container aligned with the i.MX93 silicon revision. NXP documentation and support notes call out early boot failures when the ELE firmware / AHAB container does not match the silicon revision, and the i.MX Linux flow explicitly copies the i.MX93 A1 AHAB container into imx-mkimage/iMX9/ when building the boot image . But for your exact “hang right after M33 prepare ok ” pattern, the stronger match is the FRDM DDR configuration issue. Use an LF6.18.2/Whinlatter-based FRDM-iMX93 boot image, or backport the FRDM 2CS/2GB DDR U-Boot change; I would not look for a standalone 2P87F firmware file as the primary fix. Re: Support FRDM-IMX93 (MIMX9352CVVXMAC, mask 2P87F) Hi @yipingwang ,  Tks for your guideline, i already fixed that the day before. Using exactly the LF6.18.2/Whinlatter as some posts in the Community support!
View full article
Ethos-u delegate Hi, I am using IMX93 board and i want to run my object detection model on NPU.for that i need libethosu.so delegate..how to create that delegate.Previously I created Vx delegate for IMX8M family processors by following Machine learning guide(https://www.nxp.com/docs/en/user-guide/IMX-MACHINE-LEARNING-UG.pdf). but i am unable to build ethos-u delegate..could you please assist me. Re: Ethos-u delegate hi,   salas        would you please tell me how to find the c/c++ code to use ethosu delegate?        my boss do not like use objection dection(on ethosu delegate ) by python.        can I get the C/C++ code to do this job (with ethosu delegate )        or,          in fact.  up to now , we cannot drive ethosu delegate by c/c++      Re: Ethos-u delegate @Manuel_Salas ok will try to install the same and get back to you asap..Thank you Re: Ethos-u delegate @Mohan51 I downloaded the same image as you and I did this procedure: In the directory you will find these files: Alejandro_Salas_1-1713982706956.pngAlejandro_Salas_1-1713982706956.png To flash the full image you can set the command: $sudo uuu -b emmc_all imx-boot-imx93evk-sd.bin-flash_singleboot imx-image-full-imx93evk.wic Alejandro_Salas_2-1713982759452.pngAlejandro_Salas_2-1713982759452.png Boot the board. Finally: Alejandro_Salas_0-1713982292432.pngAlejandro_Salas_0-1713982292432.png Best regards. Salas. Re: Ethos-u delegate @Manuel_Salas yes I flashed the full image.and i downloaded the image from this url(https://www.nxp.com/webapp/sps/download/license.jsp?colCode=L6.6.3_1.0.0_MX93&appType=file1&DOWNLOAD_ID=null) i.e IMX93 EVK QSB. Re: Ethos-u delegate Hello @Mohan51  Did you flashed the full image from our official BSP? Best regards. Salas. Re: Ethos-u delegate @Manuel_Salas  I didn't found any libethosu_delegate in /usr/lib.I am attaching the output for your reference. Re: Ethos-u delegate Hello @Mohan51  Could you please double check? This is from the i.MX93EVK and BSP 6.6.3: root@imx93evk:~# uname -a Linux imx93evk 6.6.3-lts-next-gccf0a99701a7 #1 SMP PREEMPT Thu Feb 29 08:37:44 UTC 2024 aarch64 GNU/Linux root@imx93evk:~# ls /usr/lib/ |grep libethosu_delegate libethosu_delegate.so root@imx93evk:~# Best regards. Salas. Re: Ethos-u delegate Hi @Manuel_Salas ..i didn't found any libethosu_delegate.so in your latest BSP under /usr/lib ..i.e Linux6.6.3_1.0.0 Re: Ethos-u delegate Hello @Mohan51  In i.MX93 you need the libethosu_delegate.so, that is included in our official BSP, under /usr/lib. I hope this can helps to you. Best regards. Salas. Re: Ethos-u delegate Hello @bighero77  Hope you are doing very well. You mean this repo? Best regards, Salas.
View full article
MBDT_S32E2_安装问题 各位同事,我目前无法安装 S32Z/E 的基于模型的设计工具箱,因此我联系你们寻求帮助。我的系统上安装了 MATLAB 2024b(甚至尝试过 MATLAB 2026a),并且我还有一个有效的 NXP 帐户。我下载了 NXP_Support_Package_S32ZE_1.4.0_D2512.mltbx 文件,但是当我尝试按照快速入门指南进行安装时,该过程一直卡住,无法完成或继续进行。我非常感谢您能帮忙找出导致此问题的原因,并指导我如何才能成功完成安装。如果有什么日志或其他细节需要我提供以协助排查问题,请告诉我。感谢您提前给予的支持。 我按照用户指南中的两种方法都尝试过了,但都没有成功。 在线方式: 根据用户指南第 1.2.2 节,我下载了 NXP S32Z/E 系列基于模型的设计工具箱(NXP S32Z/E 系列基于模型的设计工具箱)。链接: https://uk.mathworks.com/matlabcentral/fileexchange/134202-nxp_support_package_s32ze )但是在步骤 1.2.2(f) 中,按照步骤操作后,文件夹中不存在“NXP_Support_Package_S32ZE.m”。 离线方法: 按照第 1.2.1 节所述,工具箱下载页面重定向到我的个人资料页面,并且网站上“基于汽车软件模型的设计工具箱”下没有 S32E2 工具箱。 设计:产品信息:汽车软件 - 基于模型的设计工具箱 我想知道我的步骤是否正确。 NXP_Support_Package_S32ZE 和 Toolboxes 是两个不同的软件包吗? 谢谢! 拉维 Re: MBDT_S32E2_Installation_Issue 你好 vladmitroi 非常感谢您的支持。问题已解决。 顺祝商祺! 拉维 Re: MBDT_S32E2_Installation_Issue 你好, 感谢您使用我们的产品。这个问题与所有 S32ZE 套件的软件包访问权限有关。您应该首先访问包含所有S32ZE软件的完整软件包,然后工具箱才会显示出来。 您可以按照本文档中的步骤从 nxp.com 获取 mltbx。安装方法很简单,只需拖放 .mltbx 文件即可。导入MATLAB。需要注意的是,目前支持的最新版本是 2024b。 文档中 1.3.0虽然提到了版本,但对于最新版本 1.4.0,步骤也是一样的。(应该在版本列表中可见)
View full article
mcf54415 mcPWM 预分频器 有人成功运行过mcPWM预分频器吗? 我尝试了几种不同的顺序,但只有当预分频器为 0 时才能正常工作,否则子模块计数器不会增加。 很想知道这个预分频器是否真的有效,如果有的话,能否提供一个确定可用的示例。 谢谢! Re: mcf54415 mcPWM prescaler 您好, 所以,我见过好几个类似的预分频器失效的案例,我可以把我的解决方案分享出来。 似乎在 RM 的任何地方都没有声明,但是如果您使用 INIT 和 VAL0 = 0 这样的逻辑(所有值均为无符号,就像我为了简单起见所做的那样),预分频器将无法工作。要使其正常工作,必须使用有符号逻辑。
View full article
S32DS 扩展和更新程序无法安装 PEmicro 插件 (v6.2.3.202608261238)— ZLIB 输入流 您好,NXP技术支持, 我正在尝试通过 S32 Design Studio 中的S32DS 扩展和更新来安装软件包,但由于 PEmicro 插件工件损坏,安装始终在收集阶段失败。 错误信息: 收集待安装项目时发生错误 会话上下文为:(profile=DefaultProfile,phase=org.eclipse.equinox.internal.p2.engine.phases.Collect,operand=,action=)。 下载工件时出现问题:osgi.bundle,com.pemicro.debug.gdbjtag.pne,6.2.3.202608261238。 ZLIB 输入流意外终止   我尝试过的方法: 搜索了本地 p2 缓存(C:\Users\ \.p2\、S32DS eclipse/p2/ 和系统临时文件夹)——工件 com.pemicro.debug.gdbjtag.pne_6.2.3.202608261238.jar不存在(甚至没有 0 字节的短截线),因此这不是过期的缓存问题。 在不同日期多次尝试安装——每次在完全相同的工件上都会出现相同的错误。 尝试在三台电脑上安装,都遇到了同样的问题。 PEmicro 似乎是我需要的软件包(例如 S32K3xx 开发包、S32 Design Studio 调试器核心)的硬性依赖项,因此我无法在安装向导中取消选择它。 我的环境: S32DS 版本:[S32DS.3.5] 版本号:240924(更新 14) 操作系统:Windows 10 安装路径:D:\NXP\S32DS.3.5\(不含空格或非ASCII字符) 请求:请问您能否: 请验证 NXP/PEmicro 更新服务器上的文件 com.pemicro.debug.gdbjtag.pne_6.2.3.202608261238.jar 是否已损坏? 请提供 PEmicro GDB 插件先前稳定版本(例如,时间戳较早的 6.2.3 版本或 6.2.2 版本)的下载链接,以便我可以离线安装并绕过损坏的组件? 感谢您的帮助。 谨致问候, 景元斌 Re: S32DS Extensions and Updates fails to install PEmicro plugin (v6.2.3.202608261238) — ZLIB input 嗨@yuanbin 请尝试将“可用 S32DS 软件站点”下的 URL 从 http 更改为 https: VaneB_0-1787934025894.pngVaneB_0-1787934025894.pngVaneB_0-1787934025894.png 此外,此问题可能与网络或代理限制有关,这些限制可能会中断所需文件的下载。请向您的 IT 部门确认是否有任何防火墙、代理、VPN 或网络安全策略可能会影响对 S32DS 更新存储库的访问。 BR,VaneB Re: S32DS Extensions and Updates fails to install PEmicro plugin (v6.2.3.202608261238) — ZLIB input 嗨@VaneB , 谢谢你的建议。 我已经尝试在“可用软件站点”设置中将 URL 从 http 更改为 https,但不幸的是,在完全相同的工件上仍然出现相同的“ZLIB 输入流意外结束”错误: osgi.bundle,com.pemicro.debug.gdbjtag.pne,6.2.3.202608261238 关于网络/代理的可能性——我已经确认: 我的机器没有配置代理。 我可以成功安装/更新其他 S32DS 插件,没有任何问题。 只有 PEmicro 插件每次都会出现故障 由于出错的工件具有非常新的构建时间戳(20260826),我怀疑更新服务器上的文件本身可能已损坏或不完整。错误发生在收集阶段,并且工件根本没有出现在我的本地 p2 缓存中,这表明下载流在源头被截断了。 能不能请你: 1. 验证 NXP/PEmicro 更新存储库中 `com.pemicro.debug.gdbjtag.pne_6.2.3.202608261238.jar` 的完整性? 2. 或者,能否提供之前稳定版本(例如 6.2.2 或更早的 6.2.3 版本)的直接下载链接,以便我可以通过“帮助 → 安装新软件 → 归档”离线安装? 再次感谢您的帮助。 此致, 元宾 Re: S32DS Extensions and Updates fails to install PEmicro plugin (v6.2.3.202608261238) — ZLIB input 嗨@yuanbin 恐怕我这边无法重现这个问题。我已成功将 S32DS 3.5 安装中的 PEmicro 驱动程序更新到 6.2.3 版本,没有任何问题。基于此,您遇到的问题可能与您的设置有关,而不是插件本身的问题。 但是,由于 PEmicro 插件是专有软件,我无法验证其内部完整性或对插件元器件进行更深入的调查。 我建议您直接联系 PEmicro 支持团队,因为他们可以提供针对其软件的具体指导。 带来不便敬请谅解。
View full article
RT1052の動作モードの問題 NXPテクニカルサポート様 こんにちは! Zhengdian AtomのRT1052開発ボード用SDKには、XIP実行モードとSDRAM実行モードの2種類のサンプルプログラムが含まれています。SDRAM実行モードはデバッグモードでのみ実行可能で、電源が切断されたり、デバッガが切断されたり、システムが再起動されたりすると、プログラムは実行されません。Zhengdian AtomのXIP実行モードプログラムは教育目的のものであり、公式のNXP SDKほど機能が充実していない部分もあります。 質問があります。「C:\Users\admin1\Desktop\SDK_25_06_00_EVKB-IMXRT1050\boards\evkbimxrt1050\lvgl_examples\lvgl_demo_widgets\mdk\flexspi_nor_sdram_releasep」にあるルーチンは、XIPモードで実行されていますか、それともSDRAMモードで実行されていますか?コンパイルされたMAPファイルを確認したところ、実行領域はQSPI FLASHとSDRAMの両方にあります。そして、LVGLファイルはQSPI FLASHとSDRAMの両方で実行されます。したがって、lv_conf.hファイル内の「#define LV_MEM_SIZE (500 * 1024U)」で定義されているメモリ空間は、SDRAMにありますか、それとも内部RAMにありますか? Re: RT1052的运行模式问题 わかりました。ありがとうございます! Re: RT1052的运行模式问题 こんにちは、 @FromCH0 さん。 NXPテクニカルサポートチームにご連絡いただきありがとうございます! プロジェクト `flexspi_nor_sdram_release` は、純粋な SDRAM デバッグモードではなく、NXP SDK で定義されているハイブリッドモード(FlexSPI NOR フラッシュ XIP + SDRAM データ)で動作します。NXP SDK 25.06.00 の公式ドキュメントには、このターゲットのプログラムテキストは FlexSPI NOR フラッシュに格納され、XIP を介して直接実行できる一方、読み書き可能なデータは外部 SDRAM に格納されることが明記されています。 詳細については、以下のリンクを参照してください。https: //docs.mcuxpresso.nxp.com/mcuxsdk/25.06.00/html/boards/RT/evkbimxrt1050/gettingStarted/topics/build_an_example_application_003.html したがって、MAPファイルにQSPI/FlexSPIフラッシュとSDRAMの実行領域の両方が表示されるのは正常です。通常、LVGL関数コードと読み取り専用定数はフラッシュに格納され、LVGLランタイム変数、動的メモリプール、および表示バッファはSDRAMに格納されます。ソースファイルは、フラッシュにコードセグメントを、SDRAMにデータセグメントを同時に生成することもあり、その実行場所はソースファイル全体だけでは判断できません。 LV_MEM_SIZE (500 * 1024U) は、LVGL の内部動的メモリ プールのサイズを定義するだけで、アドレスを直接指定するものではありません。プロジェクトが LVGL の組み込みメモリマネージャを使用し、カスタム アロケータを有効にせず、固定メモリ プール アドレスを設定していない場合、flexspi_nor_sdram_release リンカ構成では、この約 500 KiB のメモリ プールは通常、オンチップ RAM ではなく、外部 SDRAM に RW/ZI データとして配置されます。 生成されたMAPファイル内でwork_mem、lv_mem、または対応するLVGLメモリプールシンボルを検索して確認できます。アドレス0x800xxxxxは、外部SDRAMに配置されていることを示しています。 よろしくお願いします、 ギャビン
View full article