Multi Source Translation Content

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
コミュニティのアップグレードに伴い、12月21日から1月5日まで、新しい質問の投稿が一時的にご利用いただけなくなります。

Multi Source Translation Content

ディスカッション

ソート順:
frdm-mcxn947 裸机 ctimer0 配置错误导致调试失败 拿到这块开发板后,我决定尝试从零开始,利用说明书完成一个小项目(遇到难题时最终还是求助于人工智能,尽管目前为止还没有找到解决方案)。 所以,问题是这样的。据我所知,我似乎已经按照预期,使用正确的地址和字段值执行了所有正确的步骤来初始化和启动 ctimer0,但是当我尝试运行时,程序崩溃并出现错误。我做了一些更改,其中一些更改在代码的不同行中导致了相同的结果,但问题基本局限于 ctimer0 的配置。 我不太确定自己错过了什么。失败时出现此错误。 15:寄存器访问目标错误 15:寄存器访问目标错误 DAP接入中的线路ACK故障 调试上下文:pushInterrupt LinkServer 调试 我会在下面附上代码的精简版和完整版(带注释)。 时钟|计时器 开发板 MCX N Re: frdm-mcxn947 baremetal ctimer0 configuration error resulting in debug failure Hello 如果您正在从头开始开发,特别是 CTIMER 函数,这篇文章将帮助您了解激活它的序列(从头开始为 MCXN 系列开发代码) ,并帮助您初始化 NVIC,因为我看到您的代码中 NVIC 使能函数被注释掉了。 此外,FRDM-MCXN947 的 SDK 提供了多个使用 CTIMER 的示例,包括一个中断示例,您可以以此为基础进行修改。可在“控制面板 | MCUXpresso SDK 构建器”中找到。 顺祝商祺! Re: frdm-mcxn947 baremetal ctimer0 configuration error resulting in debug failure 很抱歉回复晚了,我有点不舒服。谢谢,我周末会再检查一下,希望到时候能成功。
記事全体を表示
i.MX8ULP LPADC 比较功能 你好, 我正在尝试使用 M33 内核中的 i.MX8ULP ADC 的比较器模式,具体来说,我设置 ADC,以便如果转换值低于阈值,则发出中断来处理该事件。 根据参考手册,我的理解是这应该是可行的: - 将 ADC 的 FIFO 水位设置为 1,这样任何数据都会触发信号中断(这部分是有效的,在下面的示例中,我删除了中断代码以简化代码)。 - 设置比较函数为“重复比较直到为真”,并适当调整 CVH/CVL 和触发器,然后持续对 ADC 进行采样,并在达到要求时触发数据。 很遗憾,我一直无法让比较值正常工作。手册上说,根据 CVL/CVH 的不同,可以进行各种操作,但我使用 ADC1 / 命令 1 / 触发信号 1 时,这些操作似乎都不起作用: 通过实验,我发现: - CVL < CVH(手册上说如果在范围之外则为真,例如val < CVL || val > CVH): 始终返回值(即使它在范围内) - CVH 最大值,CVL 设置(应小于 CVL):由于未指定最大值,我不确定。将 CVH 设置为 0xfff 或 0x1000 时,无论 CVL 的值如何,都会返回该值;将 CVH 设置为 0xffff 时,则永远不会返回该值。 - CVL 最小值,CVH 设置值(应大于 CVH):始终返回该值 - CVL > CVH(应在范围内,例如CVH < val < CVL): 值永远不会返回 以下是我使用的代码: lpadc_config_t adcConfig; LPADC_GetDefaultConfig(&adcConfig); adcConfig.FIFOWatermark = 0; adcConfig.enableAnalogPreliminary = true; LPADC_Init(ADC1, &adcConfig); lpadc_conv_trigger_config_t triggerConfig; LPADC_GetDefaultConvTriggerConfig(&triggerConfig); triggerConfig.targetCommandId = 1; triggerConfig.enableHardwareTrigger = true; LPADC_SetConvTriggerConfig(ADC1, 0, &triggerConfig); lpadc_conv_command_config_t commandConfig; LPADC_GetDefaultConvCommandConfig(&commandConfig); commandConfig.channelNumber = 5; commandConfig.sampleChannelMode = kLPADC_SampleChannelSingleEndSideB; commandConfig.sampleScaleMode = kLPADC_SampleFullScale; commandConfig.hardwareAverageMode = kLPADC_HardwareAverageCount2; commandConfig.hardwareCompareMode = kLPADC_HardwareCompareRepeatUntilTrue; commandConfig.hardwareCompareValueHigh = v_high; commandConfig.hardwareCompareValueLow = v_low; LPADC_SetConvCommandConfig(ADC1, 1, &commandConfig); SDK_DelayAtLeastUs(1000, SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY); LPADC_DoSoftwareTrigger(ADC1, 1 << 0); // this is LPADC_GetConvResultBlocking() with a timeout uint32_t tmp, cnt = 0; tmp = ((ADC_Type *)ADC1)->RESFIFO; while (ADC_RESFIFO_VALID_MASK != (tmp & ADC_RESFIFO_VALID_MASK) && cnt < 100000) { tmp = ((ADC_Type *)ADC1)->RESFIFO; cnt++; } if (ADC_RESFIFO_VALID_MASK != (tmp & ADC_RESFIFO_VALID_MASK)) { PRINTF("ADC timeout\r\n"); } else { tmp &= ADC_RESFIFO_D_MASK; tmp >>= 3; PRINTF("got %d (%#x) in %d\r\n", tmp, tmp, cnt); } 我还导出了寄存器数据,我确信“比较重复直到为真”部分是有效的,因为 STAT 寄存器认为触发信号/命令仍在运行,而且我设置了“为真时存储”也得到了相同的结果(在命令运行时调整 CV(比较值)会产生奇怪的结果,但会正确返回等待条件为真的触发信号——我确定我们不应该在运行时更改 CV,所以我们忽略这部分)。 以下是等待转换期间的寄存器值,其中 CVL = 0xffe,CVH = 0x1(因此应该返回介于两者之间的任何值): ADC1 0x280a2000 VERID: 0x200101a PARAM: 0xf041004 CTRL: 0x1 ^ ADCEN STAT: 0x1000800 ^ CMDACT 1, ADC_ACTIVE IE: 0 DE: 0 CFG: 0x10800000 ^ PWREN, PUDLY = 0x80 PAUSE: 0 TSTAT: 0 TCTRL[0]: 0x1000001 ^ TCMD = CMD1, HTEN (no difference when disabled) FCTRL: 0 CMD[0].CMDL: 0x2025 ^ CSCALE full-scale, ABSEL = B, CH5 CMD[0].CMDH: 0x1003 ^ AVGS = 2 conversions, CMPEN = repeat until true CV[0]: 0x10ffe ^ compare value, CVH=1 and CVL=0xffe 我这样拿错了吗? 谢谢! 多米尼克 Re: i.MX8ULP LPADC compare function 谢谢@joanxie 我可以确认调整比较值似乎有效!(我需要降低ADC时钟频率,因为即使设置了convPauseDelay = 1023,ADC采样速度仍然过快,但这应该可以解决。) 是否需要注意这种偏移,或者例如在 ADC_CV_CVL_SHIFT / ADC_CV_CVH_SHIFT 宏中是否会显示偏移?是否需要更新 MIMX8UD5_cm33.h 文件,以便设置 hardwareCompareValueHigh/Low 功能能够正常工作? https://github.com/nxp-mcuxpresso/mcuxsdk-examples中完全没有任何示例。因此,我想确认一下,将来会更新哪些内容(如果有的话)来澄清这一点(例如 fsl_lpadc.h 中的注释)。(描述 hardwareCompareValueHigh 或使其正常工作的设备宏)——如果宏更新了,我在更新 SDK 时需要格外小心,所以最好提前知道以便做好准备。 谢谢 Re: i.MX8ULP LPADC compare function hardwardCompareValueHigh/Low 存储原始 CV 寄存器值,您需要将它们与 RESFIFO D 字段格式对齐。我检查了内部数据库,没有找到任何已确认的 SDK 路线图项目表明现有的字段移位宏将被更改,或者驱动程序将自动应用此转换。 Re: i.MX8ULP LPADC compare function 请参阅表 725。数据结果寄存器格式说明(参考手册) 数据是 D[14:3],对于比较值,我认为你应该进行 3 位移位,就像这样。 commandConfig.hardwareCompareValueHigh = v_high << 3; //CVH=0x8 commandConfig.hardwareCompareValueLow = v_low << 3;//CVL=0x7ff0 Re: i.MX8ULP LPADC compare function 好的,我会在代码中处理这个问题,谢谢你的确认。
記事全体を表示
designer studio download All links to Designer Studio download the debugger install file only.  Re: designer studio download Hello, Thank you for reporting this. The S32 Design Studio IDE download is available from the S32 Design Studio for S32 Platform page. Under Downloads, please select S32 Design Studio – Windows/Linux. Please make sure not to select the separate S32 Design Studio Debugger download, which provides only the debugger installer. Sign-in may be required to access the download. Best regards, Peter
記事全体を表示
i.MX8ULP LPADC compare function Hello, I'm trying to use the i.MX8ULP ADC in comparator mode from the M33 core, specifically, setup the ADC such that if the conversion value falls below a threshold I get an interrupt to process the event. My understanding from the reference manual is that this should be possible: - setup the ADC with a fifo watermark of 1, so any data triggers the interrupt (this part works, in the example below I removed the interrupt code to make the code simpler) - setup the compare function with "Repeat compare until true", CVH/CVL appropriately and trigger will then sample the ADC continuously and raise the data once it is appropriate Unfortunately I've not been able to make the compare values work at all, the manual states that various operations are possible depending on CVL/CVH but none of them seemed to work for me using ADC1 / command 1 / trigger 1: Experimentally, I've seen: - CVL < CVH (manual says true if outside range e.g. val < CVL || val > CVH): value always returned (even if it falls within range) - CVH max, CVL set (should be less than CVL): maximum value is not specified so I wasn't sure, setting CVH to 0xfff or 0x1000 the value is always returned regardless of CVL, setting CVH to 0xffff the value is never returned - CVL min, CVH set (should be greater than CVH): value is always returned - CVL > CVH (should be inside range e.g. CVH < val < CVL): value is never returned Here's the code I used: lpadc_config_t adcConfig; LPADC_GetDefaultConfig(&adcConfig); adcConfig.FIFOWatermark = 0; adcConfig.enableAnalogPreliminary = true; LPADC_Init(ADC1, &adcConfig); lpadc_conv_trigger_config_t triggerConfig; LPADC_GetDefaultConvTriggerConfig(&triggerConfig); triggerConfig.targetCommandId = 1; triggerConfig.enableHardwareTrigger = true; LPADC_SetConvTriggerConfig(ADC1, 0, &triggerConfig); lpadc_conv_command_config_t commandConfig; LPADC_GetDefaultConvCommandConfig(&commandConfig); commandConfig.channelNumber = 5; commandConfig.sampleChannelMode = kLPADC_SampleChannelSingleEndSideB; commandConfig.sampleScaleMode = kLPADC_SampleFullScale; commandConfig.hardwareAverageMode = kLPADC_HardwareAverageCount2; commandConfig.hardwareCompareMode = kLPADC_HardwareCompareRepeatUntilTrue; commandConfig.hardwareCompareValueHigh = v_high; commandConfig.hardwareCompareValueLow = v_low; LPADC_SetConvCommandConfig(ADC1, 1, &commandConfig); SDK_DelayAtLeastUs(1000, SDK_DEVICE_MAXIMUM_CPU_CLOCK_FREQUENCY); LPADC_DoSoftwareTrigger(ADC1, 1 << 0); // this is LPADC_GetConvResultBlocking() with a timeout uint32_t tmp, cnt = 0; tmp = ((ADC_Type *)ADC1)->RESFIFO; while (ADC_RESFIFO_VALID_MASK != (tmp & ADC_RESFIFO_VALID_MASK) && cnt < 100000) { tmp = ((ADC_Type *)ADC1)->RESFIFO; cnt++; } if (ADC_RESFIFO_VALID_MASK != (tmp & ADC_RESFIFO_VALID_MASK)) { PRINTF("ADC timeout\r\n"); } else { tmp &= ADC_RESFIFO_D_MASK; tmp >>= 3; PRINTF("got %d (%#x) in %d\r\n", tmp, tmp, cnt); } I've also dumped registers, I'm confident the "compare repeat until true" part works because the STAT register considers the trigger/command to still be running, and I got identical results with "Store on true" setting (And fiddling with CV (compare value) while the command is running gets weird results, but properly returns the triggers that were waiting for condition to be true - I'm sure we're not supposed to change CV while running so let's ignore this bit) Here's registers while waiting for conversion, with CVL = 0xffe and CVH = 0x1 (so should return any value between the two): ADC1 0x280a2000 VERID: 0x200101a PARAM: 0xf041004 CTRL: 0x1 ^ ADCEN STAT: 0x1000800 ^ CMDACT 1, ADC_ACTIVE IE: 0 DE: 0 CFG: 0x10800000 ^ PWREN, PUDLY = 0x80 PAUSE: 0 TSTAT: 0 TCTRL[0]: 0x1000001 ^ TCMD = CMD1, HTEN (no difference when disabled) FCTRL: 0 CMD[0].CMDL: 0x2025 ^ CSCALE full-scale, ABSEL = B, CH5 CMD[0].CMDH: 0x1003 ^ AVGS = 2 conversions, CMPEN = repeat until true CV[0]: 0x10ffe ^ compare value, CVH=1 and CVL=0xffe Am I holding this wrong? Thanks, Dominique Re: i.MX8ULP LPADC compare function Thank you @joanxie  I can confirm shifting the compare value appear to work! (I need to slow down the adc clock because the ADC is sampling too fast, even with convPauseDelay = 1023, but that is something I can probably figure out) Is the shift something one is supposed to be aware of, or will the ADC_CV_CVL_SHIFT / ADC_CV_CVH_SHIFT macros in e.g. MIMX8UD5_cm33.h be updated so setting hardwareCompareValueHigh/Low just works? There's no example available at all in https://github.com/nxp-mcuxpresso/mcuxsdk-examples so I'd like to confirm what (if anything) will be updated to clarify this in the future (either the comment in fsl_lpadc.h describing hardwareCompareValueHigh or the device macro to make it work) -- if the macro is updated I'll need to be careful when updating the SDK, so it'd be great to know ahead of time to plan for it Thank you Re: i.MX8ULP LPADC compare function hardwardCompareValueHigh/Low stores the raw CV register values, you need to align them to the RESFIFO D-field format themselves, I checked internal data base, I didn't find  a confirmed SDK roadmap item indicating that the existing field-shift macros will be changed or that the driver will automatically apply this conversion. Re: i.MX8ULP LPADC compare function refer to the Table 725. Data result register format description of reference manual,  the data is D[14:3], for the compare value, I think you should 3bits shift , like commandConfig.hardwareCompareValueHigh = v_high << 3; //CVH=0x8 commandConfig.hardwareCompareValueLow = v_low << 3;//CVL=0x7ff0 Re: i.MX8ULP LPADC compare function Okay, I'll handle it in our code, thank you for confirming.
記事全体を表示
设计师工作室下载 所有指向 Designer Studio 的链接都仅下载调试器安装文件。 Re: designer studio download 你好, 感谢您的举报。可从S32 Design Studio for S32 Platform 页面下载 S32 Design Studio IDE。在“下载”下,请选择“S32 Design Studio – Windows/Linux”。请确保不要选择单独的 S32 Design Studio 调试器下载,该下载仅提供调试器安装程序。可能需要登录才能下载。 顺祝商祺! Peter
記事全体を表示
T2080NXE8MQBベースのカスタムボードがSPI NORフラッシュからブート コミュニティの皆様へ 現在、カスタムT2080ボードの起動に関して問題が発生しています。私が基本的に行っていることは、カスタムボードに従ってQCVSからPBL(rcw)を生成することです。それをSPI NORに書き込み、ディップ・スイッチをSPI NORから起動するように設定しました。しかし、T2080はSPI NORからデータを取得できません。あなたと同じように、ccsコンソールで同じ問題(コアが応答しない)が発生しています。CPLDはまだプログラムしていません rcw(pbl)が添付されました。 以下は、ccsコンソールのエラー画面です。 USB接続で利用可能なTAPをスキャンしています..... ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + + 利用可能なリモート接続 + + 1 - CodeWarriorTAP - 00:04:9f:07:e3:5a + 2 - CodeWarriorTAP - + 3 - EthernetTAP - + 4 - GigabitTAP - + + x - 変更せずにスクリプトを終了 + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 接続を指定してください: 1 TAPインターフェースの設定中... 設定済み接続: cwtap : 00:04:9f:07:e3:5a TDO ----- | * デバイス 0 IDCODE: 118E701D デバイス: FSL T2080 rev 2.x | TDI ----- ################################################### # # configTAP - TAPインターフェースの再定義 # # スキャンボード - ターゲットシステムをスキャン # そしてJTAG IDコードを返す # # ir - ループバックテスト # ################################################### CCSAPI接続#1がactivation.acronis.comから2026年9月30日(水) 10:26:35に受け入れられました。 (bin) 2%すべて削除 (bin) 3 % config cc cwtap (bin) 4% ccs::config_chain t2080 (bin) 5% display ccs::config_chain t2080 (bin) 6 % display ccs::config_chain t2080 (ビン)6%表示CCS::get_config_chain 鎖位置0:T2080 チェーン位置1:e6500 thread 0 チェーン位置2:e6500 thread 1 チェーン位置3:e6500 thread 0 チェーン位置4:e6500 thread 1 チェーン位置5:e6500 thread 0 チェーン位置6:e6500 thread 1 チェーン位置7:e6500 thread 0 チェーン位置8:e6500 thread 1 (ビン)7% CCS::reset_to_debug T2080:コアが反応しない Re: T2080NXE8MQB based custom board booting from SPI NOR Flash ハイ SPIがスナップで使用されていないというタイプミスがあります。実際、使われています。 問題は、IFCやNANDに直接アクセスできないことです。SPI NORにはSPIプロトコルを通じてのみアクセスできます。まずSPI NORにRCWを書き込み、それに合わせてディップ・スイッチの設定を調整しました。 先ほど投稿したエラーは、上記の手順を実行した後に発生したものです。 Re: T2080NXE8MQB based custom board booting from SPI NOR Flash こんにちは、 はい、 cfg_rcw_src は T2080ブートROMがRCWを取得する場所を選択するディップ・スイッチのストラップです。これにはRCWの内容自体は含まれていません。RCWは、選択したブートデバイスに既にプログラムされている必要があります。 回路図によると: NORフラッシュブート: 0_0010_0111 NANDフラッシュブート: 1_0001_1001 SDカードとSPIブートは使用されていません。   したがって、ボードがNORフラッシュから起動する場合は、 cfg_rcw_src=0_0010_0111 に設定してください。NANDフラッシュから起動する場合は、 1_0001_1001 使用してください。SW1は cfg_rcw_src0–7 を運びます。SW2のスイッチ1は cfg_rcw_src8 を運びます。 したがって、「ハードコーディングされたRCW」とは、RCWがブートメモリに固定・プログラムされているというより正確には、単なるディップ・スイッチ設定ではなく、 よろしくお願いします。 Re: T2080NXE8MQB based custom board booting from SPI NOR Flash ハードコードされたRCWとは具体的にどういう意味ですか?ディップ・スイッチの設定(cfg_rcw_src)のことを言っていますか?もしそうなら、私の場合はどの設定でしょうか。 設計図からディップスイッチのスナップ音を添付して、cfg_rcw_src言及しています。 Re: T2080NXE8MQB based custom board booting from SPI NOR Flash こんにちは、 JTAG接続は正常に機能しており、TAPはT2080を正しく認識しています。この失敗はCodeWarriorがe6500コアのリリース/リセットを試みるときに発生し、「 コアが応答しない」とすれば、まずリセット、クロック、電源、または無効な起動設定を指示し、USB-TAP接続にはつながりません。 推奨される起動手順 SPIブートで起動しないでください。ボードを有効なT2080ハードコードRCWモードに設定し、SYSCLK/DDRCLKストラップの値が実際のクロックと一致していることを確認してください。NXPは、外部RCWデバイスへのアクセスを除外するため、初期ボード起動時にハードコーディングされたRCWの使用を推奨しています。 ハードコードされたRCWを選択した状態で、以下を実行します。 delete all config cc cwtap ccs::config_chain t2080 ccs::reset_to_debug     それでも問題が解決しない場合は、PBLではなくハードウェアを点検してください。 オシロスコープで確認してください。 ポアセットB hreset_b COP_HRESET_B COP_SRST_B 眠っている RESET_REQ_B SYSCLKとDDRCLK 極性、電圧レベル、シーケンスが正しいこと、および HRESET_B がアクティブ状態に保持されていないことを確認してください。特にCOP/JTAGヘッダー周辺のリセットロジックに注意してください。リセットの所有が誤ると、デバッガがコアを停止モードに設定できなくなることがあります。 必要なレールとクロック、特にプロセッサコアの電圧、 OVDD 、 GVDD 、 SVDD 、参照クロックを確認してください。有効なJTAG IDだけでは、コア電源、PLL、またはリセットシーケンスが正しいことを証明するものではありません。 ハードコードモードが正常に動作したら、CodeWarriorのSRAM起動設定を使用してRCWに接続し、ロード/オーバーライドします。NXPが推奨する手順は次のとおりです。ハードコードされたRCWを検証し、QCVSを使用してカスタムRCWを生成し、SRAMを介して接続し、RCWをフラッシュメモリに書き込みます。 その時のみ、SPI NORブートのデバッグを行います。 DIPストラップのエンコーディングとサンプリングを確認してください。 SPI NOR電圧、リセット、チップセレクト、クロック、およびIO配線を確認してください。 プログラムされたフラッシュメモリを読み戻し、イメージをバイト単位で検証する。 PBLが正しいT2080リビジョンとSPIブートフォーマット用に生成されていることを確認してください。 T2080ブートROMが期待するオフセットでプログラムしてください。ブートモードやドキュメントを確認せずにオフセット 0x0 を想定しないでください。 ロジックアナライザを使って、プロセッサがPOR中にSPIチップセレクトとクロックを主張していることを検証します。 よろしくお願いします。 Re: T2080NXE8MQB based custom board booting from SPI NOR Flash こんにちは、 @Bio_TICFSL さん。 T2080RMでは、図4-1に示すタイミング図に従ってPORESETのみをプログラミングしています。PORESETを0~5秒(遅延)はHigh(High-Z、プルアップ)、5~15秒はLow、15秒以降はHigh(Highのまま)に設定しています。動作はこれ通りです。 しかし、HRETは常に最初からLOWのままです。PORESETのプログラム時だけ反応するはずではないのでしょうか?それともHRESETの信号もプログラムしなければならないのでしょうか? CPLD、POSET、HRET信号をプログラムする前は、これらの信号が設計上プルアップされるため常に高信号です.....
記事全体を表示
基于 T2080NXE8MQB 的定制板,从 SPI NOR Flash 启动 亲爱的社区 我目前在启动定制的T2080主板时遇到问题。我所做的基本上是根据我的自定义电路板,从 QCVS 生成 PBL (rcw)。我已经将程序烧录到 SPI NOR 芯片中,并将 DIP 开关设置为从 SPI NOR 芯片启动。但是 T2080 无法从 SPI 或非 获取数据。和你一样,ccs 控制台也出现了同样的问题(核心无响应)。我们还没有对CPLD进行编程。 rcw(pbl) 已附加。 以下是 ccs 控制台错误屏幕: 正在扫描通过 USB 连接的可用 TAP…… ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + + 可用的远程连接 + + 1 - CodeWarriorTAP - 00:04:9f:07:e3:5a + 2 - CodeWarriorTAP - +3 - EthernetTAP - +4 - GigabitTAP - + + x - 不进行任何更改地退出脚本 + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 指定连接方式: 1 配置TAP接口…… 已配置连接:cwtap:00:04:9f:07:e3:5a TDO ----- | * 设备 0 IDCODE:118E701D 设备:FSL T2080 rev 2.x | TDI ----- ################################################### # # configTAP - 重新定义 TAP 接口 # # 扫描板 - 扫描目标系统 并返回 JTAG IDCode # # ir - 环回测试 # ################################################### CCSAPI 连接 #1 已接受,来自 activation.acronis.com,时间为 2026 年 9 月 30 日星期三 10:26:35 (bin)2% 全部删除 (bin)3% 配置 cc cwtap (bin)4% ccs::config_chain t2080 (bin)5% 显示 ccs::config_chain t2080 (bin)6% 显示 ccs::config_chain t2080 (bin) 6% 显示 ccs::get_config_chain 链条位置 0:T2080 链条位置 1:e6500 螺纹 0 链条位置 2:e6500 螺纹 1 链条位置 3:e6500 螺纹 0 链条位置 4:e6500 螺纹 1 链条位置 5:e6500 螺纹 0 链条位置 6:e6500 螺纹 1 链条位置 7:e6500 螺纹 0 链条位置 8:e6500 螺纹 1 (bin) 7% ccs::reset_to_debug T2080:核心无响应 Re: T2080NXE8MQB based custom board booting from SPI NOR Flash HI 存在拼写错误,即SPI 未在 snap 中使用。实际上它确实被使用了。 问题是我们无法直接访问 IFC 或非 & 与非。我们只能通过 SPI 协议访问 SPI NOR 转换器。我首先将RCW固件烧录到SPI NOR芯片中,然后相应地设置了拨码开关。 我之前发布的错误是在我完成上述操作之后出现的。 Re: T2080NXE8MQB based custom board booting from SPI NOR Flash 您好, 是的 cfg_rcw_src 是 DIP 开关带,用于选择T2080 启动 ROM 从何处获取 RCW 。它本身不包含 RCW 内容;RCW 必须已经编程到选定的引导设备中。 根据你的原理图: NOR闪存启动: 0_0010_0111 NAND闪存启动: 1_0001_1001 SD 和 SPI 启动均未使用。   因此,如果您的板子从或非闪存启动,请设置 cfg_rcw_src=0_0010_0111 。如果它从与非闪存启动,请使用 1_0001_1001 。SW1 承载 cfg_rcw_src0–7 ;SW2 交换机 1 承载 cfg_rcw_src8 。 因此,“硬编码 RCW”更准确的含义应该是 RCW 被固定在启动存储器中,而不仅仅是 DIP 开关设置。 此致 Re: T2080NXE8MQB based custom board booting from SPI NOR Flash 您说的“硬编码RCW”具体指的是什么?您是指拨码开关( cfg_rcw_src) 的设置吗 ?如果是,那么我的情况应该如何设置? 我附上了原理图中拨码开关的截图,其中提到了cfg_rcw_src。 Re: T2080NXE8MQB based custom board booting from SPI NOR Flash 你好, JTAG 连接正常——TAP 正确识别了 T2080。当 CodeWarrior 尝试释放/RESET e6500 内核时,就会发生故障,因此“内核无响应”首先指向 RESET、时钟、电源或无效的启动配置,而不是 USB-TAP 连接。 推荐启动顺序 不要使用SPI启动。将电路板配置为有效的 T2080 硬编码 RCW 模式,并确认 SYSCLK/DDRCLK 跳线值与实际时钟匹配。NXP 建议在电路板初始启动期间使用硬编码的 RCW,因为它排除了对外部 RCW 设备的访问。 选中硬编码的 RCW,运行: delete all config cc cwtap ccs::config_chain t2080 ccs::reset_to_debug     如果仍然失败,请检查硬件而不是 PBL。 用示波器验证: PORESET_B hreset_b COP_HRESET_B COP_SRST_B 睡着了 RESET_REQ_B 系统时钟和 DDR 时钟 确认极性、电压等级、时序是否正确,以及 HRESET_B 是否未保持激活状态。请特别注意 COP/JTAG 接头周围的 RESET 逻辑;RESET 所有权错误可能会导致调试器无法将内核置于停止模式。 检查所有必需的电源轨和时钟,特别是处理器核心电压、 OVDD 、 GVDD 、 SVDD 和参考时钟。仅凭有效的 JTAG ID 并不能证明内核电源、PLL 或 RESET 时序是正确的。 在硬编码模式运行后,使用 CodeWarrior 的SRAM 启动配置来连接和加载/覆盖 RCW。NXP 推荐的流程是:验证硬编码的 RCW,使用 QCVS 生成自定义 RCW,通过 SRAM 连接,然后将 RCW 编程到闪存中。 只有在这种情况下才能调试 SPI 或非 启动: 确认DIP-strap编码和采样。 检查 SPI 或非 电压、复位、片选、时钟和 IO 接线。 读取已编程的闪存并逐字节验证图像。 确认 PBL 是为正确的 T2080 版本和 SPI 启动格式生成的。 按照 T2080 启动 ROM 预期的偏移量进行编程;在未检查启动模式/文档的情况下,不要假定偏移量为 0x0 。 使用逻辑分析仪验证处理器在 POR 期间是否输出 SPI 片选信号和时钟信号。 此致 Re: T2080NXE8MQB based custom board booting from SPI NOR Flash 嗨@Bio_TICFSL 我们仅按照 T2080RM 中图 4-1 所示的时序图对 PORESET 进行编程。我们将 PORESET 设置为:0-5 秒(延迟)高电平(高阻,上拉),5-15 秒低电平,15 秒后保持高电平。其运行符合预期。 但是 HRESET 从一开始就是低电平。它不应该只对 PORESET 进行编程才有响应吗?还是说我们还需要对 HRESET 信号进行编程? 在对CPLD进行编程之前,PORESET和HRESET信号始终为高电平,因为这些信号在设计中被上拉了……
記事全体を表示
i.MX 95 的 QEMU 你好, 我们已为OpenBMC i.MX 95(机器 ->evb-imx95 ,图像 ->obmc-phosphor-image )版本,使用walnascar 分支的nxp-imx-support 存储库(https://github.com/nxp-imx-support/meta-nxp-openbmc/tree/walnascar)。 我们没有可供测试的评估板,因此我们想知道 i.MX 95 平台是否支持 QEMU 仿真以运行 OpenBMC 镜像。 具体来说: NXP 是否为 i.MX 95 提供 QEMU 机器模型(例如,在 imx-qemu 存储库中),并且它是否支持启动 OpenBMC 镜像?如果没有,有没有推荐的无需硬件即可测试 OpenBMC 镜像的方法? 我们检查了上游 QEMU,没有找到 i.MX 95 机器类型。 谢谢 Re: QEMU for i.MX 95 嗨@Kavinraj_08 我们尚未发布支持 i.MX 95 的 QEMU 软件包。同时,目前还没有针对 i.MX 95 OpenBMC 的无硬件测试解决方案。 B.R
記事全体を表示
T2080NXE8MQB based custom board booting from SPI NOR Flash Dear Community I am currently facing issue regarding custom T2080 board bring-up. What basically I am doing is I have generated PBL (rcw) from QCVS according to my custom board. I have flashed that in the SPI NOR and set the DIP switches to boot from SPI NOR. But T2080 is unable to fetch from SPI NOR. same issue is coming in ccs console (core not responding) as of you. We haven't programmed the CPLD yet rcw(pbl) has been attached . Below is the ccs console error screen: Scanning for available TAPs connected via USB..... ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + + Available Remote Connections + + 1 - CodeWarriorTAP - 00:04:9f:07:e3:5a + 2 - CodeWarriorTAP - + 3 - EthernetTAP - + 4 - GigabitTAP - + + x - Exit Script without Changes + ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Specify connection: 1 Configuring TAP Interface.... Configured Connection: cwtap : 00:04:9f:07:e3:5a TDO ----- | * Device 0 IDCODE: 118E701D Device: FSL T2080 rev 2.x | TDI ----- ################################################### # # configTAP - Redefine TAP interface # # scanboard - Scans the target system # and returns the JTAG IDCode # # ir - Loopback test # ################################################### CCSAPI connection #1 accepted from activation.acronis.com at Wed Sep 30 10:26:35 2026 (bin) 2 % delete all (bin) 3 % config cc cwtap (bin) 4 % ccs::config_chain t2080 (bin) 5 % display ccs::config_chain t2080 (bin) 6 % display ccs::config_chain t2080 (bin) 6 % display ccs::get_config_chain Chain Position 0: T2080 Chain Position 1: e6500 thread 0 Chain Position 2: e6500 thread 1 Chain Position 3: e6500 thread 0 Chain Position 4: e6500 thread 1 Chain Position 5: e6500 thread 0 Chain Position 6: e6500 thread 1 Chain Position 7: e6500 thread 0 Chain Position 8: e6500 thread 1 (bin) 7 % ccs::reset_to_debug T2080: Core not responding Re: T2080NXE8MQB based custom board booting from SPI NOR Flash Hi there is a typo of SPI being not used in a snap. It is used actually. The thing is that we dont have direct access to IFC NOR & NAND. we only have access to SPI NOR via SPI protocol. and i first flashed rcw in the SPI NOR and then set the settings of dip switches accordingly.  The error I posted earlier is after I have done above. Re: T2080NXE8MQB based custom board booting from SPI NOR Flash Hi, Yes— cfg_rcw_src is the DIP-switch strap that selects where the T2080 boot ROM obtains the RCW. It does not contain the RCW contents itself; the RCW must already be programmed in the selected boot device. According to your schematic: NOR flash boot: 0_0010_0111 NAND flash boot: 1_0001_1001 SD and SPI boot are marked not used.   Therefore, if your board boots from NOR flash, set cfg_rcw_src=0_0010_0111 . If it boots from NAND flash, use 1_0001_1001 . SW1 carries cfg_rcw_src0–7 ; SW2 switch 1 carries cfg_rcw_src8 . So, “hard-coded RCW” should more accurately mean that the RCW is fixed/programmed in the boot memory—not merely the DIP-switch setting. Regards Re: T2080NXE8MQB based custom board booting from SPI NOR Flash what do you mean exactly regarding Hard coded RCW. Did you mean the setting of dip switches (cfg_rcw_src). If yes then what setting would be in my case. I have attached the snap of dip switches from my schematics mentioning cfg_rcw_src. Re: T2080NXE8MQB based custom board booting from SPI NOR Flash Hello, The JTAG connection is working—the TAP identifies the T2080 correctly. The failure occurs when CodeWarrior tries to release/reset the e6500 cores, so “Core not responding” points first to reset, clock, power, or an invalid boot configuration, not to the USB-TAP connection.  Recommended bring-up sequence Do not start with SPI boot. Configure the board for a valid T2080 hard-coded RCW mode and confirm the SYSCLK/DDRCLK strap values match the actual clocks. NXP recommends using hard-coded RCW during initial board bring-up because it excludes external RCW-device access. With hard-coded RCW selected, run: delete all config cc cwtap ccs::config_chain t2080 ccs::reset_to_debug     If this still fails, inspect hardware rather than the PBL. Verify with an oscilloscope: PORESET_B HRESET_B COP_HRESET_B COP_SRST_B ASLEEP RESET_REQ_B SYSCLK and DDRCLK Confirm correct polarity, voltage levels, sequencing, and that HRESET_B is not being held active. Pay particular attention to the reset logic around the COP/JTAG header; incorrect reset ownership can prevent the debugger from placing the core in stop mode. Check all required rails and clocks, especially processor core voltage, OVDD , GVDD , SVDD , and reference clocks. A valid JTAG ID alone does not prove that the core power, PLL, or reset sequencing is correct. After hard-coded mode works, use CodeWarrior’s SRAM launch configuration to connect and load/override the RCW. NXP’s recommended flow is: validate hard-coded RCW, generate the custom RCW with QCVS, connect through SRAM, then program the RCW into flash. Only then debug SPI NOR boot: Confirm the DIP-strap encoding and sampling. Verify SPI NOR voltage, reset, chip-select, clock, and IO wiring. Read back the programmed flash and verify the image byte-for-byte. Confirm the PBL is generated for the correct T2080 revision and SPI boot format. Program it at the offset expected by the T2080 boot ROM; do not assume offset 0x0 without checking the boot mode/documentation. Use a logic analyzer to verify that the processor asserts SPI chip select and clocks during POR. Regards Re: T2080NXE8MQB based custom board booting from SPI NOR Flash Hi @Bio_TICFSL  We are only programming PORESET according to the timing diagram as shown in Figure 4-1 in T2080RM. We are setting PORESET 0-5s (delay) High (High-Z, pulled up) then 5-15s Low and then 15s onwards High (stays High). It is behaving accordingly.  But HRESET is always LOW from start. Shouldn't it respond on programming of PORESET only ? Or do we have to program HRESET signal too ?? Before programming CPLD, PORESET & HRESET signals are always high bcz these signals are pulled up in design.....
記事全体を表示
i.MX 95 用 QEMU こんにちは、 i.MX 95(Machine -> evb-imx95 、Image -> obmc-phosphor-image )を nxp-imx-サポートリポジトリ( https://github.com/nxp-imx-support/meta-nxp-openbmc/tree/walnascar)の walnascar ブランチを使って OpenBMC を構築しました。 テスト用の評価ボードがないため、i.MX 95プラットフォームでOpenBMCイメージを動作させるためのQEMUエミュレーションサポートが利用可能かどうかを知りたいです。 具体的には: NXPは i.MX 95向けのQEMUマシンモデル(例えばimx-qemuリポジトリ)を提供しており、OpenBMCイメージの起動をサポートしていますか?そうでない場合、ハードウェアを使用せずにOpenBMCイメージをテストする推奨方法はありますか? 上流のQEMUを確認しましたが、i.MX 95マシンタイプは見つかりませんでした。 よろしくお願い申し上げます。 Re: QEMU for i.MX 95 こんにちは、@Kavinraj_08さん i.MX 95をサポートするQEMUパッケージはまだリリースされていません。同時に、i.MX 95 OpenBMC 用のハードウェア不要のテストソリューションは存在しません。 B.R
記事全体を表示
S32K312MINI-EVB: 初回デバッグ成功後、RESET LEDが点灯したままになり、接続できなくなります。 こんにちは、 ボード:S32K312MINI-EVB / IDE:S32DS 3.5 / デバッガ:オンボード(Embedded Multilink Rev A) 電源:J1経由12V、J19/J20=2-3(USB-Cでも1-2を試しました) 1. 12V電源で工場デモが動作し(D3青色点灯)、空のS32DSプロジェクト(main.c)のデバッグとフラッシュに成功しました。(;;)のみで。 2.その後、接続できなくなりました。エラー:「PEmicro GDB 起動失敗:GDB サーバーがターゲット プロセッサへの接続を確立できませんでした (E54431355)」。 3. 電源投入直後やデバッグ開始前であっても、RESET LEDが点灯し続けます。(最初の点滅の前に、接続が中断された後、リセットLEDが消灯しました。) 4. J23 (VBAT) および J16 (P5V0) の電圧は正常です。完全な電源遮断(30秒)、異なる電源投入順序、リセット後の遅延、低速などを試しました。 私の空のアプリケーションではFS26のウォッチドッグが適切に動作していないため、FS26がMCUをリセット状態に保っているのではないかと疑っています。 MINI-EVB上でFS26をデバッグモード(ウォッチドッグ無効化)にする方法、またはボードを復旧させる方法を教えてください。 ありがとう。 Re: S32K312MINI-EVB: RESET LED stays on after first successful debug, cannot connect anymore こんにちは、 @hjkimmmm さん、 デフォルトでは、FS26はデバッグモードで動作します。通常動作に切り替えるにはハードウェアの改造が必要です。 具体的には、FS26をデバッグモードに保つために、抵抗器R147はデフォルトで取り付けられています。通常モードを有効にするには、R147を取り外し、代わりにR146を取り付ける必要があります。FRDM-A-S32K312の回路図からこれが確認できます: この空白のプロジェクトをフラッシュした後、どのLEDインジケーターが点灯しますか?D9かD10(あるいは両方)? MCU(Debug Configuration > Startup > Attached to Running Target)にアタッチできますか? 外部デバッガ(J7のTen-pin Cortexデバッグインターフェースを使って)に接続してみましたか? 空白のプロジェクトを共有してもらえますか?そうすれば、他の設定が誤ってMCUにアップロードされていないか分析できます。 よろしくお願いします、 ジュリアン
記事全体を表示
PN7160燃烧 您好,我目前使用的是型号以 EVK 结尾的 PN7160 开发板,我们使用了连接到树莓派的扩展板,并确保其正确连接(据我们所知)。昨天一切正常,I2C 通信也正常。但今天我们回到实验室并再次连接(与昨晚的连接方式相同)后,PN7160 芯片上的集成电路开始冒烟,所以我们立即拔掉了电源。 即使没有 pn7160,Pi 也能正常启动,所以我不太清楚昨天到今天之间发生了什么,但它被锁起来了,只有我有钥匙。 我们正在和丰田合作做一个赞助项目,他建议我们联系他们的支持团队,所以我们想看看大家有没有什么建议或者知道发生了什么。 Re: PN7160 Burning 我们之前从未遇到过这个问题。我建议您尝试使用另一块PN7160 EVK板。
記事全体を表示
NFC 現在、サポートされているPN7XXチップの特定のNFC XTSテストケースで故障が確認されています。今後のXTSテストスイートから、関連するType BおよびType Fカードエミュレーションテスト項目を削除する予定があるのか、ご確認いただけますか?また、NXPはこの点についてGoogleと確認済みでしょうか? #PN7220 Re: NFC こんにちは、 @Max4さん はい、この件は既に報告されており、これに関する公式声明が発表される予定です。 少々お待ちください。
記事全体を表示
Analog Front End Layout I am designing a PCB based around a TI CC1310. I plan to operate it around 915 MHz with an SMA connected whip antenna. Ideally, I would like to get 4-5 kilometers line-of-sight range at 50 kbs or lower, which seems doable if I have a decent RF frontend. However, RF is definitely not my expertise, so my plan was just to copy the CC1310 balun and filter layout as closely as possible. Unfortunately, that's going to be more complicated and expensive than I had anticipated, so I'm wondering how much wiggle room I have when it comes to layout before I totally destroy my performance. In particular, TI used a stack-up that is 0.175 mm between the ground and top signal plane. I can save some money if I extend that to 0.21 mm, which I don't think will affect performance much, but I'm not sure. I can also save some effort by swapping out some of the passive components with those from another company, but I'm not sure how risky that is. I noticed that even the same part numbers have different footprints than what were used on the TI board. I assume that won't affect too much though. Finally, I would like to shorten the trace between the end of the filter and the antenna connector/blocking capacitor, which I assume won't affect much as long as I keep it 50 Ohms. Assuming I keep the components pretty close together and the layout symmetrical, how much can I alter the layout before I have to worry about performance being degraded? Should I plan on having to select new frontend components if I make any of the changes mentioned? Level Shifters Re: Analog Front End Layout Hi s1hukla What can I do for your about NXP products support! Thanks!
記事全体を表示
S32K14X_MCAL_install I’ve tried many times, but I still can’t get the license to install successfully. What could be causing this? Invalid license file. Feature AUTOSAR_MCAL_S32K14X version 4.2 is required. Re: S32K14X_MCAL_install Hello @xiaomingchen, In order to use the SW32K14-SMCL431-RTMC-1.0.1 package, a license.dat file is required. You can download the required licenses in the 'License Keys' tab, select the license to download (in your case, I can see you are using AUTOSAR 4.3 RTM 1.0.3 release for the S32K1XX platform / SW32K14-SMCL431-RTMC-1.0.1), scroll down and select 'View', then finally, 'Save All'. This will generate a license.dat file for you to enter on the installation wizard: However, this SW is not supported and maintained anymore. We recommend using latest RTD drivers instead: Real-Time Drivers (RTD) | NXP Semiconductors. Best regards, Julián
記事全体を表示
RW612 - 三天线射频前端 你好 我想在三天线配置中使用 RW612,其中蓝牙、Wi-Fi 2GHz 和 Wi-Fi 5GHz 各有一根天线。 在您的文档AN14002 - RW61x 设计指南中,您只描述了双天线和单天线配置。 当引脚RF_TR_5 (Wi-Fi 5GHz)和RF_TR_2 (Wi-Fi 2GHz)各自拥有自己的天线时,正确的射频前端阻抗匹配(50 Ω)是多少? NXP是否提供用于三天线配置的前端模块(FEM)校准文件? Re: RW612 - Triple Antenna RF front-end 你好@MarcinM 我们没有可供您参考的三天线设计样品。你可以自己开发。关于 FEM 校准文件,校准指南展示了如何配置 FEM 部分。您可以参考该文档来自定义您的 FEM 校准文件。 顺祝商祺! 肖恩
記事全体を表示
PN7160 燃焼 こんにちは。私は現在、EVKで終わったPN7160キットを使っています。パイに接続する帽子を使い、正しく接続されているか確認しました(私たちの知る限り)。昨日はI2Cで通信しているのを確認し、問題なく動作していましたが、今日ラボに戻って昨夜と同じように接続したところ、PN7160のICから煙が出始めたSO、プラグを抜きました pn7160をつけていないとPiは正常に起動するので、昨日から今日の間に何があったのかはわかりませんが、鍵はロックされていて、私だけが鍵を持っています。 私たちはトヨタとスポンサー付きプロジェクトを行っていて、サポートチームに相談するよう勧められたので、皆さんに何かアイデアや何が起きたのか分かるか聞きたかっただけです Re: PN7160 Burning 私たちはこれまでこの問題に遭遇したことがありません。別のPN7160 EVKボードを試してみることをお勧めします。
記事全体を表示
NFC Currently, we are observing failures in certain NFC XTS test cases on the supported PN7XX chips. Could you please clarify if Google plans to remove the relevant Type B and Type F Card Emulation test items from future XTS test suites? Also, has NXP confirmed this specific aspect with Google? #PN7220 Re: NFC Hello @Max4  Yes, this issue has been submitted, and an official statement regarding it will be released. Please wait a moment.
記事全体を表示
アナログフロントエンドレイアウト 私はTI CC1310をベースにしたプリント基板を設計しています。SMA接続のウィップアンテナで915MHz付近で運用する予定です。理想的には、50 kbs以下の速度で4〜5キロメートルの視線距離を得たいです。十分なRFフロントエンドがあれば実現可能だと思います。しかし、RFは私の専門ではないので、CC1310のバランとフィルターのレイアウトをできるだけ忠実にコピーするつもりでした。残念ながら、それは予想以上に複雑で高価になるので、レイアウトに関してどれくらい余裕があるのか、パフォーマンスを完全に台無しにしてしまう前に考えています。 特にTIは、グランドプレーンとトップ信号プレーンの間隔が0.175mmの積層構造を採用した。0.21mmに延長すれば少し節約できると思いますが、性能にはあまり影響しないと思いますが、確信はありません。また、パッシブ部品の一部を他社のものに交換することで手間を省くこともできますが、それがどれほどリスクがあるのかはわかりません。同じ部品番号でも、TIの基板で使用されているものとはフットプリントが異なることに気づきました。とはいえ、それほど大きな影響はないだろうと思います。最後に、フィルタの終端とアンテナコネクタ/ブロッキングコンデンサ間の配線を短くしたいのですが、抵抗値を50オームに保っていれば、大きな影響はないと考えています。 部品をかなり近い位置に置き、レイアウトも対称にすると、どれくらいレイアウトを変えれば性能が落ちる心配になるでしょうか?上記のような変更を行う場合、新しいフロントエンドコンポーネントを選択する必要があるでしょうか? レベル・シフタ Re: Analog Front End Layout こんにちは、 s1huklaさん NXPについての製品サポートについて何かご連絡いただければ幸いです! よろしくお願いします!
記事全体を表示
关于基于imx95的模块的PF09 PMIC OTP配置和设置的咨询。 您好,NXP, 我们目前正在使用基于 imx95 soc B-step 的模块,并采用 PF09 PMIC。 根据我们的原理图和硬件检查,VDDOTP 线已接地,这意味着已加载默认 OTP 配置,我们无法通过软件读取设置。我们的客户要求提供 PF09 OTP 的具体设置/配置详情,以便了解电源顺序(特别是关于 RESET 输入控制和上电行为)。 我们使用的PF09零件上的激光蚀刻字样是PF09 CTAGACE 请问能否提供 iMX95 evk 平台上使用的 PF09 PMIC 的默认 OTP 设置文档或指南? 谢谢 Re: Inquiry regarding PF09 PMIC OTP Configuration and Settings on imx95 based module. 您好, M.Shangavelan 请参阅附件第2/3页。 Re: Inquiry regarding PF09 PMIC OTP Configuration and Settings on imx95 based module. 郭伟孙您好, 感谢您的及时回复。 以下是我们目前使用的零件编号: MPF0900AVNA1ES,恩智浦 谢谢 尚加维兰 Re: Inquiry regarding PF09 PMIC OTP Configuration and Settings on imx95 based module. 嗨,尚加 请告知您提到的PF09的完整零件编号,我将请求其OTP文件。
記事全体を表示