Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
iMX93 FRDM 上的 DMS 嗨,团队、 是否有人在 i.MX93 FRDM 平台上实施或评估过驾驶员监控系统 (DMS) 演示? 我正在寻找与以下功能相关的详细信息或引用: 人脸侦测 人脸地标检测 虹膜/眼睛地标检测 驾驶员行为检测,如吸烟和使用手机 如果有任何演示、参考设计、SDK 示例或合作伙伴解决方案,请分享详细信息或相关文档。 提前感谢您的支持。 致以最诚挚的问候, Ajnas FRDM 培训 Re: DMS on iMX93 FRDM 你好@ajnas-c、 感谢您联系恩智浦支持中心! 您可以通过下面的链接查看该演示的详细信息和源代码: https://github.com/nxp-imx-support/nxp-demo-experience-demos-list/tree/lf-6.12.3_1.0.0/scripts/machine_learning/dms 此致 查维拉
查看全文
BSDL file for the FS32K142H 64LQFP I'm trying to find a BSDL file for the FS32K142H 64LQFP Re: BSDL file for the FS32K142H 64LQFP I find a BSDL file for the FS32K142HAT0MLHT 64LQFP Can someone send it to me? Thanks Re: BSDL file for the FS32K142H 64LQFP Hi @titi  I sent you a private message. BR, VaneB
查看全文
i.MX95 VPU H265 latency and performance(v4l2h265enc/v4l2h265dec) Hello, I am currently evaluating the H265 decode → encode pipeline on i.MX95 and I am observing significantly worse latency and stability compared to i.MX8MP, using similar workloads and configurations. Context On i.MX8MP, using: imxvpudec_h265 vpuenc_hevc I am able to achieve: Very low end-to-end latency (≈ 10 ms) Stable operation with multiple streams No visible freezes or artifacts On i.MX95, using: v4l2h265dec v4l2h265enc I observe: ~90 ms latency for a single decode → encode pipeline Freezes and visual artifacts when running 4 simultaneous camera streams Test pipeline To reproduce the issue, I used IP cameras (H265 over RTSP) with the following pipeline: test-launch "( rtspsrc location=rtsp://10.42.0.85 drop-on-latency=true latency=0 buffer-mode=4 ! rtph265depay ! h265parse config-interval=1 ! v4l2h265dec ! v4l2h265enc ! rtph265pay name=pay0 pt=96 )" This pipeline works correctly with a single camera, but when scaling to 4 cameras, freezes and artifacts start to appear. Questions Why is the H265 VPU pipeline on i.MX95 significantly more latent than on i.MX8MP? Is DMABUF zero-copy fully supported between v4l2h265dec and v4l2h265enc on i.MX95? If not, is there an implicit memory copy that could explain the additional latency and bandwidth pressure? Are there known limitations in the current i.MX95 VPU driver regarding: Low-latency operation Multi-stream decode + encode Internal buffering depth Are there recommended V4L2 controls or io-modes (capture/output-io-mode) to minimize latency on i.MX95? Is the i.MX95 VPU driver expected to reach performance parity with i.MX8MP in future BSP releases, or is the higher latency an inherent design tradeoff? Goal My objective is real-time, low-latency video processing (decode → process → encode), similar to what is achievable on i.MX8MP. Thank you for your support. Re: i.MX95 VPU H265 latency and performance(v4l2h265enc/v4l2h265dec) Hello, Which BSP version are you using on i.MX8MP and i.MX95 to recreate this issue? Are you using the same GST pipeline (other than the decoder/encoder elements) on both 8MP and 95? AFAIK, there is no known limitation that results in high latency on i.MX95. On i.MX95, encoder support mmap and dmabuf, which can make a pipeline to transfer dma-buf without copy b/w decoder and encoder. Does the IP camera encode without B frames? Then we can disable decode frame reorder, which will reduce the latency. Please check this. You can disable frame reorder using below v4l2 control " v4l2h264dec extra-controls="decode,display_delay_enable=1,display_delay=0" " You can list all v4l2 controls using below command: v4l2-ctl -l -d Regards Re: i.MX95 VPU H265 latency and performance(v4l2h265enc/v4l2h265dec) The kernel versions: imx95: 6.6.101-0 imx8mp: 6.6.84-0 Yes it is the same gstreamer pipeline. The IP camera encode without B frames. I tired your command and it doesn't solve the issue. There are still artifacts on the screen and the latency is high. However qualitatively speaking, it seems to remove the freezes. ``` v4l2-ctl -l -d /dev/v4l/by-path/platform-4c480000.vpu-video-index0 User Controls min_number_of_capture_buffers 0x00980927 (int) : min=1 max=32 step=1 default=1 value=1 flags=read-only thumbnail_mode 0x00981901 (bool) : default=0 value=0 flags=write-only Codec Controls h264_profile 0x00990a6b (menu) : min=0 max=4 default=0 value=0 (Baseline) hevc_profile 0x00990b67 (menu) : min=0 max=0 default=0 value=0 (Main) display_delay 0x00990b8d (int) : min=0 max=0 step=1 default=0 value=0 display_delay_enable 0x00990b8e (bool) : default=0 value=0 ``` ``` v4l2-ctl -l -d /dev/v4l/by-path/platform-4c480000.vpu-video-index1 User Controls horizontal_flip 0x00980914 (bool) : default=0 value=0 vertical_flip 0x00980915 (bool) : default=0 value=0 rotate 0x00980922 (int) : min=0 max=270 step=90 default=0 value=0 flags=modify-layout min_number_of_output_buffers 0x00980928 (int) : min=1 max=32 step=1 default=1 value=1 flags=read-only Codec Controls video_gop_size 0x009909cb (int) : min=0 max=2047 step=1 default=30 value=30 video_bitrate_mode 0x009909ce (menu) : min=0 max=1 default=1 value=1 (Constant Bitrate) flags=update video_bitrate 0x009909cf (int) : min=1 max=1500000000 step=1 default=2097152 value=2097152 frame_level_rate_control_enable 0x009909d7 (bool) : default=1 value=1 h264_mb_level_rate_control 0x009909da (bool) : default=1 value=1 number_of_mbs_in_a_slice 0x009909dc (int) : min=0 max=262143 step=1 default=1 value=1 slice_partitioning_method 0x009909dd (menu) : min=0 max=1 default=0 value=0 (Single) force_key_frame 0x009909e5 (button) : value=0 flags=write-only, execute-on-write intra_refresh_period 0x009909ec (int) : min=0 max=2160 step=1 default=0 value=0 intra_refresh_period_type 0x009909ed (menu) : min=0 max=1 default=1 value=1 (Cyclic) h264_i_frame_qp_value 0x00990a5e (int) : min=0 max=51 step=1 default=30 value=30 h264_p_frame_qp_value 0x00990a5f (int) : min=0 max=51 step=1 default=30 value=30 h264_b_frame_qp_value 0x00990a60 (int) : min=0 max=51 step=1 default=30 value=30 h264_minimum_qp_value 0x00990a61 (int) : min=0 max=51 step=1 default=8 value=8 h264_maximum_qp_value 0x00990a62 (int) : min=0 max=51 step=1 default=51 value=51 h264_8x8_transform_enable 0x00990a63 (bool) : default=1 value=1 h264_cpb_buffer_size 0x00990a64 (int) : min=0 max=18750000 step=1 default=0 value=0 h264_entropy_mode 0x00990a65 (menu) : min=0 max=1 default=1 value=1 (CABAC) h264_i_frame_period 0x00990a66 (int) : min=0 max=2047 step=1 default=0 value=0 h264_level 0x00990a67 (menu) : min=0 max=16 default=14 value=14 (5) h264_loop_filter_alpha_offset 0x00990a68 (int) : min=-6 max=6 step=1 default=0 value=0 h264_loop_filter_beta_offset 0x00990a69 (int) : min=-6 max=6 step=1 default=0 value=0 h264_loop_filter_mode 0x00990a6a (menu) : min=0 max=2 default=0 value=0 (Enabled) h264_profile 0x00990a6b (menu) : min=0 max=4 default=4 value=4 (High) vertical_size_of_sar 0x00990a6c (int) : min=0 max=65535 step=1 default=0 value=0 horizontal_size_of_sar 0x00990a6d (int) : min=0 max=65535 step=1 default=0 value=0 aspect_ratio_vui_enable 0x00990a6e (bool) : default=0 value=0 vui_aspect_ratio_idc 0x00990a6f (menu) : min=0 max=17 default=0 value=0 (Unspecified) h264_constrained_intra_pred 0x00990a7f (int) : min=0 max=1 step=1 default=0 value=0 h264_chroma_qp_index_offset 0x00990a80 (int) : min=-12 max=12 step=1 default=0 value=0 hevc_minimum_qp_value 0x00990b58 (int) : min=0 max=51 step=1 default=8 value=8 hevc_maximum_qp_value 0x00990b59 (int) : min=0 max=51 step=1 default=51 value=51 hevc_i_frame_qp_value 0x00990b5a (int) : min=0 max=51 step=1 default=30 value=30 hevc_p_frame_qp_value 0x00990b5b (int) : min=0 max=51 step=1 default=30 value=30 hevc_b_frame_qp_value 0x00990b5c (int) : min=0 max=51 step=1 default=30 value=30 hevc_profile 0x00990b67 (menu) : min=0 max=0 default=0 value=0 (Main) hevc_level 0x00990b68 (menu) : min=0 max=8 default=7 value=7 (5) hevc_loop_filter 0x00990b6c (menu) : min=0 max=2 default=1 value=1 (Enabled) hevc_loop_filter_beta_offset 0x00990b6d (int) : min=-6 max=6 step=1 default=0 value=0 hevc_loop_filter_tc_offset 0x00990b6e (int) : min=-6 max=6 step=1 default=0 value=0 hevc_refresh_type 0x00990b6f (menu) : min=0 max=2 default=2 value=2 (IDR) hevc_num_of_i_frame_b_w_2_idr 0x00990b70 (int) : min=0 max=2047 step=1 default=0 value=0 hevc_constant_intra_prediction 0x00990b72 (int) : min=0 max=1 step=1 default=0 value=0 hevc_strong_intra_smoothing 0x00990b76 (int) : min=0 max=1 step=1 default=1 value=1 hevc_tmv_prediction 0x00990b79 (int) : min=0 max=1 step=1 default=1 value=1 prepend_sps_and_pps_to_idr 0x00990b84 (int) : min=0 max=1 step=1 default=1 value=1 frame_skip_mode 0x00990b86 (menu) : min=0 max=2 default=0 value=0 (Disabled) average_qp_value 0x00990b91 (int) : min=0 max=51 step=1 default=0 value=0 flags=read-only ``` Re: i.MX95 VPU H265 latency and performance(v4l2h265enc/v4l2h265dec) The BSP versions are : imx8mp: lf-6.6.52-2.2.0 imx95: lf-6.6.52-2.2.1 Thank you Re: i.MX95 VPU H265 latency and performance(v4l2h265enc/v4l2h265dec) Yes the IP camera encode without B frames. I tried your command and it doesn't solve the issue. There are still artifacts on the screen and the latency is high. However qualitatively speaking, it seems to remove the freezes. Re: i.MX95 VPU H265 latency and performance(v4l2h265enc/v4l2h265dec) ok Also please confirm the B frame question I mentioned above. Regards Re: i.MX95 VPU H265 latency and performance(v4l2h265enc/v4l2h265dec) Hello, To confirm: the IP cameras encode without B frames (I-P only). I have applied display_delay_enable=1, display_delay=0 on the decoder. This helped remove freezes, but the latency remains at ~90 ms. To isolate the bottleneck, I used the GStreamer element-latency tracer on this pipeline: ``` rtspsrc location=rtsp://... drop-on-latency=true latency=0 buffer-mode=4 !  rtph265depay ! h265parse config-interval=1 !  v4l2h265dec extra-controls="decode,display_delay_enable=1,display_delay=0" capture-io-mode=4 output-io-mode=4 !  v4l2h265enc extra-controls="encode,video_bitrate_mode=1,video_bitrate=2097152,frame_level_rate_control_enable=0,video_gop_size=30" capture-io-mode=4 output-io-mode=4 !  h265parse config-interval=1 ! rtph265pay name=pay0 pt=96 ``` Per-element latency results (640x480 @ 30fps, single stream): v4l2h265enc: ~67 ms v4l2h265dec ~2 ms all other elements < 1 ms The encoder alone accounts for ~67 ms (~2 frame periods). This is consistent across runs. The decoder is fine at ~2 ms. I have tried: frame_level_rate_control_enable=0 capture-io-mode=4 and output-io-mode=4 (DMABUF) on both encoder and decoder Minimal queue buffering between elements (max-size-buffers=1) None of these significantly reduce the encoder latency. My questions, focused on the encoder: Is the Wave6 encoder expected to hold 2 frames internally before producing output? Is there a way to reduce this internal buffering (similar to display_delay=0 on the decoder side)? Does output-io-mode=5 (DMABUF_IMPORT) work on the encoder to achieve zero-copy from upstream? Would this help latency? Is there a V4L2 control or driver parameter to enable a low-latency / zero-delay encoding mode on the Wave6? On i.MX8MP, vpuenc_hevc achieves ~10 ms for the same workload. Is this latency gap with v4l2h265enc on i.MX95 expected to improve in future BSP releases? Thank you for your help.
查看全文
i.MX RT1060 API の LPSPI_MasterTransferEDMA は 24 ビットのフレーム サイズをサポートしていませんか? LPSPI を使用して DMA 経由で 24 ビット フレームを書き込もうとしています。アプリケーションは重要ではありませんが、私の例では、メモリから外部 DAC にデータを送信することです。私はこれを DMA で動作させたいと思っています。なぜなら、最終的には TCD のリンク リストを PIT と一緒に使用して、CPU オーバーヘッドなしで DAC を継続的に更新するためです。これは外部 ADC および DAC を使用する一般的なアプリケーションです。16 ビット DAC/ADC には 24 ビットのフレーム要件があることも一般的です (上位バイトはコマンド用、下位バイトはデータ用)。uint8_t データを使用して転送を 3 バイトに分割するのではなく、uint32_t データを使用して 24 ビットのフレーム サイズで送信し、先頭バイトを無視します。 さて、LPSPI と DMA の構成に移ります。 1.imxRT1060 SDK の API LPSPI_MasterInit 関数の lpspi_master_config_t 構造を使用すると、 bitsPerFrame を 24 に設定できます。DMA を使用せずに標準転送を行う場合、これは問題ではありません。 2. ただし、API の LPSPI_MasterTransferEDMA 関数で DMA を使用する場合、24 ビット フレーム サイズのケースは eDMA ハードウェアによって処理またはサポートされませんか?LPSPI_MasterTransferEDMALite では、DMA 転送幅は edma_transfer_config_t 構造体で設定されます。具体的には、srcTransferSize フィールドと destTransferSize フィールドは、SPI フレーム サイズ (bytesPerFrame) から導出される bytesEachRead 値と bytesLastWrite 値に基づいて構成されます。 /* LPSPI_MasterTransferPrepareEDMALite */ uint32_t bytesPerFrame = ((base->TCR & LPSPI_TCR_FRAMESZ_MASK) >> LPSPI_TCR_FRAMESZ_SHIFT) / 8U + 1U; if (bytesPerFrame <= 4U) { handle->bytesEachWrite = (uint8_t)bytesPerFrame; // for 24bit frames = 3 handle->bytesEachRead = (uint8_t)bytesPerFrame; // .... handle->bytesLastRead = (uint8_t)bytesPerFrame; // .... } /* now back in LPSPI_MasterTransferEDMALite */ switch (handle->bytesEachRead) //bytes each transfer { case (1U): transferConfigRx.srcTransferSize = kEDMA_TransferSize1Bytes; transferConfigRx.minorLoopBytes = 1; if (handle->isByteSwap) { addrOffset = 3; } break; case (2U): transferConfigRx.srcTransferSize = kEDMA_TransferSize2Bytes; transferConfigRx.minorLoopBytes = 2; if (handle->isByteSwap) { addrOffset = 2; } break; case (4U): transferConfigRx.srcTransferSize = kEDMA_TransferSize4Bytes; transferConfigRx.minorLoopBytes = 4; break; default: transferConfigRx.srcTransferSize = kEDMA_TransferSize1Bytes; transferConfigRx.minorLoopBytes = 1; assert(false); break; } デフォルトのケースが発生し、3 バイトのケースは処理されないためエラーが発生します。EDMAハードウェアは3バイト転送をサポートしていますか?基本的に、uint32_tのデータとフレームを3バイトとして扱い、最上位バイトを無視してDMA転送を行いたいのですが、可能ですか? Re: i.MX RT1060 API's LPSPI_MasterTransferEDMA does not support 24bit framesize? こんにちは@azoneさん、 弊社の製品にご興味をお持ちいただき、またコミュニティをご利用いただき誠にありがとうございます。 次のリンクを確認してください。eDMA は 1、2、4、8、16、32、64 バイトの転送サイズをサポートしており、24 ビット (3 バイト) の転送サイズはサポートしていないことが説明されています。 MCUXpresso SDK APIリファレンスマニュアル: EDMA: 拡張ダイレクトメモリアクセス (eDMA) コントローラドライバ よろしくお願いいたします。 メイリュー Re: i.MX RT1060 API's LPSPI_MasterTransferEDMA does not support 24bit framesize? わかりました。確認してくれてありがとう。これで、動作させるために時間を無駄にすることがなくなりました。したがって、唯一の方法は、すべてをuint8_tデータとしてkLPSPI_MasterPcsContinuousで3バイトとして送信することです。これは他のすべてのペリフェラルでも同じ方法で実行しているので問題ありませんが、16ビットDAC実装の場合は不要なオーバーヘッドが発生します。ありがとうございます。
查看全文
[罗兰][SE050]多个 CPU 和 MCU 能否共用一个 SE050? 专家们好 客户是罗兰公司,该公司正在考虑在其乐器产品中采用 SecureElement SE050E。 此外,罗兰还在考虑利用云技术通过 OTA 更新 CPU 和 MCU 的固件。 不过,他们的系统有多个 CPU 和 MCU。 如果罗兰要更新每个 CPU 或 MCU 的固件、 是否每个 CPU 和 MCU 都需要单独的 SE050? 或者每个 CPU 和 MCU 能否共用一个 SE050? 详情请参见下文。 顺祝商祺! 坎 Re: [Roland][SE050]Can multiple CPU and MCU share one SE050? 你好,Kan、 对于纯粹的 OTA SW 更新,很可能不需要 SE,因为通常只需要处理公钥。但这取决于 OTA 流程,也许他们还需要设备进行一些身份验证才能请求新软件,然后设备需要可用的私钥。通常,还有其他流程/用例需要在设备中提供一些私钥/机密密钥,然后安全元件可以提供帮助。 从软件角度来看,每个 SOC 一个 SE 是最简单的,但没有必要每个 MCU/MPU 都有一个安全元件。" 但同样,一个 SE 最好由一个 SOC 拥有",该 SOC 驱动与 SE 的所有物理通信,而其他 SOC 只能通过一个连接的 SOC 在逻辑上访问 SE。 这样可以避免多台设备希望同时访问 SE 时出现问题。我希望所有设备无论如何都通过一些通用的数据总线连接,这可以用来从所有连接的系统向SE发送请求。 主连接系统可能使用 PlatformSCP 将 SE 与主机绑定。其他设备可以请求单独的AESKey或ECKey频道,为SE提供自己的私人频道。 从用例的角度来看,应该考虑元器件是否可以在现场更换-如果其他元器件应该对新元器件进行身份验证,则新元器件可能需要自己的 SE 或至少是验证芯片来进行自我验证。 亲切的问候, Michael
查看全文
S32 Design Studio for Power Architecture v2.1 - 更新 7 现已发布! <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />       产品发布公告 汽车微控制器和处理器 面向 Power Architecture 的 S32 设计工作室 v2.1 更新 7          新增内容 集成 S32 SDK,适用于 Power Architecture RTM 3.0.2(参见S32 SDK发行说明) 这是一个累积更新 - 它包含之前更新的所有内容(更新 1 、更新 2 ) 安装说明 此更新可供在线安装 (通过 S32DS 扩展和更新)或 离线安装(直接下载链接)  安装: 进入菜单"帮助" -> "S32DS 扩展和更新" 对话框 从可用项目中选择并点击 "Install/Update" 按钮 离线安装: 前往 S32 Design Studio for Power 产品页面 -> 下载部分或使用直接链接下载更新存档 zip 文件 启动 S32 Design Studio,转到“帮助”->“S32DS 扩展和更新”,然后单击“转到首选项”链接 并添加一个新的站点“添加...”存储库并浏览以选择您在上一步中下载的更新存档 zip 文件 选择“S32 Design Studio for Power Architecture Device Package”和“使用 S32 SDK 3.0.2 更新”对于 Power Architecture 包,然后单击“安装/更新”按钮。 此时将启动更新安装过程。 概述 SDK
查看全文
PCF2131——第二脉冲信号触发错误 Hello, 我是 Ramón,开始使用 PCF2131 和 STM MCU 进行工作。在设备中设置新的时间+日期后,我遇到了脉冲秒信号的问题。 我遵循的方案如下: 1.我将设备设置为无中断,只有秒脉冲信号。控制寄存器设置如下: ** 控制 1:0b0000 0001,控制 2、3、4、5:0b0。-> 仅使用第二脉冲信号。 ** INTA/B Mask1/2: 0b0 -> 所有中断禁用 ** WD 控制:0x20 -> 脉冲秒信号,无 WD。 2. 然后我从 RTC 读取并检查完整性。然后设置我的MCU的时间。 3. 设备定期通过 SNTP 进行同步。问题就来了。 当收到新日期时,我们停止 RTC,清除预分频器,设置新时间(添加操作延迟)并重新启动 RTC。当这个时间接近于秒的变化(大概是920-950ms),并且设置增加延时的时间(这样就使得新的时间设置大约在50-80ms),秒脉冲信号被触发,使得MCU比实际时间提前一秒递增。我们不知道为什么会发生这种情况。尝试禁用、清除和重新启用中断,但情况仍然相同。知道为什么会发生这种情况吗? 我将我们测量的信号与我们发送的 I2C 数据附加在一起。第二个是在此特定帧中设置的日期时间的缩放,您可以看到第 100 秒设置为 4。
查看全文
How to refund a wrong transaction How do I get a refund from Phone, for wrong transaction?076995-95414 - If you mistakenly sent money to the wrong number on Phone it is generally ... Functional Safety
查看全文
D1が赤く点灯しているため、S32K146EVB-Q144ボードをフラッシュできません 当初は正常に動作していた S32K146EVB-Q144 評価ボードを持っています。 Lin スタックを実装したデバッグ セッション中に、動作が停止しました。 コントローラをリセットすると、D1 の赤いライトが点灯し続け、他の 2 つの緑のライトも点灯したままになります。 USB ソースからの電源を選択するために、位置 2-3 の J10 と J107 を使用し、OpenSDA アプリのフラッシュ モードを選択するために、位置 2-3 の J104 を使用しました。 現在、私のコントローラは S32DS によってまったく検出されません。 症状はまったく同じであるように思われたので、以下の投稿に記載されている手順を試してみました。 Re: S32K144 D2 赤色 LED が常時点灯 - NXP コミュニティ ここで、P&E Kinetics Recovery Tool を使用して OpenSDA でプロセッサを停止できましたが、それでも新しいアプリケーションをフラッシュすることはできませんでした。 停止に成功しても再度点滅させることができず、赤色のライトが点灯したままになります。 コントローラはジャンパー J104 を調整することでブートローダーモードに入ることもでき、実際にブートローダーアプリをフラッシュすることもできました。しかし、どういうわけか私は再びフラッシュを書き込むことができず、サンプルの.srecをフラッシュしようとするとファイルでは、D2 は定期的に点滅し続けます (通常、正常に点滅すると 1 回点滅してからアプリの実行が開始されます)。 つまり、簡単に言うと: - コントローラがメインに到達できない、または継続的にリセットされる - コントローラはフラッシュに再度書き込むことができません (セキュリティ上の問題である可能性があります)。 私はデバッグ プローブを持っていないため、SEGGER-JLINK に関連するものを除き、上記の Thread で言及されているテクニックを試しました。私は PE Multilink Universal を持っていますが、フラッシュを回復/消去することはできません。 ボードの詳細は次のとおりです。 ボード名: S32K146EVB-Q144 MicroBootカーネルバージョン: 1.08 ブートローダーのバージョンは: 1.13 インストールされたアプリケーション: PEMicro EVB-S32K144 マスストレージ/デバッグアプリ アプリケーションのバージョン: 1.25 DUID は: 39A33939-91818199-37539805-F97AE678 EUID は: 4141A238-1BDB8733-1854BA22-D38368D6 TUID: 74823938-47328196-8576CC9B-0242983E TOAは次のとおりです: 86B6E505-56F042E0-79B2A114-62BA758F TOA2 は: 86B6E505-EB1A8A7C-AF6E54B6-43532420 SUID は: 86B6E505-5BA18877-37239804-8003EC65 MCU は永久にロックされますか? そうでない場合、どうすればボードを回復できますか? ハードウェアに障害があると思われますか?(参考までに、D2とD3が緑色に点灯しているのは、5Vと3.3Vの電源レールが正常に動作していることを意味していると思います) 物理的に大量消去する方法はありますか?(ボードがまったく検出されないため、S32DS 緊急キネティクス オプションは使用できません)。 OpenSDA チップの任意のピンを接地すると、フラッシュ メモリが消去されますか? Re: Unable to flash S32K146EVB-Q144 board as D1 glowing red クリスマス休暇期間中は、サポートの応答時間は通常より長くなる場合がありますのでご了承ください。場合によっては、ご要望への対応が新年以降になることもあります。ご理解のほどよろしくお願いいたします。 Re: Unable to flash S32K146EVB-Q144 board as D1 glowing red ハイ P&E リカバリ ユーティリティがMCU を停止したら、ツールを閉じます。 次にステップ3に進みます または ステップ4 S32K146 を再プログラムします。 これが原因かどうかは分かりませんが、 アプリケーションのバージョン: 1.25 。リセットボタンSW5を押したまま、USBケーブルを挿入して MSD-DEBUG-S32K146EVB-Q144_Pemicro_v121.SDA BOOTLOADER ドライブに挿入します。これにより、 アプリケーションバージョンを1.21に。 また添付しました lpit_periodic_interrupt_s32k146.srec 。 ちなみに、外付けのSegger J-Linkは必要ありません。ステップ6に従う場合: SW5を押しながらJ7を挿入すると、OpenSDAがブートローダーモードになります。そして、 SEGGER J-Linkアプリケーションファームウェア( OpenSDA_V1.bin )をOpenSDA_V1.binにコピーします。 オンボード デバッガーは J-Link になります。 よろしくお願いします、 ロビン --------------------------------------------------------------------------------- 注記: - この投稿があなたの質問への回答である場合は、「解決策として承認」ボタンをクリックしてください。ありがとう! - Threadは最後の投稿から7週間フォローされます。それ以降の返信は無視されます。 後ほど関連する質問がある場合は、新しいThreadを開いて、閉じたThreadを参照してください。 --------------------------------------------------------------------------------- Re: Unable to flash S32K146EVB-Q144 board as D1 glowing red こんにちは、ロビン。 迅速なご返信ありがとうございます。MSD -DEBUG-S32K146EVB-Q144_Pemicro_v121.SDAにロールバックしてみましたが、 同じように動作します。ブートローダーアプリはフラッシュされますが、D1はまだ赤く点灯しており、.srecをフラッシュできません。kinetis 回復ツールを使用して停止した後のファイル。コントローラが srec をフラッシュしようとしているが、D2 が定期的に点滅するため失敗していることがわかります (通常は 3 ~ 4 回だけ点滅し、アプリがフラッシュされます)。 その後、ブートローダーをOpenSDA_V1.bin に切り替えて、その後 J-Link コマンダーを使用して接続を試みましたが、次のログが表示されました。 SEGGER J-Link Commander V8.94 (2025年12月10日 14:50:47 にコンパイル) DLLバージョンV8.94、2025年12月10日14:49:54にコンパイル USB経由でJ-Linkに接続しています...OK ファームウェア: J-Link OpenSDA コンパイル日: 2023年1月31日 13:42:36 ハードウェアバージョン: V1.00 J-Link の稼働時間(起動以降): 0d 00h 00m 28s シリアル番号: 621000000 VTref=3.300V ターゲット接続を確立するには「connect」と入力し、ヘルプを表示するには「?」と入力します J-Link>接続 デバイス/コアを指定してください。 : S32K146 選択ダイアログに「?」と入力してください デバイス>S32K146 ターゲットインターフェースを指定してください: J) JTAG (デフォルト) S) SWD T) cJTAG TIF>SWD 対象インターフェース速度[kHz]を指定します。 : 4000 kHz 速度>100 デバイス「S32K146」が選択されました。 SWD経由でターゲットに接続する ConfigTargetSettings() の開始 ConfigTargetSettings() 終了 - 22us かかりました InitTarget() 開始 SWDが選択されました。JTAG -> SWD 切り替えシーケンスを実行しています。 CPU の停止中にタイムアウトが発生しました。 InitTarget() 終了 - 392 ミリ秒かかりました ID 0x2BA01477 の SW-DP が見つかりました DPv0が検出されました CoreSight SoC-400 以前 APマップをスキャンして利用可能なすべてのAPを見つける AP[2]: APマップの終端に達したため、APスキャンを停止しました AP[0]: AHB-AP (IDR: 0x24770011, ADDR: 0x00000000) AP[1]: JTAG-AP (IDR: 0x001C0000, ADDR: 0x01000000) APマップを反復処理して使用するAHB-APを見つける AP[0]: コアを発見 AP[0]: AHB-AP ROMベース: 0xE00FF000 CPUIDレジスタ: 0x410FC241。実装者コード: 0x41 (ARM) Cortex-M4 r0p1、リトルエンディアンが見つかりました。 FPUnit: 6 つのコード (BP) スロットと 2 つのリテラル スロット CoreSight コンポーネント: ROMTbl[0] @ E00FF000 [0][0]: E000E000 CID B105E00D PID 000BB00C SCS-M7 [0][1]: E0001000 CID B105E00D PID 003BB002 DWT [0][2]: E0002000 CID B105E00D PID 002BB003 FPB [0][3]: E0000000 CID B105E00D PID 003BB001 ITM [0][4]: E0040000 CID B105900D PID 000BB9A1 TPIU 126976バイトの作業用RAM(0x1FFF0000)を初期化しています リセットタイプ: NORMAL ( https://kb.segger.com/J-Link_Reset_Strategies ) リセット: DEMCR.VC_CORERESET によるリセット後にコアを停止します。 リセット: AIRCR.SYSRESETREQ 経由でデバイスをリセットします。 リセット: S_RESET_ST はクリアされません。CPU は永久にリセット状態のままになっているようです。 リセット: フォールバックを使用: ピンをリセットします。 リセット: DEMCR.VC_CORERESET によるリセット後にコアを停止します。 リセット: リセットピン経由でデバイスをリセットします リセット: VC_CORERESET は CPU を停止しませんでした。(デバッグ ロジックもリセット ピンによってリセットされますか?)。 リセット: 再接続して CPU を手動で停止します。 ID 0x2BA01477 の SW-DP が見つかりました DPv0が検出されました CoreSight SoC-400 以前 AP マップの検出をスキップしました。手動で構成された AP マップが見つかりました。 AP[0]: AHB-AP (IDR: 未設定、ADDR: 0x00000000) AP[0]: コアを発見 AP[0]: AHB-AP ROMベース: 0xE00FF000 CPUIDレジスタ: 0x410FC241。実装者コード: 0x41 (ARM) Cortex-M4 r0p1、リトルエンディアンが見つかりました。 CPUを停止できませんでした リセット: コアはリセット後に停止せず、WDT を無効にしようとしました。 リセット: DEMCR.VC_CORERESET によるリセット後にコアを停止します。 リセット: リセットピン経由でデバイスをリセットします リセット: VC_CORERESET は CPU を停止しませんでした。(デバッグ ロジックもリセット ピンによってリセットされますか?)。 リセット: 再接続して CPU を手動で停止します。 ID 0x2BA01477 の SW-DP が見つかりました DPv0が検出されました CoreSight SoC-400 以前 AP マップの検出をスキップしました。手動で構成された AP マップが見つかりました。 AP[0]: AHB-AP (IDR: 未設定、ADDR: 0x00000000) AP[0]: コアを発見 AP[0]: AHB-AP ROMベース: 0xE00FF000 CPUIDレジスタ: 0x410FC241。実装者コード: 0x41 (ARM) Cortex-M4 r0p1、リトルエンディアンが見つかりました。 CPUを停止できませんでした リセット: 失敗しました。リセット ピンを切り替えてリセット戦略を再度試します。 ID 0x2BA01477 の SW-DP が見つかりました DPv0が検出されました CoreSight SoC-400 以前 AP マップの検出をスキップしました。手動で構成された AP マップが見つかりました。 AP[0]: AHB-AP (IDR: 未設定、ADDR: 0x00000000) AP[0]: コアを発見 AP[0]: AHB-AP ROMベース: 0xE00FF000 CPUIDレジスタ: 0x410FC241。実装者コード: 0x41 (ARM) Cortex-M4 r0p1、リトルエンディアンが見つかりました。 リセット: DEMCR.VC_CORERESET によるリセット後にコアを停止します。 リセット: AIRCR.SYSRESETREQ 経由でデバイスをリセットします。 リセット: S_RESET_ST はクリアされません。CPU は永久にリセット状態のままになっているようです。 リセット: フォールバックを使用: ピンをリセットします。 リセット: DEMCR.VC_CORERESET によるリセット後にコアを停止します。 リセット: リセットピン経由でデバイスをリセットします リセット: VC_CORERESET は CPU を停止しませんでした。(デバッグ ロジックもリセット ピンによってリセットされますか?)。 リセット: 再接続して CPU を手動で停止します。 ID 0x2BA01477 の SW-DP が見つかりました DPv0が検出されました CoreSight SoC-400 以前 AP マップの検出をスキップしました。手動で構成された AP マップが見つかりました。 AP[0]: AHB-AP (IDR: 未設定、ADDR: 0x00000000) AP[0]: コアを発見 AP[0]: AHB-AP ROMベース: 0xE00FF000 CPUIDレジスタ: 0x410FC241。実装者コード: 0x41 (ARM) Cortex-M4 r0p1、リトルエンディアンが見つかりました。 CPUを停止できませんでした リセット: コアはリセット後に停止せず、WDT を無効にしようとしました。 リセット: DEMCR.VC_CORERESET によるリセット後にコアを停止します。 リセット: リセットピン経由でデバイスをリセットします リセット: VC_CORERESET は CPU を停止しませんでした。(デバッグ ロジックもリセット ピンによってリセットされますか?)。 リセット: 再接続して CPU を手動で停止します。 ID 0x2BA01477 の SW-DP が見つかりました DPv0が検出されました CoreSight SoC-400 以前 AP マップの検出をスキップしました。手動で構成された AP マップが見つかりました。 AP[0]: AHB-AP (IDR: 未設定、ADDR: 0x00000000) AP[0]: コアを発見 AP[0]: AHB-AP ROMベース: 0xE00FF000 CPUIDレジスタ: 0x410FC241。実装者コード: 0x41 (ARM) Cortex-M4 r0p1、リトルエンディアンが見つかりました。 CPUを停止できませんでした CPUを停止できませんでした CPUを停止できませんでした ****** エラー: CPU を停止できませんでした。 メモリゾーン: ゾーン: 「デフォルト」 説明: デフォルトのアクセスモード Cortex-M4 が識別されました。 J-Link> Re: Unable to flash S32K146EVB-Q144 board as D1 glowing red オシロスコープを使用してリセットピンの波形を観察し、波形を送信してリセット期間とハイレベル幅を教えてください。場合によっては回復不可能となり、S32K1 チップを交換しなければならないこともあります。   接続戦略と回復手順: 目標: デバッガーにコアを停止し、問題のあるファームウェアを無効にする機会を与えます。 A. SWD速度を下げる + 「リセット時に接続」 J-Link Commanderの場合: J-Link> device S32K146 J-Link> if SWD J-Link> speed 1000 ; start at 1 MHz; if still failing, drop to 100 kHz J-Link> connect それでも失敗する場合は、手動の connect‑under‑reset を使用します。 RESET_b を外部的に低く保持し、ボードに電源を投入します。 Commander で connect を実行します。 リセットを解除し、直ちに次の操作を実行します。 J-Link> r J-Link> h J-Link> halt 特に 100 kHz SWD 速度ではタイミングが重要になる可能性があるため、何度か試してください。 B. J-Linkリセット戦略の変更 リセット戦略の値によって動作が異なります。Commander の場合 (正確な ID はバージョンによって異なる場合があります): J-Link> SetResetType = 3 ; a common “connect under reset / halt after reset”; Try 2 / 4 / 12 etc. depending on your J-Link version J-Link> r J-Link> halt または、J-Link Commander で「リセット状態で接続」を選択してみてください。 Re: Unable to flash S32K146EVB-Q144 board as D1 glowing red S32K146EVB-SPF-29844-RB.pdfによると: J104 1-2 OpenSDAからのリセット信号 J10 2-3 P5V0 外部の 9V または 12V 電源がある場合は、 J107 1-2 P5V_SBC を接続することもできます。PEMicro Multilinkなどの外部デバッガーをお持ちの場合は、それを使用して、S32K146 用のプログラムをダウンロードできるかどうかを確認してください。 最後にダウンロードされたプロジェクトは何ですか?CSEc は有効になっていますか? 前回の質問に答えて、オシロスコープを使用して測定したリセット信号を提供してください。
查看全文
Drivers configuration for the S32K3XX Hello, I would like to ask, S32K3XX series chip new construction projects, in the use of drivers, each driver (1 corresponding to the position of each driver type) corresponding to the configuration interface in each configuration (3 shown in the position), there is no documentation or tutorials to explain? In the actual engineering application, I can rely on what information to configure, I set up each time is to look at the name of the setup item to guess its function, and decided to be configured into what, I feel the lack of official basis, so I feel that each of my settings is very no certainty and basis. Re: S32K3XX的drivers配置 Hi@Aaron_LL The following sections of AN13435 have some descriptions of the components And you can find a lot of training tutorials for configuring these peripherals in the official website. https://www.nxp.com/products/S32K3
查看全文
TagXplorer - 利用可能なリーダーがありません TagXplorer を Identiv uTrust 3700 リーダーに接続しようとして数時間試みましたが、うまくいきませんでした。OpenJDK と Oracle Java 8 の両方で TagXplorer を実行してみました。何を試しても、UI (およびログ) には常に「利用可能なリーダーがありません」と表示されます。 Identiv ドライバはすでにインストールされています。私はMacOS 11.1を使用しており、セキュリティとプライバシーでJavaの入力監視をすでに有効にしています。 同様の問題を抱えた人はいますか? Re: TagXplorer - No reader available TagXplorer でも同じ問題が発生し、信頼できる解決策を見つけるのに少し苦労しました。収入の計算を簡素化するツールを見つけました。計画の途中でカリフォルニア州の純給与リソースを使用すると、手取り額を正確に見積もるのがはるかに簡単になりました。うまくいけば、これはリーダーなしで困っている他の人々の助けになるでしょう。 Re: TagXplorer - No reader available しばらく Mac で試してみましたが、次から次へと問題に遭遇したため、最終的には Windows に切り替えました。 Re: TagXplorer - No reader available こんにちは、 Mac、MAC OS Sonoma、 Identiv uTrust 3700リーダーでも同じ問題が発生しています。Identivのウェブサイトから直接ドライバをインストールしました。 私のJavaバージョンは1.8.0_421ですが、 NFCツールなどの他のアプリからリーダーにアクセスできるにもかかわらず、「リーダーが利用できません」というメッセージが表示されます。 MACで成功した人はいますか? よろしくお願いします。 Re: TagXplorer - No reader available 更新: ドライバを 3 回目に再インストールしたら、タグを接続できるようになりました。しかし、私が実行しようとするすべてのアクション(例:「NDEF を読み取り」) すると、「サポートされているリーダーが利用できません」というメッセージが表示されます。 Re: TagXplorer - No reader available sudo でコマンドを実行することで、TagXplorer でリーダーを取得できました。 しかし、タグは表示されません。NFC タグをリーダーに置くと、LED が何かを知らせますが、TagXplorer では「タグを接続」をクリックした後に「税金は利用できません」というメッセージが表示されます。 Re: TagXplorer - No reader available この問題を解決した人はいますか? 私も同じ問題を抱えています Re: TagXplorer - No reader available 誰かMacでこれを解決しましたか。Open FX ディレクトリを TagXplorer と同じディレクトリに置くことで、Windows 10 ではすべて完璧に動作しますが、2 台の Mac で TagXplorer を動作させることはできますが、リーダーを認識できません。TagXplorer と同じディレクトリにドライバへの symobilc リンクを配置しようとしましたが、うまくいきませんでした。リーダーがUSB上のデバイスに接続されていることがわかります。 上記すべてと同じ問題のようです - 64 Intel で 12.5 を実行しています。 実行中の Mac ディレクトリのスクリーンショットを添付します。 OPen FX コードをアプリケーションのフォルダーに配置し、ターミナルから次のコマンドを実行して、TagXplorer ディレクトリ内から TagXplorer を正常に実行しています。 java --module-path /Applications/javafx-sdk/lib  --add-modules javafx.controls、javafx.fxml -jar TagXplorer-v1.2.jar   TagXplorerでリーダーを表示する方法についてのアイデアがあれば歓迎します 🙂   Re: TagXplorer - No reader available 私もあなたと全く同じ問題を抱えています。 Re: TagXplorer - No reader available JavaFX でどのように動作させたのか、もう少し詳しく教えていただけますか?(TagXplorerのインストール+起動) Re: TagXplorer - No reader available アップデート: Catalina では、私が所有する古い 2013 Macbook Pro で、リーダーは USB Adam Elements 6 ポート USB-C ハブ経由では接続されず、直接 USB 2.0 ポートに接続され、Oracle Java 9 がインストールされているため、リーダーはすぐに認識されます。jar を実行した出力には、上記と同じ出力が表示されます。 SO、Catalina と Big Sur のどちらが優れているでしょうか?pcsctest はリーダーを拾います。     Re: TagXplorer - No reader available @aaronqli @piotr_arteia 今、Ubuntu 20.04でこれを試してみましたが、ほぼ同じ結果が得られました。私が実行した手順は次のとおりです。 VirtualboxにUbuntuをインストールする セットアップガイドに従ってuTrust 3700 Fのドライバをインストールします。 Oracle Java 9 をインストールします。これには JavaFx が含まれています - バージョンを確認してください マシンを起動し、pcsc_scanを使用してカードリーダーがコネクテッドであることを確認します(スクリーンショットを参照)。 TagXplorerを実行 - 結果はMacOSと同様にリーダーがコネクテッドしていない         このThreadでこれについて何か他の考えを持っている人はいますか。アドバイスを頂ければ幸いです。jar を実行したときの出力も添付します。 Re: TagXplorer - No reader available @aaronqli更新情報をありがとうございます。🙂 Oracle Java 11 で試してみましたが、まだ表示されません。jar を実行するために使用した正確なコマンドは何ですか?javafx を参照しましたか? 参照した場合、どのバージョンですか?そして最後に、.jarはTagXplorer 1.2?本当に助かります。ちょっと気が狂いそうです。 Re: TagXplorer - No reader available 皆さんに簡単なアップデートをお知らせします。Oracle Java 11 がインストールされた私のノートPC (Big Sur、Macbook Pro 2017 後期) では正常に動作します。おそらく犯人はOpenJDK / JavaFX Re: TagXplorer - No reader available 結局、Windows 10 PC でそれを実行することができました。 前回の投稿では十分に正確ではありませんでした。Windows マシン上の問題は、TagXplorer が起動しないことでした。https://community.nxp.com/t5/NFC/TagXplorer-v1-2-jar-cannot-start/mp/918596#M5608で提供されている解決策を正常に使用し、アプリの起動を 2 回目に試行したときにデバイスが認識されました。 Mac でそれを実行する方法はまだありません。 リプレイありがとうございます! Re: TagXplorer - No reader available @piotr_arteiaいいえ、残念ながら私の側からはそうではありません。ちょっと困惑しています。 Re: TagXplorer - No reader available ここでも同じ問題があります。 最新の JDK、ドライバ、MacOS Catalina、BigSur、ホームでチェック済み。 コンピューターはリーダーを認識しますが、TagXplorer は認識しません。 @aaronqli 、 @WillHill 、 @jonmixnblend分かりましたか? @Kan_Li 、 @IvanRuiz助けてください! Re: TagXplorer - No reader available 私も@WillHillとまったく同じ問題を抱えています。セットアップは同じですが、Big Sur 11.2.3、uTrust 3700F、uTrust ドライバがインストールされています。 使用方法: openjdk 15.0.2 2021-01-19 OpenJDK ランタイム環境 (ビルド 15.0.2+7) OpenJDK 64ビットサーバーVM(ビルド15.0.2+7、混合モード、共有) TagXplorerアプリを動作させるには、JafaFX 16をダウンロードして隔離解除する必要がありました pcstest が正常に完了したため、uTrust がインストールされ、正常に動作していることはわかっています。また、 https://github.com/martinpaljak/GlobalPlatformProで使用できます。大丈夫です。 Re: TagXplorer - No reader available 私も同じ問題を抱えています。 macOS BigSurバージョン11.1を使用しています Java バージョン 8 アップデート 281 uTrust 3700 F を USB 経由で接続しています (電源が入っているとライトが点灯します) ここからドライバをインストールしましたhttps://files.identiv.com/products/smart-card-readers/common-drivers/uTrust_MAC_Driver.zip マシンを再起動しました。 TagXplorer v1.2 を実行していますが、「リーダーを接続」をクリックすると「サポートされているリーダーがありません」というメッセージが表示され、ドロップダウンにリーダーが表示されません。 Re: TagXplorer - No reader available 重要な情報にアクセスしようとしたときに「リーダーが利用できません」というメッセージが表示されるとイライラします。以前にも同様の問題を経験したことがありますが、ファイルの互換性を再確認したり、別のブラウザで開いてみたりすると問題が解決することがよくあります。地元の不動産の詳細に確実にアクセスする必要がある場合、私は通常、記録が整理されていて簡単にナビゲートできるJackson 不動産検索を参照します。アクセスの問題がすぐに解決され、誰もが中断することなくコンテンツを視聴できるようになることを願っています。 Re: TagXplorer - No reader available 最近、いくつかのレコードにアクセスしようとしたときに同じ問題が発生し、非常にイライラしました。マサチューセッツ州の遺言検認事件のようなリソースを使用すると、さまざまな文書を調べたり、関連するプロセスを理解したりするのに非常に役立つことがわかりました。特に標準のリーダーが読み込まれない場合に、特定の情報を見つけるのがはるかに簡単になりました。同様の状況に直面している人にとっては、間違いなく確認する価値があります。 Re: TagXplorer - No reader available このアップデートを共有していただきありがとうございます!詳細な記録をすぐに入手したい人にとって、 Brevard County の文書は、アクセスしやすい形式で包括的な情報を提供するため、非常に役立つでしょう。最新の提出書類や公式記録についての最新情報を入手するには、詳細を確認してください。地元の不動産マターを効率的に追跡するための便利なリソースです。    
查看全文
针对同步动态随机存取存储器(SDRAM)版本构建的 RT1170 调试 您好, 我正在使用 MCUXpresso 及其 SDK 为 RT1170 开发一个应用程序。 所提供的示例项目似乎都是使用 “DTC” RAM 版本的。与许多其他用户一样,我的应用程序太大了,无法容纳在那里,所以我正在尝试使用“同步动态随机存取存储器(SDRAM)”。 在尝试了论坛上其他一些帖子(尤其是https://community.nxp.com/t5/i-MX-RT/MCUXpresso-and-RT1050-download-and-debug-in-SDRAM/m-p/896979)中提出的解决方案后现在,我可以执行我的程序,如果应用程序已闪存,我还可以调试程序。 但是,如果我使用 “将应用程序链接到RAM” 进行版本和执行,那么一旦遇到断点,应用程序通常会卡在那里。 我的假设是这是因为我没有正确初始化同步动态随机存取存储器(SDRAM)。上述文章使用 “rt1050_SDRAM_init.scp 作为调试器初始化 同步动态随机存取存储器(SDRAM) 控制器的连接脚本”。如果我使用这个文件,失败也就不足为奇了。 我不知道如何调整这个脚本才能在 RT1170 上运行。有没有人这样做过,或者能提供如何生成的建议? 感谢您提供的任何帮助。 Re: RT1170 debugging when application is built for SDRAM 你好@ Jingpan 按照提供的步骤,使用 RT1170_BriefOverview_v210.pdf 中提到的修改刷新 hello world,我可以在调试模式下使用同步动态随机存取存储器(SDRAM)。 但是在这种变化之后,同步动态随机存取存储器(SDRAM)也用于存储代码。 在我的应用程序中,我希望代码存储在闪存中,而 BOARD_SDRAM 仅用于堆和堆栈部分。 我将把我的应用程序闪存到闪存中,该应用程序的堆和栈部分将使用 BOARD_SDRAM。 请指导我进行所需的更改。 Re: RT1170 debugging when application is built for SDRAM 谢谢@ Jingpan、 我只需要添加 .scp文件,结果成功了。 我已经掌握了第 5、第 6 和第 8 步,但我会试试其他步骤。 如果有帮助我还在 board.c 中做了以下更改,我认为这等同于<https://community.nxp.com/t5/i-MX-RT/MCUXpresso-and-RT1050-download-and-debug-in-SDRAM/m-p/896979>中描述的 RT1170_SDRAM_NOT_CACHED: #ifdef USE_SDRAM #ifndef RT1170_SDRAM_NOT_CACHED /* 区域 9 设置:内存为普通类型,不可共享,外部/内部回写 */ MPU->RBAR = ARM_MPU_RBAR(9, 0x80000000U); MPU->RASR = ARM_MPU_RASR(0, ARM_MPU_AP_FULL, 0, 0, 1, 1, 0, ARM_MPU_REGION_SIZE_64MB); #else MPU->RBAR = ARM_MPU_RBAR(9, 0x80000000U); MPU->RASR = ARM_MPU_RASR(0, ARM_MPU_AP_FULL, 1, 0, 0, 0, ARM_MPU_REGION_SIZE_64MB); #endif /* RT1170_SDRAM_NOT_CACHED */ #endif Re: RT1170 debugging when application is built for SDRAM 你好@robert_s、 此脚本适用于 RT1050/60,但不适用于 RT1170/60。您可以使用附带的脚本。除脚本文件外,您还需要执行其他步骤。 在 C/C++ 版本 > MCU 属性设置中的内存详细信息中,将 BOARD_SDRAM 移至 SRAM_DTC_M7 上方。 连接脚本使用 RT1170_connect_M7_wake_M4_SDRAM_init.scp。 在附加选项中添加 --cachelib libm7_cache.so。 如果使用 USB/以太网/SDHC,请将 DMA 缓冲区放入非缓存区。 在 MCU C 编译器> 预处理器中添加 USE_SDRAM。 在属性中选择链接到 ram->设置->受管链接器脚本 如果项目与 USB 关联,则在 MCU C 编译器> 预处理器中添加 DATA_SECTION_IS_CACHEABLE=1。 如果项目与不带 freertos 的 USB 主机相关联,则将堆放入 DTCM 或不可缓存区域 (bm) 此致, 景
查看全文
i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) Hello NXP community members, I have a custom board with an IMX6ULL and Qualcomm BT+Wifi combo chip on it. This project is based on Yocto kirkstone, linux-imx 5.15.71 kernel version. The communication method between mx6ull and qca9377 is sdio. I have a few questions about the occasional communication errors that occur during sdio communication between mx6ull and qca9377. 1. Set dts to use sdio clock speed of 132MHz imx6ul-14x14-evk.dtsi &usdhc1 { pinctrl-names = "default", "state_100mhz", "state_200mhz"; pinctrl-0 = <&pinctrl_usdhc1>; pinctrl-1 = <&pinctrl_usdhc1_100mhz>; pinctrl-2 = <&pinctrl_usdhc1_200mhz>; bus-width = <4>; vmmc-supply = <&reg_sd1_vmmc>; pm-ignore-notify; keep-power-in-suspend; non-removable; status = "okay"; }; &iomuxc { pinctrl_usdhc1: usdhc1grp { fsl,pins = < MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x17059 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x10071 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x17059 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x17059 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x17059 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x17059 MX6UL_PAD_GPIO1_IO00__GPIO1_IO00 0x130b0 >; }; pinctrl_usdhc1_100mhz: usdhc1grp100mhz { fsl,pins = < MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x170b9 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x100b9 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170b9 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170b9 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170b9 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170b9 >; }; pinctrl_usdhc1_200mhz: usdhc1grp200mhz { fsl,pins = < MX6UL_PAD_SD1_CMD__USDHC1_CMD 0x170f9 MX6UL_PAD_SD1_CLK__USDHC1_CLK 0x100f9 MX6UL_PAD_SD1_DATA0__USDHC1_DATA0 0x170f9 MX6UL_PAD_SD1_DATA1__USDHC1_DATA1 0x170f9 MX6UL_PAD_SD1_DATA2__USDHC1_DATA2 0x170f9 MX6UL_PAD_SD1_DATA3__USDHC1_DATA3 0x170f9 >; }; }; 2.  mmc0 info # cat /sys/kernel/debug/mmc0/ios clock: 132000000 Hz actual clock: 132000000 Hz vdd: 21 (3.3 ~ 3.4 V) bus mode: 2 (push-pull) chip select: 0 (don't care) power mode: 2 (on) bus width: 2 (4 bits) timing spec: 6 (sd uhs SDR104) signal voltage: 1 (1.80 V) driver type: 0 (driver type B) 3. Sometimes the sdio communication error log like below is printed AR6000: SDIO bus operation failed! MMC stack returned : -84 __HIFReadWrite, addr:0X001000, len:00000256, Read , Sync Debug Assert Caught, File /usr/src/debug/kernel-module-qca9377/3.1-r0/git/CORE/SERVICES/HIF/sdio/linux/native_sdio/src/hif.c, Line: 1459, Test:status == A_OK || status == A_ECANCELED "Change sdio clock speed (132MHz -> 50MHz)" 1. set dts to use sdio clock speed of 50MHz. imx6ul-14x14-evk.dtsi &usdhc1 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc1>; bus-width = <4>; vmmc-supply = <&reg_sd1_vmmc>; pm-ignore-notify; keep-power-in-suspend; non-removable; status = "okay"; }; 2.  mmc0 info # cat /sys/kernel/debug/mmc0/ios clock: 50000000 Hz actual clock: 44000000 Hz vdd: 21 (3.3 ~ 3.4 V) bus mode: 2 (push-pull) chip select: 0 (don't care) power mode: 2 (on) bus width: 2 (4 bits) timing spec: 2 (sd high-speed) signal voltage: 0 (3.30 V) driver type: 0 (driver type B) 3. sdio communication error log is not displayed. 1. The sdio communication between mx6ull and qca9377 seems unstable when the sdio clock is set to 132MHz. Is there a way to improve it by modifying the dts value? 2. If not possible, what value do you recommend using for the sdio clock value? Thank you in advance. Best regards  i.MX6 All i.MX6UL Linux Yocto Project Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) refer to the data sheet, Signaling level of SDR104/SDR50 mode is 1.8 V. Pls check your HW and double confirm this Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) Dear  Joan Xie, Thank you for fast reply.   Let me explain ​a little more.   <HW> - Soc is NXP mx6ull processor (MCIMX6Y2DVM09AB) - mmc0 is connected to Qualcomm BT/WiFi Combo chip (sdio connection) -> 132MHz, 1.8V - mmc1 connected to 8G eMMC  -> 132MHz, 1.8V   <mmc0>     # cat /sys/kernel/debug/mmc0/ios     clock:     132000000 Hz     actual clock:  132000000 Hz     vdd:      21 (3.3 ~ 3.4 V)     bus mode:    2 (push-pull)     chip select:  0 (don't care)     power mode:   2 (on)     bus width:   2 (4 bits)     timing spec:  6 (sd uhs SDR104)     signal voltage: 1 (1.80 V)     driver type:  0 (driver type B)   <mmc1>     # cat /sys/kernel/debug/mmc1/ios     clock:     132000000 Hz     vdd:      21 (3.3 ~ 3.4 V)     bus mode:    2 (push-pull)     chip select:  0 (don't care)     power mode:   2 (on)     bus width:   3 (8 bits)     timing spec:  9 (mmc HS200)     signal voltage: 1 (1.80 V)     driver type:  0 (driver type B)   <Description> - Communication with the eMMC connected to mmc1 is running at 132MHz, 1.8V and there are no issues. - The sdio communication with the BT/WiFi chip connected to mmc0 is also driven at 132MHz, 1.8V, but intermittent sdio communication errors occur.   More questions is loke below: 1. For eMMC(mmc1), it seems to be guaranteed for HS200 (132MHz/1.8V), but for SDIO(mmc0) it seems to be guaranteed only up to 104MHz in SDR104 mode. Check please? 2. If so, is the maximum sdio clock speed guaranteed by the mx6ull chip up to 104MHz?    (I would like to confirm whether the MX6ULL chip can guarantee SDIO 132MHz clock speed.) Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) Thank you for your fast reply. About question 1, I think I was a big mistaken. Sorry about that. And I checked that you  mentioned like below ""SD/SDIO UHS-I mode (up to 208 MHz in SDR mode, up to 50 MHz in DDR mode)" So, if we use sdr104 in mmc0, the maximum clock is 208MHz, so is it possible to guarantee a 132MHz clock? Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) 1. For eMMC(mmc1), it seems to be guaranteed for HS200 (132MHz/1.8V), but for SDIO(mmc0) it seems to be guaranteed only up to 104MHz in SDR104 mode. Check please? >refer to the data sheet, can up to the UHS-I SDR104 mode 104MB/s max, not 104Mhz max, refer to the RM: SD/SDIO UHS-I mode (up to 208 MHz in SDR mode, up to 50 MHz in DDR mode) 2. If so, is the maximum sdio clock speed guaranteed by the mx6ull chip up to 104MHz? (I would like to confirm whether the MX6ULL chip can guarantee SDIO 132MHz clock speed.) >you can refer to the data sheet, for SDR104, the frequency can up to the 200Mhz, we have tested SDR104 on the mmc0 up to the 198Mhz, refer to your log, it seems your mmc1 works under  HS200?you can measure the clock by oscilloscope Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) yes, you can refer to the dtsi file, which set the 132M as default, you also can dump the clock tree to check if the clock is 132Mhz or not Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) Thank you joanxie, I'll check more to see if it's actually a clock speed issue and ask again. Thanks. Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) I debugged the above content in SW. Please answer my questions after confirming the details. 1. Chip Errata for the i.MX 6ULL     "ERR010450 MMC: EMMC can only run under or equal to 150 MHz"     https://www.nxp.com/docs/en/errata/IMX6ULLCE.pdf        2. SW debug 1) error value define     include/uapi/asm-generic/errno.h:67:#define EILSEQ 84 /* Illegal byte sequence */ 2) EILSEQ setting location     - cmd         drivers/mmc/host/sdhci.c: sdhci_cmd_irq()             if (intmask & (SDHCI_INT_TIMEOUT | SDHCI_INT_CRC | SDHCI_INT_END_BIT | SDHCI_INT_INDEX)) {                 if (intmask & SDHCI_INT_TIMEOUT)                     host->cmd->error = -ETIMEDOUT;                 else                     host->cmd->error = -EILSEQ;                         - data         drivers/mmc/host/sdhci.c: sdhci_data_irq()             if (intmask & SDHCI_INT_DATA_TIMEOUT)                 host->data->error = -ETIMEDOUT;             else if (intmask & SDHCI_INT_DATA_END_BIT)                 host->data->error = -EILSEQ; 3) log     [418.109795] [sdhci_cmd_irq()] intmask = 0xa0001     [418.114178] [sdhci_data_irq()] intmask = 0x200002     [418.118999] AR6000: SDIO bus operation failed! MMC stack returned : -84     [418.125847] __HIFReadWrite, addr:0X000800, len:00000044, Read , Sync     [418.144284] Debug Assert Caught, File /usr/src/debug/kernel-module-qca9377/3.1-r0/git/CORE/SERVICES/HIF/sdio/linux/native_sdio/src/hif.c, Line: 1459, Test:status == A_OK || status == A_ECANCELED 3. SDHCI register 1) intmask value of sdhci_cmd_irq() is 0xa0001     Bit 0  (0x00001)😞 SDHCI_INT_RESPONSE  -> Command response OK     Bit 17 (0x20000)😞 SDHCI_INT_INDEX     -> Command index error     Bit 19 (0x80000)😞 SDHCI_INT_CRC       -> Command CRC error 2) intmask value of sdhci_data_irq() is 0x200002     Bit 1  (0x00002)😞 SDHCI_INT_DATA_END  -> Data OK     Bit 21 (0x200000)😞 SDHCI_INT_DATA_CRC -> Data CRC error 4. guess the casue     According to imx6ull Errata ERR010450,     "SDR104 at 1.8 V can only work below or equal to 150 MHz."     If it can operate at up to 150MHz, it seems likely that cmd/data CRC errors will occur at 132MHz due to timing margins caused by temperature/voltage fluctuations, etc. 5. Question     Currently, we are in a situation where we cannot adjust the value through HW tuning and must respond through SW.     It seems that lowering the sdio clock value can reduce or eliminate the CRC error rate. What is NXP's opinion? Thank you. Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) Dear joanxie, Based on what you provided, I tested using the register below. sdhci-esdhc-imx.c #define ESDHC_MIX_CTRL_SMPCLK_SEL (1 << 23) #define ESDHC_MIX_CTRL_AUTO_TUNE_EN (1 << 24) #define ESDHC_MIX_CTRL_FBCLK_SEL (1 << 25)     SMPCLK_SEL        0     AUTO_TUNE_EN   1     FBCLK_SEL            1 1. test 1     1) set AUTO_TUNE_EN 1 -> 0     2) log         [ 39.150703] AR6000: Unregistering with the bus driver     3) wlan0 registration fail         $ ifconfig wlan0 up         ifconfig: SIOCGIFFLAGS: No such device 2. test 2     1) set FBCLK_SEL 1 -> 0     2) log         [ 39.160750] AR6000: Unregistering with the bus driver     3) also wlan0 registration fail         $ ifconfig wlan0 up         ifconfig: SIOCGIFFLAGS: No such device 3. test 3     1) set AUTO_TUNE_EN 1 -> 0 && FBCLK_SEL 1 -> 0     2) System freezes during boot as shown in the log below         [ 18.834619] wlan: loading driver v4.5.25.65         [ 18.894917] hifDeviceInserted: Dumping clocks (50000000,132000000) I tried modifying and testing it by referring to articles in the NXP community, but I was not satisfied with the results. Please note. Thanks for your help Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) I consulted from wireless team, they have already verified WIFI with imx6ull via usdhc, and can set max clock is 150Mhz, so for imx6ull side, can support this, and I found some WIFI chip would affect autotunning, so I suggest that you can disable these registers to check, if these aren't your root cause, I suggest that you need check your HW and pcb design, if you couldn't confirm this, you can submit a ticket for SCHEMATIC review Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) I consulted from wireless team, they have already verified WIFI with imx6ull via usdhc, and can set max clock is 150Mhz, so for imx6ull side, can support this, and I found some WIFI chip would affect autotunning, so I suggest that you can disable these registers to check, if these aren't your root cause, I suggest that you need check your HW and pcb design, if you couldn't confirm this, you can submit a ticket for SCHEMATIC review Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) Dear joanxie, Thank you for fast reply. I'll let you know after check refer to your guide. Have a nice day and weekend! Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) this is what I talked about before, the detailed information about auto-tuning affect the failure https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/uSDHC-auto-tuning-and-possible-SDIO-failures/ta-p/1352855 Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) Dear joanxie, Thank you for your kind guide. I debugged this issue by referring to the link you provided. 1. patch 1    1) patch using refer to the link you provided       https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/uSDHC-auto-tuning-and-possible-SDIO-failures/ta-p/1352855 2. patch 2    1) add "fsl,sdio-async-interrupt-enabled" on dts file imx6ul-14x14-evk.dtsi: &usdhc1 { fsl,sdio-async-interrupt-enabled; //add this line     2)  below part is enabled sdhci-esdhc-imx.c: usdhc_auto_tuning_mode_sel() /* * If sdio device use async interrupt, it will use DAT[1] to signal * the device's interrupt asynchronous when use 4 data lines. * Then hardware auto tuning circuit MUST NOT check the DAT[1] line, * otherwise auto tuning will be impacted by this async interrupt, * and change the delay cell incorrectly, which then cause data/cmd * errors. * This is the hardware auto tuning circuit limitation. */ if (imx_data->boarddata.sdio_async_interrupt_enabled) auto_tune_buswidth = ESDHC_VEND_SPEC2_AUTO_TUNE_1BIT_EN; After patching the above, the problem was not reproduced through debugging. (sdio clock changing test(50MHz->100MHz->132MHz), ping test, iperf3 test etc..) Just one more question to confirm patch you guide. If I apply this patch, the problem will be fixed, but is there any possibility that it will have other effects on the sdio communication between mx6ull and the wifi chip?   Thank you for your support. Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) it's glad to hear these patch work, but in fact the new bsp already merge the, as I known, I don't hear any other exist issue between imx6ull and wifi chip Re: i.MX6ULL: Issue with 132MHz sdio clock out for BT+WiFi chip(Qualcomm QCA9377) Thank you joanxie, I aslo check another yocto version (imx-6.6.52, fslc-6.1.72) I found  similar patch like below on yocto scarthgap imx-6.6.52 version /* * For USDHC, auto tuning circuit can not handle the async sdio * device interrupt correctly. When sdio device use 4 data lines, * async sdio interrupt will use the shared DAT[1], if enable auto * tuning circuit check these 4 data lines, include the DAT[1], * this circuit will detect this interrupt, take this as a data on * DAT[1], and adjust the delay cell wrongly. * This is the hardware design limitation, to avoid this, for sdio * device, config the auto tuning circuit only check DAT[0] and CMD * line. */ if (imx_data->init_card_type == MMC_TYPE_SDIO) auto_tune_buswidth = ESDHC_VEND_SPEC2_AUTO_TUNE_1BIT_EN; esdhc_clrset_le(host, ESDHC_VEND_SPEC2_AUTO_TUNE_MODE_MASK, auto_tune_buswidth | ESDHC_VEND_SPEC2_AUTO_TUNE_CMD_EN, ESDHC_VEND_SPEC2); but not patched on yocto scarthgap fslc-6.1.72 version. I will check other yocto version using your guidance.  Thank you for support.
查看全文
李尔 - [S32K3] 利用 DMA 进行 SPI 异步传输 你好,团队、 李尔写道 ------------------------------------------------------------------------------------- 我们正在对一个需要控制许多 SPI 设备的用例进行微控制器可行性分析。我正在使用 S32K344 开发板,我已将 SPI4 和 SPI5 配置为定期与 5 台设备通信。我已经成功地使用中断模式采取了同步和异步写入措施,但在尝试使用 DMA 时却没有成功。 我按照 SPI UM 和 IM 中的提示进行了操作,也看了一些示例,但还是无法正常工作。 我附上了我的配置,信道16的DMA ISR产生了触发信号,但没有发送任何数据,而且由于中断标志未被清除,代码被卡在中断中。 能否支持我们通过 DMA 配置 SPI? -------------------------------------------------------------------------- 优先级:高 优先级:中等 RTD Re: Lear - [S32K3] SPI async transmission with DMA 你好@StefanoGattazzo 附件中的文件是空的,您能再检查一下吗? Re: Lear - [S32K3] SPI async transmission with DMA 您好 cuongnguyenphu, 我想,这种配置应该是 cjecked。 BR Stefano Re: Lear - [S32K3] SPI async transmission with DMA 你好@StefanoGattazzo 您是否为 Tx 和 Rx 使用了散射和收集配置? - 如果不使用 -> 请取消选中 Mcl/MclConfig/dmaLogicChannel_Type/dmaLogicChannel_EnableScatterGather 选项: - 如果使用 Scatter/Gather: 确保勾选为所有 ScatterGatherArrayType 启用 Scatter/Gather 配置: Re: Lear - [S32K3] SPI async transmission with DMA 您好 cuongnguyenphu, 李尔正在回答: -------------------------------------------------------------------------------------- 在只使用全局配置的情况下,我们可以使 SPI 异步与 DMA 配合使用,但这种配置会因 DMA ISR 而对 CPU 负载造成很大影响,因此这种配置对我们的特定用例没有用处。 这就是为什么我想让它在启用散射/散射选项的情况下工作,看看在这种模式下 CPU 负载是否会有所改善。我按照您的建议为所有 ScatterGatherArrayType 启用了 Scatter/Gather Config,但还是出现了同样的问题。由于 MCAL 文档不清楚,我在此附上项目配置,请与你们的 RTD 团队分享,看看他们能否帮助我们完成此配置。 ------------------------------------------------------------------------------------ BR 斯特凡诺 Re: Lear - [S32K3] SPI async transmission with DMA @StefanoGattazzo 在启用散射/聚集配置后,我建议您参阅以下章节 3.6.6 如何为序列配置 Dma 快速传输 章节。 我查看了该指令,配置 SpiEnableDmaFastTransfer 非常清楚。 我看到您使用 LPSPI_4 进行 Dma 快速传输,因此请按照此指南进行操作。 在您的配置中,我还发现一点,那就是 JobStartNotification 和 JobEndNotification 并不符合指南的要求: 序列中的 第一个作业只能支持 SpiJobStartNotification 和 SpiJobEndNotification Re: Lear - [S32K3] SPI async transmission with DMA 您好 cuongnguyenphu, 李尔回复: 用户手册中的信息是不够的。它没有详细说明如何配置 ScatterGatter 频道,我一直在尝试不同的配置,但无法连续发送多个频道。 请举例说明或详细说明每个 scatterGather 通道需要配置的参数。 Re: Lear - [S32K3] SPI async transmission with DMA 我正在为您创建一个 Scatter/Gather DMA 示例。这将被视为 BSSM 申请。 同时,请建议他们为 MCL 模块中的 Tx/Rx DMA 逻辑通道启用该节点:启用 DMA 请求。 此节点允许外围设备触发 DMA 请求 Re: Lear - [S32K3] SPI async transmission with DMA 您好 cuongnguyenphu, 李尔回答道: 难道不能召开一次调试会议,让我们审查配置,并由 RTD 团队支持我们进行测试吗? 请提供合适的时间段和与会者。 Pd:我已启用 DMA 请求,但没有任何变化。 BR Stefano Re: Lear - [S32K3] SPI async transmission with DMA @StefanoGattazzo 我通过电子邮件将示例发给了李尔 Re: Lear - [S32K3] SPI async transmission with DMA 您好 cuongnguyenphu, 请发送至 [email protected] 我在度假。 谢谢,BR Stefano Re: Lear - [S32K3] SPI async transmission with DMA @StefanoGattazzo 请帮我测试一下这个例子,然后再发给李尔。 我创建了 1 个序列 Lpspi_1,其中 1 个工作 2 个通道以 SPI DMA 快速传输方式发送。 请按照 description.txt 进行构建和导线连接
查看全文
ethtool --cable-test trx6 报告错误 在 S32G-VNP-RDB2 的板上,检查电缆 "100Base-T1 TRX6"。 电缆连接良好,ping 也正常,但电缆测试报告出错: root @s32g274ardb2:~# ethtool--cable-test trx6 已开始对设备 trx6 进行电缆测试。 设备 trx6 的电缆测试已完成。 A 组代码 未知 root@s32g274ardb2:~# ./mdiopfeng-emac-2 mmd 0x0a:01 raw 0x8330 0x2007 0x2007 表示:无法检测。那又是为什么呢? 测试电缆开路是否正常 root @s32g274ardb2:~# ethtool--cable-test trx6 已开始对设备 trx6 进行电缆测试。 设备 trx6 的电缆测试已完成。 对码 A开路 root@s32g274ardb2:~# ./mdiopfeng-emac-2 mmd 0x0a:01 raw 0x8330 0x2002 测试电缆短路是否正常 root @s32g274ardb2:~# ethtool--cable-test trx6 已开始对设备 trx6 进行电缆测试。 设备 trx6 的电缆测试已完成。 对子 A 代码对内短码 root@s32g274ardb2:~# ./mdiopfeng-emac-2 mmd 0x0a:01 raw 0x8330 0x2001 Re: ethtool --cable-test trx6 report error 1.请比较 SJA1110 的日志信息,检查固件是否安装成功。 [ 0.549758] gpio-24 (sja1110-rst-phy-t1): hogged as output/low [ 0.555190] gpio-81 (sja1110-rst-core): hogged as output/low [ 0.765003] sja1105 spi5.1:已检测开关芯片:SJA1110A [ 4.447316] SJA1105 SPI5.1:已检测开关芯片:SJA1110A [ 4.493501] SJA1105 SPI5.1:已检测开关芯片:SJA1110A [ 4.493844] sja1105 spi5.1:已检测交换机芯片:SJA1110A [ 6.500528] sja1110:加载树外模块会污染内核。 [ 6.506704] SPI 驱动程序 sja1110 没有 nxp 的 spi_device_id,sja1110-开关 [ 6.506721] SPI 驱动程序 sja1110 没有 nxp 的 spi_device_id,sja1110-uc [ 8.091140] sja1105 spi5.1:已检测开关芯片:SJA1110A [ 9.035134] SJA1105 SPI5.1 P1(未初始化):PHY [spi5.1-base-tx:01] PHY [spi5.1-base-tx:01] PHY [spi5.1-base-tx:01驱动程序 [NXP CBTX (SJA1110)] (irq=POLL) [ 9.058996] sja1105 spi5.1:配置为固定/2500base-x 链路模式 [ 9.062630] SJA1105 SPI5.1:Link is Up - 2.5Gbps/Full - flow control off [ 9.074566] sja1105 spi5.1 trx5(未初始化):PHY [spi5.1-base-t1:01] PHY [spi5.1-base-t1:01] PHY [spi5.1-base-t1:01驱动程序 [NXP C45 TJA1103] (irq=POLL) [ 9.088758] sja1105 spi5.1 trx6(未初始化):PHY [spi5.1-base-t1:02] (未初始化)驱动程序 [NXP C45 TJA1103] (irq=POLL) [ 9.128177] sja1105 spi5.1 trx7(未初始化):PHY [spi5.1-base-t1:03] (未初始化)驱动程序 [NXP C45 TJA1103] (irq=POLL) [ 9.165856] sja1105 spi5.1 trx8(未初始化):PHY [spi5.1-base-t1:04] (未初始化)驱动程序 [NXP C45 TJA1103] (irq=POLL) [ 9.336509] sja1105 spi5.1 trx9(未初始化):PHY [spi5.1-base-t1:05] (未初始化)驱动程序 [NXP C45 TJA1103] (irq=POLL) [ 9.372362] sja1105 spi5.1 trx10(未初始化):PHY [spi5.1-base-t1:06] (未初始化)驱动程序 [NXP C45 TJA1103] (irq=POLL) 2. 我测试了 Pair A 代码的 trx6 结果,它只能插入我的变流器设备中。 红色粗体字是命令:ethtool --cable-test trx6 的结果 命令 trx6 变流器从属 变流器大师 默认从属 从机 对 A 代码 OK A 组代码 未知 ethtool -s trx6 master-slave forced-master 主机 对 A 代码 OK 对 A 代码 OK 因此,如果 trx6 在从属服务器中,变流器在主服务器中,它会报告 Pai r A 代码未知, 这只是 trx6 的默认应用。 但是如果 trx6 处于主模式,则无论变流器是在主模式还是从机模式下运行,它都能正常运行 这真的有点奇怪。 3.您也可以尝试测试其他端口,例如作为 trx5 的端口。 trx5 和 trx6 完全相同 Re: ethtool --cable-test trx6 report error 你好,liujialu_2024 感谢您提供的信息和答复。 我使用默认的 BS42 进行测试。 这是 trx6 的测试结果。 root@s32g274ardb2:~# dmesg | grep -i"sja" [ 0.828889] sja1105 spi5.1:已检测开关芯片:SJA1110A [ 0.834314] sja1105 spi5.1:端口 2 根据 " phy-mode " 属性解释 RGMII 延迟设置,请更新设备树以指定 " rx-internal-delay-ps " 和 " tx-internal-delay-ps " [0.851072] sja1105 spi5.1: 端口 3 根据 " phy-mode " 属性解释 RGMII 延迟设置,请更新设备树以指定 " rx-internal-delay-ps " 和 " tx-internal-delay-ps " [4.876989] sja1105 spi5.1: 已检测开关芯片:SJA1110A [ 4.882428] SJA1105 SPI5.1:端口 2 根据 " phy-mode " 属性解释 RGMII 延迟设置,请更新设备树以指定 " rx-internal-delay-ps " 和 " tx-internal-delay-ps " [4.899197] sja1105 spi5.1: 端口 3 根据 " phy-mode " 属性解释 RGMII 延迟设置,请更新设备树以指定 " rx-internal-delay-ps " 和 " tx-internal-delay-ps " [5.053247] sja1105 spi5.1: 已检测开关芯片:SJA1110A [ 5.058672] SJA1105 SPI5.1:端口 2 根据 " phy-mode " 属性解释 RGMII 延迟设置,请更新设备树以指定 " rx-internal-delay-ps " 和 " tx-internal-delay-ps " [5.075441] sja1105 spi5.1: 端口 3 根据 " phy-mode " 属性解释 RGMII 延迟设置,请更新设备树以指定 " rx-internal-delay-ps " 和 " tx-internal-delay-ps " [5.092543] sja1105 spi5.1: 已检测开关芯片:SJA1110A [ 5.097958] sja1105 spi5.1:端口 2 根据 " phy-mode " 属性解释 RGMII 延迟设置,请更新设备树以指定 " rx-internal-delay-ps " 和 " tx-internal-delay-ps " [5.114723] sja1105 spi5.1: 端口 3 根据 " phy-mode " 属性解释 RGMII 延迟设置,请更新设备树以指定 " rx-internal-delay-ps " 和 " tx-internal-delay-ps " [7.103854] sja1110:加载树外模块会污染内核。 [ 7.117294] SPI 驱动程序 sja1110 没有 nxp 的 spi_device_id,sja1110-开关 [ 7.124319] SPI 驱动程序 sja1110 没有 nxp 的 spi_device_id,sja1110-uc [ 9.153856] sja1105 spi5.1:已检测开关芯片:SJA1110A [ 9.159387] SJA1105 SPI5.1:端口 2 根据 " phy-mode " 属性解释 RGMII 延迟设置,请更新设备树以指定 " rx-internal-delay-ps " 和 " tx-internal-delay-ps " [9.181619] sja1105 spi5.1: 端口 3 根据 " phy-mode " 属性解释 RGMII 延迟设置,请更新设备树以指定 " rx-internal-delay-ps " 和 " tx-internal-delay-ps " [9.430825] sja1105 spi5.1: 已检测开关芯片:SJA1110A [ 9.438127] SJA1105 SPI5.1:端口 2 根据 " phy-mode " 属性解释 RGMII 延迟设置,请更新设备树以指定 " rx-internal-delay-ps " 和 " tx-internal-delay-ps " [9.454444] sja1105 spi5.1: 端口 3 根据 " phy-mode " 属性解释 RGMII 延迟设置,请更新设备树以指定 " rx-internal-delay-ps " 和 " tx-internal-delay-ps " [9.732411] sja1105 spi5.1: 配置为固定/2500base-x 链路模式 [ 9.741123] SJA1105 SPI5.1:Link is Up - 2.5Gbps/Full - flow control off [ 9.808065] sja1105 spi5.1 p1(未初始化):PHY [spi5.1-base-tx:01] PHY [spi5.1-base-tx:01] PHY [spi5.1-base-tx:01驱动程序 [NXP CBTX (SJA1110)] (irq=POLL) [ 9.856358] sja1105 spi5.1 trx5(未初始化):PHY [spi5.1-base-t1:01] (未初始化)驱动程序 [NXP C45 TJA1103] (irq=POLL) [ 9.934013] sja1105 spi5.1 trx6(未初始化):PHY [spi5.1-base-t1:02] (未初始化)驱动程序 [NXP C45 TJA1103] (irq=POLL) [ 10.011587] sja1105 spi5.1 trx7(未初始化):PHY [spi5.1-base-t1:03] (未初始化)驱动程序 [NXP C45 TJA1103] (irq=POLL) [ 10.049845] sja1105 spi5.1 trx8(未初始化):PHY [spi5.1-base-t1:04] (未初始化)驱动程序 [NXP C45 TJA1103] (irq=POLL) [ 10.085888] sja1105 spi5.1 trx9(未初始化):PHY [spi5.1-base-t1:05] (未初始化)驱动程序 [NXP C45 TJA1103] (irq=POLL) [ 10.116363] sja1105 spi5.1 trx10(未初始化):PHY [spi5.1-base-t1:06] (未初始化)驱动程序 [NXP C45 TJA1103] (irq=Poll) [592.917267] sja1105 spi5.1 trx5:配置物理/内部链接模式 [772.869305] sja1105 spi5.1 trx6:配置物理/内部链接模式 [1143.821448] sja1105 spi5.1 p1:配置物理/内部链接模式 [1145.88055] 85] sja1105 spi5.1 p1:链接已启动——100Mbps/已满——流量控制已关闭 [1224.413285] sja1105 spi5.1 p2:配置固定/rgmii-txid 链接模式 [1224.418540] sja1105 spi5.1 p2:链路已启动-1Gbps/Full-流量控制已关闭 [1342.488176] sja1105 spi5.1 p2:链路已启动-1Gbps/Full-流量控制已关闭 [1342.488176] sja1105 spi5.1 p2:链接已启动-1Gbps/105 spi5.1 p1:链接是 向下 [1444.408700] sja1105 spi5.1 trx6:链接已启动——100Mbps/已满——流量控制关闭 [1471.624407] sja1105 spi5.1 trx6:链接已关闭 [1472.664709] sja1105 spi5.1 trx6:链接已启动-100Mbps/已满-流量控制关闭 @s32g274ardb2:~# ethtool--cabs le-test trx6 已开始对设备 trx6 进行电缆测试。 设备 trx6 的电缆测试已完成。 配对 A 代码 Open Circuit root @s32g274ardb2:~# ethtool--cable-test trx6 设备 trx6 已开始对设备 trx6 进行电缆测试 。 设备 trx6 的电缆测试已完成。 对 A 代码确定 6.6.32-rt32-00903-g49d9f8bb25e0 1.请比较 SJA1110 的日志信息,检查固件是否安装成功。 2. 我测试了 Pair A 代码的 trx6 结果,它只能插入我的变流器设备中。 3.您也可以尝试测试其他端口,例如作为 trx5 的端口。 希望这能帮到你。 BR 乔伊 Re: ethtool --cable-test trx6 report error 我的 T1-to-RJ45 设备: Re: ethtool --cable-test trx6 report error 1. 你测试过未修改的 BSP42 软件包吗? 使用电路板支持包 42.0 默认图像时,它也会报告错误。 root@s32g274ardb2:~# uname -r 6.6.32-rt32-00903-g49d9f8bb25e0 root @s32g274ardb2:~# ethtool--cable-test trx6 已开始对设备 trx6 进行电缆测试。 设备 trx6 的电缆测试已完成。 A 组代码 未知 root @s32g274ardb2:~# ethtool--cable-test trx6 已开始对设备 trx6 进行电缆测试。 设备 trx6 的电缆测试已完成。 对码 A开路 root @s32g274ardb2:~# ethtool--cable-test trx6 已开始对设备 trx6 进行电缆测试。 设备 trx6 的电缆测试已完成。 对子 A 代码对内短码 开仓和空仓测试依然有效。 Re: ethtool --cable-test trx6 report error 1. 你测试过未修改的 BSP42 软件包吗? v6.6.32 内核不支持 IPCF,因此我们需要 v5.15.158 内核。 2. 如何将 100Base-T1 端口更改为 eth 端口信号以进行 ping 测试,您使用的是哪种设备? 根据S32G2_LinuxBSP_42.0_User_Manual.pdf。 第 7.7.3 章 启用 SJA1110 DSA 驱动程序7.7.3 启用 SJA1110 DSA 驱动程序,要启用 SJA1110 的 DSA,然后 $ ifconfig trx6 down $ ifconfig trx6 192.168.2.123 up 我的电脑的 IP 地址是 192.168.2.211,所以 ping 可以正常工作了。 Re: ethtool --cable-test trx6 report error hi,liujialu_2024 感谢您提供的信息和提出的问题。 您能与我分享更多信息吗? 1. 你测试过未修改的 BSP42 软件包吗? 2.如何将 100 Base-T1 端口更改为 eth 端口信号以进行 ping 测试,您使用的是哪种设备? BR 乔伊 Re: ethtool --cable-test trx6 report error hi,liujialu_2024 感谢您的答复和信息。 因此,如果 trx6 在从属服务器中,变流器在主服务器中,它会报告 Pair A 代码未知。 >>>您如何测试从站/主站? BR 乔伊 Re: ethtool --cable-test trx6 report error 你好,刘佳璐 当设置ethtool -s trx6 主从强制主控时。 我认为应该将变流器设置为从机模式。使用 ethtool --cable-test trx6,T1 的 LED 会闪烁。 BR 乔伊 Re: ethtool --cable-test trx6 report error hi,liujialu_2024 感谢您的回复。 我帮你测试了 trx6 的从属模式。 root @s32g274ardb2:~# ip 链接设置 dev trx6 up root @s32g274ardb2:~# ethtool-s trx6 主从强制从机 根 @s32g274ardb2:~# ethtool--cable-test trx6//将变流器设置为主电缆测试已开始针对设备 trx6 进行测试。 设备 trx6 的电缆测试已完成。 配对代码 OK root@s32g274ardb2:~# ethtool --cable-test trx6   //变流器设置为从属设备 trx6 的电缆测试已开始。 设备 trx6 的电缆测试已完成。 对 A 代码 OK 当我使用 ethtool--cable-test trx6 的推荐时,T1 LED 还在闪闪发光。我们不使用相同的变流器设备。 BR 乔伊 Re: ethtool --cable-test trx6 report error 关于"Pair A 代码 未知", 谷歌人工智能答案: 常见原因 活动链路:在以太网插入已接通电源的千兆交换机时进行测试,可能会干扰测试结果;通常建议不要在活动链路上使用 TDR 模式。 以及"um549820-UM11107 Software User Manual for SJA1110(2.0).pdf" 6.9.2 电缆测试和 TDR 当两个链路伙伴均未进行传输时,PHY 可以检测双绞线之间的开路和短路。 电缆测试是否需要连接但不需要激活? 实际上,trx6 与 t1-变流器 相关联,当变流器的链接 LED 不闪烁时,是 " Pair A code OK "。 相反,当 LED 闪烁时,"Pair A 代码 未知"。 @Joey_z请帮助确认。谢谢。 Re: ethtool --cable-test trx6 report error # 在 rdb2 shell 中设置 trx6 $ ethtool-s trx6 主从强制从机 $ ethtool--cable-test trx6 t1-cable-test trx6 t1 转换器可以使用拨号开关切换主/从 机 Re: ethtool --cable-test trx6 report error 但当 trx6 处于主模式时 $ ethtool-s trx6 master-slave forced-master 它总是报告 " Pair A code OK ",不管变流器的 LED 是否闪烁
查看全文
应使用哪个 SDK 才能满足 FS32K144HAT0MMHT 的 ASIL B 标准? 在 FS32K144HAT0MMHT 微控制器上开发符合 ASIL-B 标准的固件时,推荐使用哪种软件开发工具包 (SDK)?此外,应遵循哪些特定的固件设计实践、功能安全机制和实施指南,以确保完全符合 ASIL-B? Re: Which SDK should be used to meet ASIL B standards for the FS32K144HAT0MMHT, and how can the firm 感谢您的回复。恩智浦网站提到 S32K144 支持某些 SCST 库。这些库的目的是什么,我们如何对其进行测试? Lib 链接:结构核心自测 (SCST) 库| 恩智浦半导体 Re: Which SDK should be used to meet ASIL B standards for the FS32K144HAT0MMHT, and how can the firm 嗨,@ARIVALAGAN、 SDK 的开发并不符合 ISO26262 标准,而是采用了质量管理流程。 您可以参考实时驱动程序 (RTD)。它们以AUTOSAR 应用为目标,完全符合 ISO 26262 标准。 关于设计实践、机制、实施等,请记住,这些考虑因素完全由客户决定,以及项目需要满足的功能安全标准,因为ASIL等级适用于整个ECU系统。我的同事在另一个社区主题中对此做了更详细的解释:已解决:是什么让 MCU 符合 ASIL 标准?- 恩智浦社区。 RTD 和 S32K1 均被设计为独立安全单元 (SEOOC),集成到 B 级以下的 ASIL 应用程序(S32K3 + RTD 最高可达 ASIL D)。因此,RTD 是一种旨在集成到应用程序中的软件,ASIL 级别取决于集成环境,使用的假设是功能安全软件包中提供的功能安全手册的一部分。 功能安全实施需要遵循一些文档、指南和软件,例如: AN14068-S32K3/S32K1 + FS23 硬件和功能安全应用-应用笔记 S32 框架提高车辆功能安全 | 恩智浦半导体 其余大部分文档在"Secure Files" 下。请遵循本指南:如何申请访问恩智浦的恩智浦微控制器和MPU功能安全文档。 致以最崇高的敬意, Julián。 Re: Which SDK should be used to meet ASIL B standards for the FS32K144HAT0MMHT, and how can the firm 嗨,@ARIVALAGAN、 SCST 符合 ISO 26262 功能安全标准,最高可达 ASIL B,目标诊断覆盖率 (DC) 为 90%。 所包含的测试涵盖了大部分内核指令,以及针对内核特定 IP 块的测试。主要是 核心控制逻辑(分支控制、异常控制) 核心数据路径包括 寄存器文件和寄存器复用 ALU、乘法器、加载/存储和其他执行单元。 指令解码器,16 位,32 位。 SIMD 逻辑 请记住,这是一款授权的高级软件。有关定价和订购的详细信息,请联系当地的恩智浦销售办事处。该软件包包括用户手册文档。 致以最诚挚的问候, Julián Re: Which SDK should be used to meet ASIL B standards for the FS32K144HAT0MMHT, and how can the firm 嗨,@ARIVALAGAN、 1.我无法与公众分享直接支持的联系方式。该空间严格用于技术支持。请改为联系您的代理商。 2.是的。SPD 是免费的标准软件,包含在硅片价格中: SW32K1-SPD-D 。请注意,SPD 需要特定的 RTD 软件包。它在版本说明文件中提到。 致以最诚挚的问候, Julián Re: Which SDK should be used to meet ASIL B standards for the FS32K144HAT0MMHT, and how can the firm 我还有一个疑问... 功能安全外设驱动器-FS32K144HAT0MMHT 免费吗 https://www.nxp.com/design/design-center/software/functional-safety-software/s32-safety-software-framework-saf-and-safety-peripheral-drivers-spd:SAF Re: Which SDK should be used to meet ASIL B standards for the FS32K144HAT0MMHT, and how can the firm 我能否获得技术支持团队在印度(钦奈和班加罗尔)的电子邮件 ID? Re: Which SDK should be used to meet ASIL B standards for the FS32K144HAT0MMHT, and how can the firm 如何使用 Design Studio 软件在 S32K1 RTD 驱动器中使用 SPD? 有适当的文件吗? 能否推荐任何支持 SPD 的 RTD 版本? Re: Which SDK should be used to meet ASIL B standards for the FS32K144HAT0MMHT, and how can the firm Hi@ARIVALAGAN SPD 不是免费的; 请联系您的代理商或恩智浦销售人员了解更多信息。 https://www.nxp.com/support/sample-and-buy/distributor-network:DISTRIBUTORS "我能否获得技术支持团队在印度(钦奈和班加罗尔)的电子邮件 ID?" 您可以咨询 TSR,了解这些地点是否提供恩智浦技术支持。 在线问答 https://www.nxp.com/support/support:SUPPORTHOME?tid=sbmenu
查看全文
[滥用] 发布者:@JohnKlug /板:imx-processors/举报人:srbacvj srbacvj 报告了 @JohnKlug 发布的帖子 Could not invoke dnf for external kernel module in Yocto kirkstone ,原因如下: 原因: 详情: < a href="https://tylkoastronomia.pl/node/9904"> http://prosti-proshay.ru/lyudi/pharmacy-online-1"> https://www.siriuspup.com/breeders/pharmacy-online-11"> https://stage.cc.radiant.digital/node/3046"> http://www.pajeroio.com/blog/pharmacy-online-0"> https://www.musicinafrica.net/newsfeed/213463/373133"> http://www.sccu.chula.ac.th/node/933"> < a href="https://www.lawtech.ru/subscribe/26816-16102025"> https://okwiki.ru/catalog/pharmacy-online"> < a href="https://neweddingday.com/your-couple-name-2333"> https://www.siriuspup.com/breeders/pharmacy-online-11"> http://xn--37-6kci4a9aahjr0a.xn--p1ai/pharmacy-online-ivanovo-8"> https://hetnieuweteamwerken.be/forums/forum/pharmacy-online-5"> https://www.jobwebby.ilovemarkso.com/domainasname-anthony-gmbh/pharmacy-online-6"> http://prosti-proshay.ru/lyudi/pharmacy-online-1"> https://www.intimus.pt/pharmacy-online-16"> https://www.intimus.pt/pharmacy-online-16"> https://dev.beautynbrushes.com/services-provided/tree-braids-maroonimmortalep"> https://whs6570.com/node/2099"> http://www.le-cercle-des-sourires.fr/session/3338"> < a href="https://www.jobwebby.ilovemarkso.com/domainasname-anthony-gmbh/pharmacy-online-6"> https://www.danduo168.com/en/artworks/693/pharmacy-online-0"> https://auc.org.ua/faq/29092025-0456"> https://jeunescathos-bxl.org/fr/content/pharmacy-online-54"> https://www.musicinafrica.net/newsfeed/213463/373133"> http://xn--37-6kci4a9aahjr0a.xn--p1ai/pharmacy-online-ivanovo-8"> https://masters.adminskiracing.com/node/413296"> https://slp.millingtonpubliclibrary.org/content/pharmacy-online-9"> < a href="https://tylkoastronomia.pl/node/9904"> https://fo-rum.auc.org.ua/faq/29092025-0042-1"> https://ruckup.org/caregivers-forum/topic/6386"> < a href="https://www.rapidservice.com.ec/es/content/pharmacy-online"> https://www.globalrealtor.co.in/node/4204"> < a href="https://whs6570.com/node/2099"> https://darkmetalmush.net/history/pharmacy-online-23"> https://www.thebiketube.com/f-moser-ann"> http://xn--80aah2bgapnqg.xn--p1ai/story/pharmacy-online-3"> https://stage.cc.radiant.digital/node/3046"> https://masters.adminskiracing.com/node/413296"> https://dev.worldwar1luton.com/forum-topic/pharmacy-online-5"> 发布链接: https://community.nxp.com/t5/i-MX-Processors/Could-not-invoke-dnf-for-external-kernel-module-in-Yocto/m-p/1627964#M203740 帖子作者 @JohnKlug|Email Author 报告人:srbacvj |Email Reporter 报告的帖子有 2 个回复。
查看全文
[S32K344MINI-EVB] 搭載デバッガ機能の確認 (K26 OpenSDA) NXPコミュニティの皆様、こんにちは。 S32K3シリーズの評価のため、S32K344MINI-EVBを購入予定です。 購入する前に、デバッグ インターフェースの要件を再確認して、正しく設定されていることを確認したいと思います。 私の理解: ブロック図とドキュメントによると、このボードにはK26 を使用した搭載デバッグインターフェースが含まれており、OpenSDA を使用する搭載デバッガーとして機能すると考えられます。 質問: S32 Design Studio を使用してS32K344MINI-EVB をフラッシュおよびデバッグするには、USB ケーブルだけが必要であることを意味しますか?(つまり、基本的な評価には Multilink や Lauterbach のような外部デバッガーは必要ありませんか?) この特定のボードには、注意する必要のある「ND (No Debugger)」バリアントや特別なジャンパーがないことを確認したいだけです。ご協力ありがとうございます! Re: [S32K344MINI-EVB] Confirming On-board Debugger Capabilities (K26 OpenSDA) ハイ 先週参加したトレーニング中に、同僚がこのボードの「ND (No Debugger)」バリアントについて言及しているのを聞きませんでした。 以前の S32K3X4EVB-T172 に関しては、当時 K26 が在庫切れだったため、「ND (デバッガーなし)」バリアントが存在していました。 新しく発売されたボードなのでまだ手元にありません。本日、S32K344MINI-EVB を注文しました。よろしければ、商品到着後に確認させていただきます。 よろしくお願いします、 ロビン --------------------------------------------------------------------------------- 注記: - この投稿があなたの質問への回答である場合は、「解決策として承認」ボタンをクリックしてください。ありがとう! - Threadは最後の投稿から7週間フォローされます。それ以降の返信は無視されます。 後ほど関連する質問がある場合は、新しいThreadを開いて、閉じたThreadを参照してください。 --------------------------------------------------------------------------------- Re: [S32K344MINI-EVB] Confirming On-board Debugger Capabilities (K26 OpenSDA) こんにちは、 ご返信ありがとうございます。返答をお待ちしています。ありがとう。 Re: [S32K344MINI-EVB] Confirming On-board Debugger Capabilities (K26 OpenSDA) 3日前にS32K344MINI-EVBボードを社内で注文しましたが、まだ発送されていません。いつ受け取れるかは不明ですので、お知らせします。 Re: [S32K344MINI-EVB] Confirming On-board Debugger Capabilities (K26 OpenSDA) K26 を備えた搭載デバッグインターフェースを備えた S32K344MINI-EVB を受け取りました。
查看全文
i.MX93 A55 の Zephyr こんにちは、 i.MX93 Cortex-A55 で Zephyr を実行するための例が提供されており、hello_world をビルドし、u-boot プロンプト経由で DDR で実行できます。 u-bootの使用は避けたいです。ATF コードを参照しましたが、bl31 のビルドのみがサポートされています。「BootROM -> ATF BL2 -> ATF BL31 -> Zephyr」を実現したいのですが、BL2 をビルドするためのリファレンスはありますか? また、hello_world の例を OCRAM で実行したいのですが、手順を教えていただけますか。また、ここでもブートローダーが必要ですか。それとも JTAG 経由でバイナリを OCRAM に直接ロードできますか。 ありがとうございます Re: Zephyr on i.MX93 A55 こんにちは、 DDR 上で、BootROM --> BL2 --> BL3 --> Zephyr の順で Zephyr を起動できます。 内部 RAM で zephyr を実行したいです。ここに何か参考になるものはありますか? ありがとうございます
查看全文
需要指导:NNStreamer (i.MX8MP) 上的 YOLOv8 输出形状不匹配 + 管道设计问题(微型 硬件和软件详情 i.mx8mPlus 和 Linux 电路板支持包 LF6.12.34_2.1.0 目标 我正在i.MX8MP 上构建一个命令行流水线(无图形用户界面),其中推理、叠加和显示均在 GStreamer 和 NNStreamer 中运行。 当前实验(命令行) 我试过这个管道:       gst_debug=gstreamer: 4、tensor_filter: 6、tensor_transform: 6、tensor_decoder: 7\ gst-launch-1.0--no-position\ v4l2src 设备=/dev/video4 num-buffers=200!\ video/x-raw,width=1920,height=1080,format=NV12,framerate=30/1 !\ imxvideoconvert_g2d !\ video/x-raw,width=320,height=320,format=RGBA !\ videoconvert !\ video/x-raw,width=320,height=320,format=BGR !\ tensor_converter !\ tensor_transform mode=arithmetic option=typecast:int8,add:-128 !\ tensor_filter framework=tensorflow-lite model=${MODEL}custom=Delegate:External,ExtDelegateLib:${VX_LIB}!\ tensor_transform mode=arithmetic option=typecast:float32,add:128.0,mul:0.004982381127774715!\ tensor_transform mode=transpose option=1:0:2 !\ tensor_decoder mode=bounding_boxes option1=yolov8 option2=${LABELS}option3=0 option4=1920:1080 option5=320:320 !\ cairooverlay name=overlay !\ videoconvert !\ autovideosink log file link LINK  ❗ 问题 我的 YOLOv8 TFLite 模型输出(1、7、2100),但 i.MX8MP 上的 NNStreamer 却显示7 × 2100 × 1。 我收到了这样的解释: YOLOv8 TFLite 型号的输出为(1,7,2100),而 NNStreamer 的 i.MX8MP YOLOv8 解码器的输出为 7×2100×1。此电路板支持包版本仅支持对四维张量进行转置,因此模型输出需要去量化,重塑为 (1,7,2100,1),然后进行转置。 输入: int8 [1, 320, 320, 3] 输出:int8 [1, 7, 2100] 刻度/零点 输出正确包含 3 个类别 + 4 个 bbox 值 ⚙️ 当前(缓慢)的方法 现在的申请流程是 GStreamer → BGR → OpenCV NPU 推断 OpenCV 后处理 返回 RTSP 管道 这会导致多个软件视频转换,在理想条件下,我们只能达到约 20 FPS,尽管模型本身可以运行 60 多 FPS。 🔄 建议的新方法 我想把管道分开: 路径 A - 推断 仅在此处转换 NV12 → BGR 运行 NNStreamer 路径 B - 叠加 + 显示 保留原始 NV12/YUY2 框架 直接在 NV12 上绘制边界框(最好使用硬件) → 将 NV12 送入编码器/RTSP → 完全避免软件视频转换 我首先想使用纯粹的 gst-launch 来制作这个原型,然后在 Python 中应用这种方法(可能使用 OpenGL 来实现 NV12 叠加层)。 🙏 我需要帮助 如何在 i.MX8MP 上将(1,7,2100) TFLite 输出重塑/转换为 NNStreamer 的 YOLOv8 解码器所需的格式 有只使用张量滤波器/变换/解码器的工作示例吗? 有没有解决三维输出问题的方法? 在 NV12/YUY2 上叠加的最佳做法 有什么 NNStreamer 友好的方法可以直接在 NV12 上绘制方框吗? 推荐元素(NV12 上的 cairooverlay?OpenGL?v4l2convert?imxvideoconvert_g2d 重叠?) 一般建议:在 i.MX8MP 上,分割管道(BGR 上的推理,NV12 上的叠加)是合理的架构方向吗? i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re: Need guidance: YOLOv8 output shape mismatch on NNStreamer (i.MX8MP) + pipeline design question ( 感谢您的快速回复,我之前曾尝试在 tensor_transform 中使用重塑,但返回错误。 root@imx8mpevk:~# export MODEL=/root/rtsp/testing1/saved_model_Triding_320.tflite root@imx8mpevk:~# export LABELS=/root/rtsp/testing1/labels.txt root@imx8mpevk:~# gst-用上市-1.0 --no-position v4l2src 设备=/dev/video4!video/x-raw,format=NV12,width=1920,height=1080,framerate=30/1 !imxvideoconvert_g2d !video/x-raw,width=320,height=320,format=RGBA !视频转换 !video/x-raw,width=320,height=320,format=BGR !张量转换器 !tensor_transform mode=arithmetic option=typecast:int8,add:-128 !tensor_filter framework=tensorflow-lite model=${MODEL} !tensor_transform mode=arithmetic option=typecast:float32,add:128.0,mul:0.004982381!tensor_transform mode=reshape option=1:7:2100:1 !tensor_transform mode=transpose option=1:0:2:3 !tensor_decoder mode=bounding_boxes option1=yolov8 option2=${LABELS} option3=0 option4=1920:1080 option5=320:320 !cairooverlay name=overlay !视频转换 !autovideosink ** 消息:14:56:17.877:accl = cpu **(gst-launch-1.0:1335):CRITICAL **:14:56:17.931:bb_getOutCaps: assertion 'config->info.info[0].type== _NNS_FLOAT32' 失败 ** (gst-launch-1.0:1335):CRITICAL **:14:56:17.931:bb_getOutCaps: assertion 'config->info.info[0].type== _NNS_FLOAT32' 失败 ** (gst-launch-1.0:1335):CRITICAL **:14:56:17.931:bb_getOutCaps: assertion 'config->info.info[0].type== _NNS_FLOAT32' 失败 ** (gst-launch-1.0:1335):CRITICAL **:14:56:17.935:bb_getOutCaps: assertion 'config->info.info[0].type== _NNS_FLOAT32' 失败 ** (gst-launch-1.0:1335):CRITICAL **:14:56:17.938:bb_getOutCaps: assertion 'config->info.info[0].type== _NNS_FLOAT32' 失败 ** (gst-launch-1.0:1335):CRITICAL **:14:56:17.939:bb_getOutCaps: assertion 'config->info.info[0].type== _NNS_FLOAT32'失败 警告:流水线错误:无法在元素"tensor_transform" 中设置属性"mode" ,以"重塑" root@imx8mpevk:~# 您能否建议修改流水线,以符合预期格式,并覆盖到 nv12 上。 或者我需要降级或升级我的 linux 电路板支持包 版本才能匹配它们。 如果可能,请测试管道并提供反馈。 感谢并问候 S Vishnu Re: Need guidance: YOLOv8 output shape mismatch on NNStreamer (i.MX8MP) + pipeline design question ( 你好 问题源于您的 YOLOv8 TFLite 模型输出形状(1,7,2100)与 i.MX8MP 上 NNStreamer 的 YOLOv8 解码器所期望的格式(7×2100×1)不匹配。出现这种情况的原因是: 1.您当前的电路板支持包版本 (LF6.12.34_2.1.0)仅支持 4D 张量的转置操作 2.模型输出需要重塑和转置,以符合解码器的预期 ## Recommended Solution For the tensor transformation, you need to apply: 1. Dequantization (if using quantized model) 2. Reshape the output from (1,7,2100) to (1,7,2100,1) 3. Transpose the tensor to the required format (7×2100×1) ## 管道优化 您建议的架构(拆分管道)是一种合理的方法: - 仅为推理转换 NV12 → BGR - 保留原始 NV12/YUY2 帧用于显示/编码 - 使用硬件加速直接在 NV12 上叠加检测结果 这将消除软件视频转换操作,实现更好的性能。 ## NV12 管道的推荐要素 在 NV12 上直接绘制边界框: - 使用具有叠加功能的 `imxvideoconvert_g2d` - 替代方法: `cairooverlay` 可与 NV12 配合使用,但可能需要格式调整 管道结构示例: ``` v4l2src → NV12 → tee → branch1:转换为 BGR → 推理 → 检测结果 branch2:原始 NV12 → imxvideoconvert_g2d(带叠加) → 编码器/显示器 ``` 通过消除不必要的格式转换,利用 NPU 60+ FPS 的能力,这种方法应能显著提高性能,超过当前约 20 FPS 的限制。 此致 Re: Need guidance: YOLOv8 output shape mismatch on NNStreamer (i.MX8MP) + pipeline design question ( 您好, 是的,你需要降级 Linux 电路板支持包。我想这应该能行,因为我们还没有在 Yolov8 中测试过管道。 此致 Re: Need guidance: YOLOv8 output shape mismatch on NNStreamer (i.MX8MP) + pipeline design question ( 我有一个更新,我在张量_变换元素中使用了模式维度变化(dimchg),以符合张量解码器的预期。 .... tensor_filter framework=tensorflow-lite model=../../vaishnavi/model_calibrated_int8_og_320.tflite custom=Delegate:External,ExtDelegateLib:libvx_delegate.so !tensor_transform mode=arithmetic option=typecast:float32,add:128.0,mul:0.004982381!tensor_transform mode=dimchg option=0:1 !tensor_decoder mode=bounding_boxes option1=yolov8 option2=labels_over.txt option3=0 option4=1920:1080 option5=320:320 !...... 感谢您的回复。 感谢和问候 Siddavatam Vishnu
查看全文