Multi Source Translation Content

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

Multi Source Translation Content

Discussions

Sort by:
Experience with vendor's tools Hi guys, I am wondering what's your experience with using vendor's tools while working on their hardware? Let's say we talk about something like Layerscape series from NXP or STM32MP1 series. I've been working on a board based on one of the NXP's Layerscape SoC and I can't wrap my hand around the fact that the only tool they provide to bringup and verify eg. DDR is **bleep**ty IDE based on Eclipse. I mean, given the quality of this tool I wouldn't complain if they provided it for free but they charge hell a lot of money for a license. Want to learn how to do this or that using their IDE? Good luck, "best I can do" is, mostly not 100% accurate outdated, partial documentation, forum where you will always get an answer, that somebody will handle this and 240p video where you can barely see what's on the screen. I hope that I will only use it for DDR bringup and validation and will manage to do the rest without this tool. What's your experience with other vendors? How about TI? I've seen some tools from ST and they really looked much simpler but I don't have any practical experience. Re: Experience with vendor's tools Hello, The Eclipse base is aging, the DDR tooling (DDR Stress Test Tool) is functional but clunky, and the licensing cost vs. quality ratio is a common complaint in embedded communities. The documentation gap is real — AN (Application Notes) are often the better resource than the official tool docs. Many engineers use it purely for DDR PHY init/training as you plan, then move on.   Practical Tips for NXP Layerscape DDR Bringup Since you're stuck with it for now: The DDR Stress Test Tool standalone binary (separate from CodeWarrior) is sometimes available and lighter to use. NXP's i.MX/Layerscape community on GitHub has reference DDR configurations that can shortcut a lot of the tool-guided work. LSDK (Layerscape SDK) scripts sometimes expose DDR init parameters more transparently than the IDE. Regards
View full article
Lx2160a用のIbisモデル こんにちは、みんな LX2160A用のIBISモデルをどうやって手に入れられるのか知りたいです。どなたか助けていただけませんか? どうもありがとうございます 元 Re: Ibis model for Lx2160a IBISモデルは公開されていません。こちらでケースを作成してください: https://support.nxp.com/s/?language=en_US  そして、秘密保持契約書(NDA)の内容を共有してください。 よろしくお願いします。
View full article
freertos 系统跑不通问题(创建即跑不通) 我的项目项目程序按照规程建立后,发现freertos 系统 无法跑通 (已经调查过不是内存不足问题,应该 也不是优先级的问题),我的S32DS编译器版本如下图  任务直接建立失败,这个版本不支持freertos 吗?还是配置有什么特殊要求吗? Re: freertos 系统跑不通问题(创建即跑不通) 你好@sunshine88 , 应用程序实际上并不是因为 sys_msleep(5000) 调用本身而卡住的。该行为表明 sys_now() 使用的时间基准没有递增。因此, sys_msleep() 中的超时条件永远不会达到。 在 OSIF 配置截图中, OsIfUseSystemTimer 已启用,操作系统类型设置为 FreeRTOS。但是, OsIfCounterConfig_0 下的引用(包括计数器和系统定时器时钟引用)似乎不完整或为空。仅添加 PIT 组件并不能保证 OSIF 时基已正确配置和初始化。 目前请不要修改 TCP/IP 协议栈源代码或实现其他延迟解决方法。我建议如下: 从已安装的 TCP/IP 协议栈软件包中导入原始的 lwip_FreeRTOS_s32K358 示例。 构建并运行原始示例,无需任何修改。 检查原示例中 sys_now() 是否递增。 将 FreeRTOS、BaseNXP/OSIF、PIT、时钟、中断和 TCP/IP 协议栈配置与您的自定义项目进行比较。 验证生成的初始化序列是否包含所需的 BaseNXP/OSIF 和定时器初始化。 我们仍然需要之前请求的信息才能正确分析定制项目: MCU 的确切零件编号; 精确的评估板或定制板; 用作起点的原始示例或项目类型; 未修改的 lwip_FreeRTOS_s32K358 示例是否能在相同的硬件上运行; 生成的 sys_now() 实现; xTaskGetTickCount() 返回的 FreeRTOS tick 计数是否增加。 请先检查 xTaskGetTickCount() 。如果 sys_now() 保持不变而它增加,则说明 FreeRTOS 调度程序和滴答中断正在运行,问题具体出在 OSIF 时基配置或初始化中。如果 xTaskGetTickCount() 也保持不变,则问题更加根本,必须调查 FreeRTOS 滴答中断或调度程序配置。 如果可以,请提供完整的项目存档,而不仅仅是配置截图。如果没有生成的配置和初始化代码,就无法确定 sys_now() 实际使用的是哪个定时器或时钟源。 顺祝商祺! 帕维尔 Re: freertos 系统跑不通问题(创建即跑不通) 你好,现在我建立了一个LWIP程序例程,但是以太网mainLoopTask任务却卡在 sys_msleep(5000); 无法延时,我单步进入此函数,发现 startTime = sys_now(); sys_now()函数无法计数,现在我的配置页如下,是什么原因造成的那?感觉很迷惑。 Re: freertos 系统跑不通问题(创建即跑不通) 你好@sunshine88 , 您截图中显示的版本应该支持 FreeRTOS。S32 设计工作室 3.5 更新 14,RTD 4.0.0FreeRTOS 4.0.0 和 TCP/IP 协议栈 1.0.4看起来是预期的软件包组合,所以这似乎不是一般的版本兼容性问题。 根据所示代码,故障直接发生在 xTaskCreate() 中。请您提供以下信息? 具体的MCU部件号以及所使用的评估板或定制板。您之前提到过 S32K358,但请确认具体的器件型号和主板型号。 用作起点的原始示例的名称。 xTaskCreate() 返回的值。 xPortGetFreeHeapSize() 在调用 xTaskCreate() 之前和之后打印的值。 配置的 configTOTAL_HEAP_SIZE、configSUPPORT_DYNAMIC_ALLOCATION 的值,以及选定的 FreeRTOS 堆实现,例如 heap_4.c。 应用程序停止的确切位置,包括调试器调用堆栈(如果它进入断言、异常或 HardFault 处理程序)。 请注意,MCU 总 RAM 充足并不一定意味着 FreeRTOS 堆内存充足。xTaskCreate() 从 FreeRTOS 堆中动态分配任务控制块和任务堆栈。此外,1024U 堆栈深度参数通常表示堆栈元素而不是字节,因此在 Cortex-M7 上实际分配的内存大于 1024 字节。 作为基准测试,我建议导入并运行原始的 lwIP FreeRTOS 示例,不要做任何修改。一旦原始示例运行正常,请添加一个带有小堆栈、普通优先级和循环内 vTaskDelay() 调用的附加任务。这将有助于区分环境或电路板配置问题与额外任务引入的问题。 我还注意到,您的 xTaskCreate() 调用使用了 1024U 的堆栈深度,而原始工作示例使用了 256U。请恢复原始值 256U,并先测试未修改的示例。请注意,此参数指定栈元素的数量,而不是字节数,因此使用 1024U 需要更多的 FreeRTOS 堆空间。   此致, 帕维尔
View full article
熟悉供应商的工具 大家好,我想了解一下你们在使用厂商提供的工具来维护他们硬件时的经验如何?假设我们谈论的是 NXP 的 Layerscape 系列或 STM32MP1 系列之类的产品。我一直在开发一款基于 NXP Layerscape SoC 的电路板,但我无法理解他们提供的唯一用于启动和验证例如 SoC 的工具是什么。DDR 是一个基于 Eclipse 的垃圾 IDE。我的意思是,考虑到这个工具的质量,如果他们免费提供,我不会抱怨,但他们的许可证费用却高得离谱。想学习如何使用他们的 IDE 来完成这个或那个操作吗?祝你好运,“我能做的最好的就是”提供一些不太准确、过时、不完整的文档,以及一个你总能得到答案的论坛,保证有人会处理这个问题,还有一段240p的视频,你几乎看不清屏幕上的内容。我希望我只会用它来启动和验证 DDR,其余工作无需这个工具就能完成。你与其他供应商的合作经验如何?TI 的产品怎么样?我见过 ST 的一些工具,看起来确实简单得多,但我没有任何实际经验。 Re: Experience with vendor's tools 你好, Eclipse 基础架构已经老化,DDR 工具(DDR 压力测试工具)虽然功能齐全但笨拙,而且许可成本与……相比。质量与比例失衡是嵌入式社区普遍抱怨的问题。文档缺失是真实存在的——应用笔记通常比官方工具文档更有价值。许多工程师仅将其用于 DDR PHY 初始化/训练,然后按照计划进行下一步。   NXP Layerscape DDR启动实用技巧 既然你现在只能接受它了: DDR压力测试工具的独立二进制文件(与CodeWarrior分开)有时可用,而且使用起来更轻便。 NXP在 GitHub 上的 i.MX/Layerscape 社区提供了参考 DDR 配置,可以简化许多工具引导的工作。 LSDK(Layerscape SDK)脚本有时比 IDE 更透明地公开 DDR 初始化参数。 此致
View full article
FreeRTOS system cannot run (cannot run immediately after creation) After my project program was built according to the specifications, I found that it could not run on the FreeRTOS system (I have investigated and it is not a memory shortage issue, nor should it be a priority issue). My S32DS compiler version is shown in the image below. The task failed to be created. Does this version not support FreeRTOS? Or are there any special configuration requirements? Re: freertos 系统跑不通问题(创建即跑不通) Hello @sunshine88 , The application is not actually stuck because of the sys_msleep(5000) call itself. The behavior indicates that the time base used by sys_now() is not incrementing. Therefore, the timeout condition inside sys_msleep() can never be reached. In the OSIF configuration screenshot, OsIfUseSystemTimer is enabled and the operating system type is set to FreeRTOS. However, the references under OsIfCounterConfig_0 , including the counter and system timer clock references, appear to be incomplete or empty. Adding the PIT component alone does not guarantee that the OSIF time base is correctly configured and initialized. Please do not modify the TCP/IP Stack source code or implement another delay workaround at this point. Instead, I recommend the following: Import the original lwip_FreeRTOS_s32K358 example from the installed TCP/IP Stack package. Build and run the original example without any modifications. Check whether sys_now() increments in the original example. Compare the FreeRTOS, BaseNXP/OSIF, PIT, clock, interrupt, and TCP/IP Stack configurations with your custom project. Verify that the generated initialization sequence includes the required BaseNXP/OSIF and timer initialization. We still need the information requested previously to analyze the custom project correctly: the exact MCU part number; the exact evaluation board or custom board; the original example or project type used as the starting point; whether the unmodified lwip_FreeRTOS_s32K358 example works on the same hardware; the generated implementation of sys_now() ; whether the FreeRTOS tick count returned by xTaskGetTickCount() is increasing. Please first check xTaskGetTickCount() . If it increases while sys_now() remains constant, the FreeRTOS scheduler and tick interrupt are running, and the problem is specifically in the OSIF time-base configuration or initialization. If xTaskGetTickCount() also remains constant, the problem is more fundamental and the FreeRTOS tick interrupt or scheduler configuration must be investigated. If possible, please also provide the complete project archive rather than configuration screenshots only. Without the generated configuration and initialization code, it is not possible to determine which timer or clock source is actually used by sys_now() . Best regards, Pavel Re: freertos 系统跑不通问题(创建即跑不通) Hello, I have created an LWIP program routine, but the Ethernet mainLoopTask task is stuck at sys_msleep(5000); unable to delay. When I step into this function, I find that startTime = sys_now(); the sys_now() function cannot count. My current configuration page is as follows. What could be causing this? I'm very confused. Re: freertos 系统跑不通问题(创建即跑不通) Hello @sunshine88 , The versions shown in your screenshots should support FreeRTOS. S32 Design Studio 3.5 Update 14, RTD 4.0.0, FreeRTOS 4.0.0, and TCP/IP Stack 1.0.4 appear to be the expected package combination, so this does not look like a general version compatibility issue. According to the code shown, the failure occurs directly in xTaskCreate(). Could you please provide the following information? The exact MCU part number and evaluation board or custom board being used. You previously mentioned S32K358, but please confirm the exact device and board. The name of the original example used as the starting point. The value returned by xTaskCreate(). The value printed by xPortGetFreeHeapSize() before and after the xTaskCreate() call. The configured values of configTOTAL_HEAP_SIZE, configSUPPORT_DYNAMIC_ALLOCATION, and the selected FreeRTOS heap implementation, for example heap_4.c. The exact point where the application stops, including the debugger call stack if it enters an assertion, exception, or HardFault handler. Please note that sufficient total MCU RAM does not necessarily mean that sufficient FreeRTOS heap is available. xTaskCreate() dynamically allocates both the task control block and the task stack from the FreeRTOS heap. Also, the 1024U stack-depth argument normally represents stack elements rather than bytes, so the actual allocation is larger than 1024 bytes on the Cortex-M7. As a baseline test, I recommend importing and running the original lwIP FreeRTOS example without modifications. Once the original example works, please add the additional task with a small stack, a normal priority, and a vTaskDelay() call inside its loop. This will help distinguish an environment or board configuration problem from an issue introduced by the additional task. I also noticed that your xTaskCreate() call uses a stack depth of 1024U, while the original working example uses 256U. Please restore the original value of 256U and test the unmodified example first. Note that this parameter specifies the number of stack elements, not the number of bytes, so using 1024U requires significantly more FreeRTOS heap.   Best regards, Pavel
View full article
Replacement of MIMX8QM6AVUFFAB with MIMX8QP6AVUFFAB Can we replace MIMX8QM6AVUFFAB with MIMX8QP6AVUFFAB Re: Replacement of MIMX8QM6AVUFFAB with MIMX8QP6AVUFFAB The replacement is practical if the design does not use the QuadMax-only compute/DSP resources and the QP-specific software and hardware checks pass.
View full article
ubuntu では、mcuxpresso-secure-provisioning パッケージを使用して、固 定ファイルに名前を付けて、コアシートに書き込みます。 まず、私が使用したチップはMCXN947です。 mcuxpresso-secure-provisioning-26.09-1_amd64-ubuntu26.debパッケージをUbuntuシステムにダウンロードしてインストールしました。 では、このソフトウェアを使って署名され暗号化されたSBフォーマットファイルをどうやって生成すればいいのでしょうか? 私はビデオを見て、bin ファイルに署名と暗号化を行い、Windows システムで sb ファイルをチップに正常に書き込みました。 Ubuntuシステムを操作する方法に関するビデオはありますか?バイナリファイルに署名および暗号化するためのコマンドラインに関するドキュメントはありますか? よろしくお願いします。 Re: 在ubuntu上,怎样使用 mcuxpresso-secure-provisioning 软件给固件签名加密并烧写到芯片 こんにちは、 @justdomyself ドキュメント:https://docs.mcuxpresso.nxp.com/secure/latest/ MCXNデバイスのワークフローを説明する章: https://docs.mcuxpresso.nxp.com/secure/latest/06_processor_specific_workflow.html#n23x-n24x-n52x-n53x-n54x-n94x-device-workflow コマンドラインサポート:https://docs.mcuxpresso.nxp.com/secure/latest/08_command_line_operations.html 関連項目 securep.exe print - cli - examples UbuntuとWindowsのユーザー体験は非常に似ています。問題が発生した場合は、トラブルシューティングのセクションを参照してください。https: //docs.mcuxpresso.nxp.com/secure/latest/09_troubleshooting.html
View full article
FreeRTOSシステムは実行できません(作成直後は実行できません)。 仕様書に従ってプロジェクトプログラムを作成した後、FreeRTOSシステム上で実行できないことがわかりました(調査の結果、メモリ不足の問題ではなく、優先度の高い問題でもないことがわかりました)。S32DSコンパイラのバージョンは、以下の画像に示されています。 タスクの作成に失敗しました。このバージョンはFreeRTOSをサポートしていないのでしょうか?それとも、特別な設定要件があるのでしょうか? Re: freertos 系统跑不通问题(创建即跑不通) こんにちは、@sunshine88 さん。 申請が sys_msleep(5000) コール自体のせいで止まっているわけではありません。この動作は、 sys_now() で使用されている時間ベースが増加していないことを示しています。したがって、 sys_msleep() 内のタイムアウト条件には決して到達できません。 OSIF構成のスクリーンショットでは、 OsIfUseSystemTimer が有効になっており、オペレーティングシステムの種類はFreeRTOSに設定されています。しかし、 OsIfCounterConfig_0 の下の参照、カウンタとシステムタイマークロックの参照を含め、不完全または空であるようです。PITコンポーネントを追加するだけでは、OSIFタイムベースが正しく構成および初期化されることを保証するものではありません。 現時点では、TCP/IPスタックのソースコードを変更したり、別の遅延回避策を実装したりしないでください。代わりに、私は以下のことをお勧めします。 インストールされたTCP/IPスタックパッケージから元の lwip_FreeRTOS_s32K358 例をインポートしてください。 元のサンプルを一切変更せずにビルドして実行してください。 元の例で sys_now() が増加するかどうかを確認してください。 FreeRTOS、BaseNXP/OSIF、PIT、クロック、割り込み、およびTCP/IPスタックの設定を、カスタムプロジェクトと比較してください。 生成された初期化シーケンスに、必要なBaseNXP/OSIFおよびタイマーの初期化が含まれていることを確認してください。 カスタムプロジェクトを正しく分析するためには、以前にご依頼した情報が引き続き必要です。 正確なMCU部品番号; 正確な評価ボードまたはカスタムボード; 出発点として使用された元の事例またはプロジェクトの種類。 変更されていない lwip_FreeRTOS_s32K358 の例が同じハードウェアで動作するかどうか。 sys_now() の生成された実装。 xTaskGetTickCount() によって返される FreeRTOS ティック カウントが増加しているかどうか。 まず xTaskGetTickCount() を確認してください。 sys_now() が一定のままでが増加する場合、FreeRTOSスケジューラとティック割り込みが実行されており、問題は具体的にはOSIFタイムベースの設定または初期化にあります。 xTaskGetTickCount() も一定のままであれば、問題はより根本的なものであり、FreeRTOSのティック割り込みまたはスケジューラ構成を調査する必要があります。 可能であれば、構成スクリーンショットだけでなく、プロジェクト全体のアーカイブも提供してください。生成された構成コードと初期化コードがないと、 sys_now() が実際にどのタイマーまたはクロックソースを使用しているかを判断することはできません。 よろしくお願いいたします。 パベル Re: freertos 系统跑不通问题(创建即跑不通) こんにちは。LWIPプログラムルーチンを作成しましたが、Ethernet mainLoopTaskタスクがsys_msleep(5000);で停止してしまい、遅延させることができません。この関数をステップ実行すると、startTime = sys_now(); と表示されますが、sys_now()関数はカウントできません。現在の設定ページは以下のとおりです。何が原因でしょうか?非常に困惑しています。 Re: freertos 系统跑不通问题(创建即跑不通) こんにちは、@sunshine88 さん。 スクリーンショットに表示されているバージョンはFreeRTOSをサポートしているはずです。S32 Design Studio 3.5 アップデート14、RTD 4.0.0、FreeRTOS 4.0.0、およびTCP/IPスタック1.0.4これは予想されるパッケージの組み合わせのようで、一般的なバージョン互換性の問題とは思えません。 示されているコードによると、エラーはxTaskCreate()関数内で直接発生しています。以下の情報を教えていただけますか? 正確なMCU部品番号と評価ボード、またはカスタムボードが使われているのです。以前S32K358とおっしゃっていましたが、正確なデバイス名と基板名をお知らせください。 出発点として使用された元の例の名前。 xTaskCreate() によって返される値。 xTaskCreate() 呼び出しの前後で xPortGetFreeHeapSize() によって出力される値。 configTOTAL_HEAP_SIZE、configSUPPORT_DYNAMIC_ALLOCATION の設定値、および選択された FreeRTOS ヒープ実装 (例: heap_4.c)。 アプリケーションが停止する正確なポイント、特にアサーション、例外、ハードフォールハンドラに入るデバッガ呼び出しスタックも含まれます。 十分なMCU RAMがあっても、必ずしも十分なFreeRTOSヒープが利用できるとは限りません。xTaskCreate() は、FreeRTOS ヒープからタスク制御ブロックとタスクスタックの両方を動的に割り当てます。また、1024Uのスタック深度引数は通常、バイトではなくスタック要素を表すため、Cortex-M7の実際の割り当ては1024バイトより大きいです。 ベースラインテストとして、オリジナルのlwIP FreeRTOSサンプルを修正せずにインポートして実行することをお勧めします。元のサンプルが正常に動作したら、小さなスタックサイズ、通常の優先度、そしてループ内にvTaskDelay()呼び出しを含む追加タスクを追加してください。これにより、環境やボード構成の問題と、追加タスクによって引き起こされた問題を区別するのに役立ちます。 また、あなたの xTaskCreate() 呼び出しではスタック深度が 1024U であるのに対し、元の動作例では 256U を使用していることに気づきました。まず、元の値である256Uに戻し、変更を加えていないサンプルをテストしてください。このパラメータはバイト数ではなくスタック要素数を指定するため、1024Uを使うには大幅に多くのFreeRTOSヒープが必要です。   よろしくお願いします、 パベル
View full article
ベンダーのツールに関する経験 皆さん、こんにちは。ベンダーのハードウェアを扱う際に、ベンダーのツールを使った経験についてお聞かせください。例えば、NXPのLayerscapeシリーズやSTM32MP1シリーズのような製品について話してみましょう。私はNXPのLayerscape SoCの一つをベースにしたボードを作っていましたが、唯一提供されているツールが例えば、DDRはEclipseをベースにした**ピー音**IDEです。このツールの品質を考えれば、無料で提供しても文句は言わないでしょうが、ライセンス料はかなり高いです。IDEを使ってこれやあれをやりたいですか?頑張ってください。「私にできる精一杯」は、ほとんど100%正確ではなく、古い部分的なドキュメント、必ず答えが得られるフォーラム、誰かが対応してくれる、そして画面の内容がほとんど見えない240p動画です。DDRの立ち上げと検証にのみ使用し、残りの作業はこのツールなしで済ませたいと思っています。他のベンダーとの取引経験はいかがですか?TIはどうでしょうか?STのツールもいくつか見たことがありますが、確かにずっとシンプルに見えました。ただ、実際に使った経験はありません。 Re: Experience with vendor's tools こんにちは、 Eclipse ベースは老朽化しており、DDR ツール (DDR ストレス テスト ツール) は機能的ですが扱いにくく、ライセンス コストとの比較。品質比率は組み込みコミュニティでよく見られる不満です。ドキュメントのギャップは現実的で、AN(アプリケーションノート)は公式のツールドキュメントよりも優れたリソースであることが多いです。多くのエンジニアは、計画通りDDR PHYの開始やトレーニングに専念して使い、その後は次に進みます。   NXP Layerscape DDRの立ち上げに関する実践的なヒント 今のところはこれしか選択肢がないので: DDRストレステストツールのスタンドアロンバイナリ(CodeWarriorとは別)が利用可能な場合があり、そちらの方が軽量です。 NXPの i.MX/Layerscape コミュニティ(GitHub)には、ツール誘導作業を省略できるリファレンスDDR設定があります。 LSDK(Layerscape SDK) スクリプトは、DDR initパラメータをIDEよりも透明に公開することがあります。 よろしくお願いします。
View full article
Ibis model for Lx2160a Hi guys  I'd like to know  how can i get a ibis model for lx2160a, can anybody can help me with it ? Thanks a lot Yuan Re: Ibis model for Lx2160a IBIS models are not public, please create case here:  https://support.nxp.com/s/?language=en_US  And share your NDA. Thanks
View full article
在ubuntu上,怎样使用 mcuxpresso-secure-provisioning 软件给固件签名加密并烧写到芯片 First, the chip I used is  MCXN947. I  have  downloaded and installed mcuxpresso-secure-provisioning-26.09-1_amd64-ubuntu26.deb  package in my ubuntu system。 So how to use this software  to  generare a sb formate file which has been signed and encrypted ? I  have watch the video  and  signed and encrypted  the  bin file ,   and write the sb  file  to the  chip sucsessfuly in windows system. Is there have  video to  operate on  ubuntu system?  Is there have the document about the  cmd line  to  signe and encryt  bin file   ? Thanks Re: 在ubuntu上,怎样使用 mcuxpresso-secure-provisioning 软件给固件签名加密并烧写到芯片 Hi @justdomyself  Documentation: https://docs.mcuxpresso.nxp.com/secure/latest/ Chapter describing workflow for MCXN devices: https://docs.mcuxpresso.nxp.com/secure/latest/06_processor_specific_workflow.html#n23x-n24x-n52x-n53x-n54x-n94x-device-workflow Command line support: https://docs.mcuxpresso.nxp.com/secure/latest/08_command_line_operations.html See also  securep.exe print-cli-examples User experience on Ubuntu and Windows are very similar. If you find any problem, refer to Troubleshooting section: https://docs.mcuxpresso.nxp.com/secure/latest/09_troubleshooting.html
View full article
MCUXpresso IDE 25.6 Build 136 – LPC-Link2 is not automatically booted on Linux Ladies and Gentlemen, I am experiencing a reproducible problem with MCUXpresso IDE v25.6 Build 136 on Linux and an LPC-Link2 debug probe. When the LPC-Link2 is connected, it initially appears in DFU mode: 1fc9:000c NXP Semiconductors LPC4330FET180 (device firmware upgrade mode) Linux detects the DFU device correctly. For example: $ /usr/bin/dfu-util -l Found DFU: [1fc9:000c] ver=0100, devnum=19, cfg=1, intf=0, path="1-6", alt=0, name="DFU", serial="ABCD" The important observation is that the LPC-Link2 boot process itself works correctly. Running the LinkServer boot command manually from a terminal successfully boots the probe. It then re-enumerates as: 1fc9:0090 NXP Semiconductors LPC-LINK2 CMSIS-DAP V5.460 I can also boot the probe successfully using LinkFlash. However, if I start a debug session with the green Debug button while the LPC-Link2 is still in DFU mode, MCUXpresso IDE fails to boot the probe and reports: No bootable LPC-Link2 found The IDE's pre-launch command is: /usr/local/LinkServer_26.9.130/binaries/boot_link2 The IDE reports: Non-zero return code (1) from pre-launch command: .../boot_link2 and the corresponding dfu_boot invocation reports that no bootable LPC-Link2 was found. I have verified that the same DFU device is still visible from a normal terminal while MCUXpresso IDE is running: $ /usr/bin/dfu-util -l Found DFU: [1fc9:000c] ... If I boot the LPC-Link2 externally first (for example with LinkFlash), the blue Debug button works correctly and I can debug the target normally. I have tested both the original LinkServer version supplied with MCUXpresso IDE 25.6 and LinkServer 26.9.130. The behaviour is the same. I also restored the IDE's original/default LinkServer configuration, with no improvement. Therefore the problem does not appear to be: LPC-Link2 hardware USB enumeration Linux DFU support the LinkServer boot image the LinkServer boot mechanism itself The failure appears to be specifically in the automatic LPC-Link2 boot performed by MCUXpresso IDE as part of the green Debug launch sequence on Linux. As a workaround, I can start LinkFlash, let it boot the LPC-Link2, close LinkFlash, and then use the blue Debug button. This works, but it is obviously not the intended workflow. Has anyone seen this behaviour with MCUXpresso IDE 25.6 Build 136 on Linux? Is there a known fix or patch for the IDE's automatic LPC-Link2 boot procedure? I would particularly like to know whether this is a known IDE issue, since the LPC-Link2 and the LinkServer boot process itself are demonstrably working. Re: MCUXpresso IDE 25.6 Build 136 – LPC-Link2 is not automatically booted on Linux Thank you. I checked this. My system has: dfu-util 0.11 The MCUXpresso IDE 25.6.136 installation itself does not contain a dfu-util binary, so it appears to use the system version: /usr/bin/dfu-util This is indeed version 0.11. I also checked the forum post you linked. The situation described there looks potentially relevant, since it specifically concerns dfu-util 0.11 and the parsing of the VID:PID returned by dfu-util -l. However, there is one important difference in my case: the same boot_link2 / dfu_boot command works correctly when I run it manually from a terminal. The problem occurs when MCUXpresso IDE invokes boot_link2 as the pre-launch command of the green Debug launch. Could the dfu_boot script included with LinkServer/MCUXpresso IDE 25.6.136 still contain the dfu-util 0.11 parsing problem described in the linked post? That topic is from 2024, is it possible, that this issue still present in 2026? bela@bela-ThinkPad-P70:~ $ find /usr/local/mcuxpressoide-25.6.136 -type f -name 'dfu-util*' -ls bela@bela-ThinkPad-P70:~ $ which dfu-util dfu-util --version /usr/bin/dfu-util dfu-util 0.11 Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc. Copyright 2010-2021 Tormod Volden and Stefan Schmidt This program is Free Software and has ABSOLUTELY NO WARRANTY Please report bugs to http://sourceforge.net/p/dfu-util/tickets/ bela@bela-ThinkPad-P70:~ $ Re: MCUXpresso IDE 25.6 Build 136 – LPC-Link2 is not automatically booted on Linux Hi @jeanvaljean  Thank you for your post! Could you please review the dfu-util version your IDE is using?  Please review the post: Report dfu boot problem to LPC Link2 with lpscrypt under Linux Re: MCUXpresso IDE 25.6 Build 136 – LPC-Link2 is not automatically booted on Linux Hi @jeanvaljean  Apologize the late reply. Yes, that topic could be affecting due the dfu version is still the same. Please try to implement the patches that are provided in the post I share before and let me know if that resolves the issue. 
View full article
用 MIMX8QP6AVUFFAB 替换 MIMX8QM6AVUFFAB 我们能否用 MIMX8QP6AVUFFAB 替换 MIMX8QM6AVUFFAB? Re: Replacement of MIMX8QM6AVUFFAB with MIMX8QP6AVUFFAB 如果设计不使用 QuadMax 专用的计算/DSP 资源,并且 QP 特定的软件和硬件检查通过,则这种替换是可行的。
View full article
MIMX8QM6AVUFFABをMIMX8QP6AVUFFABに交換する MIMX8QM6AVUFFABをMIMX8QP6AVUFFABに置き換えられるか? Re: Replacement of MIMX8QM6AVUFFAB with MIMX8QP6AVUFFAB 代替は、設計がQuadMax専用の計算/DSPリソースを使わず、QP特有のソフトウェアおよびハードウェアチェックに合格した場合に実用的です。
View full article
MCUXpresso IDE 25.6 ビルド136 – Linux上でLPC-Link2が自動的に起動されません ご列席の皆様、 Linux上の MCUXpresso IDE v25.6 Build 136 とLPC-Link2デバッグプローブで再現可能な問題が発生しています。 LPC-Link2が接続されると、最初はDFUモードで表示されます: 1fc9:000c NXP Semiconductors LPC4330FET180 (device firmware upgrade mode) LinuxはDFUデバイスを正しく検出します。例えば: $ /usr/bin/dfu-util -l Found DFU: [1fc9:000c] ver=0100, devnum=19, cfg=1, intf=0, path="1-6", alt=0, name="DFU", serial="ABCD" 重要な点は、 LPC-Link2のブートプロセス自体は正しく動作しているということである。 端末からLinkServerの起動コマンドを手動で実行すると、プローブが正常に起動します。すると、次のように再列挙されます。 1fc9:0090 NXP Semiconductors LPC-LINK2 CMSIS-DAP V5.460 また、LinkFlashを使ってプローブを正常に起動することもできます。 しかし、LPC-Link2がまだDFUモードのまま緑色の Debugボタン でデバッグセッションを開始すると、MCUXpresso IDEはプローブの起動に失敗し、次のように報告します: No bootable LPC-Link2 found IDEsの事前発射指令は以下の通りです: /usr/local/LinkServer_26.9.130/binaries/boot_link2 IDEの報告は以下の通りです: Non-zero return code (1) from pre-launch command: .../boot_link2 そして、対応するdfu_bootコマンドの実行結果から、起動可能なLPC-Link2が見つからなかったことが報告されます。 MCUXpresso IDEが稼働している間も、通常の端末から同じDFUデバイスがまだ見えることを確認しました: $ /usr/bin/dfu-util -l Found DFU: [1fc9:000c] ... 例えば、LPC-Link2を外部から起動した場合(例えばLinkFlashで)、 青いDebugボタンが正しく動作 し、ターゲットを通常通りデバッグできます。 MCUXpresso IDE 25.6に付属していたオリジナルのLinkServerバージョンとLinkServer 26.9.130の両方をテストしました。動作は同じです。 また、IDEsの元/デフォルトのLinkServer設定も復元しましたが、改善はありませんでした。 したがって、問題は次のようではないようです。 LPC-Link2ハードウェア USB列挙 Linux DFUサポート LinkServerのブートイメージ LinkServerのブートメカニズム自体 この失敗は、 Linuxの緑色のデバッグ起動シーケンスの一部としてMCUXpresso IDEによって自動的に行われるLPC-Link2ブートに特化したようです。 回避策として、LinkFlashを起動してLPC-Link2を起動させ、LinkFlashを閉じてから青いDebugボタンを使うことができます。これは機能するが、明らかに本来のワークフローではない。 Linux 上のMCUXpresso IDE 25.6 Build 136でこの挙動を見た方はいらっしゃいますか?IDEのLPC-Link2自動起動手順に関する既知の修正やパッチはありますか? 特に、LPC-Link2とLinkServerの起動プロセス自体が明らかに動作しているので、これが既知のIDE問題かどうか知りたいです。 Re: MCUXpresso IDE 25.6 Build 136 – LPC-Link2 is not automatically booted on Linux ありがとう。確認しました。 私のシステムには以下があります: dfu-util 0.11 MCUXpresso IDE 25.6.136インストール自体にはDFU-utilバイナリは含まれていないため、システムバージョンを使用しているようです: /usr/bin/dfu-util これは確かにバージョン0.11です。 あなたがリンクしてくれたフォーラムの投稿も確認しました。そこで説明されている状況は、dfu-util 0.11 と dfu-util -l によって返される VID:PID の解析に特に関係しているため、潜在的に関連性があるように思われます。 しかし、私の場合に重要な違いがあります。同じboot_link2/dfu_bootコマンドをターミナルから手動で実行すると正しく動作します。この問題は、MCUXpresso IDEが緑色のデバッグローンチの事前実行コマンドとしてboot_link2を呼び出したときに発生します。 LinkServer/MCUXpresso IDE 25.6.136に含まれているdfu_bootスクリプトは可能でしょうか?リンク先の投稿で説明されているdfu-util 0.11の解析問題はまだ残っていますか? その話題は2024年のものですが、この問題が2026年になってもまだ存在している可能性はありますか? bela@bela-ThinkPad-P70:~ $ find /usr/local/mcuxpressoide-25.6.136-type f -name 'dfu-util*' -ls bela@bela-ThinkPad-P70:~ $ which dfu-util dfu-util --version /usr/bin/dfu-util dfu-util 0.11 著作権 2005-2009 Weston Schmidt、Harald Welte、および OpenMoko Inc. 著作権 2010-2021 トルモッド・ヴォルデンおよびシュテファン・シュミット このプログラムはフリーソフトウェアであり、保証は一切ありません バグがあれば http://sourceforge.net/p/dfu-util/tickets/ に報告してください bela@bela-ThinkPad-P70:~ $ Re: MCUXpresso IDE 25.6 Build 136 – LPC-Link2 is not automatically booted on Linux こんにちは、 @jeanvaljean 投稿ありがとうございます! IDEで使っているdfu-utilのバージョンを確認してもらえますか? 投稿をご確認ください:Linuxでlpscryptを使ってLPCのLink2にdfuブート問題を報告してください Re: MCUXpresso IDE 25.6 Build 136 – LPC-Link2 is not automatically booted on Linux こんにちは、 @jeanvaljean 返信が遅くなり申し訳ありません。 はい、その話題はDFU版が同じなので影響を与えるかもしれません。以前投稿した記事に記載されているパッチを適用してみて、問題が解決するかどうか教えてください。
View full article
使用主机上的 SPIGen 无法驱动 FRDMPT2001EVM 上的 DRVEN 和 RESETB 引脚。 你好, 我按照 KTFRDMPT2001EVMUG.pdf 配置了 FRDM-KL25Z 板,并用电缆将其连接到我的 PC。FRDM-KL25Z 板上的蓝色 LED 灯亮起。在主机上的 SPIGen 中加载 *.spi 文件后,我可以正常下载并读取/写入寄存器。然而,DRVEN 和 RESETB 引脚仍然保持默认状态。我无法使用 SPIGen 面板/GUI 中的按钮将板上的相应引脚拉高或拉低。 我应该如何解决这个问题?感谢你的回复! PT2001 FRDM-KL25Z Re: Unable to drive DRVEN and RESETB pins on FRDMPT2001EVM using SPIGen on the host PC 嗨 Lex( @LexLiu ), 请问您能否帮忙解决一下使用 SPIGen SW 驱动 FRDMPT2001EVM 上的 DRVEN 和 RESETB 引脚时遇到的问题? 谢谢您! BRs,托马斯 Re: Unable to drive DRVEN and RESETB pins on FRDMPT2001EVM using SPIGen on the host PC 这个问题我还没解决。你能帮助我吗?
View full article
Unable to drive DRVEN and RESETB pins on FRDMPT2001EVM using SPIGen on the host PC Hello, I configured the FRDM-KL25Z board according to KTFRDMPT2001EVMUG.pdf and connected it to my PC with a cable. The blue LED on the FRDM-KL25Z board turns on. After loading the *.spi file in SPIGen on the host PC, I can download normally and read/write registers. However, the DRVEN and RESETB pins remain in their default state. I cannot use the buttons in the SPIGen panel/GUI to drive the corresponding pins on the board high or low. How should I solve this issue? Thank you for your reply! PT2001  FRDM-KL25Z  Re: Unable to drive DRVEN and RESETB pins on FRDMPT2001EVM using SPIGen on the host PC Hi Lex (@LexLiu), Could you please help with this question regarding the problem with driving both the DRVEN and RESETB pins on FRDMPT2001EVM using SPIGen SW? Thanks! BRs, Tomas Re: Unable to drive DRVEN and RESETB pins on FRDMPT2001EVM using SPIGen on the host PC I haven't solved this problem yet. Can you help me?
View full article
Ibis Lx2160a 型号 嗨,大家好 我想知道如何才能获得适用于 lx2160a 的 ibis 型号,有人可以帮帮我吗? 非常感谢您 元 Re: Ibis model for Lx2160a IBIS模型不公开,请在此处创建案例: https://support.nxp.com/s/?language=en_US  并分享你的保密协议。 谢谢!
View full article
ホストPC上のSPIGenを使用してFRDMPT2001EVMのDRVENピンとRESETBピンを駆動できません こんにちは、 KTFRDMPT2001EVMUG.pdfに従ってFRDM-KL25Zボードを設定し、ケーブルでPCに接続しました。FRDM-KL25Z基板上の青色LEDが点灯します。ホストPCのSPIGenで*.spiファイルを読み込んだ後、通常通りレジスタをダウンロードし読み書きできるようになりました。しかし、DRVENとRESETBのピンはデフォルトのままです。 SPIGenパネルやGUIのボタンを使って、基板上の対応するピンを高くまたは低く動かすことはできません。 この問題をどう解決すればいいでしょうか?お返事ありがとうございます! PT2001 FRDM-KL25Z Re: Unable to drive DRVEN and RESETB pins on FRDMPT2001EVM using SPIGen on the host PC こんにちは、Lex( @LexLiu ) SPIGen SWでFRDMPT2001EVMのDRVENピンとRESETBピンの両方を駆動する際の問題について、この質問についてご協力いただけますか? よろしくお願いします! BRs、トーマス Re: Unable to drive DRVEN and RESETB pins on FRDMPT2001EVM using SPIGen on the host PC 私はまだこの問題を解決していません。助けてくれないか?
View full article
mcxn947 加密区指定可范围么,程序内部フラッシュ加密区 暗号化や署名は特定のフラッシュ空間の範囲に適用できますか? 暗号化されたフラッシュ領域内におけるプログラム自身の読み書き動作は、以前とどのように異なりますか(読み戻されるデータは暗号文ですか?書き込まれるデータは平文ですか?)? OTAアップグレードの際、チップの暗号化/復号に適合するアーキテクチャを競合なくするにはどうすればよいのでしょうか? Re: mcxn947 加密区域可以指定范围么,程序内部如何访问flash加密区 こんにちは、 まず明確にしておきたいのは、暗号化が有効になると、チップ上で実行されているプログラムがフラッシュメモリに書き込む際、書き込まれるデータは平文ですが、最終的にフラッシュメモリに保存されるのは暗号文です。そして、チップ上で実行されているプログラムがフラッシュメモリ内の暗号文を読み取ると、平文として出力されます。 正しい 上記の観点に基づくと: そして、Secure Provisioningソフトウェアが読み取るSBファイルは暗号文であり、シリアルISP経由でチップの純正ISP ROMブートローダーに送られるものも暗号文でなければなりません(そうでなければ論理的な欠陥が生じます)。工場出荷時のISP ROMブートローダーは、シリアル通信で受信した暗号文を平文に復号化し、その平文データをフラッシュメモリに書き込みますが、最終的にフラッシュメモリに保存されたデータは再び暗号化され、暗号文になります。 つまり、ISPプログラミング中、工場出荷時のISP ROMブートローダーはまず復号化を行い、次に暗号化を行うため、復号化と暗号化の往復処理が行われる。 もう少し詳しく説明させてください。 はい、SBファイルは暗号化されているため、フラッシュメモリに書き込む前にROMで復号化する必要があります。しかし、SBファイルはOEMと製造工場間のファームウェアを保護するために、完全に独立して暗号化されています。 フラッシュメモリのプログラミング(内蔵型か外付け型かを問わず)はまた別の話で、全く使用されないか、あるいは異なるアルゴリズム、初期ベクトルなどを用いて使用されます。 よろしくお願いいたします。 リボル Re: mcxn947 加密区域可以指定范围么,程序内部如何访问flash加密区 まず明確にしておきたいのは、暗号化が有効になると、チップ上で実行されているプログラムがフラッシュメモリに書き込む際、書き込まれるデータは平文ですが、最終的にフラッシュメモリに保存されるのは暗号文です。そして、チップ上で実行されているプログラムがフラッシュメモリ内の暗号文を読み取ると、平文として出力されます。   上記の観点に基づくと: そして、Secure Provisioningソフトウェアが読み取るSBファイルは暗号文であり、シリアルISP経由でチップの純正ISP ROMブートローダーに送られるものも暗号文でなければなりません(そうでなければ論理的な欠陥が生じます)。工場出荷時のISP ROMブートローダーは、シリアル通信で受信した暗号文を平文に復号化し、その平文データをフラッシュメモリに書き込みますが、最終的にフラッシュメモリに保存されたデータは再び暗号化され、暗号文になります。 つまり、ISPプログラミング中、工場出荷時のISP ROMブートローダーはまず復号化を行い、次に暗号化を行うため、復号化と暗号化の往復処理が行われる。                           Re: mcxn947 加密区域可以指定范围么,程序内部如何访问flash加密区 こんにちは、 MCXNデバイスの場合: 暗号化や署名は特定のフラッシュ空間の範囲に適用できますか? SECツール: - アプリケーション全体に署名 - 暗号化領域は製品のライフ期間中に一度設定され、FUTUREのアップデート(アプリの拡張)のために予約を取る必要があります。 暗号化されたフラッシュ領域内におけるプログラム自身の読み書き動作は、以前とどのように異なりますか(読み戻されるデータは暗号文ですか?書き込まれるデータは平文ですか?)? 暗号化/復号化はリアルタイムで行われます。アプリがフラッシュメモリから読み込む場合、そのことを気にする必要はありません。透過的に処理されます。アプリケーション自体から暗号化されたフラッシュ領域に書き込むことについては、調査が必要です。注意点があるかはわかりません。 OTAアップグレードの際、チップの暗号化/復号に適合するアーキテクチャを競合なくするにはどうすればよいのでしょうか? 前述のとおり、暗号化には適切なサイズのメモリ領域を指定する必要があります。もしアプリケーションが暗号化領域を超えた場合、OTAは動作しますが、暗号化圏外のアプリ部分だけが動作し、IPアドレスは暗号化で保護されません。 よろしくお願いいたします。 リボル
View full article