Multi Source Translation Content

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Multi Source Translation Content

ディスカッション

ソート順:
i.MX8MP Hardware H.264 Encoder (VC8000E/Hantro) Not Working – V4L2 Encoder Poll Error "Operation not We are trying to enable hardware H.264 encoding on the i.MX8M Plus platform using the Hantro VC8000E encoder. Kernel Configuration Enabled CONFIG_VIDEO_IMX8M_VDOA=y CONFIG_MXC_HANTRO=y CONFIG_MXC_HANTRO_V4L2=y CONFIG_MXC_HANTRO_VC8000E=y CONFIG_V4L_MEM2MEM_DRIVERS=y CONFIG_VIDEO_V4L2=y CONFIG_MEDIA_SUPPORT=y Device Tree VPU/VC8000E nodes have been enabled in DTS. &vpu_g1 { status = "okay"; };   &vpu_g2 { status = "okay"; };   &vpu_vc8000e { status = "okay"; };   &vpu_v4l2 { status = "okay"; };     Test Pipeline used:- GST_DEBUG=3 gst-launch-1.0 \ videotestsrc ! videoconvert ! v4l2h264enc ! fakesink     GST_DEBUG=3 gst-launch-1.0 videotestsrc ! videoconvert ! v4l2h264enc ! fakesink Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories 0:00:01.324000750 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x120000: 'AVR (Audio Visual Research)' is not mapped 0:00:01.324100250 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x180000: 'CAF (Apple Core Audio File)' is not mapped 0:00:01.324135000 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x100000: 'HTK (HMM Tool Kit)' is not mapped 0:00:01.324179500 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0xc0000: 'MAT4 (GNU Octave 2.0 / Matlab 4.2)' is not md 0:00:01.324212875 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0xd0000: 'MAT5 (GNU Octave 2.1 / Matlab 5.0)' is not md 0:00:01.324245125 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x210000: 'MPC (Akai MPC 2k)' is not mapped 0:00:01.324283000 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0xe0000: 'PVF (Portable Voice Format)' is not mapped 0:00:01.324318750 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x160000: 'SD2 (Sound Designer II)' is not mapped 0:00:01.324363125 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps: format 0x190000: 'WVE (Psion Series 3)' is not mapped Fontconfig error: No writable cache directories Fontconfig error: No writable cache directories 0:00:06.638305750 50254 0xaaaafd743f80 WARN GST_REGISTRY gstregistry.c:2003:gst_update_registry: registry update failed: Error writing registry cache to /home/devuser/.cacy Setting pipeline to PAUSED ... ====== V4L2ENC: 1.24.0 build on Jul 24 2024 02:25:45. ====== 0:00:06.800120125 50254 0xaaaafd743f80 WARN v4l2 gstv4l2object.c:5230:gst_v4l2_object_probe_caps: Failed to probe pixel aspect ratio with VIDIOC_t Pipeline is PREROLLING ... 0:00:06.802941500 50254 0xffffb4000b70 FIXME default gstutils.c:4088:gst_element_decorate_stream_id_internal: Creating random stream-id, consider implemd Redistribute latency... 0:00:06.847293500 50254 0xffffb4000b70 WARN v4l2bufferpool gstv4l2bufferpool.c:875:gst_v4l2_buffer_pool_start: Uncertain or not enough buffers, enabld 0:00:06.889086250 50254 0xffffb4000b70 WARN v4l2 gstv4l2object.c:6189:gst_v4l2_object_poll: error: poll error 1: Operation not permitted (1) ERROR: from element /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0: Could not read from resource. Additional debug info: /usr/src/debug/gstreamer1.0-plugins-good/1.24.0.imx/sys/v4l2/gstv4l2object.c(6189): gst_v4l2_object_poll (): /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0: poll error 1: Operation not permitted (1) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... 0:00:06.892575000 50254 0xffffb4000b70 WARN v4l2videoenc gstv4l2videoenc.c:941:gst_v4l2_video_enc_handle_frame: error: Failed to process frame. 0:00:06.892941125 50254 0xffffb4000b70 WARN v4l2videoenc gstv4l2videoenc.c:941:gst_v4l2_video_enc_handle_frame: error: Maybe be due to not enough memory or fr ERROR: from element /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0: Failed to process frame. Additional debug info: /usr/src/debug/gstreamer1.0-plugins-good/1.24.0.imx/sys/v4l2/gstv4l2videoenc.c(941): gst_v4l2_video_enc_handle_frame (): /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0: Maybe be due to not enough memory or failing driver ERROR: pipeline doesn't want to preroll. 0:00:06.898059500 50254 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: error: Internal data stream error. 0:00:06.898398750 50254 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: error: streaming stopped, reason error (-5) ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error. Additional debug info: /usr/src/debug/gstreamer1.0/1.24.0.imx/libs/gst/base/gstbasesrc.c(3175): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: streaming stopped, reason error (-5) ERROR: pipeline doesn't want to preroll. 0:00:06.927425375 50254 0xaaaafd743f80 WARN bufferpool gstbufferpool.c:1429:gst_buffer_pool_set_flushing: can't change flushing state of inactivl 0:00:06.928232250 50254 0xaaaafd743f80 WARN bufferpool gstbufferpool.c:1429:gst_buffer_pool_set_flushing: can't change flushing state of inactivl Freeing pipeline ... Request Please provide: Complete list of required kernel configurations for i.MX8MP hardware encoding. Required DTS entries for VC8000E/Hantro encoder. Required firmware files and their expected locations. Required GStreamer plugins/packages. Required multimedia libraries (imx-gst plugins, vpu wrappers, etc.). Any CMA/memory requirements. Validation procedure to verify encoder driver initialization. Recommended test pipelines for H.264 hardware encoding. i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: i.MX8MP Hardware H.264 Encoder (VC8000E/Hantro) Not Working – V4L2 Encoder Poll Error "Oper Hi @ajayvk1, Thank you for contacting NXP Support! 1) imx_v8_defconfig 2) imx8mp-evk.dts  3) The multimedia or full image is needed for this feature 4) The multimedia or full image is needed for this feature 5) RM00294.pdf  Best Regards, Chavira
記事全体を表示
外部ウォッチドッグを使用したPMICの動作(Wdg_43_VR5510) PMIC用に外部ウォッチドッグ(Wdg_43_VR5510)を実装しました。しかし、Pmic_VR5XX_TimeoutLoops_StateTransistion で無限ループに陥っています(下記参照)。 SagarZala_1-1728467272425.png 現在、状態はINIT_FS状態です。状態図によると、状態をINIT_FSからWait_ABIST2に変更するには、適切なウォッチドッグ更新が必要です。 image (7).png 最初のウォッチドッグ更新が256ms以内に正常に行われるようにするため、EcuM初期化中にWdg_43_VR5510_Init関数の後にウォッチドッグトリガーAPIを呼び出しました。 image (8).png 最初の監視機関の刷新をどのように、どこで行うべきかを知る必要がある。つまり、状態遷移はINIT_FSからwait_ABIST2へと起こるということです。 Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) こんにちは、 @Jerry_cao さん。 お問い合わせいただきありがとうございます。しかし、元の投稿はほぼ2年間閉鎖されているため、そのThreadでの支援を継続することはできません。 S32G - NXPコミュニティであなたの問題について新しい投稿を作成してください。私たちのチームは喜んでさらにサポートいたします。 BR セレステ Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) NXPチームの皆様、こんにちは。 現在VR5510 PMICのデバッグを行っているのですが、ウォッチドッグの更新に関連するリアルタイムスケジューリングの問題に遭遇しました。 MCAL I2C ウォッチドッグのリフレッシュ (I2C を介して VR5510 ウォッチドッグにフィードする) は、 同期 手術。同期待機は割り込みコンテキスト内から呼び出されるため、CPUをブロックし、他のタスクのリアルタイムスケジューリングを低下させます。 ドライバーの設定やコードに 非同期 オプションがあるのに気づきました。しかし実際には同期のビジー待機(I2C転送が完了するまでブロックとポーリングを行う)を実行しているため、実際には転送を呼び出し元から切り離すことはありません。 私の質問: VR5510のウォッチドッグリフレッシュを公式にサポートされた方法で実行することは可能ですか? 真のノンブロッキング (例えば割り込み駆動かDMA駆動のI2C)で、他のタスクを停止させないために? 非同期オプションがノンブロッキングであることが想定されている場合、現在の同期ビジーウェイト動作は既知の制限事項でしょうか、それとも私の側の設定の問題でしょうか? 何かご助言、設定例、またはサンプルコードをご提供いただければ大変ありがたいです。 よろしくお願いします。 Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) こんにちは、SagarZalaさん、 S32 Design Studio(S32DS)の標準化された2つの例を試したことはありますか?彼らも同じ問題を抱えるのだろうか?彼らはあなたにとって非常に良い参考資料となるかもしれません。 Celeste_Liu_0-1729049570948.png Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) こんにちは、 ご返信ありがとうございます。 私はRTDバージョン4.0.2を使用しています。I2Cは既に高速に設定済みで、 WD_WINDOWも1024msに設定されています。しかし、それでもうまくいきません。 Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) 親愛なる@SagarZala様、 ご質問ありがとうございます。VR5510は一般的にS32Gマイクロプロセッサ と組み合わせられます。そのため、VR5510の利用可能なドライバはS32G RTDパッケージ内で提供されるべきです。使用しているRTDのバージョンと、具体的な例を教えてください。 RTD 4.0.0バージョンを例にすると、パスC:\NXP\SW32G_RTD_4.4_4.0.0\eclipse\plugins\Wdg_43_VR5510_TS_T40D11M40I0R0\docの下に「RTD_WDG_43_VR5510_IM」と「RTD_WDG_43_VR5510_UM」のドキュメントがあります。文書「RTD_WDG_43_VR5510_UM」に詳細が記載されています。 ウォッチドッグタイマーはI2Cコマンドによって起動され、I2Cの速度に依存することに留意すべきである。I2Cの速度が低い場合、ウォッチドッグタイマーが作動ウィンドウのオープン時間内に正常にトリガーされない可能性があります。この問題を避けるために、ユーザーはI2cを高速で設定し、有効な期間は長いウィンドウを使うことを推奨します。 ウォッチドッグのリフレッシュを設定するには、WD_WINDOW[3:0]を設定してリフレッシュ時間を取得します。次の図に示すように: Celeste_Liu_0-1728636341767.png 「Document VR5510 製品 data sheet」(表45ページ、60ページ)を参照してください。ウォッチドッグウィンドウの期間設定は、以下のスクリーンショットに示すとおりです。WD(廃液排出)期間を正しく設定した後、WDに正しく給紙する必要があります。 Celeste_Liu_4-1728636786838.png Celeste_Liu_5-1728636805408.png 上記の情報がお役に立てば幸いです。 よろしくお願いいたします。 セレステ
記事全体を表示
使用外部看门狗的 PMIC 行为 (Wdg_43_VR5510) 我已经为 PMIC 实现了外部看门狗(Wdg_43_VR5510)。但它在 Pmic_VR5XX_TimeoutLoops_StateTransistion 中陷入了无限循环(见下文)。 SagarZala_1-1728467272425.png 目前它处于 INIT_FS 状态,根据状态图,我们需要进行一次良好的看门狗刷新,才能将状态从 INIT_FS 更改为 Wait_ABIST2。 image (7).png 为了满足 256ms 内首次有效看门狗刷新的要求,我们在 EcuM 初始化期间的 Wdg_43_VR5510_Init 函数之后调用了看门狗触发 API。 image (8).png 我们需要知道如何以及在哪里调用第一个监控程序刷新。因此,状态转换从 INIT_FS 到 wait_ABIST2。 Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) 你好@Jerry_cao , 感谢您与我们联系。然而,原帖已关闭近两年,因此我们无法继续在该帖下为您提供支持。 请在S32G - NXP 社区中为您的问题创建一个新帖子,我们的团队将很乐意为您提供进一步的帮助。 BR 塞莱斯特 Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) 您好,NXP团队, 我目前正在调试 VR5510 PMIC,遇到了与看门狗刷新相关的实时调度问题。 MCAL I2C 看门狗刷新(通过 I2C 向 VR5510 看门狗提供数据)的实现方式如下: 同步 手术。由于我们是在中断上下文中调用它,因此同步等待会阻塞 CPU,并降低其他任务的实时调度性能。 我注意到有一个 异步 驱动程序配置/代码中的选项。然而,实际上它仍然执行同步忙等待(它会阻塞并轮询,直到 I2C 传输完成),因此它实际上并没有将传输与调用者解耦。 我的问题: 是否有官方支持的方法可以刷新 VR5510 看门狗? 真正无阻塞 (例如是否采用中断驱动或DMA驱动的I2C协议,以避免阻塞其他任务? 如果异步选项预期是非阻塞的,那么当前的同步忙等待行为是已知的限制还是我的配置问题? 任何指导、参考配置或示例代码都将不胜感激。 谢谢! Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) 你好 SagarZala, 我想知道您是否尝试过 S32 设计工作室 (S32DS) 中的两个现成示例?他们会遇到同样的问题吗?或许他们能成为你很好的推荐人。 Celeste_Liu_0-1729049570948.png Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) 您好, 谢谢回复。 我使用的是 RTD 版本 4.0.2。我已经将 I 2C 配置为高速,并且WD_WINDOW 也配置为 1024ms。但它仍然不起作用。 Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) 亲爱的@SagarZala , 谢谢你的提问。VR5510 通常与 S32G 微处理器搭配使用。为此,应在 S32G RTD 软件包下提供 VR5510 的可用驱动程序。您使用的是哪个版本的RTD?具体是哪个示例? 以 RTD 4.0.0 版本为例,您可以在路径 C:\NXP\SW32G_RTD_4.4_4.0.0\eclipse\plugins\Wdg_43_VR5510_TS_T40D11M40I0R0\doc 下找到文档“RTD_WDG_43_VR5510_IM”和“RTD_WDG_43_VR5510_UM”。文件“RTD_WDG_43_VR5510_UM”中有更详细的描述。 值得一提的是,看门狗是通过 I2c 命令触发的,并且取决于 I2c 速度。当 I2c 速度较低时,看门狗可能无法在看门狗的窗口打开时间内成功触发。为避免此问题,我们建议用户将 I2c 配置为高速,并在启用 I2c 时使用较大的窗口周期。 要设置看门狗刷新,您可以配置 WD_WINDOW [3:0] 来获取刷新时间。如下图所示: Celeste_Liu_0-1728636341767.png 请参阅“ Document VR5510 产品数据手册”第 60 页表 45。监视窗口周期配置,如下截图所示。设置好正确的 WD 周期时间后,需要正确地给 WD 供料。 Celeste_Liu_4-1728636786838.png Celeste_Liu_5-1728636805408.png 希望以上信息对您有所帮助。 顺祝商祺! 塞莱斯特
記事全体を表示
Behavior of PMIC using external Watchdog (Wdg_43_VR5510) I have implemented the external watchdog (Wdg_43_VR5510) for PMIC. But it is going into endless loop in Pmic_VR5XX_TimeoutLoops_StateTransistion (refer below). SagarZala_1-1728467272425.png Currently it is in INIT_FS state, as per the state diagram it says we need to have a good watchdog refresh to change the state from INIT_FS to Wait_ABIST2. image (7).png To Satisfy the first good watchdog refresh within 256ms, we have called watchdog trigger API after Wdg_43_VR5510_Init function during EcuM Initialization. image (8).png We need to know, how and where to call the first watchdog refresh. So that the state transition happens from INIT_FS to wait_ABIST2. Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) Hello @Jerry_cao , Thank you for contacting us. However, the original post has been closed for nearly two years, so we are unable to continue supporting you under that thread. Please create a new post for your issue on S32G - NXP Community, and our team will be happy to assist you further. BR Celeste Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) Hello NXP team, I'm currently debugging the VR5510 PMIC and have run into a real-time scheduling issue related to the watchdog refresh. The MCAL I2C watchdog refresh (feeding the VR5510 watchdog over I2C) is implemented as a synchronous operation. Because we call it from within an interrupt context, the synchronous wait blocks the CPU and degrades the real-time scheduling of other tasks. I noticed there is an asynchronous option in the driver configuration/code. However, in practice it still performs a synchronous busy-wait (it blocks and polls until the I2C transfer completes), so it does not actually decouple the transfer from the caller. My questions: Is there an officially supported way to make the VR5510 watchdog refresh truly non-blocking (e.g. interrupt-driven or DMA-driven I2C), so that it does not stall other tasks? If the asynchronous option is expected to be non-blocking, is the current synchronous busy-wait behavior a known limitation or a configuration issue on my side? Any guidance, reference configuration, or example code would be greatly appreciated. Thank you. Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) Hello SagarZala, I wonder if you have tried the two out-of-the-box examples in S32 Design Studio (S32DS)? Will they have the same problem? May be they are very good references for you. Celeste_Liu_0-1729049570948.png Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) Hi, Thanks for the reply. I am using RTD version 4.0.2. I have already configured the I2C at high speed and WD_WINDOW is also configured at 1024ms. But still its not working. Re: Behavior of PMIC using external Watchdog (Wdg_43_VR5510) Dear @SagarZala , Thank you for your question. VR5510 is commonly paired with the S32G microprocessor. For this, the available drivers for VR5510 should be provided under the S32G RTD packages. Which RTD version are you using and which specific example is it? Taking the RTD 4.0.0 version as an example, you can find the documents "RTD_WDG_43_VR5510_IM" and "RTD_WDG_43_VR5510_UM" under the path C:\NXP\SW32G_RTD_4.4_4.0.0\eclipse\plugins\Wdg_43_VR5510_TS_T40D11M40I0R0\doc. The document "RTD_WDG_43_VR5510_UM" describes more detail. It is worth mentioning that the watchdog is triggered via the I2c command and it depends on the I2c speed. When the I2c speed is low, the watchdog may not be triggered successfully within the watchdog's window open time. To avoid this problem, we recommend that the user configure I2c with high speed and use a large window period when it is enabled. To set the watchdog refresh, you can configure the WD_WINDOW [3:0] to obtain the refresh time. As shown in the following figure: Celeste_Liu_0-1728636341767.png Refer to "Document VR5510 Product data sheet", page 60, Table 45. Watchdog window period configuration, as shown in the screenshot below. And after setting the correct WD period time, you need to correctly feed the WD. Celeste_Liu_4-1728636786838.png Celeste_Liu_5-1728636805408.png Hope the above information is helpful to you. Best Regards, Celeste
記事全体を表示
i.MX8MP ハードウェア H.264 エンコーダ (VC8000E/Hantro) が動作しない – V4L2 エンコーダ ポーリング エラー「操作が動作しません」 私たちは、Hantro VC8000Eエンコーダーを使ってi.MX8M Plusプラットフォーム上でハードウェアH.264エンコーディングを有効にしようとしています。 カーネル設定が有効になりました CONFIG_VIDEO_IMX8M_VDOA=y CONFIG_MXC_HANTRO=y CONFIG_MXC_HANTRO_V4L2=y CONFIG_MXC_HANTRO_VC8000E=y CONFIG_V4L_MEM2MEM_DRIVERS=y CONFIG_VIDEO_V4L2=y CONFIG_MEDIA_SUPPORT=y デバイスツリー DTSにおいて、VPU/VC8000Eノードが有効になりました。 &vpu_g1 { ステータス = "正常"; };   &vpu_g2 { ステータス = "正常"; };   &vpu_vc8000e { ステータス = "正常"; };   &vpu_v4l2 { ステータス = "正常"; };     使用したテストパイプライン: GST_DEBUG=3 gst-launch-1.0\ videotestsrc !ビデオ変換!v4l2h264enc !フェイクシンク     GST_DEBUG=3 gst-launch-1.0videotestsrc !ビデオ変換!v4l2h264enc !フェイクシンク Fontconfigエラー: 書き込み可能なキャッシュディレクトリがありません Fontconfigエラー: 書き込み可能なキャッシュディレクトリがありません 0:00:01.324000750 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:フォーマット0x120000:「AVR(オーディオ Visual Research)」はマッピングされていません 0:00:01.324100250 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:フォーマット0x180000:「CAF(Apple Core Audio File)」はマッピングされません 0:00:01.324135000 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_オーディオ_template_caps:フォーマット 0x100000: 'HTK (HMM Tool Kit)' はマッピングされていません 0:00:01.324179500 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:フォーマット 0xc0000: 'MAT4 (GNU Octave 2.0 / Matlab 4.2)' は md ではありません 0:00:01.324212875 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:フォーマット 0xd0000: 'MAT5 (GNU Octave 2.1 / Matlab 5.0)' は md ではありません 0:00:01.324245125 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:フォーマット 0x210000: 'MPC (Akai MPC 2k)' はマッピングされていません 0:00:01.324283000 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:フォーマット0xe0000:「PVF(ポータブル音声フォーマット)」はマッピングされません 0:00:01.324318750 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:フォーマット 0x160000: 'SD2 (Sound Designer II)' はマッピングされていません 0:00:01.324363125 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:フォーマット 0x190000: 'WVE (Psion Series 3)' はマッピングされていません Fontconfigエラー: 書き込み可能なキャッシュディレクトリがありません Fontconfigエラー: 書き込み可能なキャッシュディレクトリがありません 0:00:06.638305750 50254 0xaaaafd743f80 WARN GST_REGISTRY gstregistry.c:2003:gst_update_registry:レジストリ更新に失敗しました:/home/devuser/.cacyにレジストリキャッシュを書き込む際にエラーが発生しました パイプラインを一時停止状態に設定しています... ====== V4L2ENC: 1.24.0 ビルド、2024年7月24日 02:25:45。====== 0:00:06.800120125 50254 0xaaaafd743f80 WARN v4l2 gstv4l2object.c:5230:gst_v4l2_object_probe_caps: VIDIOC_t でピクセルアスペクト比をプローブできませんでした パイプラインはプリロール中です... 0:00:06.802941500 50254 0xffffb4000b70 FIXME default gstutils.c:4088:gst_element_decorate_stream_id_internal: ランダムストリームIDを作成する際、implemdを考えます。 レイテンシを再分配... 0:00:06.847293500 50254 0xffffb4000b70 WARN v4l2bufferpool gstv4l2bufferpool.c:875:gst_v4l2_buffer_pool_start: バッファが不確実または不足しています。 0:00:06.889086250 50254 0xffffb4000b70 WARN v4l2 gstv4l2object.c:6189:gst_v4l2_object_poll: error: poll error 1: 操作が許可されていません (1) エラー:from element /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0:リソースから読み取れませんでした。 追加のデバッグ情報: /usr/src/debug/gstreamer1.0-plugins-good/1.24.0.imx/sys/v4l2/gstv4l2object.c(6189):gst_v4l2_object_poll (): /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0: ポーリングエラー 1: 操作が許可されていません (1) エラー: パイプラインがプリロールを実行しません。 パイプラインをNULLに設定中... 0:00:06.892575000 50254 0xffffb4000b70 WARN v4l2videoenc gstv4l2videoenc.c:941:gst_v4l2_video_enc_handle_frame: エラー: フレームの処理に失敗しました。 0:00:06.892941125 50254 0xffffb4000b70 WARN v4l2videoenc gstv4l2videoenc.c:941:gst_v4l2_video_enc_handle_frame: エラー: メモリ不足か、fr が原因かもしれません エラー: 要素 /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0 から: フレームの処理に失敗しました。 追加のデバッグ情報: /usr/src/debug/gstreamer1.0-plugins-good/1.24.0.imx/sys/v4l2/gstv4l2videoenc.c(941):gst_v4l2_video_enc_handle_frame (): /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0: メモリ不足かドライバの故障が原因かもしれません エラー:パイプラインがプリロールを行ってくれません。 0:00:06.898059500 50254 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: エラー: 内部データストリームエラー。 0:00:06.898398750 50254 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: エラー: ストリーミングが停止しました。理由: エラー (-5) エラー: 要素 /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0 から: 内部データストリームエラー。 追加のデバッグ情報: /usr/src/debug/gstreamer1.0/1.24.0.imx/libs/gst/base/gstbasesrc.c(3175):gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: ストリーミングが停止しました。理由:エラー(-5) エラー: パイプラインがプリロールを実行しません。 0:00:06.927425375 50254 0xaaaafd743f80 WARN bufferpool gstbufferpool.c:1429:gst_buffer_pool_set_flushing: 非活性化のフラッシュ状態は変更できません 0:00:06.928232250 50254 0xaaaafd743f80 WARN バッファプール gstbufferpool.c:1429:gst_buffer_pool_set_flushing: 非活性化のフラッシュ状態は変更できません パイプラインの解放... 要求 以下をご提供ください: i.MX8MPハードウェアエンコーディングに必要なカーネル設定の完全なリスト。 VC8000E/Hantroエンコーダに必要なDTSエントリ。 必要なファームウェアファイルとその想定される保存場所。 GStreamerのプラグイン/パッケージが必要でした。 必要なマルチメディアライブラリ(imx-gstプラグイン、vpuラッパーなど)。 CMA/メモリに関する要件はありますか? エンコーダドライバーの初期化を検証する検証手順。 H.264ハードウェアエンコーディングのための推奨テストパイプライン。 i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: i.MX8MP Hardware H.264 Encoder (VC8000E/Hantro) Not Working – V4L2 Encoder Poll Error "Oper こんにちは@ajayvk1。 NXPサポートにご連絡いただきありがとうございます! 1) imx_v8_defconfig 2) imx8mp-evk.dts 3) この機能にはマルチメディアまたはフル画像が必要です 4) この機能にはマルチメディアまたはフル画像が必要です 5) RM00294.pdf よろしくお願いします、 チャビラ
記事全体を表示
S32DS 3.4 compilation failed when importing adc_example_s32k118. make: *** [src/main.o] Error 1 make: *** Waiting for unfinished tasks.... In file included from ../Project_Settings/Startup_Code/exceptions.c:30: /home/xysun/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K1_2022_02/SW32K1_RTD_4_4_1_0_1_D2202/Base_TS_T40D2M10I1R0/include/Mcal.h:62:10: Fatal error: Soc_Ips.h: No such file or directory. 62 | #include "Soc_Ips.h" | ^~~~~~~~~~~ Compilation failed. Re: S32DS 3.4导入adc_example_s32k118编译失败 1.jpg periherals of ConfigTools is “SoC_Ips.h”,but RTD and generate/include source code use #include "Soc_Ips.h" then linux strictly distinguish between uppercase and lowercase letters,this is a bug of S32 IDE?should manual modification the file name of generate/include/SoC_Ips.h to generate/include/Soc_Ips.h,then compile succeed Re: S32DS 3.4导入adc_example_s32k118编译失败 Hi@yshenu For your new question:"The window installation is OK, but the Ubuntu installation fails. I can't found reason" Could you please create a new topic , because I know nothing about Ubuntu. Re: S32DS 3.4导入adc_example_s32k118编译失败 The window installation is OK, but the Ubuntu installation fails. I can't found reason Re: S32DS 3.4导入adc_example_s32k118编译失败 Hi@yshenu I can't think of other possible reasons. I can only suggest that you reinstall the IDE and RTD. Try not to use Chinese and try again. Re: S32DS 3.4导入adc_example_s32k118编译失败 Hi senlent look,version is ok 2024-03-29 14-55-50 的屏幕截图.png     Re: S32DS 3.4导入adc_example_s32k118编译失败 Hi@yshenu please show me your S32 DS version like picture below, you can see the RTD 1.0.1 require "Update 1" and above version installed. Senlent_1-1711693579879.png Senlent_0-1711693544628.png Re: S32DS 3.4导入adc_example_s32k118编译失败 Hi senlent, have this error 2024-03-29 11-18-54 的屏幕截图.png Re: S32DS 3.4导入adc_example_s32k118编译失败 Hi senlent Maybe the component function does not exist. How to install this function? 2024-03-29 10-32-55 的屏幕截图.png     Re: S32DS 3.4导入adc_example_s32k118编译失败 Hi@yshenu According to the log file you provided, the Soc_Ips.h file is missing from your current project, but in fact the file will be generated in your project directory after you update the code. So my conclusion is that you probably didn't generate the configuration code correctly Senlent_0-1711674664635.png Re: S32DS 3.4导入adc_example_s32k118编译失败 Hi Senlent Already updated, but still the same problem 2024-03-28 18-22-49 的屏幕截图.png   Re: S32DS 3.4导入adc_example_s32k118编译失败 Hi@yshenu please click "Update code" to generate config file before building it. Senlent_0-1711618540617.png
記事全体を表示
i.MX95 - Unable to perform the SOC reset from A55 core Hello Experts, I am working on i.MX95 and would like to perform the SOC reset (including M55 and M7 cores) from the A55 core. With reference to section 18.2 in https://www.nxp.com/docs/en/user-guide/UG10163.pdf CRRM also needs a cold reboot (reboot SoC) to trigger the mode switch, for example, from recovery downloading to recovery installation. To meet it, we implement PSCI RESET2 in ATF, and use "reboot" rather than "reset" in U-Boot for this SoC reset. The kernel also adds the imx-sm-reset driver to call PSCI RESET2 to ATF. User application needs to use the following syscall to trigger the board reset. syscall(__NR_reboot, LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_RESTART2, "board_reset"); I have created a test application(In attachments) with this syscall included to trigger SOC reset from A55 core. However upon execution, it only resets A55 core and other M33 and M7 cores remain intact. If someone has tried this before and reset the complete SOC, kindly let me know Thanks in Advance ! BR, Arun Kumar  Re: i.MX95 - Unable to perform the SOC reset from A55 core Hello, When using the SCMI protocol to manage SoC regional resets, SM must handle the associated LP handshakes generated by the regional reset. In addition, some regional resets such as A55 have dependencies on each other. For example, issuing a A55Cx reset can only be issued in conjunction with an overall A55 regional (non-cooperative) reset. Reset from bash using reboot command has the same behavior, if a complete SoC restart is required, including all processing domains, a watchdog-triggered reset or a PMIC-driven power cycle may be required. Best regards.
記事全体を表示
i.MX8MP 硬件 H.264 编码器 (VC8000E/Hantro) 无法工作 – V4L2 编码器轮询错误“操作未完成” 我们正在尝试使用 Hantro VC8000E 编码器在 i.MX8M Plus 平台上启用硬件 H.264 编码。 内核配置已启用 CONFIG_VIDEO_IMX8M_VDOA=y CONFIG_MXC_HANTRO=y CONFIG_MXC_HANTRO_V4L2=y CONFIG_MXC_HANTRO_VC8000E=y CONFIG_V4L_MEM2MEM_DRIVERS=y CONFIG_VIDEO_V4L2=y CONFIG_MEDIA_SUPPORT=y 器件树 DTS 中已启用 VPU/VC8000E 节点。 &vpu_g1 { 状态 = "正常"; };   &vpu_g2 { 状态 = "正常"; };   &vpu_vc8000e { 状态 = "正常"; };   &vpu_v4l2 { 状态 = "正常"; };     使用的测试流程:- GST_DEBUG=3 gst-launch-1.0\ videotestsrc!视频转换!v4l2h264enc!假水槽     GST_DEBUG=3 gst-launch-1.0videotestsrc!视频转换!v4l2h264enc!假水槽 Fontconfig 错误:没有可写的缓存目录 Fontconfig 错误:没有可写的缓存目录 0:00:01.324000750 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:格式 0x120000:'AVR(音频视频研究)' 未映射 0:00:01.324100250 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:格式 0x180000:未映射“CAF(Apple Core Audio 文件)”。 0:00:01.324135000 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:格式 0x100000:'HTK(HMM 工具包)' 未映射 0:00:01.324179500 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:格式 0xc0000:'MAT4 (GNU Octave 2.0 / Matlab 4.2)' 不是 md 0:00:01.324212875 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:格式 0xd0000:'MAT5 (GNU Octave 2.1 / Matlab 5.0)' 不是 md 0:00:01.324245125 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:格式 0x210000:'MPC (Akai MPC 2k)' 未映射 0:00:01.324283000 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:格式 0xe0000:未映射“PVF(便携式语音格式)”。 0:00:01.324318750 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:格式 0x160000:'SD2 (Sound Designer II)' 未映射 0:00:01.324363125 50377 0xaaaaf19f5a40 WARN default gstsfelement.c:97:gst_sf_create_audio_template_caps:格式 0x190000:'WVE (Psion Series 3)' 未映射 Fontconfig 错误:没有可写的缓存目录 Fontconfig 错误:没有可写的缓存目录 0:00:06.638305750 50254 0xaaaafd743f80 警告 GST_REGISTRY gstregistry.c:2003:gst_update_registry:注册表更新失败:写入注册表缓存到 /home/devuser/.cacy 时出错 将管道设置为暂停状态... ====== V4L2ENC: 1.24.0 版本于 2024 年 7 月 24 日 02:25:45 构建。====== 0:00:06.800120125 50254 0xaaaafd743f80 警告 v4l2 gstv4l2object.c:5230:gst_v4l2_object_probe_caps: 使用 VIDIOC_t 探测像素宽高比失败 管道正在预滚动…… 0:00:06.802941500 50254 0xffffb4000b70 FIXME default gstutils.c:4088:gst_element_decorate_stream_id_internal: 创建随机流 ID,考虑实现 重新分配延迟…… 0:00:06.847293500 50254 0xffffb4000b70 WARN v4l2bufferpool gstv4l2bufferpool.c:875:gst_v4l2_buffer_pool_start: 不确定或缓冲区不足,启用 0:00:06.889086250 50254 0xffffb4000b70 警告 v4l2 gstv4l2object.c:6189:gst_v4l2_object_poll: 错误:轮询错误 1:操作不允许 (1) 错误:来自元素 /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0:无法从资源读取。 其他调试信息: /usr/src/debug/gstreamer1.0-plugins-good/1.24.0.imx/sys/v4l2/gstv4l2object.c(6189):gst_v4l2_object_poll (): /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0: 轮询错误 1:操作不允许 (1) 错误:管道无法预滚动。 将管道设置为 NULL... 0:00:06.892575000 50254 0xffffb4000b70 警告 v4l2videoenc gstv4l2videoenc.c:941:gst_v4l2_video_enc_handle_frame: 错误:帧处理失败。 0:00:06.892941125 50254 0xffffb4000b70 警告 v4l2videoenc gstv4l2videoenc.c:941:gst_v4l2_video_enc_handle_frame: 错误:可能是由于内存不足或文件大小不足导致的。 错误:来自元素 /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0:处理帧失败。 其他调试信息: /usr/src/debug/gstreamer1.0-plugins-good/1.24.0.imx/sys/v4l2/gstv4l2videoenc.c(941):gst_v4l2_video_enc_handle_frame (): /GstPipeline:pipeline0/v4l2h264enc:v4l2h264enc0: 可能是内存不足或驱动程序故障导致的。 错误:管道无法预滚动。 0:00:06.898059500 50254 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: 错误:内部数据流错误。 0:00:06.898398750 50254 0xffffb4000b70 WARN basesrc gstbasesrc.c:3175:gst_base_src_loop: 错误:流媒体播放已停止,原因错误(-5) 错误:来自元素 /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:内部数据流错误。 其他调试信息: /usr/src/debug/gstreamer1.0/1.24.0.imx/libs/gst/base/gstbasesrc.c(3175):gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: 流媒体播放已停止,错误原因(-5) 错误:管道无法预滚动。 0:00:06.927425375 50254 0xaaaafd743f80 WARN bufferpool gstbufferpool.c:1429:gst_buffer_pool_set_flushing: 无法更改非活动状态 0:00:06.928232250 50254 0xaaaafd743f80 WARN bufferpool gstbufferpool.c:1429:gst_buffer_pool_set_flushing: 无法更改非活动状态 释放管道…… 申请它 请提供: i.MX8MP硬件编码所需的内核配置完整列表。 VC8000E/Hantro编码器所需的DTS条目。 所需的固件文件及其存放位置。 所需的 GStreamer 插件/软件包。 所需的多媒体库(imx-gst 插件、vpu 封装器等)。 任何 CMA/内存要求。 验证编码器驱动程序初始化的验证程序。 H.264硬件编码推荐测试流程。 i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: i.MX8MP Hardware H.264 Encoder (VC8000E/Hantro) Not Working – V4L2 Encoder Poll Error "Oper 嗨@ajayvk1 , 感谢您联系恩智浦技术支持! 1) imx_v8_defconfig 2) imx8mp-evk.dts 3) 此功能需要多媒体或完整图像。 4) 此功能需要多媒体或完整图像。 5) RM00294.pdf 此致, 查维拉
記事全体を表示
adc_example_s32k118をインポートした際に、S32DS 3.4のコンパイルが失敗しました。 make: *** [src/main.o]エラー1 make: *** 未完了のタスクを待機中... ../Project_Settings/Startup_Code/exceptions.c:30 からインクルードされたファイル内: /home/xysun/NXP/S32DS.3.4/S32DS/software/PlatformSDK_S32K1_2022_02/SW32K1_RTD_4_4_1_0_1_D2202/Base_TS_T40D2M10I1R0/include/Mcal.h:62:10:致命的なエラー: Soc_Ips.h: そのようなファイルまたはディレクトリはありません。 62 | #include "Soc_Ips.h" | ^~~~~~~~~~~ コンパイルに失敗しました。 Re: S32DS 3.4导入adc_example_s32k118编译失败 1.jpg ConfigTools の周辺機器は「SoC_Ips.h」ですが、RTD およびソースコードの生成/組み込み #include "Soc_Ips.h" それからLinuxは大文字と小文字を厳密に区別します。これはS32 IDEのバグです。generate/include/SoC_Ips.hのファイル名を手動で修正してgenerate/include/Soc_Ips.hにしてからコンパイル成功すべきでしょうか? Re: S32DS 3.4导入adc_example_s32k118编译失败 こんにちは、@ yshenu 新しい質問に対して:「Windowsのインストールは問題ないのですが、Ubuntuのインストールは失敗します。理由が見つからない」 Ubuntuについては何も知らないので、新しいトピックを作成してもらえますか? Re: S32DS 3.4导入adc_example_s32k118编译失败 Windowsのインストールは問題なく完了するが、Ubuntuのインストールは失敗する。理由が見つからない Re: S32DS 3.4导入adc_example_s32k118编译失败 こんにちは、@ yshenu 他に考えられる理由が思い浮かびません。IDEとRTDを再インストールすることをおすすめします。中国語を使わずに、もう一度試してみてください。 Re: S32DS 3.4导入adc_example_s32k118编译失败 こんにちは、senlent 見て、バージョンは問題ない 2024-03-29 14-55-50 的屏幕截图.png     Re: S32DS 3.4导入adc_example_s32k118编译失败 こんにちは@yshenu 下の写真のように、あなたのS32 DS版を見せてください。RTD 1.0.1は「Update 1」以上のバージョンをインストールする必要があります。 Senlent_1-1711693579879.png Senlent_0-1711693544628.png Re: S32DS 3.4导入adc_example_s32k118编译失败 こんにちは、senlentさん、 このエラーが発生しています 2024-03-29 11-18-54 的屏幕截图.png Re: S32DS 3.4导入adc_example_s32k118编译失败 こんにちは、senlent コンポーネント関数が存在しない可能性があります。この機能をインストールするにはどうすればよいですか? 2024-03-29 10-32-55 的屏幕截图.png     Re: S32DS 3.4导入adc_example_s32k118编译失败 こんにちは@yshenu ご提供いただいたログファイルによると、Soc_Ips.h現在のプロジェクトにファイルが見つかりませんが、実際にはコードを更新するとプロジェクトディレクトリにファイルが生成されます。ですので、おそらく設定コードを正しく生成していないのだと思います Senlent_0-1711674664635.png Re: S32DS 3.4导入adc_example_s32k118编译失败 こんにちは、センレント 既にアップデート済みだが、依然として同じ問題が発生している。 2024-03-28 18-22-49 的屏幕截图.png   Re: S32DS 3.4导入adc_example_s32k118编译失败 こんにちは@yshenu ビルド前に「コードの更新」をクリックして設定ファイルを生成してください。 Senlent_0-1711618540617.png
記事全体を表示
i.MX95 - A55コアからSOCリセットを実行できません こんにちは、専門家の皆様。 私はi.MX95を扱っており、A55コアからSOCリセット(M55およびM7コアを含む)を実行したいと考えています。 https://www.nxp.com/docs/en/user-guide/UG10163.pdfのセクション 18.2 を参照してください。 CRRM also needs a cold reboot (reboot SoC) to trigger the mode switch, for example, from recovery downloading to recovery installation. To meet it, we implement PSCI RESET2 in ATF, and use "reboot" rather than "reset" in U-Boot for this SoC reset. The kernel also adds the imx-sm-reset driver to call PSCI RESET2 to ATF. User application needs to use the following syscall to trigger the board reset. syscall(__NR_reboot, LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, LINUX_REBOOT_CMD_RESTART2, "board_reset"); このシステムコールを含めたテストアプリケーション(添付ファイル内)を作成し、A55コアからのSOCリセットをトリガーしています。しかし、実行時にはA55コアのみがリセットされ、他のM33およびM7コアはそのまま残ります。 以前にこれを試してSOC全体をリセットした方がいらっしゃいましたら、ぜひ教えてください。 よろしくお願いいたします! BR、 アルン・クマール Re: i.MX95 - Unable to perform the SOC reset from A55 core こんにちは、 SCMIプロトコルを使用してSoCのリージョンリセットを管理する場合、SMはリージョンリセットによって生成される関連するLPハンドシェイクを処理する必要があります。さらに、A55などの一部の地域リセットは、互いに依存関係を持っています。例えば、A55Cxリセットの発行は、全体のA55地域(非協力)リセットと同時に発行される場合のみ可能です。 再起動コマンドによるbashからのリセットも同様の動作をしますが、SoCの完全な再起動(すべてのプロセッシングドメインを含む)が必要な場合は、ウォッチドッグトリガーリセットやPMIC駆動の電源サイクルが必要になることがあります。 よろしくお願いいたします。
記事全体を表示
Ethernet Switch SJA1110 Examples S32G-VNP-RDB2 Note: S32G-VNP-RDB2 examples can be used also on S32G-VNP-RDB3. Example SJA1110 FreeRTOS lwIP S32G-VNP-RDB2 S32DS 3.5 RTD 1.0.2 SJA1110-MGS-EVM Example SJA1110 FreeRTOS lwIP SJA1110-MGS-EVM S32DS 3.5 RTD 1.0.2 MR-T1ETH8 Example SJA1110 FreeRTOS lwIP MR-T1ETH8 S32DS 3.5 RTD 1.0.2 SJA1110-EVM Example SJA1110 FreeRTOS lwIP SJA1110-EVM S32DS 3.5 RTD 1.0.2 S32K3-T-BOX Example SJA1110 FreeRTOS lwIP S32K3-T-BOX S32DS 3.5 RTD 1.0.2
記事全体を表示
Example SJA1110 FreeRTOS lwIP SJA1110-MGS-EVM S32DS 3.5 RTD 1.0.2 ********************************************************************************* * Detailed Description: * Updated the example lwip_FreeRTOS_SJA1110 for board SJA1110-MGS-EVM * to enable ping from the command window, from all applicable ports * *ping 192.168.0.200 * *Pinging 192.168.0.200 with 32 bytes of data: *Reply from 192.168.0.200: bytes=32 time=2ms TTL=255 *Reply from 192.168.0.200: bytes=32 time=1ms TTL=255 *Reply from 192.168.0.200: bytes=32 time=1ms TTL=255 *Reply from 192.168.0.200: bytes=32 time=1ms TTL=255 * *Ping statistics for 192.168.0.200: * Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), *Approximate round trip times in milli-seconds: * Minimum = 1ms, Maximum = 2ms, Average = 1ms * * Installed packages to S32DS 3.5 update 14: * SW32SJA11xx_S32DS_3.5.0_RFP_D2206.zip * SJA11XX_RTD_4.4_1.0.1_P02_HF01_D2510_DesignStudio_updatesite.zip * SW32SJA1110_XJA11XX_ETH_PHY_4.4_1.0.8_CD01_D2509_DesignStudio_updatesite.zip * SJA11XX_ETH_SWITCH_4.4_1.0.2_CD01_D2509_DesignStudio_updatesite.zip * SW32SJA11xx_FreeRTOS_11.1.0_0.8.0_CD2_D2411_DesignStudio_updatesite.zip * SJA11XX_TCPIP_2.0.0_CD01_D2510_DesignStudio_updatesite.zip * * EVB: * - All jumpers in default positions, except J76 - open * - SW2.7 ON and SW2.6 OFF -> 0b01 - NVM Boot - SPI Flash * * Configuration: * - Updated switch configuration * - Updated phy configuration * - Fixed Mcu/McuModuleConfiguration/McuPowerControlUnit - 1V8 and 2V5 * - Fixed Eth configuration * * * * - TCPIP stack: enabled UDP_ECHO, etc. * - Added DIO * - Added nvm_metadata * - MAC learning is disabled * - All ports initialized, except: * - TJA1104B - Port 2 SGMII * - Port 3 2.5G SGMII has not been tested * - cage - Port 4 SGMII * * Copied pcal9722 driver from SJA1110_MGS_Minimal (from package SJA1110 examples 0.2.0) * - fixed to MCAL Spi driver * - Updated Spi configuration * * main.c * - Updated only the header * device.c * - Added LED routines * test.c * - Removed code that shuts down the TCP/IP stack after its predefined timeout * - Added LED ALIVE task * - Added RX/TX blinking LED * - Added debug stuff * - Commented out the code that initializes 2nd switch * * ----------------------------------------------------------------------------- * Test HW: SJA1110-MGS-EVM SCH-94089_B1 * MCU: SJA1110 * Debugger: Lauterbach TRACE32 * Target: RAM or external FLASH (flash_image.bin generated) * EVB connection: any port <-> Media converter TE-1402 (1000M or 100M, Leader) <-> USB-to-Ethernet adapter <-> Laptop DELL, Windows 11
記事全体を表示
Can we use SEGGER ARM Debugger to debug S32G-VNP-RDB3's M7 Core? Hello,      We are try to debug S32G-VNP-RDB3 board using SEGGER ARM Debugger. The SEGGER driver is V9.85, which support S32G399A's A53 core and M7 core(We mainly want to debug M7 core). The IDE is S32DS.3.5 and RTD is S32 G3 4.4.4. When we try to download *.elf file to board, the GDB server always prompt me that the S32G399A is not regonized(S32G399A-M7 and S32G399A-M7-0 also aren't regonized). Can you tell me how to set the SEGGER J-link debugging to debug S32G399A board?  Jimmybai_0-1784102264959.png Jimmybai_1-1784102335731.png GoldVIP Re: Can we use SEGGER ARM Debugger to debug S32G-VNP-RDB3's M7 Core? Hi,Jimmybai Thank you for contacting us. For S32G, the recommended debugging method is to use S32 Debug Probe and Trace32. Both of these debuggers can be used in S32DS, and Trace32 also has its own official IDE. Although J-Link has officially stated its support for S32G RDB2/RDB3, you can refer to the following links for more information: https://kb.segger.com/NXP_S32G-VNP-RDB3 https://www.segger.com/supported-devices/nxp/s32g3/s32g399a_m7_0 However, for the S32G, there is no relevant information to provide the use of Jlink in the S32DS IDE. BR Joey
記事全体を表示
LPC5516 SRAM 私はLPC5516チップを使用しています。 SWDプロトコルを使用してチッププログラムをSRAMに書き込み、実行したい。 しかし、プログラムがSRAMに書き込まれていなかったことが判明した。 SWD経由でチップのIDCODEを読み取り、カーネルの停止などの初期化処理を完了しました。 プログラムを0x04000000に書き込み、そのアドレスから読み戻したところ、読み取られたデータは0であることが判明した。 サンプルコードを通して、SWDプロトコルを使用して以下のようなAHB SRAMクロックをいくつか有効化しました。 SYSCON->AHBCLKCTRLSET[0] = SYSCON_AHBCLKCTRL0_SRAM_CTRL1_MASK | SYSCON_AHBCLKCTRL0_SRAM_CTRL2_MASK; しかし、上記のプログラムを実行した後でも、SRAMに書き込まれたプログラムの読み出し値は依然として0のままです。 この状況の原因を分析するのを手伝っていただけませんか? LPC551X-S1X Re: LPC5516 SRAM 1.私は16進数で0x20000000を書き込もうとしましたが、0x4000000を書き込むのと同じ結果になりました。 2. JLINKのSWD波形を比較しましたが、波形が理解できません。変です。set 0xE000EDF0の前にackエラーのものを送信し、0xA05F0003で0xE000EDF0を設定し、0xE000EDF0読み取り、値が0x03030003です。 私のSWD波形はチップIDCODEを読み取り、その後チップを初期化します。0xE000EDF0を0xA05F0003に設定すると、読み戻された値は0x0になります。 Jlinkのスクリプトを教えてもらえますか?デバッグモードに入る前に何が送信されるのか知りたいです。 デバッグモードに入る前に、このチップで有効にする必要がある設定は何ですか?あるいは、何らかのレジスタを設定する必要があるのでしょうか? JLINK.png err.png     Re: LPC5516 SRAM こんにちは@1123HENRY 1) 0x04000000のSRAMX領域ではなく、0x20000000のSRAMにプログラムを書き込んでみてください。 2) MCUXpresso IDEまたはLinkFlashを外部デバッガで使用し、SRAMをプログラムし、SWD信号や波形をキャプチャし、プログラマで観察した波形と比較してください。 BR アリス Re: LPC5516 SRAM 私は自作のチップを使ってSWD命令を送信し、LPC5516チップのデバッグを行いました。デバッグを有効にするために、0xE000EDF0レジスタへの書き込みを試みましたが、うまくいきませんでした。 次に、SRAMへの書き込みを試みましたが、書き込み操作が失敗しました。デバイスがデバッグモードに入らなかったようです。 test1.png test2.png   test3.png test4.png      Re: LPC5516 SRAM 他にもエラーログを共有できますか? Re: LPC5516 SRAM こんにちは、 @1123HENRYさん 以下のThreadもご覧ください。参考になるかもしれません。 制限付きSWDアクセス - NXPコミュニティ BR アリス
記事全体を表示
使用 MCUXpresso IDE 配置 RT1170 的外部闪存 我目前使用的是搭载 MIMXRT1176CVM8B 的定制电路板。同时,还使用了外置闪光灯,部件号为:W25Q01NW。 但我无法将 MCUXpresso IDE 中的代码烧录到这个新闪存中。(错误截图已附上) 我还修改了evkbmimxrt1170_flexspi_nor_config.c文件。 修改的参数是: .sflashA1Size = 128u * 1024u * 1024u, // 已更改:因为新的闪存大小为 128MB。 还有其他配置参数需要更改吗? 提前致谢 brundasathish_0-1784105497191.png Re: Configuring external flash using MCUXpresso IDE for RT1170 能否帮忙分享一下电路图以便我审核,因为这是一个 1.8V 的设备?同时,闪存和SoC之间的SPI时钟频率如何? Re: Configuring external flash using MCUXpresso IDE for RT1170 你好@brundasathish , 请问您是否正在使用MIMXRT1160/1170 硬件开发指南表 11“ROM 引导加载程序外设引脚复用”中提到的推荐的 FlexSPI NOR QSPI 引脚?我强烈建议您仔细阅读这份文件,其中提供了有关电路板布局建议和设计清单的信息,以确保一次性成功并避免电路板启动问题。 另外,能否请您使用 Secure Provisioning Tool v26.6 中的 启动内存配置 功能测试一下您的闪存配置?这是为了验证您的FCB配置。 BR 哈比卜 Re: Configuring external flash using MCUXpresso IDE for RT1170 你好@db16122 , 电源配置为 1.8V,时钟频率为 133MHz。 Re: Configuring external flash using MCUXpresso IDE for RT1170 你好@Habib_MS , 非常感谢您的回复。我们已经为闪存配置了 flexspi2,以下是已配置的引脚。这是 MCUXpresso IDE 引脚配置的快照。 brundasathish_0-1784292758186.png 我们尝试使用安全配置工具配置闪存。这就是我们得到的回复。 brundasathish_1-1784292809746.png 谢谢。 Re: Configuring external flash using MCUXpresso IDE for RT1170 你好@brundasathish , 要从 FlexSPI2 次级引脚组启动,需要配置相应的 eFuse,如 RM 的表 10-1“ROM 引导加载程序外设引脚复用”中所述,如下图所示: Habib_MS_2-1784582526588.png 请注意,eFuse编程是不可逆的操作。请您确认相应的熔丝是否已充分熔断,以便使用这组辅助引脚?如果熔丝烧断正常,请您使用启动内存配置再次测试您的闪存配置。 另外请注意,此引脚配置仅支持低速读取操作,因为它不提供 DQS 信号路径。因此,在 SDR 模式下最大支持频率为 60 MHz,在 DDR 模式下最大支持频率为 30 MHz。请参考以下社区帖子,其中包含更详细的解释。 BR 哈比卜 Re: Configuring external flash using MCUXpresso IDE for RT1170 你好@Habib_MS , 非常感谢您的回复。 我目前正在使用 MCU 安全配置工具(串行下载器)模式配置和测试外部闪存。 我已使用外部启动开关上的 BOOT_CFG [11] 引脚将 FLEXSPI_INSTANCE 设置为 1(因为使用的是 FLEXSPI2)。 如何启用 FLEXSPI_PIN_GROUP_SEL?是通过MCU安全配置工具中的OTP配置吗? 通过上述启动开关更改(串行下载器模式和 BOOT_CFG [11] =1)以及 MCU 安全配置工具中下面附加的启动内存配置,我能够初始化闪存,读取闪存内容。 但我无法擦除或写入。 我附上了启动内存配置的截图。 brundasathish_0-1784637645041.png 谢谢! 布伦达·萨蒂什 Re: Configuring external flash using MCUXpresso IDE for RT1170 db16122_0-1784609105020.png db16122_1-1784609207652.png 供参考,关于 133MHz 设置,原理图来自 AN12183,标题为“如何启用 FLEXSPI NOR Flash 的调试功能”。 Re: Configuring external flash using MCUXpresso IDE for RT1170 你好@brundasathish , 是的,可以使用OTP 配置来实现这一点。如果您的闪存设置测试正常,您可以使用“转换为完整 FCB”按钮来创建 FCB,并查看此社区帖子,特别是从第 15 点开始的步骤。该部分更详细地解释了安全配置工具如何生成启动内存配置,并有助于阐明该工具生成的参数和输出。 我想提一下,FlexSPI2 次级引脚组支持的最大时钟频率在 SDR 模式下为 60 MHz,在 DDR 模式下为 30 MHz。更多详情请参阅此社区帖子。 请问您目前使用的是哪个版本的MCUXpresso 安全配置工具? 最新版本为 v26.06,我强烈建议使用此版本,因为它包含了最新的增强功能、错误修复和整体改进,与之前的版本相比。 BR 哈比卜 Re: Configuring external flash using MCUXpresso IDE for RT1170 你好@brundasathish , 请确保您已选择正确的工作区,要创建新工作区,您可以参考 Mcuxpresso Secure provisioning tool v26.06 用户指南中的“创建新工作区”部分。 如 Mcuxpresso Secure 配置工具 v26.06 用户指南的“ PFR/IFR/BCA/FCF 和 OTP 差异”部分所述,OTP 配置是逐项烧录的: Habib_MS_1-1785189434439.png 我还强烈建议您查看指南中的OTP 配置部分,因为它提供了在 RT1170 上正确编程 OTP 熔丝的重要信息。 BR 哈比卜 Re: Configuring external flash using MCUXpresso IDE for RT1170 你好@Habib_MS , 我使用的是版本 26.06 的安全配置工具。 当在安全配置工具中为 FLEXSPI_PIN_GROUP_SEL 配置 OTP 时,是只有这一位会被熔断,还是熔断字段中的所有其他值都会被熔断在一起? 先行致谢。 此致, 布伦达·萨蒂什
記事全体を表示
Clarification Required: QSPI Flash Capacity Mismatch Between Datasheet and Actual Hardware Hello NXP Team, I have purchased a board with the specified part number, and I noticed a discrepancy regarding the onboard QSPI flash capacity. MCIMX6ULL-EVK  The datasheet states that the board includes 256 MB QSPI flash. However, when I check the flash size from the operating system, it reports only 32 MB. To verify this, I downloaded the design files and checked the BOM. I also looked up the same flash device part number on DigiKey and Mouser, and both list it as 256 Mbit flash memory, which corresponds to 32 MB, not 256 MB. I purchased the board through the Element14 distributor. Could you please clarify whether: The datasheet contains a typo and should state 256 Mbit instead of 256 MB? Or is there another explanation for why the datasheet and the actual hardware appear to use different storage classifications? From my investigation, it appears that the installed flash device is 256 Mbit (32 MB) rather than 256 MB. I would appreciate your confirmation. Thank you. i.MX6UL Re: Clarification Required: QSPI Flash Capacity Mismatch Between Datasheet and Actual Hardware You are right, I will report it to related team, it is 256Mbit, that means 32MB.
記事全体を表示
RT1170用のMCUXpresso IDEを用いた外部フラッシュの設定 現在、MIMXRT1176CVM8Bを搭載したカスタムボードを使用しています。これに加えて、部品番号W25Q01NWの外部フラッシュも使用されています。 しかし、MCUXpresso IDEのコードをこの新しいフラッシュにフラッシュすることはできません。(エラー画面のスクリーンショットを添付します) evkbmimxrt1170_flexspi_nor_config.cにも変更を加えました。 変更されたパラメータは以下のとおりです。 .sflashA1Size = 128u * 1024u * 1024u, // 変更: 新しいフラッシュサイズは 128MB であるため。 他に変更する必要のある設定パラメータはありますか? 前もって感謝します brundasathish_0-1784105497191.png Re: Configuring external flash using MCUXpresso IDE for RT1170 1.8Vの機器なので、あなたの回路図を教えてもらえますか?ところで、フラッシュメモリとSOC間のSPIクロック周波数はどうでしょうか? Re: Configuring external flash using MCUXpresso IDE for RT1170 こんにちは、 @brundasathish さん、 MIMXRT1160/1170ハードウェア開発ガイドの表11「ROMブートローダー周辺のPinMux」に記載されている推奨のFlexSPIまたはQSPIピンを使用しているか確認していただけますか?このドキュメントの確認を強くお勧めします。そこには、ボードレイアウトの推奨事項やデザインチェックリストに関する情報が記載されており、ファーストパスの成功を確保し、ボードのブロードアップ問題を避けるための情報が含まれています。 また、 Secure Provisioning Tool v26.6 の Boot Memory Configuration 機能でフラッシュ設定をテストしてもらえますか?これはFCBの設定を確認するためのものです。 BR ハビブ Re: Configuring external flash using MCUXpresso IDE for RT1170 こんにちは、 @Habib_MS さん。 ご返信ありがとうございます。FlexSPI2をフラッシュ用に構成しました。構成済みのピンは以下のとおりです。これはMCUXpresso IDEのピン構成のスナップショットです。 brundasathish_0-1784292758186.png セキュアプロビジョニングツールを使用してフラッシュメモリの設定を試みました。そして、これが私たちが得た反応です。 brundasathish_1-1784292809746.png 前もって感謝いたします Re: Configuring external flash using MCUXpresso IDE for RT1170 こんにちは、 @db16122 さん。 電源電圧は1.8V、クロック周波数は133MHzに設定されています。 Re: Configuring external flash using MCUXpresso IDE for RT1170 こんにちは、 @brundasathish。 FlexSPI2セカンダリピングループから起動するには、RMの表10-1「ROMブートローダー周辺ピンマルチ」に記載されている対応するeFuseを設定する必要があります。以下の画像に示されています。 Habib_MS_2-1784582526588.png eFuseのプログラミングは元に戻せない操作であることをご留意ください。対応するヒューズがこの二次的なピン群に十分に焼かれていることを裏付けていただけますか?ヒューズが正しく焼かれているなら、 ブートメモリ構成でフラッシュ設定をもう一度テストしてもらえますか? さらに、このピン構成は低速読み取り操作のみをサポートしており、DQS信号経路を提供しません。したがって、サポートされる最大周波数は、SDRモードでは60MHz、DDRモードでは30MHzです。より詳しい説明が記載されていますので、以下のコミュニティ投稿をご参照ください。 BR ハビブ Re: Configuring external flash using MCUXpresso IDE for RT1170 こんにちは、 @Habib_MS さん。 ご返信ありがとうございます。 現在、MCUのセキュアプロビジョニングツール(シリアルダウンローダー)モードを使って外部フラッシュの設定とテストに取り組んでいます。 外部ブートスイッチのBOOT_CFG[11]ピンを使ってFLEXSPI_INSTANCE=1に設定しました(FLEXSPI2が使われている通りです) FLEXSPI_PIN_GROUP_SEL を有効にするにはどうすればいいですか?MCUのSecure ProvisioningツールのOTP設定を通じてですか??? また、上記のブートスイッチの変更(シリアルダウンローダーモードおよびBOOT_CFG[11] =1)およびMCUセキュアプロビジョニングツール内の以下のブートメモリ設定を取り付けることで、 フラッシュを初期化し、フラッシュの内容を読み取ることができます。 しかし、消去も書き込みもできません。 ブートメモリの設定画面のスクリーンショットを添付します。 brundasathish_0-1784637645041.png ありがとうございます ブルンダ・サティシュ Re: Configuring external flash using MCUXpresso IDE for RT1170 db16122_0-1784609105020.png db16122_1-1784609207652.png AN12183「FLEXSPI NORフラッシュのデバッグを有効にする方法」の回路図を使用した133MHz設定に関する参考情報 Re: Configuring external flash using MCUXpresso IDE for RT1170 こんにちは、 @brundasathish さん、 はい、 OTP設定 でこれを実現できます。フラッシュメモリの設定が正しく動作していれば、「Convert to Complete FCB」ボタンを使ってFCBを作成し、特に15点からの手順をコミュニティ 投稿で確認できます。そのセクションでは、セキュアプロビジョニングツールがブートメモリ構成を生成する方法についてより詳細な説明を提供しており、ツールによって生成されるパラメータと出力の理解に役立つ可能性があります。 FlexSPI2のセカンダリピングループの最大サポートクロック周波数は、SDRモードで60 MHz、DDRモードで30 MHzであることを付け加えておきます。詳細については、こちらのコミュニティ投稿をご覧ください。 現在使用されている MCUXpressoセキュアプロビジョニングツール のバージョンを教えていただけますか? 最新リリースはv26.06で、このバージョンには以前のリリースと比較して最新の機能強化、バグ修正、および全体的な改善が含まれているため、このバージョンを使用することを強くお勧めします。 BR ハビブ Re: Configuring external flash using MCUXpresso IDE for RT1170 こんにちは、 @Habib_MS さん。 私はバージョン26.06のセキュアプロビジョニングツールを使用しています。 セキュアプロビジョニングツールでFLEXSPI_PIN_GROUP_SELに対してOTP設定を行った場合、このビットのみがヒューズされるのか、それともヒューズフィールド内の他のすべての値も一緒にヒューズされるのか? よろしくお願いいたします。 よろしくお願いします。 ブルンダ・サティシュ Re: Configuring external flash using MCUXpresso IDE for RT1170 こんにちは、 @brundasathish さん、 選択したワークスペースが正しいか必ず確認してください。新しいワークスペースを作成するには、Mcuxpresso Secure Provisioning tool v26.06ユーザーガイドの 「新しいワークスペース作成 」セクションを参照してください。 Mcuxpresso Secure プロビジョニングツール v26.06 ユーザーガイドの「PFR/IFR/BCA/FCF と OTP の違い」のセクションで述べられているように、OTP 設定は項目ごとに書き込みます:   Habib_MS_1-1785189434439.png また、ガイドのOTP設定セクションを確認することを強くお勧めします。このセクションには、RT1170でOTPヒューズを適切にプログラムするための重要な情報が記載されています。 BR ハビブ
記事全体を表示
我们可以使用 SEGGER ARM Debugger 来调试 S32G-VNP-RDB3 的 M7 内核吗? 你好, 我们正在尝试使用 SEGGER ARM 调试器调试 S32G-VNP-RDB3 板。SEGGER 驱动程序版本为 V9.85,支持 S32G399A 的 A53 内核和 M7 内核(我们主要想调试 M7 内核)。IDE 为 S32DS.3.5,RTD 为 S32 G3 4.4.4。当我们尝试将 *.elf 文件下载到板子时,GDB 服务器总是提示我 S32G399A 无法识别(S32G399A-M7 和 S32G399A-M7-0 也无法识别)。请问如何设置 SEGGER J-link 调试来调试 S32G399A 开发板? Jimmybai_0-1784102264959.png Jimmybai_1-1784102335731.png 金VIP Re: Can we use SEGGER ARM Debugger to debug S32G-VNP-RDB3's M7 Core? 你好, Jimmybai 感谢您与我们联系。 对于 S32G,推荐的调试方法是使用 S32 Debug Probe 和 Trace32。这两个调试器都可以在 S32DS 中使用,而且 Trace32 也有自己的官方 IDE。 虽然 J-Link 已正式声明支持 S32G RDB2/RDB3,但您可以参考以下链接了解更多信息: https://kb.segger.com/NXP_S32G-VNP-RDB3 https://www.segger.com/supported-devices/nxp/s32g3/s32g399a_m7_0 然而,对于 S32G,没有相关信息可用于在 S32DS IDE 中使用 Jlink。 BR 乔伊
記事全体を表示
Configuring external flash using MCUXpresso IDE for RT1170 I am currently using a custom board with MIMXRT1176CVM8B. And along with this , the external flash is being used , with part number : W25Q01NW . But i am not able to flash the code from MCUXpresso IDE to this new flash. (The error snapshot is attached)  I have also made changes in evkbmimxrt1170_flexspi_nor_config.c Parameter that was changed is:  .sflashA1Size = 128u * 1024u * 1024u, // Changed: Because the new flash size is 128MB. Is there any other configuration parameters that needs to be changed? Thanks in advance  brundasathish_0-1784105497191.png Re: Configuring external flash using MCUXpresso IDE for RT1170 can you help to share your schematics for review as it is a 1.8V device? Meanwhile how about the SPI clk freq between the flash and the SOC? Re: Configuring external flash using MCUXpresso IDE for RT1170 Hello @brundasathish, Could you please confirm if you are using the recommended FlexSPI NOR QSPI pins mentioned in the table 11 "ROM Bootloader Peripheral PinMux," of the MIMXRT1160/1170 Hardware Development Guide? I highly recommend reviewing this document which it provides information about board layout recommendations and design checklists to ensure first-pass success and avoid board bring-up problems. Also, could you please test your flash configuration with the Boot Memory Configuration feature in the Secure Provisioning Tool v26.6? This to verify your FCB configurations. BR Habib Re: Configuring external flash using MCUXpresso IDE for RT1170 Hi @Habib_MS , Thank you so much for the reply. We have configured the flexspi2 for the flash and these are the pins that are configured. This is a snapshot of MCUXpresso IDE pin configuration. brundasathish_0-1784292758186.png We tried configuring the flash using Secure provisioning tool . And this is the response we got .  brundasathish_1-1784292809746.png Thanks in adance Re: Configuring external flash using MCUXpresso IDE for RT1170 Hi @db16122 ,  The power supply is configured to 1.8V and the clock is 133Mhz. Re: Configuring external flash using MCUXpresso IDE for RT1170 Hello @brundasathish, To boot from the FlexSPI2 secondary pin group, it is necessary to configure the corresponding eFuses, as described in Table 10-1 "ROM Bootloader Peripheral PinMux" of the RM, as shown the following image: Habib_MS_2-1784582526588.png Please take in mind that eFuse programming is an irreversible operation. Could you please corroborate that the corresponding fuses are adequately burned to use this secondary group of pins? If the fuses are correctly burned, could you please test again your flash configurations using the Boot Memory Configuration? Additionally, please note that this pin configuration only supports low-speed read operations, as it does not provide a DQS signal path. Therefore, the maximum supported frequency is 60 MHz in SDR mode and 30 MHz in DDR mode. Please refer to the following community post as it contains a more detailed explanation. BR Habib Re: Configuring external flash using MCUXpresso IDE for RT1170 Hi @Habib_MS , Thank you so much for the reply. I am currently working on configuring and testing the external flash using MCU Secure Provisioning tool (Serial Downloader) mode. I have set the FLEXSPI_INSTANCE =1 using the BOOT_CFG [11] pin on the external boot switch (as FLEXSPI2 is used) And how do i enable the FLEXSPI_PIN_GROUP_SEL. Is it via the OTP configuration in MCU Secure Provisioning tool??? And with the above-mentioned boot switch changes (Serial Downloader mode and BOOT_CFG [11] =1) and below attached boot memory configurations in MCU Secure Provisioning tool, I am able to initialize the flash, read the flash content. But i am not able to erase or write. I am attaching the boot memory configuration screenshot. brundasathish_0-1784637645041.png Thanks , Brunda Sathish Re: Configuring external flash using MCUXpresso IDE for RT1170 db16122_0-1784609105020.png db16122_1-1784609207652.png FYI for 133MHz setting with schematics from AN12183 How to Enable Debugging for FLEXSPI NOR Flash Re: Configuring external flash using MCUXpresso IDE for RT1170 Hello @brundasathish, Yes, the OTP configuration can be used to achieve this.If your flash memory settings work correctly when you test them, you can use the button "Convert to Complete FCB" to make your FCB and review this community post, particularly the steps starting from point 15. That section provides a more detailed explanation of how the Secure Provisioning Tool generates the boot memory configuration and may help clarify the parameters and output produced by the tool. I would like to mention that the maximum supported clock frequency for the FlexSPI2 secondary pin group is 60 MHz in SDR mode and 30 MHz in DDR mode. For additional details, please refer to this community post. Could you please provide me which version of the MCUXpresso Secure Provisioning Tool you are currently using? The latest release is v26.06, and I highly recommend using this version, as it includes the most recent enhancements, bug fixes, and overall improvements compared to previous releases. BR Habib Re: Configuring external flash using MCUXpresso IDE for RT1170 Hello @brundasathish, Please make sure that you are in the correct workspace selected, for create a new workspace you can refer to the section New workspace creation of the Mcuxpresso Secure provisioning tool v26.06 User's guide. As mentioned in the section "PFR/IFR/BCA/FCF and OTP differences" of the Mcuxpresso Secure provisioning tool v26.06 user's guide the OTP configurations are burned item by item:   Habib_MS_1-1785189434439.png I also highly recommend reviewing the OTP Configuration section of the guide, as it provides important information for properly programming OTP fuses on the RT1170.   BR Habib Re: Configuring external flash using MCUXpresso IDE for RT1170 Hi @Habib_MS , I am using secure provisioning tool of version 26.06. And when OTP configuration is made for FLEXSPI_PIN_GROUP_SEL in secure provisioning tool, only this bit gets fused or in general all the other values in the fuse field gets burnt together ? Thanks in advance. Regards , Brunda Sathish
記事全体を表示
需要澄清:数据手册与实际硬件的 QSPI 闪存容量不匹配 您好,NXP团队, 我购买了一块符合指定零件编号的电路板,但我发现板载 QSPI 闪存容量存在差异。 MCIMX6ULL-EVK 数据手册显示,该电路板包含 256 MB QSPI 闪存。但是,当我从操作系统中检查闪存大小时,它只显示 32 MB。 为了验证这一点,我下载了设计文件并检查了物料清单。我还在 DigiKey 和 Mouser 上查找了相同的闪存设备部件号,两家都将其列为 256 Mbit 闪存,这相当于 32 MB,而不是 256 MB。 我通过 Element14 代理商购买了这块板。 请问您是否可以澄清以下事项: 数据手册中有一处拼写错误,应该写成 256 Mbit 而不是 256 MB? 或者,数据手册和实际硬件似乎使用了不同的存储分类,还有其他解释吗? 根据我的调查,安装的闪存设备似乎是 256 Mbit (32 MB) 而不是 256 MB。 希望您能确认一下。 谢谢! i.MX6UL Re: Clarification Required: QSPI Flash Capacity Mismatch Between Datasheet and Actual Hardware 你说得对,我会向相关团队汇报,是 256Mbit,也就是 32MB。
記事全体を表示