Multi Source Translation Content

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

Multi Source Translation Content

ディスカッション

ソート順:
S32K358 about Cache operation I am writing an S32K358 program in S32DS. To create an OTA upgrade program, I need to manipulate the internal FLASH. When I call the above function, I can compile it successfully, but I cannot find the above function by pressing CTRL+left mouse button. Is this normal? Screenshot 2026-09-15 141928.png Screenshot 2026-09-15 141953.png Re: S32K358 about Cache operation Hi @sunshine88, Can you try rebuilding the index? danielmartynek_0-1789469464382.pngdanielmartynek_0-1789469464382.png Thank you, BR, Daniel
記事全体を表示
S32K358 キャッシュ操作について S32DSでS32K358プログラムを作成しています。OTAアップグレードプログラムを作成するために、内部FLASHを操作する必要があります。上記の関数を呼び出すとコンパイルは正常に完了しますが、Ctrlキーを押しながらマウスの左ボタンを押しても上記の関数が見つかりません。これは正常な動作でしょうか? スクリーンショット 2026-09-15 141928.png スクリーンショット 2026-09-15 141953.png Re: S32K358 about Cache operation こんにちは@sunshine88 さん インデックスを再構築してみることはできますか? danielmartynek_0-1789469464382.pngdanielmartynek_0-1789469464382.png ありがとうございました。 BR、ダニエル
記事全体を表示
Does NXP official have a code routine for configuring external boot for S32K344 chip? Does NXP official have a code routine and tutorial for configuring external boot for S32K344 chip? We would like to configure the chip to boot from the SD card? Re: Does NXP official have a code routine for configuring external boot for S32K344 chip? In a nonsecure boot configuration - does the first bootloader run from ROM (is it immutable)? Can this first bootloader be configured to boot the subsequent bootloaders/application images from an external source/flash? Re: Does NXP official have a code routine for configuring external boot for S32K344 chip? This device does not offer an option to boot from external memory. Device supports secure and nonsecure boot modes but in both cases it is internal flash boot.
記事全体を表示
IW612のBluetoothが数日後にクラッシュする こんにちは、 ユーザーの一人から、murata LBES5PL2EL-923(IW612コア)のBluetooth機能に関するバグを報告がありました。BluetoothスタックがBluetooth静的RFCOMM/SPPでデバイスにコネクテッドすると数日後にクラッシュする現象です (元のレポートは公開されており、日本語版はhttps://armadillo.atmark-techno.com/forum/armadillo/31772で閲覧可能です。)) これに関して既知のバグはありますか? ソフトウェアのセットアップ: * Linux 6.12 は lf-6.12.49-2.2.0 に基づく(正確なソースツリー:https://github.com/atmark-techno/linux-6.12-at/tree/6.12.105-r0) これはBTの問題ですが、参考までにワイヤレスドライバーはmwifiex lf-6.12.49-2.2.0をベースにしています。 * ファームウェアをimx-firmwareリポジトリの最新版lf-6.18.20_2.0.0にアップデートしました。https://github.com/nxp-imx/imx-firmware/tree/lf-6.18.20_2.0.0/FwImage_IW612_SD * BlueZスタック(正確なバージョンを確認中です。申し訳ありませんが、確認し忘れていました。) * 基板は*Bluetooth classic*(BLEではない)で単一のデバイスに接続され、RFCOMM/SPPで接続されています。60秒ごとにアプリケーションはメッセージを送信し、返信(簡単なポーリング)を受け取ります。数日後にコマンドタイムアウトが入り、BTドライバが再起動します クラッシュ後に/sys/class/bluetooth/hci0/devcoredump/dataから取得したファームウェアダンプを添付しました。役に立つと仮定して、クラッシュまではdmesgにメッセージはありません(すみません、「FWダンプ開始」の前に短縮されているためタイムスタンプがなく、クラッシュ直後だったと理解しています)。 FWのリロード機構は動作しますが、再接続が必要なので、可能であれば対応が良いでしょう。 [ 0.000000] Linux version 6.12.105-0-at (builder@71056255c5a6) (aarch64-alpine-linux-musl-cc (Alpine 15.2.0) 15.2.0, GNU ld (GNU Binutils) 2.45.1) #1-Alpine SMP PREEMPT Mon Aug 24 07:48:35 UTC 2026 [...] [ 9.321032] wlan: version = SDIW612---18.99.8.p52-MM6X18540.p33-GPL-(FP92) [...] [ 10.349326] Bluetooth: hci0: FW already running. [ 38.303160] Bluetooth: MGMT ver 1.23 [170117.376944] Bluetooth: hci0: command tx timeout Bluetooth: hci0: ==== Start FW dump === Bluetooth: hci0: ==== FW dump complete === Bluetooth: hci0: Request Firmware: nxp/uartspi_n61x_v1.bin.se Bluetooth: hci0: FW Download Complete: 412940 bytes 分析に役立つその他の情報があれば、お尋ねください。 よろしくお願い申し上げます。 Re: IW612 bluetooth crash after a few days 1. HCIログも提供していただければ、どのコマンドがタイムアウトし、ファームウェアダンプが生成されているかを特定するのに役立ちます。 この件で具体的にどういう意味か教えていただけますか?実行後から実行できるコマンドはありますか?それともプロセスが実行されている間にhcidumpや同等のコマンドを実行すればよいのでしょうか? Wi-Fiドライバーの読み込みパラメータを入手> 3.To、/lib/firmware/nxp/wifi_mod_para.conf を教えてください。 このファイルは使わないので、ここでもデフォルトのパラメータを使うべきです。ログレベルをデフォルト値から下げたので、DMESGもあまり役に立たないでしょう(前回の返信でdmesgのリンクを送りました)。 この期間中にWi-Fiを使っているかどうか、ユーザーに確認してみます Re: IW612 bluetooth crash after a few days こんにちは、 @martinetd 1. HCIログも提供していただければ、どのコマンドが タイムアウトし、ファームウェアダンプが生成されているかを 特定するのに役立ちます 。 2. WLANが稼働している間にWLANベースのユースケースを教えてくれますが、ファームウェアダンプが生成されている間にWLANが正常に動作しているか確認してもらえますか? 3.To get Wi-Fiドライバー loading parameters, you can provide us the: /lib/firmware/nxp/wifi_mod_para.conf または、WiFiやBluetoothの読み込み全過程を含む 通常の起動DMESGログ を提供してもらえます。DMESGのログから情報を得ることができます。 4.現在、お客様が使用されているものよりも新しい公開されているGitHubファームウェアリリースはありません。 imx-firmware/FwImage_IW612_SD (lf-6.18.20_2.0.0) · nxp-imx/imx-firmware · GitHub ですので、これは既知の問題ではないと思います。 私たちは、ユースケースに関する情報やHCIログを多めに持っておきたいので、何が起こったかを追跡したり手順を再現したりして、ローカルで問題を再現できるようにしたいと考えています。 もしこの問題に関する他に情報があれば、ぜひ教えてください。 よろしくお願いいたします。 Christine。 Re: IW612 bluetooth crash after a few days こんにちは、 @Christine_Li さん、迅速なご返信ありがとうございます。 > 1.もしbtnxpuartドライバーを使っているなら、btnxpuart.cを教えてください。 私たちは、 https://github.com/nxp-imx/linux-imxで提供されている btnxpuart を使用しています。バージョン lf-6.12.49-2.2.0 に基づいており、正確なファイルはこちらでご覧いただけます https://github.com/atmark-techno/linux-6.12-at/blob/6.12.105-r0/drivers/bluetooth/btnxpuart.c 2. Wi-FiとBluetooth/802.15.4のコンボファームウェアを使用していますか?それとも、別々のファームウェアを使用していますか? 両方使っています:起動時にWi-FiドライバーがコンボFWを読み込み、クラッシュ後に別のFWをリロードします(だからログで別FWの名前を付けています)。 このクラッシュが発生したとき、コンボファームウェアがロードされていました(起動後の最初のクラッシュ)が、両方のファームウェアで再現すると理解しています。 >  3.Wi-FiとBluetoothドライバーの負荷パラメータを教えてもらえますか? 明示的に設定している唯一のWiFiパラメータはdrv_mode = 0x3で、使っていないWiFiダイレクトインターフェースを無効化します。Bluetoothパラメータは設定していません。もし正確な設定のダンプ方法を教えていただければ、ユーザーにコマンドを実行してもらい、情報を取得してもらうよう頼めます。 > 4.詳細な再現手順を教えていただけますか? これはユーザー報告に基づくものなので、説明したこと(数日間60秒ごとにRFCOMM接続をポーリングする)以上のことは言えません。チップが接続されているサブデバイスによって異なるのではないかと心配しています。 RFCOMM経由でpingを送ってローカルで再現できるデバイスを探してテストスクリプトを提供してみますが、今のところファームウェアやBTNXPUARTドライバの既知のバグが記載されたリリースノートは見つからなかったので、既知のバグがあるかどうか(そしてできればファームウェアのダンプから何か情報が得られるか)を確認したいです。 よろしくお願い申し上げます。 Re: IW612 bluetooth crash after a few days こんにちは、 @martinetd 1. Bluetooth用にNXPのBTNXPUARTドライバーを使っていますか?それともLinuxのオープンソースUartドライバを使っていますか? もしbtnxpuartドライバーを使っているなら、btnxpuart.cを教えてください。 2. Wi-FiとBluetooth/802.15.4のコンボファームウェアを使用していますか?それとも、個別のファームウェアを使用していますか? ログが下にあるのを見ているので、別のFWを使っているのではないかと疑っています。確認が必要です。 hci0: Request Firmware: nxp/uartspi_n61x_v1.bin.se 3. Wi-FiとBluetoothドライバーの負荷パラメータを教えてもらえますか? 4. 詳細な再現手順を教えていただけますか? よろしくお願いいたします。 Christine。 Re: IW612 bluetooth crash after a few days > * BlueZスタック(正確なバージョンを確認中です。申し訳ありませんが、確認し忘れていました。) 参考までに、BlueZ版は5.82です Re: IW612 bluetooth crash after a few days > btmon ご説明いただきありがとうございます。 クラッシュの再現には数日かかり、ログが大きくなるため、完全なログを保存・共有するのは現実的ではないかもしれません(1分で100KB見えるので、2日で約300MBになります)。 残念ながらbtmonにはtcpdumpのような「巡回記録」モードはないようですが、クラッシュ直前の数分だけに興味があるなら、顧客のログを5分ごとに2ファイル交互に表示して、最後の5分を記録できるようにリクエストできます。 (未テスト)といった形で、最後のサンプルを送ることは許容範囲でしょうか?(ただし、ランの間にイベントが記録されない短いウィンドウがあります...) I=0; while ! [ -e /sys/class/bluetooth/hci0/devcoredump/data ]; do timeout 300s btmon -K -t -w log.$I; I=$((I+1%3)); done > コアダンプが読み取れません 残念ですが、どうしようもありません。 このファイルは、FW ダンプ完了メッセージの後に /sys/class/bluetooth/hci0/devcoredump/data から読み取ったものです。もしこの方法が適切でない場合や、より有用なデータを取得する方法があれば喜んで対応しますが、今は btmon トレースに焦点を当てましょう。 よろしくお願い申し上げます。 Re: IW612 bluetooth crash after a few days こんにちは、 @martinetd 1. btmonの場合: ==>はい、サイズの都合で全工程を記録できれば、あなたが提案した方法が良いと思います。それに、それ以外に良いアイデアはありません。 2. ファームウェアダンプの場合: drvdbg=0xa0037でドライバーを読み込むことをおすすめします。これにより、より多くのfwダンプやドライバーのダンプログを記録して分析できます。   問題が発生しました   ログは以下のようにこのディレクトリに自動的に保存されます。   ======================================== [4221.173141]ディレクトリ /data/dump_4220 の作成エラー。/var にディレクトリを作成してみてください。 [4221.173147]ウェイクアップデバイス... [4221.173231]ディレクトリ /var/dump_4220 の作成に成功しました。 [4221.173232]ディレクトリ名は /var/dump_4220 です [ 4221.173233] === ドライバ情報開始 ダンプ=== [4221.173289]DRVダンプデータは/var/dump_4220/file_drv_infoにあります。 [4221.173306]ウェイクアップデバイス... [4221.173889]SDIO Func0 (0x0-0x9): 43 03 06 00 07 00 00 02 03 00 [4221.175173]SDIO 機能 1 (0x4-0xb): 00 00 00 00 ff ff ff ff [4221.175879]SDIO Func1: (0x4c) 00 (0x50) 08 (0x54) 07 (0x55) 0c (0x58) 10 (0x59) 00 (0x5c) 00 (0x5d) 00 [4221.176284]SDIO 機能 1 (0xc0-0xca): DC fe 96 00 31 11 00 37 37 02 20 [ 4221.177301] | [4221.275861]SDIO Func1 (0xc0-0xca): DC fe a1 00 3b 00 00 37 37 02 20 [4221.276501]ドライブ情報の合計バイト数 = 263150 (0x403ee) [ 4221.276503] === ドライバー情報ダンプ 終了===ウェイクアップ装置... [ 4221.276555] ==== デバッグモード出力開始: 4220.878602 === ====================================================   ダンプが「/var」や「/data」で自動生成されていない場合は、以下の「cat /proc/mwlan/adapter0/fw_dump > file_fw_dump」コマンドを使って手動で収集できます。     2. DMESGログにディレクトリが印刷されていないか、あなたの場合はログレベルが下がっている場合は、以下の方法で登録してください:   - echo debug_dump > /proc/mwlan/adapter0/config しばらく(1~2分)お待ちください。 fw_dumpの場合: - cat /proc/mwlan/adapter0/fw_dump > file_fw_dump drv_dumpの場合: cat /proc/mwlan/adapter0/drv_dump > file_drv_dump   このようなFWクラッシュ問題に対して、btmonログはお客様のユースCASEや問題シナリオをよりよく理解するための拡張ログです。FW_dumpは私たちにとって最も重要なログです。   また、前述の通り、このテスト中にお客様にWi-Fiのユースケースについても尋ねてください。   よろしくお願いいたします。 Christine。 Re: IW612 bluetooth crash after a few days BTmonについては了解しました。リクエストしてみます(Wi-Fiの使用状況についても質問します)。 まずファームウェアのダンプについて確認させてください。私が取得したダンプはBluetoothのダンプでしたが、あなたが説明しているのはワイヤレスのダンプのようですね。 お客様からのトレースではWiFiドライバはクラッシュしなかったので、drvdbg=は効果がないのではないかと思います。 また、結合ファームウェアの場合(「echo debug_dump > /proc/mwlan/adapter0/config」)でワイヤレスファームウェアが必要な場合、問題はBTドライバーが自動的に新しいファームウェアをリロードし、アダプターを再起動してしまうため、これを動作させるにはファームウェアの読み込みを無効にする必要があることです ダンプは分析に有用だと思います。もしダンプの入手方法を修正できるなら、まず知りたいです。何をすべきかが明確になったら、一度にお客様にすべて尋ねます よろしくお願いします。 Re: IW612 bluetooth crash after a few days こんにちは、 @martinetd この件で具体的にどういう意味か教えていただけますか?実行後から実行できるコマンドはありますか?それともプロセスが実行されている間にhcidumpや同等のコマンドを実行すればよいのでしょうか? ==>hciログは、以下のコマンドでBluetooth/BLEを有効にする後にキャプチャ可能です: btmon -w failed_snoop.log & その後、顧客は再現手順を実行し、この問題を再現しようとします。 failed_snoop.log には、Bluetooth/BLE のすべてのプロセスが記録されます。 問題が再現されたら、このログを確認して実行されているコマンドやイベント情報を把握し、関連する疑いを見つけることができます。 これは、ファイアウォールがクラッシュした後に失敗したログを実行して取得するためのコマンドではありません。 ところで、提供された fw ダンプ bin ファイルfw_devcorecump.binを復号化するために、社内の専門家チームに協力を依頼しました。しかし残念ながら、復号がうまく解読できていません。ファイルが破損しているか、データが不足しているため復号できないようです。 よろしくお願いいたします。 Christine。 Re: IW612 bluetooth crash after a few days こんにちは、 @martinetd はい、おっしゃる通りです。 この問題の再現が難しいため、必要なログをすべて取得することを推奨します。 社内チームに確認したところ、BSP 6.12.34以降では、btnxpuartカーネルモジュールがIW612ナローバンドファームウェアが停止していることを検出するとのことです。狭帯域CPUをリセットして再度ダウンロードすることで、自動的に復旧プロセスが開始されます。BTファームウェアのダンプは自動的に生成されます。コマンドのタイムアウトが発生した時点で生成されます。 だから、あなたの言う通りです。Wi-Fiダンプは不要です。BTファームウェアダンプと、可能であればhciログのみを提供してください。また、WiFiのユースケースやシナリオについても、ぜひご協力ください。 よろしくお願いいたします。 Christine。
記事全体を表示
ARINC615A 数据加载,使用 JTAG 访问密码保护 当未安装 HSE 固件时,可以使用CUST_DB_PSWD_A字段和设备生命周期配置来限制 S32K3 上的 SWD/JTAG 访问。假设更新是由应用程序或引导加载程序软件处理,而不是通过调试接口处理,启用此密码保护是否会对向处理器执行 ARINC 615A 软件数据加载产生任何影响? Re: ARINC615A Data loading with JTAG Access password protected CUST_DB_PSWD_A 仅限制 SWD/JTAG 调试访问。我不熟悉您的 ARINC 615A 实现的细节,但如果软件加载完全由您的应用程序或引导加载程序处理,我认为调试密码本身不会产生任何影响。 最终,这是特定应用,取决于 ARINC 615A 在您的系统中是如何实现的。如果更新机制不使用调试接口,则调试访问限制通常应独立于软件加载过程。任何其他限制都将取决于您的生命周期配置和应用程序网络安全设计。
記事全体を表示
在 S32 Design Studio for Power Architecture v2.1 中,PEmicro GDB 启动失败 您好, 我正在测试的电路板是 MTRCKTSPS5744P(带有 MPC5744P MCU 的三相 PMSM 电机控制开发套件)。 不知何故,下载过程不太顺利。 点击调试按钮后,下载失败,此时会弹出此窗口。 eunwoo_lee_0-1789496057004.png 弹出一个窗口,显示此错误信息。 服务启动序列错误 PEmicro GDB 启动失败:GDB 服务器无法与目标处理器建立连接。请检查您的连接和电源。请确认调试配置中的启动设置是否准确。 控制台面板显示此消息。 来自“127.0.0.1”的连接,通过 127.0.0.1。从端口“53438”到7224的连接 PE错误:警告。部件运行时无法读取寄存器。 PE错误:警告。部件运行时无法读取内存。@0(4 字节) PE错误:警告。部件运行时无法读取内存。@0(4 字节) PE错误:警告。部件运行时无法读取寄存器。 PE错误:警告。部件运行时无法读取内存。@0(4 字节) PE错误:警告。部件运行时无法读取内存。@0(4 字节) PE错误:警告。部件运行时无法写入二进制文件。40001000 - 长度:0 - 值:二进制数据 PE错误:警告。部件运行时无法写入二进制文件。40001000 - 长度:460 - 值:二进制数据 PE错误:警告。部件运行时无法写入二进制文件。40001460 - 长度:460 - 值:二进制数据 PE错误:警告。部件运行时无法写入二进制文件。400018c0 - 长度:460 - 值:二进制数据 PE错误:警告。部件运行时无法写入二进制文件。40001d20 - 长度:2e0 - 值:二进制数据 PE错误:GDB客户端处理:发生异常:程序异常! 异常类:EIDCONNCLOSEDGRACEFULLY 消息:连接已正常关闭。 地址 0X0046EA89 通过 127.0.0.1 与“127.0.0.1”断开连接。通过端口“53438”与7224断开连接 目标设备已断开连接。 你知道有什么办法解决这个问题吗? 谢谢。 Re: PEmicro GDB Launch Failure in S32 Design Studio for Power Architecture v2.1 你好, 你知道有什么办法解决这个问题吗? 正如消息中所述,您无法在运行时写入/读取寄存器。首先在调试器中停止代码执行,然后才能修改寄存器、内存等…… MPC5744P 正在运行用户代码,P&E 探针无法停止设备,因此所有内存/寄存器访问均失败,下载操作中止。 这看起来不像是一个闪存编程问题,而更像是调试器在下载之前未能停止 MPC5744P 的运行。 例如,微控制器中是否存在启用了 SWT0 的软件? 或者这是一个没有运行任何软件的全新样本? 顺祝商祺! Peter
記事全体を表示
S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_2025 不支持 HB200x AUTOSAR R21-11 版本 0.8.0 您好,NXP, 我尝试将 HB200x AUTOSAR 规范 SDK 集成到 S32 Design Studio 中,但收到以下错误消息: 问题:在工具链/IDE 项目中找不到 Mc33hb。该项目无法编译! 级别:错误 类型:验证 工具:工具链/IDE 项目 来源:外围设备 目标:工具链/IDE 项目:M7_0 资源:platform.driver.mc33hb 甚至包括 CDD_Mb33Hb.c 文件在 S32 Design Studio 应用程序 (v3.6.4) 中安装 SDK 时,尚未添加 CDD_Mb33Hb.h 等文件。 Re: HB200x AUTOSAR R21-11 Version 0.8.0 not supported by S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_ 你好, 您似乎使用了错误的RTD版本。根据 HB200x AUTOSAR R21-11 0.8.0 发行说明,该软件可以基于 SW32K3_RTD_4.4_R21-11_3.0.0_D2303_DS_updatesite.zip 使用(该软件需要安装在 S32 Design Studio IDE v3.5 中)。 PetrS_0-1789471295419.pngPetrS_0-1789471295419.png BR,彼得
記事全体を表示
PEmicro GDB Launch Failure in S32 Design Studio for Power Architecture v2.1 Hi, The board I am testing is MTRCKTSPS5744P (3-Phase PMSM Motor Control Development Kit with MPC5744P MCU). For some reason, the download process doesn't go well. This window pops up after failure in downloading when I click debug button. eunwoo_lee_0-1789496057004.png An window pops up showing this error message. Error in services launch sequence PEmicro GDB Launch Failure : The GDB Server was not able to establish a connection to the target processor. Please check your connections and power. Verify that the launch settings in the Debug Configuration are accurate. Console panel displays this message. Connection from "127.0.0.1" via 127.0.0.1. Connection from port "53438" to 7224 PE-ERROR: Warning. Can't read registers while part is running. PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes) PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes) PE-ERROR: Warning. Can't read registers while part is running. PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes) PE-ERROR: Warning. Can't read memory while part is running. @0 (4 bytes) PE-ERROR: Warning. Can't Write Binary while part is running. 40001000 - Length of: 0 - Value of: Binary Data PE-ERROR: Warning. Can't Write Binary while part is running. 40001000 - Length of: 460 - Value of: Binary Data PE-ERROR: Warning. Can't Write Binary while part is running. 40001460 - Length of: 460 - Value of: Binary Data PE-ERROR: Warning. Can't Write Binary while part is running. 400018c0 - Length of: 460 - Value of: Binary Data PE-ERROR: Warning. Can't Write Binary while part is running. 40001d20 - Length of: 2e0 - Value of: Binary Data PE-ERROR: GDB Client Processing : Exception Occured : PROGRAM EXCEPTION! EXCEPTION CLASS: EIDCONNCLOSEDGRACEFULLY MESSAGE: CONNECTION CLOSED GRACEFULLY. ADDRESS 0X0046EA89 Disconnected from "127.0.0.1" via 127.0.0.1. Disconnection by port "53438" from 7224 Target Disconnected. Is there any solution you know for this problem? Thanks. Re: PEmicro GDB Launch Failure in S32 Design Studio for Power Architecture v2.1 Hello, Is there any solution you know for this problem? As the message explains you cannot write/read registers on the fly. First stop the execution of the code in debugger and then you can modify the registers, memory, etc... The MPC5744P is running user code and the P&E probe is unable to halt the device, therefore all memory/register accesses fail and the download operation aborts. This looks less like a flash programming problem and more like a debugger failing to halt the MPC5744P before download. Is there for example SW with SWT0 enabled in the microcontroller? Or is it a fresh sample with no SW running? Best regards, Peter
記事全体を表示
IW612蓝牙连接几天后崩溃 你好, 一位用户向我们报告了 Murata LBES5PL2EL-923(IW612 内核)蓝牙功能的一个缺陷:通过蓝牙静态 RFCOMM/SPP 连接设备几天后,蓝牙协议栈会崩溃。 (原始报告已公开,可在以下网址以日语查看:https://armadillo.atmark-techno.com/forum/armadillo/31772)) 关于这个问题,目前已知有哪些漏洞? 软件设置: * 基于 lf-6.12.49-2.2.0 的 Linux 6.12(确切的源代码树: https://github.com/atmark-techno/linux-6.12-at/tree/6.12.105-r0 ) 这是一个蓝牙问题,但以防万一,无线驱动程序基于 mwifiex lf-6.12.49-2.2.0。 * 固件已从 imx-firmware 仓库更新至最新版本 lf-6.18.20_2.0.0 https://github.com/nxp-imx/imx-firmware/tree/lf-6.18.20_2.0.0/FwImage_IW612_SD * BlueZ 软件包(目前正在确认确切版本,抱歉我忘了问) * 该板通过 *经典蓝牙*(非 BLE)连接到单个设备,采用 RFCOMM/SPP。每隔 60 秒,应用程序发送一条消息并收到回复(简单轮询)。几天后出现命令超时,蓝牙驱动程序重启。 我附上了一个固件转储文件(崩溃后从 /sys/class/bluetooth/hci0/devcoredump/data 获取),假设它有用的话,在崩溃之前 dmesg 中没有任何消息(很抱歉,在“开始固件转储”消息之前的内容被截断了,所以没有时间戳,我的理解是崩溃发生后立即发生的)。 FW 重新装弹机制可以工作,但这需要重新连接,所以如果可能的话,最好解决这个问题。 [ 0.000000] Linux version 6.12.105-0-at (builder@71056255c5a6) (aarch64-alpine-linux-musl-cc (Alpine 15.2.0) 15.2.0, GNU ld (GNU Binutils) 2.45.1) #1-Alpine SMP PREEMPT Mon Aug 24 07:48:35 UTC 2026 [...] [ 9.321032] wlan: version = SDIW612---18.99.8.p52-MM6X18540.p33-GPL-(FP92) [...] [ 10.349326] Bluetooth: hci0: FW already running. [ 38.303160] Bluetooth: MGMT ver 1.23 [170117.376944] Bluetooth: hci0: command tx timeout Bluetooth: hci0: ==== Start FW dump === Bluetooth: hci0: ==== FW dump complete === Bluetooth: hci0: Request Firmware: nxp/uartspi_n61x_v1.bin.se Bluetooth: hci0: FW Download Complete: 412940 bytes 如有其他有助于分析的信息,请提出。 谢谢 Re: IW612 bluetooth crash after a few days 1.能否提供HCI日志,以便我们确定是哪个命令超时并生成了固件转储? 您能解释一下您这句话的意思吗?事后是否有命令可以运行,还是应该运行 hcidump 或类似命令来转储进程运行时的所有命令? 3. 要获取 Wi-Fi 驱动程序加载参数,您可以提供以下文件:/lib/firmware/nxp/wifi_mod_para.conf 我们不会使用此文件,因此这里也应该使用默认参数。我们已经将日志级别从默认值降低了,所以 dmesg 在这里也帮不上什么忙(我在之前的回复中已经发送了 dmesg 的链接)。 我会向用户确认他们在此期间是否使用无线网络。 Re: IW612 bluetooth crash after a few days 嗨, @martinetd 1.能否提供HCI日志,以便我们确定是哪个命令超时并生成了固件转储? 2.请提供基于WLAN的使用案例,在WLAN运行的情况下,检查在生成固件转储文件时WLAN是否工作正常? 3.要获取Wi-Fi驱动程序加载参数,您可以提供以下文件:/lib/firmware/nxp/wifi_mod_para.conf 或者您可以向我们提供正常的启动 dmesg 日志,其中包含 WiFi/蓝牙加载的整个过程。我们可以从 dmesg 日志中获取信息。 4.目前,我们没有比您正在使用的版本更新的公开 GitHub 固件版本: imx-firmware/FwImage_IW612_SD at lf-6.18.20_2.0.0 · nxp-imx/imx-firmware · GitHub 所以,我认为这不是一个已知问题。 我们希望获得更多与用例和 HCI 日志相关的信息,以便跟踪发生了什么或重现步骤,从而使我们能够在本地重现问题。 如果您还有其他与此问题相关的信息,请与我们分享。 顺祝商祺! Christine。 Re: IW612 bluetooth crash after a few days 嗨@Christine_Li,谢谢你的快速回复。 > 1.如果您正在使用 btnxpuart 驱动程序,请提供 btnxpuart.c 文件。 我们正在使用https://github.com/nxp-imx/linux-imx中提供的 btnxpuart。基于 lf-6.12.49-2.2.0 版本,您可以在这里找到确切的文件:https://github.com/atmark-techno/linux-6.12-at/blob/6.12.105-r0/drivers/bluetooth/btnxpuart.c > 2. 您使用的是 Wi-Fi 和蓝牙/802.15.4 组合固件吗?还是使用的是单独的固件? 我们同时使用了这两种方式:wifi 驱动程序在启动时加载组合固件,崩溃后重新加载单独的固件(因此日志中会将单独的固件命名为“单独的固件”)。 发生此次崩溃时,组合固件已加载(启动后首次崩溃),但据我了解,两种固件都会出现此问题。 > 3.请问您能否提供一下您的 Wi-Fi 和蓝牙驱动程序加载参数? 我们明确设置的唯一 wifi 参数是 drv_mode = 0x3,用于禁用我们不使用的 wifi direct 接口;我们没有设置任何蓝牙参数。如果你能告诉我如何导出确切的设置,我可以让我们的用户运行命令来获取这些信息。 > 4.请问您能否提供详细的重现步骤? 由于这是基于用户报告,我只能描述一下(RFCOMM 连接每 60 秒轮询一次,持续几天);恐怕这可能取决于芯片实际连接的子设备。 我会尝试找一个可以通过 RFCOMM ping 通的设备,并在本地重现问题,以便为您提供测试脚本(如果需要的话)。但目前我找不到任何关于固件/btnxpuart 驱动程序已知错误的发布说明,所以我想确认是否存在已知错误(也希望您能从固件转储中获取任何信息)。 谢谢 Re: IW612 bluetooth crash after a few days 嗨, @martinetd 1.您是否正在使用我们NXP的btnxpuart蓝牙驱动程序?或者您使用的是Linux开源UART驱动程序? 如果您正在使用 btnxpuart 驱动程序,请提供 btnxpuart.c 文件。 2.您使用的是Wi-Fi和蓝牙/802.15.4组合固件吗?还是使用的是单独的固件? 因为我看到你的日志如下所示,所以我怀疑你使用了单独的固件,需要和你再次确认。 hci0: Request Firmware: nxp/uartspi_n61x_v1.bin.se 3.请问您能否提供一下您的 Wi-Fi 和蓝牙驱动程序负载参数? 4.请问您能否提供详细的重现步骤? 顺祝商祺! Christine。 Re: IW612 bluetooth crash after a few days >> * BlueZ 软件包(目前正在确认确切版本,抱歉我忘了问) 如果这很重要的话,BlueZ 版本是 5.82。 Re: IW612 bluetooth crash after a few days 嗨, @martinetd 1.对于 btmon: 是的,如果出于文件大小的考虑,我们可以记录整个过程,那么我认为你推荐的方法是个好主意。而且,我们也没有比这更好的主意了。 2. 对于固件转储: 我建议使用drvdbg=0xa0037加载驱动程序,这样可以记录更多固件转储和驱动程序转储日志以供分析。   问题发生   日志将自动保存到如下所示的目录中:   ======================================== [ 4221.173141]创建目录 /data/dump_4220 时出错,请尝试在 /var 中创建目录 [ 4221.173147]唤醒设备…… [ 4221.173231]目录 /var/dump_4220 创建成功 [ 4221.173232]目录名称为 /var/dump_4220 [ 4221.173233] === 开始驱动程序信息转储 === [ 4221.173289]DRV 转储数据位于 /var/dump_4220/file_drv_info 中 [ 4221.173306]唤醒设备…… [ 4221.173889]SDIO 功能 0 (0x0-0x9): 43 03 06 00 07 00 00 02 03 00 [ 4221.175173]SDIO 功能 1 (0x4-0xb): 00 00 00 00 ff ff ff ff [ 4221.175879]SDIO Func1: (0x4c) 00 (0x50) 08 (0x54) 07 (0x55) 0c (0x58) 10 (0x59) 00 (0x5c) 00 (0x5d) 00 [ 4221.176284]SDIO Func1 (0xc0-0xca): 直流铁 96 00 31 11 00 37 37 02 20 [ 4221.177301] | [ 4221.275861]SDIO Func1 (0xc0-0xca): 直流 fe a1 00 3b 00 00 37 37 02 20 [ 4221.276501]驱动程序信息总字节数 = 263150 (0x403ee) [ 4221.276503] === 驱动程序信息转储结束 === 唤醒设备... [ 4221.276555] ==== 调试模式输出开始:4220.878602 === ====================================================   如果转储文件没有自动生成在“/var”或“/data”目录下,则可以使用以下“ cat /proc/mwlan/adapter0/fw_dump > file_fw_dump”命令手动收集。     2. 如果您检查后发现 dmesg 日志中没有打印目录信息,或者您降低了日志级别,请按以下方式获取:   - echo debug_dump > /proc/mwlan/adapter0/config - 稍等片刻(1 或 2 分钟) 对于 fw_dump: - cat /proc/mwlan/adapter0/fw_dump > file_fw_dump 对于 drv_dump: cat /proc/mwlan/adapter0/drv_dump > file_drv_dump   对于此类固件崩溃问题,btmon 日志是扩展日志,以便更好地了解客户的使用案例和问题场景。FW_dump 是我们最重要的日志文件。   另外,正如之前讨论过的,请在此测试期间询问您的客户有关 WiFi 使用情况。   顺祝商祺! Christine。 Re: IW612 bluetooth crash after a few days 好的,对于btmon,我会提出请求(并询问有关wifi使用情况)。 不过我首先想确认一下固件转储:我得到的转储是蓝牙转储,但你描述的似乎是无线转储。 根据客户提供的跟踪信息,WiFi驱动程序似乎没有崩溃,所以我认为drvdbg=在这里不会起作用? 另外,如果您确实需要在合并固件的情况下获取无线固件(使用 `echo debug_dump > /proc/mwlan/adapter0/config`),问题在于蓝牙驱动程序会自动重新加载新固件并重启适配器,因此我们需要禁用固件加载才能使其正常工作。 我同意拥有转储文件对分析很有帮助,所以如果可以改进获取转储文件的方式,我想先了解一下。等我们明确了该怎么做之后,我会一次性向客户询问所有情况。 谢谢! Re: IW612 bluetooth crash after a few days > btmon 谢谢你的澄清。 崩溃需要几天时间才能重现,而且考虑到日志文件的大小(我看到一分钟后就有 100KB,所以两天后大约有 300MB),恐怕存储/共享完整的日志文件不太实际。 遗憾的是,btmon 似乎没有像 tcpdump 那样的“循环记录”模式,但如果您只对崩溃前几分钟的情况感兴趣,我可以请求我们的客户每隔 5 分钟交替提供两个日志文件,这样我们就能获得最后 5 分钟的数据了。 像(未经测试的)那样寄送最后一批样品是否可以接受?(请注意,在两次运行之间会有一小段时间不会被记录事件……) I=0; while ! [ -e /sys/class/bluetooth/hci0/devcoredump/data ]; do timeout 300s btmon -K -t -w log.$I; I=$((I+1%3)); done > 核心转储文件无法读取 好吧,这很遗憾,但对此也无能为力。 该文件是在固件转储完成消息之后从 /sys/class/bluetooth/hci0/devcoredump/data 读取获得的。如果这样做不合适,或者有更好的方法来获取有用的数据,我很乐意效劳,但现在我们先专注于 btmon 跟踪。 谢谢 Re: IW612 bluetooth crash after a few days 嗨, @martinetd 您能解释一下您这句话的意思吗?事后是否有命令可以运行,还是应该运行 hcidump 或类似命令来转储进程运行时的所有命令? 启用蓝牙/BLE 后,可以使用以下命令捕获 hci 日志: btmon -w failed_snoop.log & 然后客户执行重现步骤,尝试重现此问题。 failed_snoop.log 将记录蓝牙/BLE 的所有过程。 一旦问题重现,我们可以检查此日志,看看正在执行哪些命令/事件,以便找到一些相关的嫌疑人。 这不是用于在固件崩溃后运行并捕获失败日志的命令。 顺便说一下,我请求我们内部的专家团队帮忙解密提供的固件转储二进制文件: fw_devcorecump.bin 。但很遗憾,解密失败。文件似乎已损坏或数据不足,因此无法解密。 顺祝商祺! Christine。 Re: IW612 bluetooth crash after a few days 嗨, @martinetd 是的你是对的。 由于该问题难以重现,我们也希望捕获我们需要的完整日志。 我向我们的内部团队确认,从 电路板支持包。 6.12.34 开始,btnxpuart 内核模块检测到 IW612 窄带固件卡住了。它会自动执行恢复过程,重置窄带 CPU 并重新下载。BT固件转储文件将自动生成。当命令超时时,也会生成该文件。 所以,你是对的。无需提供 Wi-Fi 转储文件,只需提供 BT 固件转储文件,如果可以的话,也请提供 hci 日志。另外,也请提供一些关于WiFi使用案例和场景的信息。 顺祝商祺! Christine。
記事全体を表示
ARINC615A Data loading with JTAG Access password protected When HSE firmware is not installed, SWD/JTAG access on the S32K3 can be restricted using the CUST_DB_PSWD_A field and device lifecycle configuration. Would enabling this password protection have any impact on performing an ARINC 615A software data load to the processor, assuming the update is handled by application or bootloader software rather than through the debug interface? Re: ARINC615A Data loading with JTAG Access password protected CUST_DB_PSWD_A only restricts SWD/JTAG debug access. I am not familiar with the details of your ARINC 615A implementation, but if the software load is handled entirely by your application or bootloader, I would not expect the debug password itself to have any impact. Ultimately, this is application-specific and depends on how ARINC 615A has been implemented in your system. If the update mechanism does not use the debug interface, debug access restrictions should generally be independent of the software loading process. Any additional limitations would depend on your lifecycle configuration and application security design.
記事全体を表示
参照構成パス Simulinkでハードウェアを構成する際に、参照構成のディレクトリを相対パスに変更しようとしています。 Simulink -> HW-Settings -> Hardware Implementation -> Target hardware resources -> Referenced Configuration 参照構成パス = '.\generated\referenced_config' 残念ながら、ここでは相対パスを入力することはできません。 また、MATLABスクリプトで進路を設定することもまだできません。 スクリプトはCoderTargetDataにパスを設定しているように見えますが、実際には適用されていません。 古いパスが引き続き有効になるか、空のパスが適用されます。 参照設定に対して相対パスを設定する方法はありますか? Re: refence configuration path こんにちは、 @AlexG124 さん、 詳細を教えていただきありがとうございます。ご使用中のMBDTツールボックスバージョンとMATLABバージョンについて教えていただけませんか? もしS32K3ツールボックスを使っているなら、model_ref/s32k3xx_refconfig_s32ctフォルダの下に参照された設定ワークフローを示すモデル例があります。ここにはs32k3xx_refconfig_update_paths_callback.mというMATLABスクリプトがあり、あなたの目標達成に役立つかもしれません。 また、ご参照の構成方法、使用方法、アプリケーションの流れについても詳しく教えていただけると助かります。 よろしくお願いいたします。 ドラゴス
記事全体を表示
HB200x AUTOSAR R21-11 バージョン 0.8.0 S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_2025 がサポートしていません こんにちは、NXPさん。 HB200x AUTOSAR仕様SDKをS32 Design Studioに統合しようとしましたが、以下のエラーメッセージが表示されます。 問題点:Mc33hbはツールチェーン/IDEプロジェクトに存在しません。プロジェクトはコンパイルできません! レベル: エラー タイプ:検証 ツール:ツールチェーン/IDEプロジェクト 起源:ペリフェラル ターゲット:ツールチェーン/IDEプロジェクト:M7_0 リソース:platform.driver.mc33hb CDD_Mb33Hb.c ファイルでさえCDD_Mb33Hb.hなどは、SDKがS32 Design Studioアプリケーション(v3.6.4)にインストールされた際には追加されていませんでした。 Re: HB200x AUTOSAR R21-11 Version 0.8.0 not supported by S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_ こんにちは、 どうやら間違ったRTDバージョンを使用しているようです。HB200x AUTOSAR R21-11 0.8.0リリースノートに基づき、このソフトウェアはSW32K3_RTD_4.4_R21-11_3.0.0_D2303_DS_updatesite.zip(S32 Design Studio IDE v3.5にインストールする必要があります)上で使用可能です。 PetrS_0-1789471295419.pngPetrS_0-1789471295419.png BR、ペトル
記事全体を表示
refence configuration path In Simulink, when configuring the hardware, I am trying to change the directory for the reference configuration to a relative path. Simulink -> HW-Settings -> Hardware Implementation -> Target hardware resources -> Referenced Configuration Reference Configuration Path = '.\generated\referenced_config' Unfortunately, it is not possible to enter a relative path here. Nor have I so far been able to set the path via a MATLAB script. Although the script appears to set the path in CoderTargetData, it is not actually applied. Either the old path remains active, or an empty path is applied. Is there a way to set a relative path for the reference configuration? Re: refence configuration path Hi, @AlexG124, Thanks for the details. Could you please help us and let us know what are the MBDT toolbox version, as well as the MATLAB version that you are currently using? In case you are using S32K3 toolbox, there is a model example showcasing the referenced configuration workflow, under model_ref/s32k3xx_refconfig_s32ct folder. Here you will find a MATLAB script called s32k3xx_refconfig_update_paths_callback.m that could help in achieving your goal. It will be also helpful if you could let us know more details on your referenced configuration way of working, usage and application flow. Best regards, Dragos
記事全体を表示
参考配置路径 在 Simulink 中配置硬件时,我尝试将参考配置的目录更改为相对路径。 Simulink -> 硬件设置 -> 硬件实现 -> 目标硬件资源 -> 参考配置 参考配置路径 = '.\generated\referenced_config' 很遗憾,这里无法输入相对路径。 到目前为止,我还没能通过 MATLAB 脚本设置路径。 虽然脚本似乎在 CoderTargetData 中设置了路径,但实际上并没有应用。 要么保持旧路径有效,要么应用一个空路径。 是否可以为参考配置设置相对路径? Re: refence configuration path 你好, @AlexG124 , 谢谢你提供的详细信息。请问您能否告知我们您目前使用的 MBDT 工具箱版本以及 MATLAB 版本? 如果您正在使用S32K3工具箱,则在model_ref/s32k3xx_refconfig_s32ct文件夹下有一个模型示例,展示了所引用的配置工作流程。这里有一个名为s32k3xx_refconfig_update_paths_callback.m的 MATLAB 脚本,它可以帮助您实现目标。 如果您能与我们联系并提供更多关于您所参考的配置的工作方式、使用方法和应用程序流程的详细信息,将对我们很有帮助。 顺祝商祺! 德拉戈斯
記事全体を表示
IW612 bluetooth crash after a few days Hello, One of our users reported us a bug with the murata LBES5PL2EL-923 (IW612 core) bluetooth functionality, where the bluetooth stack crashes after a few days connected to a device over bluetooth static RFCOMM/SPP (The original report is public and available in Japanese at https://armadillo.atmark-techno.com/forum/armadillo/31772 ) Are there any known bugs about this? Software setup: * linux 6.12 based on lf-6.12.49-2.2.0 (exact source tree: https://github.com/atmark-techno/linux-6.12-at/tree/6.12.105-r0 ) this is a BT problem but in case it matters the wireless driver is based on mwifiex lf-6.12.49-2.2.0 * firmware updated to the latest from the imx-firmware repo at lf-6.18.20_2.0.0 https://github.com/nxp-imx/imx-firmware/tree/lf-6.18.20_2.0.0/FwImage_IW612_SD * BlueZ stack (currently confirming the exact version, sorry I forgot to ask) * the board is connected to a single device over *bluetooth classic* (not BLE), with RFCOMM/SPP. Every 60 seconds the application sends a message and gets a reply (simple polling). After a few days there is a command timeout and the BT driver restarts I've attached a firmware dump (obtained from /sys/class/bluetooth/hci0/devcoredump/data after crash happened), assuming it can be useful, there is no message in dmesg until the crash (I'm sorry it's truncated before the "Start FW dump" message so there is no timestamp for these, my understanding is that it was immediately afterwards) The FW reloading mechanism works, but this requires a reconnection so would be better addressed if possible. [ 0.000000] Linux version 6.12.105-0-at (builder@71056255c5a6) (aarch64-alpine-linux-musl-cc (Alpine 15.2.0) 15.2.0, GNU ld (GNU Binutils) 2.45.1) #1-Alpine SMP PREEMPT Mon Aug 24 07:48:35 UTC 2026 [...] [ 9.321032] wlan: version = SDIW612---18.99.8.p52-MM6X18540.p33-GPL-(FP92) [...] [ 10.349326] Bluetooth: hci0: FW already running. [ 38.303160] Bluetooth: MGMT ver 1.23 [170117.376944] Bluetooth: hci0: command tx timeout Bluetooth: hci0: ==== Start FW dump === Bluetooth: hci0: ==== FW dump complete === Bluetooth: hci0: Request Firmware: nxp/uartspi_n61x_v1.bin.se Bluetooth: hci0: FW Download Complete: 412940 bytes If there is any other information that would be useful for analysis please ask Thank you Re: IW612 bluetooth crash after a few days > 1.Is it possible to provide us the HCI logs as well as that will help to identify which command is getting timeout for which the firmware dump is getting generated. Could you clarify what you mean with this? Is there a command that can be run after the fact, or should we run hcidump or equivalent to dump all commands while the process is running? > 3.To get Wi-Fi driver loading parameters, you can provide us the: /lib/firmware/nxp/wifi_mod_para.conf We do not use this file so default parameters should be used here as well. We've reduced the log level from the default values so dmesg will not be of much help here either (I sent a link to dmesg in the previous reply) I'll check with our user if they use wifi at all during this time Re: IW612 bluetooth crash after a few days Hi, @martinetd  1.Is it possible to provide us the HCI logs as well as that will help to identify which command is getting timeout for which the firmware dump is getting generated. 2.Can you please provide the WLAN based use case as WLAN is running then check if WLAN is working fine during the firmware dump is getting generated? 3.To get Wi-Fi driver loading parameters, you can provide us the: /lib/firmware/nxp/wifi_mod_para.conf  or you can provide us a normal booting dmesg logs which including the whole process that WiFi/bluetooth loading. We can get the info from dmesg logs. 4.Currently, we do not have newer public github FW release than the one you are using: imx-firmware/FwImage_IW612_SD at lf-6.18.20_2.0.0 · nxp-imx/imx-firmware · GitHub So, I do not think this is an known issue. We prefer to have more info related to the use case and hci logs to track what happened or reproduce steps so that we can reproduce the issue locally. So if you have any further other info related to the issue, please share with us. Best regards, Christine. Re: IW612 bluetooth crash after a few days Hi @Christine_Li thank you for the quick reply > 1. If you are using btnxpuart driver, please help to provide me btnxpuart.c. We are using the btnxpuart provided in https://github.com/nxp-imx/linux-imx based on version lf-6.12.49-2.2.0 , you can find the exact file here https://github.com/atmark-techno/linux-6.12-at/blob/6.12.105-r0/drivers/bluetooth/btnxpuart.c > 2. Are you using Wi-Fi and Bluetooth/802.15.4 combo FW? Or you are using separate FW? We are using both: the wifi driver loads the combo FW at boot, and after crash the separate FW is reloaded (hence log naming the separate FW) When this crash happened the combo FW was loaded (first crash after boot) but my understanding is that it reproduces with both > 3. Can you please help to provide your Wi-Fi and Bluetooth driver load parameters? The only wifi parameter we explicitly set is drv_mode = 0x3 to disable the wifi direct interface we do not use; we do not set any bluetooth parameter. If you can tell me how to dump the exact settings I can ask our user to run commands to get the info for us. > 4.Can you please let me know your detailed reproduce steps? Since this is based on a user report I can't say much more than the description I gave (RFCOMM connection polled every 60s for a few days); I'm afraid it might depend on the actual sub device the chip is connected to. I'll try to find a device that can be pinged over RFCOMM and reproduce locally to provide you with a test script if that helps, but for now I couldn't find any release note with known bugs for the firmware/btnxpuart driver so I'd like to confirm if there is a known bug (and hopefully if you can get any information from the firmware dump) Thank you Re: IW612 bluetooth crash after a few days Hi, @martinetd  1.Are you using our nxp's btnxpuart driver for bluetooth? or you are using Linux Open Source Uart driver? If you are using btnxpuart driver, please help to provide me btnxpuart.c. 2.Are you using Wi-Fi and Bluetooth/802.15.4 combo FW? Or you are using separate FW? Because I see your log as below, so I just suspect you are using separate FW, need to double confirm with you. hci0: Request Firmware: nxp/uartspi_n61x_v1.bin.se 3.Can you please help to provide your Wi-Fi and Bluetooth driver load parameters? 4.Can you please let me know your detailed reproduce steps?  Best regards, Christine. Re: IW612 bluetooth crash after a few days > * BlueZ stack (currently confirming the exact version, sorry I forgot to ask) in case it matters, the BlueZ version is 5.82 Re: IW612 bluetooth crash after a few days Hi, @martinetd  1.For btmon: ==>Yes, if we could record the whole process for size reason, then I think the method you recommend would be a good idea. And also, we have not other better ideas than that one. 2.For FW dump: I will recommend to load driver with drvdbg=0xa0037, it can record more fw dump and also driver dump logs for analysis.   issue happened   logs will automatically save in this directory like below:   ======================================== [ 4221.173141] Create directory /data/dump_4220 error, try create dir in /var [ 4221.173147] Wakeup device... [ 4221.173231] Create directory /var/dump_4220 successfully [ 4221.173232] Directory name is /var/dump_4220 [ 4221.173233] === START DRIVER INFO DUMP=== [ 4221.173289] DRV dump data in /var/dump_4220/file_drv_info [ 4221.173306] Wakeup device... [ 4221.173889] SDIO Func0 (0x0-0x9): 43 03 06 00 07 00 00 02 03 00 [ 4221.175173] SDIO Func1 (0x4-0xb): 00 00 00 00 ff ff ff ff [ 4221.175879] SDIO Func1: (0x4c) 00 (0x50) 08 (0x54) 07 (0x55) 0c (0x58) 10 (0x59) 00 (0x5c) 00 (0x5d) 00 [ 4221.176284] SDIO Func1 (0xc0-0xca): dc fe 96 00 31 11 00 37 37 02 20 [ 4221.177301] | [ 4221.275861] SDIO Func1 (0xc0-0xca): dc fe a1 00 3b 00 00 37 37 02 20 [ 4221.276501] Drv info total bytes = 263150 (0x403ee) [ 4221.276503] === DRIVER INFO DUMP END===Wakeup device... [ 4221.276555] ==== DEBUG MODE OUTPUT START: 4220.878602 === ====================================================   If the dump is not auto-generated at "/var" or "/data" it can be collected manually using below "cat /proc/mwlan/adapter0/fw_dump > file_fw_dump" command.     2. If you check it doesn't print the directory in dmesg logs or in your case, you decrease the log level, then please get it in below way:   - echo debug_dump > /proc/mwlan/adapter0/config - Wait for some time (1 or 2 min) for fw_dump: - cat /proc/mwlan/adapter0/fw_dump > file_fw_dump for drv_dump: cat /proc/mwlan/adapter0/drv_dump > file_drv_dump   For such kind of FW crash issue, btmon log is the extended logs to better understand customer's use case and also issue scenarios. FW_dump is the most important logs for us.    And also, as discussed before, please also ask your customer about wifi use case during this test.   Best regards, Christine. Re: IW612 bluetooth crash after a few days > btmon Thank you for clarifying The crash takes a couple of days to reproduce, and I'm afraid it might not be practical to store/share a full log given how big it gets (I see 100KB after a minute so ~300MB in 2 days) Unfortunately btmon does not seem to have a "cyclic recording" mode like tcpdump, but if you're only interested in the few minutes before the crash then I can request our customer logs alternating two files every e.g. 5 minutes so we can get the last 5 minutes? Would something like (untested) be acceptable, sending the last samples? (note there is a small window between runs where events are not logged...) I=0; while ! [ -e /sys/class/bluetooth/hci0/devcoredump/data ]; do timeout 300s btmon -K -t -w log.$I; I=$((I+1%3)); done > coredump not readable Ok, this is a shame but there is not much to do about it. The file was obtained reading from /sys/class/bluetooth/hci0/devcoredump/data after the FW dump complete message, if that is not appropriate or there is a better way to get useful data I'll be happy to oblige but let's focus on the btmon traces for now. Thank you Re: IW612 bluetooth crash after a few days Ok for btmon, I will request that (and ask about wifi usage) I'd like to confirm fw dump first though: the dump I obtained was a bluetooth dump, but you seem to describe a wireless dump. In the traces from customer the wifi driver did not seem to crash, so I believe drvdbg= will not be effective there? Also in case you do need the wireless firmware in the combined firmware case (with `echo debug_dump > /proc/mwlan/adapter0/config`), the problem is that the BT driver automatically reloads a new firmware and restarts the adapter, so we would need to disable the firmware loading for this to work I agree having a dump is useful for analysis so if it's possible to fix the way the dump is obtained I'd like to know first, I'll ask our customer everything at once after we're clear on what to do Thanks Re: IW612 bluetooth crash after a few days Hi, @martinetd  Could you clarify what you mean with this? Is there a command that can be run after the fact, or should we run hcidump or equivalent to dump all commands while the process is running? ==>hci log can be captured after enabled Bluetooth/BLE with below commands: btmon -w failed_snoop.log & Then customer execute their reproduce steps, and try to reproduce this issue. The failed_snoop.log will record all of the process of bluetooth/BLE. Once issue is reproduced, we can check this log to see what kind of commands/events are executing, so that we will have some related suspects. It is not a command to run and capture the failed logs after FW crash. By the way, I requested our internal expert team help to decrypt the provided fw dump bin file: fw_devcorecump.bin, but unfortunately, it is not getting decrypted  successfully. It seems like file is corrupt or not having enough data so not able to decrypt. Best regards, Christine. Re: IW612 bluetooth crash after a few days Hi, @martinetd  Yes, you are right.  Because the issue is difficult to reproduce, we also prefer to capture full logs that we need. I checked with our internal team that from BSP 6.12.34 onward, the btnxpuart kernel module detects that IW612 narrowband firmware is stuck. It proceeds automatically with a recovery process by resetting the narrowband CPU and downloading it again. The BT FW dump will automatically generate. When command timeout happens, at that time it will generate. So, you are right. Do not need to provide Wi-Fi dump and only provide BT FW dump and also hci logs if possible. And also about WiFi use case and scenarios, please also help to provide. Best regards, Christine.
記事全体を表示
Power ArchitectureのS32 Design Studio v2.1におけるPEmicro GDBローンチ失敗 こんにちは、 私がテストしている基板はMTRCKTSPS5744P(3相PMSMモーター制御開発キットとMPC5744P MCU)です。 何らかの理由で、ダウンロード処理がうまくいきません。 ダウンロードに失敗した後、デバッグボタンをクリックすると、このウィンドウが表示されます。 eunwoo_lee_0-1789496057004.png このエラーメッセージが表示されたウィンドウがポップアップします。 サービス開始順序の誤り PEmicro GDB起動失敗:GDBサーバーがターゲットプロセッサへの接続を確立できませんでした。接続と電源を確認してください。デバッグ構成の起動設定が正確であることを確認してください。 コンソールパネルにこのメッセージが表示されます。 127.0.0.1 から 127.0.0.1 を経由して接続します。ポート「53438」から7224への接続 PEエラー:警告。部品が稼働している間はレジスタが読み取れません。 PEエラー:警告。部品が稼働中はメモリを読み取れません。@0 (4バイト) PEエラー:警告。部品が稼働中はメモリを読み取れません。@0 (4バイト) PEエラー:警告。部品が稼働している間はレジスタが読み取れません。 PEエラー:警告。部品が稼働中はメモリを読み取れません。@0 (4バイト) PEエラー:警告。部品が稼働中はメモリを読み取れません。@0 (4バイト) PEエラー:警告。パートが実行中はバイナリを書けません。40001000 - 長さ: 0 - 値: バイナリデータ PEエラー:警告。パートが実行中はバイナリを書けません。40001000 - 長さ: 460 - 値: バイナリデータ PEエラー:警告。パートが実行中はバイナリを書けません。40001460 - 長さ: 460 - 値: バイナリデータ PEエラー:警告。パートが実行中はバイナリを書けません。400018c0 - 長さ: 460 - 値: バイナリデータ PEエラー:警告。パートが実行中はバイナリを書けません。40001d20 - 長さ:2e0 - 値:バイナリデータ PE-エラー:GDBクライアント処理:例外が発生しました:プログラム例外! 例外クラス: EIDCONNCLOSEDGRACEFULLY メッセージ:接続が正常に切断されました。 アドレス 0X0046EA89 127.0.0.1 経由で「127.0.0.1」から切断されました。ポート「53438」による7224からの切断 ターゲットとの接続が切断されました。 この問題に対する解決策をご存知ですか? ありがとうございます。 Re: PEmicro GDB Launch Failure in S32 Design Studio for Power Architecture v2.1 こんにちは、 この問題に対する解決策をご存知ですか? メッセージの通り、レジスタをその場で書き込む・読み取ることはできません。まずデバッガーでコードの実行を停止し、その後レジスタやメモリなどを修正できます。 MPC5744Pはユーザーコードを実行中で、P&Eプローブがデバイスを停止できないため、すべてのメモリ/レジスタアクセスが失敗し、ダウンロード操作が中止されます。 これはフラッシュプログラミングの問題というよりは、デバッガがダウンロード前にMPC5744Pを停止させることに失敗しているように見えます。 例えば、マイクロコントローラでSWT0を有効にしたSWはありますか? それとも、ソフトウェアが一切動作していない、まっさらなサンプルなのでしょうか? よろしくお願いいたします。 ピーター
記事全体を表示
NXP官方是否有用于配置S32K344芯片外部启动的代码例程? NXP官方是否有针对S32K344芯片配置外部启动的代码例程和教程?我们想将芯片配置为从SD卡启动。 Re: Does NXP official have a code routine for configuring external boot for S32K344 chip? 在非安全启动配置中,第一个引导加载程序是否从 ROM 运行(它是不可变的吗)? 能否将第一个引导加载程序配置为从外部源/闪存启动后续的引导加载程序/应用程序映像? Re: Does NXP official have a code routine for configuring external boot for S32K344 chip? 该设备不提供从外部存储器启动的选项。 该设备支持安全启动和非安全启动模式,但两种情况下都是内部闪存启动。
記事全体を表示
HB200x AUTOSAR R21-11 Version 0.8.0 not supported by S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_2025 Hello NXP, I tried to integrate the HB200x AUTOSAR spec SDK into the S32 Design Studio but I am getting the following error message: Issue: Mc33hb is not found in the toolchain/IDE project. The project will not compile! Level: Error Type: Validation Tool: Toolchain/IDE project Origin: Peripherals Target: Toolchain/IDE project: M7_0 Resource: platform.driver.mc33hb Even the files CDD_Mb33Hb.c CDD_Mb33Hb.h etc., have not been added when the SDK was installed in the S32 Design Studio application (v3.6.4) Re: HB200x AUTOSAR R21-11 Version 0.8.0 not supported by S32K3_RTD_6_0_0_D2506_ASR_REL_4_7_REV_0000_ Hi,  seems you are using wrong RTD version. Based on HB200x AUTOSAR R21-11 0.8.0 release note this software can be used on top of SW32K3_RTD_4.4_R21-11_3.0.0_D2303_DS_updatesite.zip (which needs to be installed in S32 Design Studio IDE v3.5). PetrS_0-1789471295419.pngPetrS_0-1789471295419.png BR, Petr
記事全体を表示
ARINC615A JTAG アクセスパスワード保護によるデータ読み込み HSEファームウェアがインストールされていない場合、CUST_DB_PSWD_Aフィールドおよびデバイスライフサイクル構成を使ってS32K3のSWD/JTAGアクセスを制限できます 。このパスワード保護を有効にしても、プロセッサへのARINC 615Aソフトウェアデータロードがデバッグインターフェースではなくアプリケーションやブートローダーソフトウェアで処理する場合、何か影響はありますか? Re: ARINC615A Data loading with JTAG Access password protected CUST_DB_PSWD_AはSWD/JTAGのデバッグアクセスのみを制限します。ARINC 615Aの実装の詳細は詳しくありませんが、ソフトウェアの負荷が完全にアプリケーションやブートローダーによって処理されているなら、デバッグパスワード自体が影響を与えることはないと思います。 最終的には、これはアプリケーションごとに異なり、ARINC 615Aがあなたのシステムでどのように実装されているかによります。更新機構がデバッグインターフェースを使用しない場合、デバッグアクセス制限は一般的にソフトウェアの読み込みプロセスに依存しないはずです。追加の制限はライフサイクル構成やアプリケーションのセキュリティ設計によって異なります。
記事全体を表示
NXPの公式ウェブサイトには、S32K344チップの外部ブートを設定するためのコードルーチンはありますか? NXPの公式ウェブサイトには、S32K344チップの外部ブートを設定するためのコードルーチンとチュートリアルはありますか?チップをSDカードから起動するように設定したいのですが? Re: Does NXP official have a code routine for configuring external boot for S32K344 chip? セキュアブートではない構成の場合、最初のブートローダーはROMから実行されますか(変更不可能ですか)? この最初のブートローダーは、外部ソースやフラッシュからその後のブートローダーやアプリケーションイメージを起動するように設定できますか? Re: Does NXP official have a code routine for configuring external boot for S32K344 chip? このデバイスには、外部メモリからの起動オプションはありません。 デバイスはセキュアと非セキュアの起動モードの両方をサポートしていますが、いずれの場合も内部フラッシュブートです。
記事全体を表示