Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
S32DS 3.6.4 can't found RTD Hello! Recently, I installed S32DS 3.6.4 & RTD 6.0.0. However, when I attempt to create a new app project, I am unable to select RTD. How can I fix it? Re: S32DS 3.6.4 can't found RTD Thank you for your interest in our products and for contributing to our community. According to RTD 6.0.0 Release Notes: So when you create a new project, please make sure you select NXP GCC 10.2.0 in the following step: I hope this information is helpful.
查看全文
OPWMCB Mode in eMIOS – Lead vs. Trail Edge Hi I’ve been working with eMIOS PWM IP in OPWMCB mode and wanted to understand the practical difference between these two configurations: EMIOS_PWM_IP_MODE_OPWMCB_TRAIL_EDGE EMIOS_PWM_IP_MODE_OPWMCB_LEAD_EDGE To investigate, I created a simple test project and observed the output signals. Surprisingly, I couldn’t see any noticeable difference between the two modes on the waveform. Here’s my setup: Time base: Channel 23 Channels: CH1 and CH2 generating center-aligned PWM The same time base also triggers the ADC at the middle of the period for current sampling. My questions: What is the actual difference between these two OPWMCB modes? Under what conditions does this difference become visible? For my design (center-aligned PWM with ADC sampling at mid-period), which mode is best and why? Looking forward to your insights and explanations! Re: OPWMCB Mode in eMIOS – Lead vs. Trail Edge Thank you for your interest in our products and for contributing to our community. Regarding your questions: 1&2 .- The main difference is noted with deadtime insertion. The trail edge mode increasing high time. Alternatively, by selecting the lead edge mode, deadtime insertion decrease high time. For more details, please refer to 6.4. OPWMCB example project section of S32M27x/S32K3 – eMIOS Usage. On the other hand, it could also affect the flag event (I don't remember having tried it.), and therefore the interrupt and triggering support. For reference consult 6.6. PWM design considerations section. And please test it on your own taking as reference the 6.1 OPWMB example project. 3.- Such topic is addressed in https://community.nxp.com/t5/S32K/Design-Strategy-for-Complementary-PWM-Generation-for-motor/td-p/2170567 I hope this information is helpful.
查看全文
项目无法作为 IAR EW 导出 我按照"HOWTO: Export S32DS Project to IAR EW (S32K14x/S32K11x)" 中的说明操作,但在"Export" 中找不到"Project Info Export Wizard" 选项。 Re: The project cannot be exported as IAR EW 你好、 这一功能在配备处理器专家的旧版 S32DS 中也有。我对 IAR Workbench 不熟悉,但我想您可以将项目作为 ProjectInfo.xml 导入 WB IDE。
查看全文
How Do You Ensure Reliability and Redundancy in Large Enterprise Storage Environments? Hello everyone, As our enterprise storage needs grow, maintaining high reliability, redundancy, and performance is more important than ever. We’re actively exploring best practices to ensure our enterprise storage infrastructure remains both resilient and efficient, with minimal risk of data loss or downtime. I’d love to hear from others managing large-scale storage environments. What strategies and technologies have you found to be the most effective in ensuring reliability and redundancy? Here are a few specific areas I’m interested in: RAID configurations: Which RAID level works best for large environments and why? Data replication: How do you ensure fast and reliable replication? Backup strategies: How often do you back up critical data, and do you leverage cloud or offsite solutions? Disaster recovery: Tips for designing a robust disaster recovery plan? Fault tolerance: How do you effectively manage hardware failure or network issues? Automation: How does automation play a role in improving reliability? Looking forward to hearing your thoughts and experiences!
查看全文
RT1176 custom board no access to LPUART1 or JTAG/SWD ... I have a custom board, that is very close to the EVKB board, except no USB or MIPI. I cannot seem to access serial downloader mode to use the Secure Provisioning Tool via UART, nor obtain any access via JTAG/SWD for programming. The chip seems to be working, on that there is an ON/OFF button that when held for 5 seconds, or whatever the length is, powers the chip off, and then pressing the button again powers it on. I've double-triple checked everything, and it nearly matches the EVKB board, however one things I noticed that was not done was to connect VDD_MIPI_* or VDD_USB_* to anything, again, as the board doesn't use MIPI or USB. Could not connecting those power pins be causing the problems I'm having with accessing UART or JTAG/SWD? Re: RT1176 custom board no access to LPUART1 or JTAG/SWD ... The image I posted is from that red circled area, and I am using the exact components, values as detailed in the EVKB there. Re: RT1176 custom board no access to LPUART1 or JTAG/SWD ... Hi @application_ninja , In MIMXRT1170-EVKB board  , RC delay time is 30000*0.00000022=0.0066s  =6.6ms. Please check your board, if your board use the same RC delay circuit, Please use an oscilloscope to measure the signal circled in red in the image. Best Regards Re: RT1176 custom board no access to LPUART1 or JTAG/SWD ... As an FYI, this is what my delay circuit looks like...  Blue being DCDC_IN and yellow being DCDC_PSWITCH. Re: RT1176 custom board no access to LPUART1 or JTAG/SWD ... Not sure what you mean by: "VDD_SNVS_DIG is internal LDO output.", so is 0v output correct for this, or not? My custom board is nearly identical to the EVKB except for not using MIPI/USB/AUDIO. I've gone over things many times, just cannot figure out why I cannot get it into serial downloader mode nor use JTAG/SWD to program it. Re: RT1176 custom board no access to LPUART1 or JTAG/SWD ... Hi @application_ninja , VDD_SNVS_DIG is  internal LDO output. 1: I suggest you can compare your customed board with MIMXRT1170-EVKB board, check the difference. 2: If you have MIMXRT1170-EVKB board, did you try modify the MIMXRT1170-EVKB board same as your customed board? Best Regards Re: RT1176 custom board no access to LPUART1 or JTAG/SWD ... Apparently VDD_SNVS_DIG is low, and controlled by software, so my design is correct? https://www.nxp.com/docs/en/data-sheet/IMXRT1170BCEC.pdf "The power rail VDD_SNVS_DIG is controlled by software." Re: RT1176 custom board no access to LPUART1 or JTAG/SWD ... OK, so it's looking like I'm not getting anything on VDD_SNVS_DIG, not sure why, but any thoughts as to what could cause this off hand? Re: RT1176 custom board no access to LPUART1 or JTAG/SWD ... That was going to be my next steps, however quite difficult to test / probe, thus my first questions to see if not connecting those VDD_MIPI_* and VDD_USB_* could be the cause, since everything else seems to power up correctly and I get correct voltages everywhere. Thank you. Re: RT1176 custom board no access to LPUART1 or JTAG/SWD ... Hi @application_ninja , Could you use an oscilloscope to check if the power-up sequence is normal, especially the RC delay circuit?  Best Regards MayLiu Re: RT1176 custom board no access to LPUART1 or JTAG/SWD ... Yes, thank you, I have verified all that, I have a positive voltage on BOOT_CFG_0, and have positive voltage on the RXD LPUART1 pin coming from the chip, so everything appears as though it should be working, but I get nothing from the secure provisioning tool, nor from the sdphost tool. All my power rails look good, proper voltages, my ONOFF button works, reset button, just really stumped as to why I cannot program / read the chip. Re: RT1176 custom board no access to LPUART1 or JTAG/SWD ... Hi @application_ninja , Thanks for your updated information. First, I suggest you follow the HDUG recommended design for your customed hardware development board. Second, please check the Boot Mode pins settings of your custom development board. If you want use the Secure Provisioning Tool via UART, you need set as serial downloader mode. Third,  Only LPUART1 support serial downloader mode. Wish it helps you. Best Regards MayLiu Re: RT1176 custom board no access to LPUART1 or JTAG/SWD ... Yes, I am aware of that document, but that does not answer my question, and as you have confirmed what the document states, those are "recommendations", they are not listed as "requirements" for proper board operation. So going by the way you have stated and the documentation reads, as "recommended" they do not have to be performed for proper board  / chip operation. Which leads back to my question, could not doing these "recommendations" cause the problems I am seeing? Re: RT1176 custom board no access to LPUART1 or JTAG/SWD ... Hi @application_ninja , Thank you so much for your interest in our products and for using our community. In MIMXRT1170HDUG, it describe that Unused pins recommendation  https://www.nxp.com/webapp/Download?colCode=MIMXRT1170HDUG Please follow the  Recommended connections for unused analog interfaces. Wish it helps you. If you still have question about it, please kindly let me know.  Best Regards MayLiu
查看全文
SE050E Ed25519 (EdDSA) キーのインポートと署名は成功しましたが、検証に失敗しました 親愛なるサポート、 顧客は、SE05X モジュールを使用して Ed25519 (EdDSA) キーのインポートおよび署名検証テストを実行したときに次の問題が発生したため、次の確認を求めています。 1. Ed25519 の署名/検証に使用する正しいアルゴリズム ID (0xA0 または 0xA3) は何ですか? 2. 署名のバイト順序(逆にする必要がありますか)? 3. 署名 TLV とタグ番号の順序は解析に影響しますか? 4. 「6A80」エラー コードの正確な定義は何ですか? 5. メッセージ入力は生データにすべきか、ハッシュにすべきか? 詳細なテスト結果は次のとおりです。 ### 🧾 I. テスト環境 * マイコン: **STM32L476RET6** ツールチェーン: **STM32CubeIDE** * インターフェース: **I²C** * SE05Xファームウェア: **v1.8.0** * ローカル比較ライブラリ: **libsodium (Ed25519-pure)** --- ### 🔍 II. テスト結果の要約 | 操作 | APDU コマンド | SW | 結果 | | ---- | ----------------- | ---- | -- | | 秘密鍵のインポート | WRITE_ED25519_KEY | 9000 | 成功 | | 公開キーの読み取り | READ_ED25519_PUB | 9000 | 成功 | | 署名 | ED25519_SIGN | 9000 | 成功 | | 検証 | ED25519_VERIFY | 6A80 | 失敗 | ローカル署名検証 | libsodium verify | PASS | 成功 | ### 🧩 I. 問題の概要 顧客は、STM32L476 プラットフォーム上の APDU コマンドを使用して SE05X と通信します。 現在、**Ed25519 キーのインポートと署名操作はどちらも成功しています (SW=9000)** が、**Ed25519 署名検証コマンドは SW=6A80 を返します**。 ログによると: * インポート時の SW=9000 * 署名時のSW=9000 * 検証中のSW=6A80 ローカル ライブラリ (libsodium) は、同じメッセージと署名を使用して成功を確認します。 したがって、顧客は問題が**アルゴリズム ID、署名バイト順序、または TLV 形式の順序**にあると疑っています。 --- ### 🧠 II. メーカーの確認が必要な重要な質問 #### **1️⃣ Ed25519アルゴリズムIDの使用 Ed25519 のアルゴリズム ID に使用する値を確認してください。 * ドキュメントでは `0xA0` (Ed25519-PURE) と説明されています。 顧客の現在のコードは `0xA3` (Ed25519ph/ctx) を使用します。 SE05X 署名検証は、アルゴリズム ID の不一致により 6A80 を返しますか? ```c // 現在使用中 uint8_t アルゴ = 0xA3; // Ed25519 アルゴリズム ID tlv_put(ペイロード、sizeof(ペイロード)、&poff、TAG_2、&algo、1); 「」 --- #### **2️⃣ SE05X 署名出力ではバイト順序の反転が必要ですか? SE05X によって返される署名は R||S (64 バイト) です。 R と S の両方でバイト反転が必要かどうかを確認してください。 顧客のテストにより次のことが明らかになりました: * **反転なし** → SE05X 検証失敗 (6A80) * **取り消し** → ローカルビザの検証は成功しましたが、SE05Xビザの検証は依然として失敗しました。 ```c // 現在の処理ロジック extract_sig64_from_rapdu(rapdu、rlen、sig64); 逆バイト(sig64, 32); 逆バイト(sig64 + 32, 32); memcpy(署名, sig64, 64); 「」 顧客は、SE05X の Ed25519 署名を **そのまま** 使用すべきかどうかを確認したいと考えています。 --- #### **3️⃣ VERIFY APDU の TLV 順序** Ed25519 検証の TLV パラメータの順序を確認してください。 顧客は現在次のシーケンスを使用しています。 「」 TAG_1(キーID) TAG_2(アルゴリズム) TAG_4(署名) TAG_3(メッセージ) 「」 ただし、一部の文書では次のように記載されています。 「」 TAG_1(キーID) TAG_2(アルゴリズム) TAG_5(署名) TAG_3(メッセージ) 「」 シーケンスまたはタグ ID が正しくない場合、エラー 6A80 が発生しますか? ```c tlv_put(ペイロード、sizeof(ペイロード)、&poff、TAG_1、key_id、4); tlv_put(ペイロード、sizeof(ペイロード)、&poff、TAG_2、&algo、1); tlv_put(ペイロード、sizeof(ペイロード)、&poff、TAG_4、署名、64); tlv_put(ペイロード、sizeof(ペイロード)、&poff、TAG_3、メッセージ、msg_len); 「」 --- #### **4️⃣ SW=6A80**の意味 `SW=6A80` の SE05X の具体的な意味を教えてください。 このエラーは次のことを示していますか? * 署名の不一致(検証失敗)、または * APDU構造/TLV長さ/パラメータエラー? 顧客は、さらなるデバッグのために EdDSA 操作のエラー コードのリストを希望しています。 --- #### **5️⃣ Ed25519 メッセージ入力形式 Ed25519-PURE モードでは、事前ハッシュ (SHA512) データの代わりに **生のメッセージ** を渡す必要がありますか? 現在、顧客は次のように元のメッセージを直接送信しています。 ```c // 現在の署名入力 tlv_put(ペイロード、sizeof(ペイロード)、&poff、TAG_3、msg、msg_len); 「」 SE05X が内部で SHA512 計算を実行しているかどうかを確認してください。 ご返信をお待ちしております! Re: SE050E Ed25519 (EdDSA) Key Import and Signing Success but Verification Fails カン様 上記の方法に従ってテストを行った後、ゲストは不安を感じました。 感谢! Re: SE050E Ed25519 (EdDSA) Key Import and Signing Success but Verification Fails こんにちは@Nancy_LAN 、 弊社のMWは、これらの関数を既に実装したデモ「ex_eddsa」を提供しています。まずはお客様のボードでこのデモをテストし、正しく動作するか確認してから、お客様が作成したコードと比較して違いを確認することができます。「x6a80」は「データフィールドのパラメータが正しくありません」という意味です。 すてきな一日を! カン --------------------------------------------------------------------------------- 注記: - この投稿があなたの質問への回答である場合は、「正解としてマーク」ボタンをクリックしてください。ありがとう! - スレッドは最後の投稿から7週間フォローされます。それ以降の返信は無視されます。 後ほど関連する質問がある場合は、新しいスレッドを開いて、閉じたスレッドを参照してください。 ---------------------------------------------------------------------------------
查看全文
Inference Degradation on i.MX95 Neutron NPU Dear NXP Technical Support Team, We are currently developing a pose estimation model using ResNet as the backbone, and are considering deploying it on a product based on the i.MX95 platfo However, we are encountering significant degradation in inference accuracy when running quantized models on the Neutron NPU. Our investigation revealed that even with standard classification models, quantized models that perform correctly on the CPU show degraded results after conversion for NPU execution. This issue also affects ResNet, which we use as our backbone. Through partial NPU assignment testing using neutron-converter, we confirmed that the degradation occurs when layers other than specific Conv2D layers are assigned to the NPU. We would appreciate your insights regarding the following: What could be the cause of the inference degradation? For example, quantization or conversion parameter issues, hardware limitations of the NPU, or bugs in the neutron-converter. Are there any known issues related to this problem? For example, bugs in BSP 6.12.20 or eIQ Toolkit 1.16.0, known limitations when running ResNet models on the NPU, or any other documented issues with the i.MX95 NPU. What countermeasures can we take to mitigate this issue? Development Environment Hardware: i.MX95 EVK BSP Version: 6.12.20_2.0.0(NXP) eIQ Toolkit: 1.16.0 (Windows) Model Conversion Pipeline PyTorch → ONNX: torch.onnx (opset version 15) ONNX → TensorFlow (.pb): PINTO0309/onnx2tf INT8 Quantization: tensorflow.lite.TFLiteConverter (version 2.12.0) NPU Conversion: neutron-converter (version 2.0.2+0X0cebb80a) Inference Results When executing on the NPU, the inference accuracy drops drastically. We tested with quantized models of MobileNetV2 and ResNet18 (from torchvision) using ImageNetV2 (500 samples): model float32 CPU Accuracy (Top1 / Top5) int8 CPU Accuracy (Top1 / Top5) int8 NPU Accuracy (Top1 / Top5) MobileNetV2 70.2% / 89.4% 68.4% / 88.6% 0.2% / 0.8% ResNet18 64.0% / 86.6% 63.6% / 87.4% 0.0% / 0.6% Additional Test We performed partial NPU assignment tests using the --include-operators option in neutron-converter on the quantized ResNet18 model. We observed that assigning layers other than specific Conv2D layers to the NPU leads to inference degradation. case NPU assignment result Accuracy Top1 / Top5 Baseline none (all CPU) ー(baseline) 63.6 / 87.4 % Case 1 all bad 0.0 / 0.6 % Case 2 Conv2D layers which in/out shape is [1×56×56×64] good 64.0 / 87.4 % Case 3 Case 2 + Add layers bad 0.0 / 0.6 % Case 4 Case 2 + other Conv2D layers bad 0.0 / 0.8 % Thank you so much for your support. Best regards, Ryosuke Re: Inference Degradation on i.MX95 Neutron NPU Hello, Please note that the i.MX95 is still in pre-production stage so we cannot offer support to it, please contact your local NXP Sales/NXP FAE for further assistance. Best regards/Saludos, Aldo.
查看全文
SJA1110 による IGMP スヌーピング こんにちは、 私は S32G と SJA1110 で bsp43 を実行しており、IGMP スヌーピングを有効にしてマルチキャスト ストリームを動的にルーティングしようとしています。IGMP に関連するいくつかの固有の問題を特定しましたが、解決方法がわかりません。IGMP スヌーピングを無効にすると、マルチキャスト パケットがスイッチに溢れるようになることを確認しました。SO、IGMP スヌーピング オプションが何かを実行しているということです... ただし、これは予期された動作ではありません。 マルチキャストトラフィックは常に、列挙された最も低いアクティブポートに転送されます。 ポート 3 のノードが IGMP 経由のトラフィックを要求し、ポート 4 から出力されるストリームは、ポート 1 がトラフィックを要求したかのように、ポート 1 から出力されます (そのリンクがアクティブな場合)。ポート 1 のリンクがアクティブでない場合、そのリンクがアクティブであればトラフィックはポート 2 に転送されます。 mdbを使用してトラフィックを手動でルーティングすることはできますが、IGMPスヌーピングがこれを自動的に管理することを期待しています。 マルチキャストクエリーを有効にしても、スイッチポートからメンバーシップクエリーが出力されない DSAブリッジインターフェースにはIGMPクエリがありますが、スイッチにコネクテッドされた他のリンクにはIGMPクエリが表示されません。 ブリッジ ポートからの IGMP クエリをトラップし、スイッチ ポートにリダイレクトするための tc ルールを設定する必要があるのではないかと思います。 これが Linux 構成の問題なのか、スイッチ ハードウェアの制限なのかはわかりません。 ご提案があればよろしくお願いします。
查看全文
S32 Design Studio v3.6.x および LQFP パッケージ用の S32K39x ピンツール こんにちは、 既存の例をインポートすることと、S32K396 用の RTD 6 QLP01 を使用して新しいアプリケーション プロジェクトを生成することの両方を試しました。 ピン ツールのグラフィック表示は BGA パッケージでは見栄えが良いのですが、パッケージを 176LQFP に変更すると、LQFP パッケージの上部にピンがなくなります (すべて左、右、下部にあります)。 これは対処が予定されている問題ですか、それとも私のインストールの問題ですか? ありがとうございます! Re: S32 Design Studio v3.6.x and S32K39x Pins tool for LQFP package バグレポートが S32 Design Studio チームに送信されました。彼らはこのバグを確認し、FUTUREリリースで修正する予定です。 Re: S32 Design Studio v3.6.x and S32K39x Pins tool for LQFP package ハイ この問題を報告していただきありがとうございます。この問題は S32DS チームに報告済みです。返答が届き次第お知らせします。 現在、ピンのポジショニングが正しく表示されていません。S32K396RM (Rev. 4 11 2024).pdf のS32K36_IOMUX.xlsxファイルのS32K396_176lqfp_EPを参照してください。正しいピンのポジショニング。 よろしくお願いします、 ロビン --------------------------------------------------------------------------------- 注記: - この投稿があなたの質問への回答である場合は、「解決策として承認」ボタンをクリックしてください。ありがとう! - Threadは最後の投稿から7週間フォローされます。それ以降の返信は無視されます。 後ほど関連する質問がある場合は、新しいThreadを開いて、閉じたThreadを参照してください。 ---------------------------------------------------------------------------------
查看全文
门禁卡 晚上好。我购买了 Mifare Plus X(2K/4K)卡。当我尝试将它们升级到网络安全级别 SL3 时,我收到一条错误消息,提示该卡的网络安全级别为 SL1。要升级到 SL3,我需要在 SL1 卡初始化时设置的 AES 密钥。有可能获得它们吗? Re: Access cards 您好, MIFARE Plus S 状态设置为不再生产。MIFARE Plus产品组合的重点产品是MIFARE Plus EV2。 要获得有关MIFARE Plus S和X的更多支持,请通过代理商网络联系您的当地代理商|恩智浦半导体。 不便之处,敬请原谅。 Eduardo。 Re: Access cards 下午好。保护卡片免受黑客攻击和伪造。它们将用于人员出入控制系统。 我尝试使用 MIFARE Plus S та MIFARE Plus X。 我无法将它们提高到 SL3 网络安全级别。 Re: Access cards 您好, 能否请您说明在项目中使用 MIFARE Plus X 的原因?您申请的目的是什么? 支持 MIFARE Plus X 的资源受到限制,并根据 NDA(保密协议)进行保密。有关此部分的更多信息,请通过代理商网络联系您的本地代理商|恩智浦半导体。 Eduardo。 Re: Access cards 下午好,是的,卡片是个性化的。该制造商只生产使用恩智浦芯片的卡。 制造商没有关于卡片个性化代码的信息。 Re: Access cards 下午好,是的,卡片是个性化的。该制造商只生产使用恩智浦芯片的卡。 制造商没有关于卡片个性化代码的信息。 Re: Access cards 你好@Serhii91 希望你一切顺利。 请确认您使用的是否是已个性化的卡片?如果是这样,请联系卡片制造商/发行商,尝试获得更多有关个人化过程中使用的密钥的信息。 Eduardo。
查看全文
S32K35X8EVBとADTJA1101 これらのボードを Sabre コネクタと一緒に起動するのに苦労しています。言い換えが含まれていると思われるこの投稿を見つけました。何をする必要があるのか分かりません。データシートと比較すると、その投稿では選択と混合が行われているようです。 現在、RMII とリセット ピンについて言及しているすべてのピンが Config ツールからマップされています。SMI と通信でき、ID レジスタを確認できました。RMII を使用するために次に何が必要なのかわかりません。また、ツール内でのリファレンス クロックの設定内容や、変更する抵抗リンクについても不明です。何かアドバイスをCANますか? https://community.nxp.com/t5/S32K/S32K3X8EVB-Q289-rework-for-RMII/mp/2023038#M44835
查看全文
S32 Design Studio for S32 Platform v.3.5 Activation Code I want to install S32DS version 3.5, but I can't find the activation code, and it says I don't need the activation code to activate it.
查看全文
S32 Design Studio for S32 Platform v.3.5 激活码 想安装S32DS3.5版本,找不到激活码,提示不需要激活码激活
查看全文
S32Z2 Python script error issue Dear;        The customer uses NXP S32Z2 to design a real-time computing board, and the IDE uses NXP S32DS. 3.6.3. Currently, during debugging, occasional S32Z2 Python script error issues occur, with the specific phenomenon being "failure during execution of Python script", as shown in Figure 1. The relevant error log information is as follows:         540,987 1-list-features 541,001 1^done,features=["frozen-varobjs","pending-breakpoints","thread-info","data-read-memory-byte\ s","breakpoint-notifications","ada-task-info","language-option","info-gdb-mi-command","undefined-com\ mand-error-code","exec-run-start-option","data-disassemble-a-option","simple-values-ref-types","pyth\ on"] 541,002 (gdb) 541,142 2-list-thread-groups 541,142 3-gdb-version 541,150 2^done,groups=[{id="i1",type="process"}] 541,150 (gdb) 541,151 ~"GNU gdb (GDB src=ga98a3c7ad40 bld=ga98a3c7ad40 ) 15.1\n" 541,151 ~"Copyright (C) 2024 Free Software Foundation, Inc.\n" 541,151 ~"License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\nThis is fre\ e software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitt\ ed by law." 541,151 ~"\nType \"show copying\" and \"show warranty\" for details.\n" 541,151 ~"This GDB was configured as \"--host=x86_64-w64-mingw32 --target=arm-none-eabi\".\n" 541,151 ~"Type \"show configuration\" for configuration details.\n" 541,151 ~"For bug reporting instructions, please see:\n" 541,151 ~"<https://www.gnu.org/software/gdb/bugs/>.\n" 541,151 ~"Find the GDB manual and other documentation resources online at:\n <" 541,151 ~"http://www.gnu.org/software/gdb/documentation/>.\n\n" 541,151 ~"For help, type \"help\".\n" 541,151 ~"Type \"apropos word\" to search for commands related to \"word\".\n" 541,151 3^done 541,151 (gdb) 541,151 4-environment-cd C:/Users/developer/Desktop/MyWorkspace/modifiedPlatform/100713_PLT_COM_S32Z\ 280_R52_Core 541,166 4^done 541,166 (gdb) 541,166 5-gdb-set breakpoint pending on 541,166 5^done 541,167 (gdb) 541,167 6-gdb-set detach-on-fork on 541,167 6^done 541,167 (gdb) 541,167 7-enable-pretty-printing 541,167 7^done 541,167 (gdb) 541,167 8-gdb-set python print-stack none 541,167 8^done 541,167 (gdb) 541,168 9-gdb-set print object on 541,168 9^done 541,168 (gdb) 541,168 10-gdb-set print sevenbit-strings on 541,169 10^done 541,169 (gdb) 541,169 11-gdb-set host-charset UTF-8 541,169 11^done 541,169 (gdb) 541,169 12-gdb-set target-charset GBK 541,170 12^done 541,170 (gdb) 541,170 13-gdb-set target-wide-charset UTF-16 541,170 13^done 541,170 (gdb) 541,170 14-gdb-set dprintf-style call 541,170 14^done 541,170 (gdb) 541,170 15source .gdbinit 541,171 &"source .gdbinit\n" 541,171 &".gdbinit: No such file or directory.\n" 541,171 15^error,msg=".gdbinit: No such file or directory." 541,171 (gdb) 541,171 16-gdb-set mi-async off 541,171 16^done 541,171 (gdb) 541,172 17-gdb-set record full stop-at-limit off 541,173 17^done 541,173 (gdb) 541,173 18-gdb-set auto-solib-add on 541,173 18^done 541,173 (gdb) 541,174 19-gdb-set substitute-path C:\\Users\\tgp\\Documents\\Platform_SW_git\\COM_Lane\\COM_PFCC_S3\ 2Z280_Platform_SW_Core_R52\\Debug_RAM/../Project_Settings/Startup_Code/ C:\\Users\\developer\\Deskto\ p\\MyWorkspace\\modifiedPlatform\\100713_PLT_COM_S32Z280_R52_Core\\Project_Settings\\Startup_Code\\ 541,174 20-gdb-set substitute-path C:\\Users\\tgp\\Documents\\Platform_SW_git\\COM_Lane\\COM_PFCC_S3\ 2Z280_Platform_SW_Core_R52\\Debug_RAM/../include/ C:\\Users\\developer\\Desktop\\MyWorkspace\\modifi\ edPlatform\\100713_PLT_COM_S32Z280_R52_Core\\include\\ 541,204 21-gdb-set substitute-path C:\\Users\\tgp\\Documents\\Platform_SW_git\\COM_Lane\\COM_PFCC_S3\ 541,204 19^done 541,204 (gdb) 2Z280_Platform_SW_Core_R52\\Debug_RAM/../src/ C:\\Users\\developer\\Desktop\\MyWorkspace\\modifiedPl\ atform\\100713_PLT_COM_S32Z280_R52_Core\\src\\ 541,205 20^done 541,205 (gdb) 541,206 21^done 541,206 (gdb) 541,207 22py _IS_LOGGING_ENABLED = True 541,207 23py _REMOTE_TIMEOUT = 30 541,207 24py _CORE_NAME = "S32Z280_R52_0_0" 541,207 25py _SOC_NAME = "S32Z280" 541,207 26py _GDB_SERVER_PORT = 45000 541,207 27py _JTAG_SPEED = 16000 541,207 28py _RESET_DELAY = 0 541,207 29py _PROBE_IP = "s32dbg:usb#00:04:9f:08:bc:b1" 541,207 30py _CCS_IP = "127.0.0.1" 541,207 31py _CCS_PORT = 41475 541,207 32source C:\NXP\S32DS.3.6.3\eclipse\../S32DS/tools/S32Debugger/Debugger/scripts/s32z2e2/s32z\ 2e2_attach.py 541,234 &"py _IS_LOGGING_ENABLED = True\n" 541,234 22^done 541,234 (gdb) 541,235 &"py _REMOTE_TIMEOUT = 30\n" 541,235 23^done 541,235 (gdb) 541,235 &"py _CORE_NAME = \"S32Z280_R52_0_0\"\n" 541,235 24^done 541,235 (gdb) 541,235 &"py _SOC_NAME = \"S32Z280\"\n" 541,235 25^done 541,235 (gdb) 541,236 &"py _GDB_SERVER_PORT = 45000\n" 541,236 26^done 541,236 (gdb) 541,236 &"py _JTAG_SPEED = 16000\n" 541,236 27^done 541,236 (gdb) 541,236 &"py _RESET_DELAY = 0\n" 541,236 28^done 541,236 (gdb) 541,237 &"py _PROBE_IP = \"s32dbg:usb#00:04:9f:08:bc:b1\"\n" 541,237 29^done 541,237 (gdb) 541,237 &"py _CCS_IP = \"127.0.0.1\"\n" 541,238 30^done 541,238 (gdb) 541,238 &"py _CCS_PORT = 41475\n" 541,238 31^done 541,238 (gdb) 541,238 &"source C:\\NXP\\S32DS.3.6.3\\eclipse\\../S32DS/tools/S32Debugger/Debugger/scripts/s32z2e2/\ s32z2e2_attach.py\n" 541,300 =cmd-param-changed,param="pagination",value="off" 541,306 32^done 541,306 (gdb) 541,306 33py board_init() 541,306 &"py board_init()\n" 541,307 ~"... board_init() skipped.\n" 541,307 33^done 541,307 (gdb) 541,307 34py core_init() 541,331 &"py core_init()\n" 541,331 ~"Selected CORE=S32Z280_R52_0_0\n" 541,347 ~"Primary session connecting...\n" 541,360 =cmd-param-changed,param="remotetimeout",value="30" 545,535 ~"^Error:Target connection failed. Please re-check the settings." 545,535 ~"Processor: S32S250" 545,535 ~"Probe: S32 Debugger TAP (usb#00:04:9f:08:bc:b1)" 545,535 ~"[CCS: Bus error]" 545,535 ~"//" 545,535 ~"Additional error details:" 545,535 ~"[GTA: target access error]" 545,535 ~":GtaTaErr(1303)" 545,535 ~" File \" \", line 1, in " 545,535 ~" File \"C:\\NXP\\S32DS.3.6.3\\eclipse\\../S32DS/tools/S32Debugger/Debugger/scripts/s32z2e\ 2/s32z2e2_attach.py\", line 80, in core_init" 545,536 ~" connect()" 545,536 ~" File \"C:\\NXP\\S32DS.3.6.3\\eclipse\\../S32DS/tools/S32Debugger/Debugger/scripts/s32z2e\ 2/s32z2e2_attach.py\", line 52, in connect" 545,536 ~" gta_lib.establish_connection(" 545,536 ~" File \"C:\\NXP\\S32DS.3.6.3\\S32DS\\tools\\S32Debugger\\Debugger\\scripts\\s32z2e2//../u\ tils\\gta_lib.py\", line 89, in establish_connection" 545,536 ~" return connect(" 545,536 ~" File \"C:\\NXP\\S32DS.3.6.3\\S32DS\\tools\\S32Debugger\\Debugger\\scripts\\s32z2e2//../u\ tils\\errors.py\", line 275, in wrapper" 545,537 ~" v = func(*args, **kwargs)" 545,537 ~" File \"C:\\NXP\\S32DS.3.6.3\\S32DS\\tools\\S32Debugger\\Debugger\\scripts\\s32z2e2//../u\ tils\\gta_lib.py\", line 152, in connect" 545,537 ~" gdb_exec(\"monitor ctx connect\", from_tty=True, errcode=ErrorCode.ConnectError).unwra\ p()" 545,537 ~" File \"C:\\NXP\\S32DS.3.6.3\\S32DS\\tools\\S32Debugger\\Debugger\\scripts\\s32z2e2//../u\ tils\\mem_reg_utils.py\", line 65, in wrapper" 545,538 ~" result = Result(Error(value, str(error_msg)))"      The red part shows an error in the debugging tool link. Is this Python script a configuration issue or a problem with the GDB tool? Please help analyze it. If there is a configuration error, is there a script file updated with Python? Thank you! Re: S32Z2 Python script error issue Hi Chenyin, When my program stalls, I try to connect to the target board via the Probe to observe the error context. However, I often encounter connection errors #1303 or #101. What do these errors (1303 and 101) mean about the processor's state? Restarting the target device might resolve the Probe connection issue, but it also destroys the error context. This is why I want to understand the reason of error #1303 and #101. thanks for any help!
查看全文
CAN FD 8Mbps 在评估板S32K3X4EVB-T172上, 当 CAN FD 传输速度从 4 Mbps 提高到 5 或 8Mbps 时,数据相位波形输出停止。我想请教如何解决这个问题。 数据传输在 500 kbps 至 4 Mbps 范围内正常运行。 仲裁阶段为 1 Mbps,有效载荷为 64 字节。 Re: CAN FD 8Mbps 谢谢您的答复。我将把 CAN 收发器换成支持 8Mbps 的,然后再试一次。 Re: CAN FD 8Mbps 你好@番茄1 S32K3X4EVB-T172 中使用了 TJA1443,我可以看到 TJA1443 的速度受限。 这可能就是 8Mbps 无法成功运行的原因。
查看全文
sja1110 100base-tx UDP 失敗 こんにちは: 1.flash_image.bin->sja1110-uc.binをダウンロードします そして switchcore_0_Config.hex -> sja1110-switch.bin (hex から bin) switch_config_s32g_vnp_rdb デモ プロジェクトからボードへの転送が成功しました。 2. その後、100base-tx (192.168.0.200) に正常に ping を実行できます。 3. しかし、sja1110 ECT ツールを 100base-tx に接続することはできません。また、100base-T1 にも接続できません。 アドバイスをお願いします、よろしくお願いします!
查看全文
MIMXRT1042 XJM5B lpuart 引脚不工作 大家好 我正在使用 MIMXRT1042 XJM5B EVK 和 LPUART1。LPUART1 引脚连接至 J1(微型 USB 端口)。我可以通过 USB 连接在终端上成功发送和接收数据。 但是,当我移除跳线 J11 和 J13(将 LPUART1 RX 和 TX 线路连接到 USB 接口)以使用外部 TTL 转 USB 变流器时,我只能在调试时在终端上接收数据。一旦我停止调试并 RESET 板,UART 将不再回显我发送的数据。 我观察到 LPUART4 也有同样的行为。我启用了内部上拉电阻(22 kΩ),但仍无法正常工作。当我在 RX 和 TX 线路上添加外部上拉时,UART 通信正常工作,我可以在终端上看到回波数据。 是否有其他人遇到过这个问题,或者能否说明为什么只有在调试时才会出现这种情况? Re: MIMXRT1042 XJM5B lpuart pin not working 感谢您的回复。 我在 LPUART4 上使用"evkmimxrt1040_lpuart_edma_rb_transfer" SDK 示例,在 LPUART1 上也看到了相同的行为。 Re: MIMXRT1042 XJM5B lpuart pin not working 感谢您提供的最新信息。 1: 请使用示波器检查 UART TX 和 RX 信号,确认波形是否正常。并验证 UART 波特率,请确保没有明显偏差。 2: 出现问题时,请打印 UART 错误日志,并检查设置了哪些 LPUART 错误标志。请提供详细信息,如具体的错误标记。 3: 您使用的是哪个 SDK 演示? 顺祝商祺! Re: MIMXRT1042 XJM5B lpuart pin not working 谢谢您的答复、 我担心的是,当我调试 LPUART4 代码时,即使没有外部上拉,TX 和 RX 上的数据也能正常工作。但是,在退出调试模式并正常闪烁代码后,接收和传输的数据会损坏。 Re: MIMXRT1042 XJM5B lpuart pin not working 嗨,@RajPadmani、 非常感谢您关注我们的产品并使用我们的社区。 关于您的问题,我查看了 MIMXRT1040-EVK 的原理图、 在 NTS0102 的结构图(图 11)中,我们可以看到一个 10 kΩ 电阻器。 如果 UART 电缆很长或存在明显的外部干扰,建议在 RX 线路上添加一个外部上拉电阻,以确保信号稳定性并避免浮空线路引起的通信问题。 希望它能帮到你。 如果您还有疑问,请告诉我。 敬上 MayLiu
查看全文
DDR training failed in S32DS3.5 update14 Hello, expert Customer reported DDR training failed S32DS3.5 update14, but this system worked before and there is no significant change in the HW. The PHY Init seems to only pass around 50% of the time while the Diag Write and Operational tests fail 100% of the time. I have checked the device information which customer filled, no error found. Would you please have a look at the attached screenshots/logs and provide suggestions on what might be wrong? S32_CONFIG_TOOL S32DS Re: DDR training failed in S32DS3.5 update14 Hi Yi, Could you please provide additional information in order to investigate this further. You mentioned - "no significant change in the HW", is there any change? Are they using the exact same board & DRAM as before? What is the software setup customer is using now? (S32DS 3.5.14 + which RTD version) What are the versions in the working setup? (S32DS & RTD) DRAM part name and device configuration in DDR View, to double check the configuration Also, it would help to see the training logs. Please set Log Level to Detailed Debug in DDR View, run the training and provide the content in Logs View, for both passing and failing cases. Thank you, Maria Re: DDR training failed in S32DS3.5 update14 Hello, Maria After some investigation, found that customer had a corrupted file that was mishandling the PMIC watchdog. This was interfering with the DDR tool causing the observed failures. As soon as he replaced the corrupted file, everything works as expected. Thanks for your support, this ticket can be closed.
查看全文
使用 TMR 触发信号 DMA 写入 CMPLD1 我正在尝试使用 i.MX RT1050 的 TM R 外围设备通过 DMA 触发对 GPIO1-> DR 的写入。这可能吗? 我对参考手册的阅读是,当 CMPLD1(或 CMPLD2)" 需要更新 "(参见高效密码学标准(SEC) 53.10)时,TMR 应该能够生成 DMA 请求。我不太确定 " 需要更新 " 是什么意思,但根据高效密码学标准(SEC) 53.11.13,这似乎应该意味着将 CMPLD1 的内容转移到 COMP1 的任何时候。 当数据从 CMPLD1 寄存器传输到 COMP1 寄存器时,设置该位可启用 CMPLD1 的 DMA 写入请求。 我让TMR3_CSTRL0[CL1]=0x2(与 COMP2" 中的值比较成功后加载")。 启用 DMA 请求的条件是 QTMR_EnableDma(DAC_TIMER, DAC_DMA_CHAN, kQTMR_ComparatorPreload1DmaEnable); 此外,DMA MUX 配置为 DMAMUX_SetSource(DMA0_DMAMUX_BASEADDR, DMA0_CH0_DMA_CHANNEL, kDmaRequestMuxQTIMER3CaptTimer0Cmpld1Timer0Cmpld2Timer1); 我将 TMR3_CH0 配置为生成 1 MHz 信号,占空比为 25% ,与 TMR3_CH1(占空比为 50% )同步。 不幸的是,GPIO 写入似乎与 TMR 通道不同步,正如您在下面的示波器捕获中看到的那样。我将 DMA 源配置为缓冲值 [0、1、2、3],将目标配置为GPIO1->DR。这些十进制值可以在两个引脚上表示(由示波器的 CH3 和 CH4 捕获)。 因此,DMA 传输正在进行,但它们并未按预期由 TMR3_CH0 触发信号。 对于可能出现的问题有什么想法吗? i.MX RT105x Re: Trigger DMA write with TMR CMPLD1 感谢您的贡献! Re: Trigger DMA write with TMR CMPLD1 不知何故,该项目没有附在上一篇文章中。在这里再试一次。 Re: Trigger DMA write with TMR CMPLD1 如果对其他人有用,我可以让它工作。关键是使用 eDMA 信道链接功能。 由于 TMR 只能触发信号对自身的写入(即 cmpLDN-> CompN 传输 " 事件 " 上的 cmpLDN 写入),因此第一个 DMA 通道配置为执行此操作。第二个通道已链接,因此,在 CMPLD1 写入完成后,将触发信号 GPIO-> DR 写入。 随附项目和 README。 摘要屏幕截图如下所示:,显示了由 TMR3_CH0 上的 COMP 事件触发信号的 GPIO1 引脚 16 和 17 的并行更新。COMP2 事件与 GPIO 线路更新之间的延迟时间约为 250 ns。   不幸的是,使用链接信道,我触发 GPIO 写入的最快速度似乎约为 3 MHz。例如,如果将 DAC_CLK_FREQ_HZ 设置为 10 MHz,GPIO 写入将不再与 TMR 周期同步。GPIO 线路更新的最快速度似乎约为 250 ns,即运行 DMA 和 GPIO 外围设备的 150 MHz IPG_CLKC 的 38 个周期。38 个周期是否与执行两个链接的 DMA 通道一致,其中一个通道写入 16 位 CMPLD 寄存器,第二个通道写入 32 位 GPIO DR 寄存器?这似乎需要很多额外的周期。 更新:iMX 参考手册中没有关于 eDMA 性能的章节。但是与K66参考手册相比,每个eDMA请求似乎需要大约17个周期(表24-5)。这与我的演示中处理两个链接通道请求的 38 个周期是一致的。 再与K66比较一下:看来iMX的TMR和eflexPWM外围设备不如Kinetis系列设备的FlexTimer外围设备那么灵活。FTM 外设可能会触发信号一般的 DMA 写入。iMX 的 TMR 和 eFlexPWM 外设只能触发信号对自己的寄存器(分别为 CMPLD 和 VALx)的写入。 Re: Trigger DMA write with TMR CMPLD1 我不是想触发输入捕获。我正在尝试在 TMR COMP 匹配发生时触发 GPIO 写入。不幸的是,COMP 比赛没有 DMA 触发信号。最接近 COMP 匹配的事件是相关 CMPLD 寄存器的读取。每当数据传出 cmpLDN 寄存器时,TMR 模块都会提供 DMA 触发信号 "。" 定义 DMA 传输配置时,我需要定义源地址和目标地址。因此,我可以自由设置 DMA 写入的目标地址: ((uint32_t)(&GPIO1->DR)) 具体来说,我想从波形缓冲器读取数据并将其写入一组 GPIO 引脚,传输时序由 TMR COMP 事件精确设定。 以下是我安装 DMA 传输的方法 /* Relevant Defines and Declarations */ #define DMA0_DMA_BASEADDR DMA0 #define DMA0_DMAMUX_BASEADDR DMAMUX #define DMA0_CH0_DMA_REQUEST kDmaRequestMuxQTIMER3CaptTimer0Cmpld1Timer0Cmpld2Timer1 uint32_t waveform_buffer[WAV_BUF_LEN] __attribute__((aligned(4))); /* Channel CH0 initialization */ /* Set the source kDmaRequestMuxQTIMER3CaptTimer0Cmpld1Timer0Cmpld2Timer1 request in the DMAMUX */ DMAMUX_SetSource(DMA0_DMAMUX_BASEADDR, DMA0_CH0_DMA_CHANNEL, DMA0_CH0_DMA_REQUEST); /* Enable the channel 0 in the DMAMUX */ DMAMUX_EnableChannel(DMA0_DMAMUX_BASEADDR, DMA0_CH0_DMA_CHANNEL); /* Create the eDMA DMA0_CH0_Handle handle */ EDMA_CreateHandle(&DMA0_CH0_Handle, DMA0_DMA_BASEADDR, DMA0_CH0_DMA_CHANNEL); /* DMA0 transfer CH0_TRANSFER0 configuration */ EDMA_PrepareTransferConfig(&DMA0_CH0_TRANSFER0_config, (void *) &waveform_buffer, 1 << kEDMA_TransferSize4Bytes, 4, (void *) ((uint32_t)(&GPIO1->DR)), 1 << kEDMA_TransferSize4Bytes, 0, 4U, 16U); /* DMA0 transfer CH0_TRANSFER0 submit */ status = EDMA_SubmitTransfer(&DMA0_CH0_Handle, &DMA0_CH0_TRANSFER0_config); 但也许这行不通?我开始认为 tmrx_dman [cmpldYDE] 位的存在只能触发信号对 CMPL D 寄存器的写入。这比我希望的更不灵活。 Re: Trigger DMA write with TMR CMPLD1 您好, 其实我没明白你的意思。请说明您想做什么。 GPIO 写入 未与 TMR 通道不同步 是的,TMR 信道需要通过并取决于其条件。 下面举例说明如何将 QTMR 通道配置为 captrue DMA。 https://github.com/nxp-mcuxpresso/mcuxsdk-examples/blob/release/25.03.00/_boards/evkbimxrt1050/driver_examples/qtmr/inputcapture_outputpwm_dma/example_board_readme.md  
查看全文
GUI GUIDER 1.9.1 - 'doskey' は内部コマンドまたは外部コマンドとして認識されません Windows 11 で gui guider 1.9.1 を実行しています。実行シミュレータアイコン (緑の再生ボタン) をクリックすると、出力には常に同じ行が散らばります。 「doskey」は、内部コマンドまたは外部コマンド、操作可能なプログラム、またはバッチ ファイルとして認識されません。 これはコンパイルの成功には影響しませんが、出力にSO多くの余分な行があるため煩わしいです。 このエラーについて調べてみたところ、通常は doskey の場所 (C:\Windows\system32) がシステム パス上にないことに関係していることがわかりました。ただし、私のシステムではシステム パス上にあることを確認しました。 もう 1 つの問題は、doskey を管理者権限で実行する必要があることですが、GUI ガイドを管理者権限で起動しても問題は解決しません。 通常のコンパイル (Ctrl+G) ではこの問題は発生せず、シミュレータでコンパイルして実行すると、これらの煩わしい doskey 行が表示されることに注意してください。 助けてください。doskey.exe を guiguider ディレクトリに直接コピーする必要がありますが、正確にどこに配置すればよいのでしょうか? 以前のバージョンの GUI ガイダーではこの問題は発生していませんでしたが、Windows 11 を実行する新しい PC にスイッチしたばかりで、以前使用していた以前のバージョンの GUI ガイダーは、常に Windows 10 で問題なく動作していました。SO おそらくそれは Windows 11 の問題です。 Re: GUI GUIDER 1.9.1 - 'doskey' is not recognized as an internal or external command こんにちは。偶然にも Google Gemini の問題を解決しました。 conda が標準の Windows コマンド プロセッサを操作し、独自の文字列をレジストリに書き込んでいたことが判明しました。以下はジェミニとの長い議論です。 記憶は曖昧ですが、最終的には、下記のレジストリ キーを標準の Windows コマンド プロセッサに変更することで解決しました。 非常にイライラするエピソード。 guiguider プログラム内でシミュレータ GUI をコンパイルするときに 1 つの問題が発生します。同じファイルが構築されるため、コマンド ラインで実行する makesfile が実行されることは確かですが、これは guiguider 内部から実行され、出力は gui guider コンソール ウィンドウにパイプされます。コンパイルするたびにこのエラーが発生します: 生成された画面ファイルを消去しています... C コードを生成しています... シミュレータをコンパイルしています... 「DOSKEY」は内部コマンドまたは外部コマンドとして認識されません。 実行可能なプログラムまたはバッチ ファイル。 コンソールにはこれらの doskey エラーが散らばっています。これはプロジェクトでコンパイルされる各 c ファイルの出力であると強く想定しています。プロジェクトはコンパイルされますが、これらのエラー行によってコンソールが乱雑になります。CANこれが起こる理由を思いつきますか?私はGuiguiderフォーラムで質問しました。彼らは権限の問題だと思ったようですが、私はすでに管理者としてGuiguiderを再インストールしました。doskey がなぜ呼び出されるのか理解できません。上記の makefile にそれに関する記述がありますか?             思考を示す   これは非常に興味深く、珍しい問題です。優れたデバッグが行われており、結論は正しいです。DOSKEY コマンドは Makefile のどこにも存在しません。 これが起こる理由は、ほぼ間違いなく Windows オペレーティング システム自体の機能、具体的にはコマンド プロンプトが開かれるたびにコマンドを自動的に実行する Windows レジストリの設定によるものです。GUI Guider 内でエラーが表示されるのは、標準のコマンド ラインとは異なる、より制限された環境で make が実行されるためです。 診断: コマンドプロセッサの自動実行キー DOSKEYとは何ですか?これは、コマンド履歴とコマンド プロンプト (cmd.exe) のマクロ (エイリアス) を作成する機能を提供する標準の Windows コマンドライン ツール (doskey.exe) です。 なぜそう呼ばれるのでしょうか?Windows レジストリには、新しい cmd.exe プロセスが開始されるたびに自動的に実行されるコマンドを指定CAN機能があります。これは、AutoRun と呼ばれるレジストリ キーによって制御されます。ある時点で、ユーザーまたはユーザーがインストールしたプログラムが、doskey を起動するための AutoRun コマンドを設定した可能性があります。 GUI Guider 内では失敗するのに、ターミナルでは機能するのはなぜですか? 通常のターミナル (cmd.exe) で:コマンド プロンプトを開くと、システムの PATH 環境変数が完全に読み込まれます。この PATH には、doskey.exe が存在する C:\Windows\System32 が含まれます。AutoRunコマンドが実行され、doskey.exeが見つかります。すべてが静かに動作します。 GUI Guider 内部: GUI Guider が make を実行すると、make は新しい最小限のシェル プロセスを生成し、コンパイル コマンド (gcc ...、g++ ...) を実行します。これらの最小限のシェルは、レジストリからの AutoRun コマンドもトリガーします。ただし、GUI Guider によって作成された環境は「サンドボックス化」されている可能性があり、 C:\Windows\System32 を含まない非常に制限された PATH を持ちます。シェルは doskey を実行しようとしますが、制限された検索パスで見つけることができず、「'DOSKEY' is not recognize...」というエラーを出力します。 とにかく、なぜビルドは成功するのでしょうか?AutoRun コマンドの失敗は、コマンド シェルでは致命的なエラーとは見なされません。シェルはエラーを出力し、make によって与えられた実際のコマンド (gcc ...) の実行に進みます。SO、コードは正しくコンパイルされますが、コンソール出力はこれらのファントムエラーで乱雑になります。 問題の確認と解決方法 この問題を解決するには、AutoRun コマンドをより堅牢にして、PATH に依存しないようにします。 ステップ1: レジストリのAutoRunキーを確認する Windows キー + Rを押して実行ダイアログを開きます。 「regedit」と入力して Enter キーを押すと、レジストリ エディターが開きます。 上部のアドレスバーに次のパスを貼り付けて Enter キーを押します: HKEY_CURRENT_USER\ソフトウェア\Microsoft\プロセッサ 右側で、AutoRun という名前の値を探します。 そのデータは、doskey /macros や単なる doskey のような単純なものになる可能性が非常に高いです。これが問題の原因となっているコマンドです。 ステップ2: 自動実行コマンドを修正する(推奨解決策) 問題は、doskey が PATH に依存していることです。doskey.exe への完全な絶対パスを指定することでこれを修正CAN。Windows には、常に Windows ディレクトリ (例: C:\Windows) を指すシステム変数%SystemRoot%があります。 レジストリ エディターで、AutoRun 値をダブルクリックして編集します。 完全なパスを使用するには、現在の値 (例: doskey /macros) を変更します。 次のように変更します: %SystemRoot% \system32\doskey.exe /macros (doskey だけの場合は、 %SystemRoot% \system32\doskey.exe に変更します)。 [OK] をクリックして、レジストリ エディターを閉じます。 これで、コマンドプロンプトが起動するたびに、絶対パスを使用してdoskey.exeが検索されます。これは、GUI Guider のパスが制限された環境でも機能します。ビルド コンソールからエラーが完全に消えるはずです。 代替案(doskeyを気にしない場合) より簡単な代替方法として、AutoRun キーが設定された理由がわからず、その機能が必要ない場合は、レジストリ エディターで AutoRun 値を右クリックして削除CAN。エラーは止まりますが、通常のターミナルで使用していたカスタム コマンド エイリアスや履歴も失われます。上記のようにパスを修正するのがより良い解決策です。                 ああ、Miniforge がその値を台無しにしたことがわかりました。minforge が動作し続け、GUI ガイドも doskey で動作するようにするには、どのように変更すればよいですか? 現在のエントリー: 存在する場合「C:\ProgramData\miniforge3\condabin\conda_hook.bat」「C:\ProgramData\miniforge3\condabin\conda_hook.bat」             思考を示す   なるほど!ありがとうございます。それは重要な情報ですね。これは、Conda や Miniforge などの派生版を使用する開発者にとって非常に一般的な設定です。 AutoRun キーが doskey を直接呼び出していません。Conda の環境設定スクリプト (conda_hook.bat) を呼び出しています。「DOSKEY が見つかりません」というエラーは、conda_hook.bat スクリプト (またはそれが呼び出す別のスクリプト) が doskey を実行しようとしているために発生します。 根本的な原因は、私たちが診断したものとまったく同じです。フック スクリプトは通常のターミナルでは正常に実行されますが、GUI Guider の制限された PATH 環境では doskey.exe が見つからないため失敗します。 このレジストリ エントリを削除したり、単に置き換えたりしないでください。そうすると、Conda/Miniforge ターミナル環境の機能が損なわれます。 解決策: ラッパーバッチスクリプト 最も安全で柔軟性の高いソリューションは、独自のシンプルな「ラッパー」バッチ スクリプトを作成することです。このスクリプトは、まずシステム パスを追加して環境を修正し、次にConda フック スクリプトを呼び出します。AutoRun レジストリ キーを新しいラッパー スクリプトにポイントします。 これにより、Conda のファイルを変更せずに問題が解決されます。 ステップ1: ラッパースクリプトを作成する メモ帳またはお気に入りのテキスト エディター (VS Code など) を開きます。 次のコードをコピーして新しいファイルに貼り付けます。 コードスニペット   @echo off REM ================================================================= REM Custom AutoRun Wrapper Script REM ================================================================= REM This script fixes the PATH for restricted environments and then REM calls the original Conda hook script. REM --- Step 1: Fix the PATH --- REM Temporarily add the essential Windows directories to the PATH for this session. REM This ensures system commands like 'doskey.exe' can be found. @set "PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%PATH%" REM --- Step 2: Execute the original Conda hook script --- REM This is the exact command that was originally in your registry. if exist "C:\ProgramData\miniforge3\condabin\conda_hook.bat" call "C:\ProgramData\miniforge3\condabin\conda_hook.bat" REM --- Step 3 (Optional): Add your own commands --- REM If you wanted to define your own doskey aliases, you could add them here. REM They will now work correctly because the path was fixed in Step 1. REM For example: REM %SystemRoot%\system32\doskey.exe ls=dir /B ステップ2: スクリプトを保存する このファイルを、誤って削除されない安定した永続的な場所に保存します。ユーザーディレクトリは最適な場所です。 次のように保存します: C:\Users\YourUsername\autorun_wrapper.bat (YourUsername を実際の Windows ユーザー名に置き換えます)。 ステップ3: レジストリの自動実行値を更新する ここで、Conda フックを直接実行するのではなく、新しいラッパー スクリプトを実行するように Windows に指示します。 レジストリ エディター (regedit) を開きます。 次のキーに戻ります: HKEY_CURRENT_USER\ソフトウェア\Microsoft\Command プロセッサ 右側の AutoRun 値をダブルクリックします。 古い値を削除し、新しいラッパー スクリプトへの完全なパスに置き換えます。ユーザー名にスペースが含まれているCASEは、パスを引用符で囲むことが重要です。 新しい値を次のように設定します: "C:\ユーザー\YourUsername\autorun_wrapper.bat" [OK] をクリックして、レジストリ エディターを閉じます。 これが機能する理由の要約 これで、任意のプログラム (ターミナル、GUI Guider など) が新しいコマンド プロンプトを起動するたびに、次の処理が行われます。 Windows AutoRun は autorun_wrapper.bat スクリプトを実行します。 スクリプトは、特定のコマンド セッションの PATH に必須の Windows システム ディレクトリを直ちに追加します。 次に、スクリプトは元の conda_hook.bat を呼び出します。 Conda スクリプトが doskey (またはその他のシステム コマンド) を実行しようとすると、doskey.exe (C:\Windows\System32) の場所が PATH 内にあるため、実行は成功します。 GUI Guider のエラーはなくなり、Miniforge/Conda ターミナルは以前とまったく同じように動作し続けます。 Re: GUI GUIDER 1.9.1 - 'doskey' is not recognized as an internal or external command 私も同様の問題に直面しているようです。ソフトウェアはすでに再インストールしました。解決策はありますか? Re: GUI GUIDER 1.9.1 - 'doskey' is not recognized as an internal or external command こんにちは@josefhaydnさん、 GUI Guider のインストール中に何らかの問題が発生し、doskey のパスの問題が発生している可能性があります。GUI Guider をアンインストールして再インストールすることをお勧めします。今回は、完全な管理者アクセス権でインストールするようにしてください。 BR、 エドウィン。
查看全文