Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
i.MX 8M PLUSのUSB1ポートとUSB2ポートに違いはありますか? 皆さん、こんにちは Q1) NXPが提供するドキュメントによると、i.MX8MPLUSの2つのUSBポートは同じ機能を持っているようです。私たちの理解は正しいのでしょうか? Q2) USBシリアルダウンロードモードはどちらのポートでも機能しますか? ※ポートを優先する設定はありますか? 感謝 ジョージ i.MX 8ファミリ | i.MX 8QuadMax (8QM) | 8QuadPlus i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Re:i.MX 8M PLUSのUSB1ポートとUSB2ポートに違いはありますか? Hello @Bio_TICFSL, ご回答ありがとうございます。 IMX8MP-EVKを使用して、シリアルダウンロードモードが両方のUSBポートで実際に機能することを確認しました。 シリアルダウンロードにどのポートを使用するかはUSBx_VBUSによって決まるようです。 感謝 ジョージ Re:i.MX 8M PLUSのUSB1ポートとUSB2ポートに違いはありますか? Hello, a) はい、どちらも同じ機能として機能します b)はい、スイッチ設定やシリアルダウンロードモードの手順などの詳細については、https://www.nxp.com/webapp/Download?colCode=IMX8MMEVKHUG を参照してください。 よろしくお願いします。
查看全文
EB tresos imports routines in S32K1 RTD, and an error occurs when verifying the project EB tresos version: EB tresos Studio 29.0 RTD version: SW32K1_S32M24x_RTD_R21-11_2.0.0_QLP1 The import routine path is as follows: NXP\SW32K1_S32M24x_RTD_R21-11_2.0.0_QLP1\eclipse\plugins\Dio_TS_T40D2M20I0R0\examples\EBT\S32K1\Dio_Example_S32K144 Re: EB tresos 导入S32K1 RTD中的例程,verify工程时报错 Thank you very much for your answer, as you said, although the verification project will report an error, but the function of generating code is normal, I can get the code generated by the routine; I'm going to try to compile the generated code next, and hopefully everything goes well.
查看全文
U-Bootの構築 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Freescale U-Bootを構築する Freescaleが提供するU-Bootは、以下のリンクからダウンロードできます。 http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/ 1 - クロス・コンパイラの環境変数を設定します。Yoctoを使用する場合は、以下のコマンドで作成できます(詳細はYoctoのトレーニング「Yocto Training - HOME」を参照してください)。 source /opt/poky/1.7/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi 2 - 以下の「git clone」を使用してソース・コードをダウンロードします。 git clone  http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git 3 - リモートブランチに基づいてローカルブランチを作成します。この例では、ブランチ origin/imx_v2014.04_3.14.28_1.0.0_ga を使用します。 cd uboot-imx git checkout -b imx_v2014.04_3.14.28_1.0.0_ga_local origin/imx_v2014.04_3.14.28_1.0.0_ga 4 - ビルドするボードでプロジェクトを構成します。すべてのボードは、ファイルboards.cfgに列挙されています。選択したボードの正確な名前を確認し、「_config」を追加してプロジェクトをビルドします。この例では、mx6qsabresdを使用します。 make mx6qsabresd_config 作成する 5 - バイナリファイルが生成され、プロジェクトのルートフォルダに配置されます。この場合、生成されるファイルは u-boot.imx です。 6 - 詳細は、次のファイルを参照してください。 doc/README.imx6 doc/README.imximage README メインラインU-bootを構築する U-BootプロジェクトはDenx Computer Systemsによって開発・メンテナンスされており、以下のリンクからダウンロードできます。 http://git.denx.de/?p=u-boot.git;a=summary 1 - クロス・コンパイラの環境変数を設定します。Yoctoを使用する場合は、以下のコマンドで作成できます(詳細はYoctoのトレーニング「Yocto Training - HOME」を参照してください)。 source /opt/poky/1.7/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi 2 - 以下の「git clone」を使用してソース・コードをダウンロードします。 git clone http://git.denx.de/u-boot.git 3 - 「configs」フォルダでボードの名前を確認します。ここでは、mx6qsabresd_configを使用します。 make mx6qsabresd_config 作成する 4 - バイナリファイルが生成され、プロジェクトのルートフォルダに配置されます。この場合、生成されるファイルは u-boot.imx です。 i.MX6_All Re:U-Bootの構築 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Hi,   システムに接続されているディスプレイのU-Bootコンソール・ディスプレイ・メッセージを回転させる必要があるため、U-Bootの「README」ファイルに従います。   ======================================= CONFIG_LCD_ROTATION   ディスプレイが縦向きモードになっている場合や、横向きでも180度回転している場合などは、印刷されたメッセージをユーザーが読めるように、フレームバッファを基準にして、ディスプレイの内容を回転させる必要があります。 ========================================   ファイル「./include/configs/nitrogen6_max.h」に次の定義を追加します。   #define CONFIG_LCD_ROTATION   上記の定義の追加後に、「/proc/cmdline」にfbconパラメータを以下のとおり追加しました。   ubuntu@nitrogen:~$ cat /proc/cmdline fbcon=rotate:1 console=ttymxc1,115200 vmalloc=400M consoleblank=0 rootwait fixrtc cpu=6Q board=nitrogen6_max mxc_hdmi.only_cea=1 root=/dev/mmcblk0p1 wlcore.mac=00:19:b8:81:fc:28 splash plymouth.ignore-serial-consoles loglevel=4 reset_cause=0x1   上記の作業をすべて行った後でも、U-Bootディスプレイはまだ回転しません。どなたかお手伝いいただけますか?   よろしくお願いします。 llks Re:U-Bootの構築 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Hello Manuel, どちらにも独自の長所があります。 プライマリのラインは、U-Boot(自体)に関して最新のものとなっており、コミュニティやDenxが直接サポートを提供しています。 NXP U-boot はすべての NXP ボードをサポートしており、NXP からのサポートも受けています。 よろしくお願いします。 Rogerio Re:U-Bootの構築 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちは Freescale U-Boot とメインライン U-Boot の違いは何ですか?どちらを使用すればよいですか? ありがとうございます!
查看全文
ワンストップ・セキュア・ブート・ツール:NXP-MCUBootUtility v1.0.0のリリース 1 はじめに   NXP-MCUBootUtilityは、NXP MCUセキュア・ブート用に特別に設計されたGUIツールです。その機能は、NXP MCUのBootROM機能に対応しています。現時点でこのツールは主にi.MXRTシリーズのMCUチップをサポートしています。NXPの公式セキュリティ・イネーブルメント・ツールセット(OpenSSL、CST、sdphost、blhost、elftosb、BD、MfgTool2)と比較して、NXP-MCUBootUtilityは真のワンストップ・ツールであり、NXPの公式セキュリティ・イネーブルメント・ツールセットのすべての機能を備えています。さらに、完全なグラフィカル・ユーザー・インターフェース操作をサポートしています。NXP-MCUBootUtilityを使用すると、NXP MCUのセキュア・ブートを簡単に始められます。   NXP-MCUBootUtilityの主な特長は次のとおりです。 Support i.MXRT1021, i.MXRT1051/1052, i.MXRT1061/1062, i.MXRT1064 SIP UARTとUSB-HIDの両方のシリアル・ダウンローダー・モードをサポート さまざまなユーザー・アプリケーション・イメージ・ファイル形式(elf/axf/srec/hex/bin)をサポート ユーザー・アプリケーション・イメージの範囲と適用可能性を検証可能 ベア・イメージからブート可能イメージへの変換をサポート FlexSPI NORおよびSEMC NANDブート・デバイスへのブート可能イメージの読み込みをサポート LPSPI NOR/EEPROMリカバリ・ブート・デバイスへのブート可能イメージの読み込みをサポート SDRAMへのイメージ読み込みに役立つDCDをサポート HAB暗号化(署名のみ、署名と暗号化)をサポート タイム・スタンプ付きで証明書をバックアップ可能 BEE暗号化(SNVSキー、ユーザー・キー)をサポート 一般的なeFuseメモリ操作をサポート(eFuseプログラマ) 一般的なブート・デバイス・メモリ操作をサポート(Flashプログラマ) ブート・デバイスからのブート可能イメージ(NFCB/DBBT/FDCB/EKIB/EPRDB/IVT/ブート・データ/DCD/イメージ/CSF/DEK KeyBlob)の読み取りとマークをサポート   2 ダウンロード   NXP-MCUBootUtilityはPythonで開発されており、オープンソースです。開発環境はPython 2.7.15(32bit)、wxPython 4.0.3、pySerial 3.4、pywinusb 0.4.2、bincopy 15.0.0、PyInstaller 3.3.1(またはそれ以降)です。 ソースコード:https://github.com/nxp-mcuxpresso/mcu-boot-utility フィードバック:https://www.cnblogs.com/henjay724/p/10159925.html   NXP-MCUBootUtilityはPyInstallerによってパッケージ化されており、すべてのPython依存関係は実行可能ファイル(\NXP-MCUBootUtility\bin\NXP-MCUBootUtility.exe)にパッケージ化されています。したがって、NXP-MCUBootUtilityに新機能を追加する開発を行わないのであれば、Pythonソフトウェアや関連ライブラリをインストールする必要はありません。 注1:NXP-MCUBootUtilityを使用する前に、NXPのウェブサイトからHABコード署名ツールをダウンロードし、解凍して\NXP-MCUBootUtility\tools\cst\ディレクトリに配置したうえで、コードを修正してAES機能を有効にしてから、\NXP-MCUBootUtility\tools\cst\mingw32\bin\cst.exeを再構築する必要があります。こうしないと、HAB関連の暗号化機能が正常に動作しません。詳細については、HAB暗号化用にcst.exeを再構築するためのステップ・バイ・ステップ・ガイドを参照してください。 注2:NXP-MCUBootUtilityを使用する前に、\NXP-MCUBootUtility\tools\image_enc\codeディレクトリ内のソースを再構築してimage_enc.exeを生成し、\NXP-MCUBootUtility\tools\image_enc\winディレクトリに配置する必要があります。こうしないと、BEE関連の暗号化機能を正しく使用できません。詳細については、BEE暗号化用にimage_enc.exeをビルドするためのステップ・バイ・ステップ・ガイドを参照してください。   3 インストール   NXP-MCUBootUtilityは単体で動作するインストール不要のツールです。ソースコード・パッケージをダウンロードした後、「\NXP-MCUBootUtility\bin\NXP-MCUBootUtility.exe」をダブルクリックして使用してください。追加のソフトウェアは必要ありません。   NXP-MCUBootUtility.exeのグラフィカル・インターフェースが表示される前に、まずコンソール・ウィンドウが開きます。このコンソールは、NXP-MCUBootUtility.exeのグラフィカル・インターフェースと連動します。コンソールの主な目的は、NXP-MCUBootUtility.exeのエラー情報を表示することです。現在、NXP-MCUBootUtilityはまだ開発途中の段階です。NXP-MCUBootUtilityの完全な検証が終了した時点で、コンソールは削除されます。 4 インターフェース   次の図は、NXP-MCUBootUtilityツールのメイン・インターフェースを示しています。このインターフェースは6つの要素で構成されています。 Re: ワンストップ・セキュア・ブート・ツール:NXP-MCUBootUtility v1.0.0のリリース <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 皆さん、こんにちは。 このユーティリティ・プログラムをRT1021でテストする際に、シリアル・フラッシュ・チップ(RT1021 EVKで使用されているものと同じ)をセカンダリ・ピンマルチプレクサに接続してテストした方はいらっしゃいますか?RT1021 PCBでこのユーティリティを使おうとしたところ、ユーティリティがシリアル・フラッシュ・デバイスと通信できないというエラーが発生したため、質問しております。数時間にわたり確認などを行った後、ロジック・アナライザをシリアル・フラッシュ・チップに接続したところ、MCUBootUtilityがデバイスと通信しようとする際に、RT1021とシリアル・フラッシュ・チップの間で動作が見られませんでした。ロジック・アナライザが正しく機能していることを再確認するために、ブートモード・スイッチを内部ブートに設定したところ、RT1021とシリアル・フラッシュ・チップの間でロジック動作を確認しました。私が試したのはMCUBootUtilityの最新バージョン(Ver 2.1.0)ですが、以前のバージョン(2.0.0)でも結果は同じです。 MCUBootUtilityがRT1021と通信していることは確かです。デバイス・ステータス・レジスタ情報がデバイスから読み込まれているのを確認できるからです。 よろしくお願いいたします! それでは。 Sam Re: ワンストップ・セキュア・ブート・ツール:NXP-MCUBootUtility v1.0.0のリリース <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> IMX RT 1050、IMX RT 1021、IMX RT 1015のセキュリティ機能に違いがあるかどうかご確認いただけますか? セキュリティ・リファレンス・マニュアルはIMX RT 1050製品ページにのみあります(また、古くて暫定的です)。 Re: ワンストップ・セキュア・ブート・ツール:NXP-MCUBootUtility v1.0.0のリリース <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> このリンクはBaiduによって提供されており、中国以外のIPアドレスからのアクセスはブロックされる可能性があります。 メールでご連絡ください:[email protected] Re: ワンストップ・セキュア・ブート・ツール:NXP-MCUBootUtility v1.0.0のリリース <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Hello, ファイル「image_enc.zip」を、記載のリンクからダウンロードできません。 ほかにファイルをダウンロードできる場所はありますか? よろしくお願いいたします。 Johann Re: ワンストップ・セキュア・ブート・ツール:NXP-MCUBootUtility v1.0.0のリリース <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Hi Jay,  ご返信ありがとうございます。 この制限について、iMXRT102x_ReferenceManualとiMXRT105x_ReferenceManualの両方に違いがありませんでした。セキュリティやAESに関する説明は全く同じです。先にご説明いただけますでしょうか?あるいは、これらの情報がどこにあるか教えてください。 ありがとうございます Calvin Re: ワンストップ・セキュア・ブート・ツール:NXP-MCUBootUtility v1.0.0のリリース <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Hi Calvin, これはチップ自体の制限です。この制限はRT102x/RT1015にのみ該当します。 よろしくお願いいたします。 Jay Re: ワンストップ・セキュア・ブート・ツール:NXP-MCUBootUtility v1.0.0のリリース <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Hello, NXP MCU Boot Utility 1.4.0で「HAB暗号化イメージ・ブート」を試したところ、MCUデバイス「i.MXRT 102x」はサポートしておらず、「i.MXRT 105x」はサポートしていることがわかりました。 理由を教えていただけますか? または、それを有効にする設定はありますか? ありがとうございます Calvin
查看全文
DDR Config ツールを使用して異なる PMIC I2Cバスを設定する   お客様によっては、DDRテストを実行する間、PMICに異なるI2Cバスを設定する必要があります。これを実現できる簡単な手段にNXP DDR Config Toolがあります。 ツールのダウンロード・リンクは下記のとおりです。 https://www.nxp.com/design/development-boards/i-mx-evaluation-and-development-boards/config-tools-for-i-mx-applications-processors:CONFIG-TOOLS-IMX ここでは例として、i.MX 93 EVKボードを使用します。i.MX 93 EVKボードでは、デフォルトのPMIC I2CバスはI2C2です。このI2C2をI2C1に変更する方法を説明します。他のI2Cバスは変更しません。 ステップ 1:ボードを再加工し、PMIC が I2C1 に接続されていることを確認してください。 R714 R715を取り外し、I2C1_SCL(C20)をU701のピン41に接続し、I2C1_SDA(C21)をU701のピン42に接続してください。 Step 2 : Setup I2C1 PinMux: Config ToolのUI:「Advance(詳細)」->「IOMUX config(IOMUX設定)」 コマンド:           アドレス               サイズ              値 memory   set     0x443c0170            32                   0x10 memory   set     0x443c0174            32                   0x10 memory   set     0x443c0320            32                   0x40000b9e memory   set     0x443c0324            32                   0x40000b9e ステップ3:PMIC VDDQを1.1 Vに設定してください 設定ツールUI:詳細 -> カスタムPMIC初期化が有効 #  PMICコマンド        値 0         pmic_cfg             0x0025       /*I2C bus 1,  PMIC address 0x25 */ (0 for I2C1, 1 for I2C2, 2 for I2C3, 3 for I2c4 …) 1         pmic_set             0x0C29       /* BUCKxOUT_DVS0/1, preset_buck1=0.8V, preset_buck2=0.7V, preset_buck3=0.8V PCA9451_BUCK123_DVS, 0x29 */ 2         pmic_set             0x1118      /*  BUCK1OUT_DVS0=0.9V   PCA9451_BUCK1OUT_DVS0, 0x18 */ 3         pmic_set             0x1718      /*  BUCK3OUT_DVS0=0.9V   PCA9451_BUCK3OUT_DVS0, 0x18 */ 4 pmic_set 0x1428 /* VDDQを1.1Vに設定 PCA9451_BUCK2OUT_DVS0、0x28 */ 追記:pmicレジスタに関して、先頭2バイトはレジスタ・アドレス、次の2バイトはレジスタ設定です。 ステップ 4:DDR「ファームウェア初期化テスト」を実行し、テスト結果を確認してください。 成功ログは次のとおりです。 DEBUG memtool.comm.serial_channel ==================hardware_init======================= デバッグ memtool.comm.serial_channel DEBUG memtool.comm.serial_channel Power up ddr... デバッグ memtool.comm.serial_channel DEBUG memtool.comm.serial_channel DDRMIX power on done... デバッグ memtool.comm.serial_channel DEBUG memtool.comm.serial_channel DDRPHY coldreset... デバッグ memtool.comm.serial_channel デバッグ memtool.comm.serial_channel デバッグ memtool.comm.serial_channel DEBUG memtool.comm.serial_channel ********Found PMIC PCA945X********** デバッグ memtool.comm.serial_channel DEBUG memtool.comm.serial_channel Set VDDQ to 1.1V for LPDDR4 デバッグ memtool.comm.serial_channel DEBUG memtool.comm.serial_channel ==================hardware_init exit================== Linux PMIC
查看全文
如何在 i.MX8M 板上使用蓝牙 如何在 i.MX8M 板上使用蓝牙 本文介绍如何通过蓝牙将设备连接到 i.MX8M 系列开发板。本文档中显示的步骤是使用 i.MX8M Plus 完成的。 启动蓝牙 首先,启用BT服务并启动它。如果systemctl拒绝启动或启用这些服务,请考虑在以下命令末尾使用强制选项-f : systemctl enable bluetooth.service systemctl start bluetooth.service 检查 BT 的状态。它应该处于活动状态并正在运行: systemctl status bluetooth 您应该在“状态”中看到“正在运行” : ● bluetooth.service - Bluetooth service Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled) Active: active (running) since Mon 2021-11-29 19:41:18 UTC; 4s ago Docs: man:bluetoothd(8) Main PID: 710 (bluetoothd) Status: "Running" Tasks: 1 Memory: 1.9M CGroup: /system.slice/bluetooth.service └─710 /usr/libexec/bluetooth/bluetoothd Nov 29 19:41:18 imx8mpevk systemd[1]: Starting Bluetooth service... Nov 29 19:41:18 imx8mpevk systemd[1]: Started Bluetooth service. 加载Wi-Fi 要使用蓝牙,必须先加载Wi-Fi,否则无法加载BT固件。为此,请执行以下步骤: modprobe moal mod_para=nxp/wifi_mod_para.conf wpa_passphrase SSID SSID_PASSWD >> /etc/wpa_supplicant.conf wpa_supplicant -d -B -i mlan0 -c /etc/wpa_supplicant.conf -Dnl80211 到目前为止,您应该能够使用 BT,但是,如果您想继续使用 Wi-Fi 连接到网络,则可以按照以下步骤操作。否则,请跳过以下内容并转到下一部分。 运行以下命令: connmanctl 连接到Wi-Fi: connmanctl> enable wifi connmanctl> scan wifi #This should list the networks: connmanctl> services connmanctl> agent on connmanctl> connect wifi_ _managed_psk #Enter password of wifi network Passphrase? connmanctl> quit 现在 Wi-Fi 已连接,可以使用 BT。 选择蓝牙串行端口 显示系统上可用的串行端口(每个板有不同的设备): dmesg | grep tty i.MX8M Plus 显示以下结果: [ 0.000000] Kernel command line: console=ttymxc1,115200 root=/dev/mmcblk2p2 rootwait rw [ 0.166330] 30860000.serial: ttymxc0 at MMIO 0x30860000 (irq = 29, base_baud = 5000000) is a IMX [ 0.166815] 30880000.serial: ttymxc2 at MMIO 0x30880000 (irq = 30, base_baud = 5000000) is a IMX [ 0.167185] 30890000.serial: ttymxc1 at MMIO 0x30890000 (irq = 31, base_baud = 1500000) is a IMX [ 1.189285] printk: console [ttymxc1] enabled [ 4.160356] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling. [ 7.171005] audit: type=1006 audit(1605328853.412:2): pid=665 uid=0 old-auid=4294967295 auid=0 tty=(none) old-ses=4294967295 ses=1 res=1 对于本文,选择了ttymxc0端口。要连接设备端口并设置波特率(本例为 115200),请运行以下命令,其中hciconfig用于配置 BT 设备并打开和初始化 HCI 设备: hciattach ttymxc0 any 115200 flow hciconfig hci0 up hciconfig 运行上述命令后,您应该看到以下内容: hci0: Type: Primary Bus: UART BD Address: 00:E9:3A:0D:C7:80 ACL MTU: 1016:5 SCO MTU: 120:6 UP RUNNING RX bytes:1424 acl:0 sco:0 events:82 errors:0 TX bytes:1218 acl:0 sco:0 commands:82 errors:0 现在您可以使用bluetoothctl管理 BT。 连接设备 要启动bluetoothctl,请运行以下命令: bluetoothctl 扫描设备: [bluetooth]# power on [bluetooth]# default-agent [bluetooth]# pairable on #Start scanning for devices: [bluetooth]# scan on 您应该会看到发现的设备: [CHG] Controller 00:E9:3A:0D:C7:80 Discovering: yes [NEW] Device E0:89:7E:86:47:47 E0-89-7E-86-47-47 [NEW] Device 59:80:27:7E:98:A2 59-80-27-7E-98-A2 [NEW] Device EC:81:93:51:FE:66 EC-81-93-51-FE-66 [NEW] Device 50:32:37:D0:A5:B8 50-32-37-D0-A5-B8 [NEW] Device 2C:DD:64:A1:B2:48 2C-DD-64-A1-B2-48 [NEW] Device 08:66:98:EF:B6:C5 08-66-98-EF-B6-C5 ... ... 等待系统找到要配对的设备,然后使用以下命令: #Use the corresponding address from your device [bluetooth]# pair 88:29:9C:59:BC:F6 确认 i.MX8M 板和设备中的密码。如果所有步骤都成功完成,您现在应该看到的是已连接设备的名称,而不是[bluetooth]# 。要停止扫描,可以使用scan off命令。要查看已连接的设备和信息,请使用以下命令: #A galaxy S10+ was connected to the i.MX8M Plus [Galaxy S10+]# devices [Galaxy S10+]# info 本文介绍如何通过蓝牙将设备连接到 i.MX8M 系列开发板。 i.MX 8 系列 | i.MX 8QuadMax (8QM) | 8QuadPlus i.MX 8M | i.MX 8M Mini | i.MX 8M Nano Linux
查看全文
BlueZ5 および A2DP シンク (Freescale i.MX6Q/DL SabreSDに搭載) <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> BlueZ5は、コアBluetoothレイヤーとプロトコルのサポートを提供します。柔軟性があり、効率的で、モジュール式の実装を使用しています。BlueZ5は、GAP、L2CAP、RFCOMM、およびSDPを含むBluetoothコア仕様4.0および3.0 + HS用のBluetooth低レベルホストスタックを実装しています。ホストスタックの他に、BlueZ5は、以下のプロファイル自体またはサードパーティのソフトウェアを介してもサポートしています。 BlueZが提供する プロファイルp: A2DPの1.3 AVRCP 1.5 DI 1.3 HDP 1.0 HID 1.0 PAN 1.0 SPP 1.1 GATT (LE) profiles: PXP 1.0 HTP 1.0 HoG 1.0 TIP 1.0 CSCP 1.0 OBEXベースのプロファイル(obexdによる): FTP 1.1 OPP 1.1 PBAPの1.1 MAP 1.0 oFono プロジェクトによって提供されます。 HFP 1.6 (AG & HF)対応プロファイル BlueZ5は最新のFreescale Linux BSPリリースでサポートされているため、Bluetoothコアスタックとそのプロファイルのバイナリを生成するのは非常に簡単です。SabreSDボードでA2DPシンクをサポートするには、以下のソフトウェアも対象のrootfsにダウンロードしてインストールする必要があります。 sbc decoder version 1.3 (http://www.kernel.org/pub/linux/bluetooth/sbc-1.3.tar.gz) パルスオーディオ 5.0 (http://www.freedesktop.org/software/pulseaudio/releases/pulseaudio-5.0.tar.xz) PulseAudio パッケージは bluetooth や sbc パッケージといくつかの依存関係があり、pulseaudio は 2 つのパッケージがビルドされたかどうかを検出し、どの pulse プラグインモジュールを生成するかを決定します。したがって、建物の順序は 1) bluez5_utils または bluez_utils 2) sbc 3) pulseaudio になります。 上記のソフトウェアをコンパイルしてターゲットの rootfs にインストールすると、ディレクトリ /usr/bin の下に次の実行可能ファイルが表示されます BlueZ5から: bluetoothctl、hciconfig、hciattach (UARTのBluetoothモジュールを操作する場合に必要) PulseAudio から: pulseaudio、pactl、paplay ビルドの依存関係が正しく設定されている場合、次のパルスプラグインモジュールはディレクトリ /usr/lib/pulse-5.0/modules の下に配置する必要があります module-bluetooth-discover.so module-bluetooth-policy.so module-bluez5-device.so module-bluez5-discover.so ファイル /etc/dbus-1/system.d/pulseaudio-system.conf を編集し、次の行を赤字で追加します。        <許可 send_destination="org.bluez"/>     ファイル/etc/dbus-1/system.d/bluetooth.confを編集します。をクリックし、次の行を追加します。           /etc/pulse/system.pa にある pulseaudio システム設定ファイルの下部に次の設定を追加します。 ### Bluetoothハードウェア用のドライバーモジュールを自動的にロードします .ifexists module-bluetooth-policy.so load-module module-bluetooth-policy .endif .ifexists module-bluetooth-discover.so load-module module-bluetooth-discover .endif ロードモジュールモジュールスイッチオンコネクト load-module module-alsa-sink device_id=0 tsched=true tsched_buffer_size=1048576 tsched_buffer_watermark=262144 alsa カードを自動的に検出できるシステムでは、上記の行 #13 を削除する必要があります。 また、次の行に「auth-anonymous=1」が追加されていることを確認して、「無効な認証データを持つクライアントへのアクセスを拒否しました」という問題を解決してください。 ロードモジュールモジュールネイティブプロトコル-UNIX auth-anonymous=1 オーディオ再サンプリングアルゴリズムを選択し、/etc/pulseにあるdaemon.confファイルに次の設定を追加してオーディオ出力を設定します。 再サンプル法=些細なこと enable-remixing = いいえ enable-lfe-remixing = いいえ デフォルトサンプル形式= S16LE デフォルトサンプルレート= 48000 代替サンプルレート= 24000 デフォルトサンプルチャネル= 2 Pulseaudio は、デーモンまたはシステム全体のインスタンスとして起動できます。PulseAudioをシステム全体のモードで実行するために、プログラムは自動的に「root」から権限をドロップし、「pulse」ユーザーとグループに変更します。この場合、プログラムを起動する前に、ターゲットシステム上に「パルス」ユーザーとグループを作成する必要があります。以下の例では、"/var/run/pulse" は "pulse" ユーザーのホームディレクトリです。 adduser -h /var/run/pulseパルス addgroupパルスアクセス adduser パルスアクセス PulseAudio はサウンド デバイスにアクセスする必要があるため、ユーザー "pulse" も "audio" グループに追加します。 AddUserパルスオーディオ bluetoothd と pulseaudio の起動: /usr/libexec/bluetooth/bluetoothd -d および pulseaudio --system --リアルタイム &; pulseaudio が正しく設定されているかどうかを確認するには、次のコマンドを使用してローカルの wave ファイルを再生します。音が聞こえる場合は、システムが正しく構成されているはずです。 paplay -vvv audio8k16S.wav pulseaudioを設定したら、bluetoothctlを起動してペアリングし、携帯電話に接続します。携帯電話に接続すると、bluetoothctlコンソールに次の情報が表示されるはずです。 [Bluetooth]#表示 コントローラー 12:60:41:7F:03:00 名前: BlueZ 5.21 エイリアス:BlueZ 5.21 クラス:0x1c0000 電源:はい 検出可能: いいえ ペアリング可能:はい UUID: PnP 情報 (00001200-0000-1000-8000-00805f9b34fb) UUID: 汎用アクセス プロファイル (00001800-0000-1000-8000-00805f9b34fb) UUID: 汎用属性プロファイル (00001801-0000-1000-8000-00805f9b34fb) UUID:A / Vリモコン(0000110e-0000-1000-8000-00805f9b34fb) UUID:A / Vリモートコントロールターゲット(0000110c-0000-1000-8000-00805f9b34fb) UUID: メッセージ通知メッセージ。(00001133-0000-1000-8000-00805f9b34fb) UUID: メッセージアクセスサーバー (00001132-0000-1000-8000-00805f9b34fb) UUID: 電話帳アクセスサーバ (0000112f-0000-1000-8000-00805f9b34fb) UUID: IrMC 同期 (00001104-0000-1000-8000-00805f9b34fb) UUID:OBEXファイル転送(00001106-0000-1000-8000-00805f9b34fb) UUID: OBEX オブジェクト プッシュ (00001105-0000-1000-8000-00805f9b34fb) UUID: ベンダー固有 (00005005-0000-1000-8000-0002ee000001) UUID: オーディオ ソース (0000110a-0000-1000-8000-00805f9b34fb) UUID: オーディオシンク (0000110b-0000-1000-8000-00805f9b34fb) モダリアス: usb:v1D6Bp0246d0515 検出中: いいえ オーディオシンクUUIDが見える場合は、今すぐBluetooth音楽を楽しむ準備ができています。 i.MX6_All i.MX6DL i.MX6Dual i.MX6Quad i.MX6S i.MX6SL Linux マルチメディア Re: Freescale i.MX6Q/DL SabreSDのBlueZ5およびA2DPシンク <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> こんにちはシェンウェイ、 私はあなたのガイドに従いました、そしてついに私はi.MX7dで動作するBluetoothオーディオストリーミングを手に入れることができます。しかし、ヘッドフォンの左側でしかBluetoothオーディオを聞くことができません。 さらに、aplay audio.wavを実行すると、ヘッドフォンの両側で音声が聞こえます。paplay audio.wavを実行し、残念ながら、Bluetoothストリーミングと同じ問題があります:ヘッドフォンの左側にしか音声が聞こえません。 ヘッドホンの両方のチャンネルでオーディオを聞くことができるように、どこで設定を変更できますか? シンクに関する情報をフォローします。 --------------------------------------------------------------------------------------------------------- シンクが利用可能です。  * インデックス: 0 名前:        ドライバー: フラグ: ハードウェアHW_VOLUME_CTRL DECIBEL_VOLUMEレイテンシ 状態: 中断 中断の原因: IDLE 優先度:9009 ボリューム:モノラル:52057 / 79%/ -6.00 dB バランス 0.00 ベースボリューム:52057 / 79%/ -6.00 dB ボリュームステップ:65537 ミュート:いいえ 現在のレイテンシ: 0.00 ミリ秒 最大リクエスト: 0 KiB 最大巻き戻し量: 0 KiB モニター ソース: 0 サンプルスペック:S16LE 1ch 44100Hz チャンネルマップ:モノラル モノ 使用者: 0 リンク元:0 固定遅延: 99.95 ミリ秒 カード:0        モジュール:6 プロパティ: alsa.resolution_bits = "16" device.api = "アルサ" device.class = "音" alsa.class = "ジェネリック" alsa.subclass = "ジェネリックミックス" alsa.name = "" alsa.id = 「HiFi wm8731-hifi-0」 alsa.subdevice = "0" alsa.subdevice_name = "サブデバイス #0" alsa.device = "0" alsa.card = "0" alsa.card_name = "wm8731-audio" alsa.long_card_name = "wm8731-audio" device.bus_path = 「プラットフォームサウンド」 sysfs.path = "/デバイス/SOC0/サウンド/サウンド/カード0" device.form_factor = "内部" device.string = "hw:0" device.buffering.buffer_size= "8816" device.buffering.fragment_size= "2204" device.access_mode = "mmap" device.profile.name = 「アナログ-モノ」 device.profile.description = "アナログモノラル" device.description = "ビルトインオーディオアナログモノラル" module-udev-detect.discovered = "1" device.icon_name = 「オーディオカード」 ポート: analog-output: アナログ出力 (優先度 9900、レイテンシ オフセット 0 usec、使用可能: 不明) プロパティ: アクティブポート: --------------------------------------------------------------------------------------------------------- よろしくお願いいたします クサイ Re: Freescale i.MX6Q/DL SabreSDのBlueZ5およびA2DPシンク <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Hi Shenwei Wang, あなたが提供した構成は、yoctoを使用して生成されたfsl(Freescale)イメージで完全に正常に機能しています。 Kernel version : 4.1.15 Bluezバージョン:5.33 pulseaudioバージョン:6.0なので、これらのバージョンのパッケージを使用すると、Bluetoothから音楽を再生できます。 しかし、fsl-qtイメージを使用しようとすると、編集が必要なファイルが対応するディレクトリ(/ etc / dbus-1 / system.d / pulseaudio-system.conf、/ etc / dbus-1 / system.d / bluetooth.conf、 および/ etc / pulse / system.pa)にさえ利用できません。私がfsl-qt画像でも使用しているのと同じバージョンのBluezとpulseaudio。   bluetoothctl コンソールの "show" コマンドを実行すると、次のログが表示されます。 コントローラー 43:39:00:00:1F:AC 名前: BlueZ 5.33 エイリアス:BlueZ 5.33 クラス:0x200000 電源:はい 検出可能: いいえ ペアリング可能:はい UUID: 汎用属性プロファイル (00001801-0000-1000-8000-00805f9b34fb) UUID:A / Vリモコン(0000110e-0000-1000-8000-00805f9b34fb) UUID: PnP 情報 (00001200-0000-1000-8000-00805f9b34fb) UUID: 汎用アクセス プロファイル (00001800-0000-1000-8000-00805f9b34fb) UUID:ハンズフリー(0000111e-0000-1000-8000-00805f9b34fb) UUID:A / Vリモートコントロールターゲット(0000110c-0000-1000-8000-00805f9b34fb) モダリアス: usb:v1D6Bp0246d0521 検出中: いいえ したがって、ここでは UUID:オーディオソース/ UUID:オーディオシンク を取得していないため、Bluetoothからオーディオをストリーミングできません。 これに関して、いくつかの意見を提供してください。 よろしくお願いいたします。   よろしくお願いします。 ガナパティラオ Re: Freescale i.MX6Q/DL SabreSDのBlueZ5およびA2DPシンク <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Re: Freescale i.MX6Q/DL SabreSDのBlueZ5およびA2DPシンク <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> それは何の理由ですか????? Re: Freescale i.MX6Q/DL SabreSDのBlueZ5およびA2DPシンク <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 私はいくつかのBluetooth USBドングルでテストしました。理論的には、HCIインターフェースの準備ができている限り、どのUSBモジュールでも動作するはずです。 シェンウェイ Re: Freescale i.MX6Q/DL SabreSDのBlueZ5およびA2DPシンク <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Hi Shenwei Wang, どのBluetoothモジュールをテストしますか? AR6233Xまたはその他のチップ設定? Re: Freescale i.MX6Q/DL SabreSDのBlueZ5およびA2DPシンク <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Hi, 私はandroidKitkat 4.4.2でbluez 5.30を使用しています、それは正常に機能しており、私はsppを除くすべてのプロファイルを取得しています。SPPを参照しようとすると、「SDPレコードが見つかりません」などのエラーが表示されます。どなたかこの問題を解決するために助けていただけますか。
查看全文
u-boot运行时修改Linux设备树(dtb) 在某些情况下,i.MX 板连接到不同的模块。它的变化非常小,例如只有一个 gpio 的驱动强度不同。 我们可以构建一个全新的软件来满足这一需求。 这里介绍另一种方式,使用u-boot在运行时修改设备树(dtb)。 这是 u-boot fdt 命令 如何使用 gpio-hog 演示 https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-use-gpio-hog-demo/ta-p/1317709 运行 loadfdt fdt addr ${fdt_addr_r} fdt 打印/soc/bus/pinctrl/uart3grp fdt rm /soc/bus/pinctrl/uart3grp fdt print serial2 fdt 设置串行2状态禁用 fdt print serial2 fdt print gpio4 fdt 调整大小 fdt mknode gpio4 gpio_hog_demo fdt set gpio4/gpio_hog_demo gpio-hog fdt set gpio4/gpio_hog_demo gpios <7 0> fdt set gpio4/gpio_hog_demo output-high fdt print gpio4 运行 mmcargs 运行 loadimage 引导${loadaddr} - ${fdt_addr_r} root@imx8mmevk:~# cat /sys/kernel/debug/gpio gpiochip0:GPIO 0-31,父级:platform/30200000.gpio,30200000.gpio: gpio-5(|PCIe DIS)输出高 gpio-13(|ir-receiver)处于高IRQ低电平有效状态 gpio-15(|cd)处于高IRQ低电平有效 gpiochip1:GPIO 32-63,父级:platform/30210000.gpio,30210000.GPIO: gpio-38(|?)输出嗨 gpio-42(|重置)输出低电平有效 gpio-51(|regulator-usdhc2)输出 gpiochip2:GPIO 64-95,父级:platform/30220000.gpio,30220000.GPIO: gpio-80(|status)输出嗨 gpiochip3:GPIO 96-127,父级:platform/30230000.gpio,30230000.gpio: gpio-117(|PCIe 重置)输出高 gpiochip4:GPIO 128-159,父级:platform/30240000.gpio,30240000.GPIO: gpio-135(|gpio_hog_demo)输出嗨 gpio-141(|spi1 CS0)输出高电平有效低电平 gpio-149(|wlf,静音)输出高电平有效低电平 root@imx8mmevk:~# [ 33.758914] VSD_3V3: 禁用 msys2 的 dtc_utils-v1.6.1-win-x86_64.zip i.MX 8 系列 | i.MX 8QuadMax (8QM) | 8QuadPlus i.MX 8M | i.MX 8M Mini | i.MX 8M Nano i.MX6 全部 i.MX7 双核 i.MX7ULP Linux 回复:u-boot运行时修改Linux设备树(dtb) 修改之前转储 dtb 内容。 .\fdtdump imx8mm-evk.dtb > .\dtb-dump_0.txt 改变i2c3的状态: .\fdtput -t s imx8mm-evk.dtb i2c3 status okay 修改i2c0的时钟频率: .\fdtput -ti imx8mm-evk.dtb i2c0 时钟频率 100000 检查更改是否成功。 .\fdtdumpimx8mm-evk.dtb > .\dtb-dump_1.txt 注意:使用包dtc_utils-v1.6.1-win-x86_64.zip中的 fdt 工具。 对于 Windows,使用 Grep 而不是将转储数据保存到文件。 https://gnuwin32.sourceforge.net/packages/grep.htm
查看全文
S32G3闪存升级 嗨,NXP团队: 我想开发一个针对S32G3的外部flash MX25UW51245GXDR00的升级程序。有没有官方给出相应流程的参考?谢谢。 S32G-VNP-RDB3  S32G3 回复:s32g3闪存升级 Hello, @jiajun  谢谢你的帖子。 对于我们这边的延误,我感到很抱歉,我发现您已经提出了其他帖子,您介意将这个帖子与之镜像吗? 先行致谢。 BR 陈银
查看全文
i.MX8QXP/DXP/DX DDRレジスタプログラミングエイド(RPA) Important: If you have any questions or would like to report any issues with the DDR tools or supporting documents please create a support ticket in the i.MX community. Please note that any private messages or direct emails are not monitored and will not receive a response. これは、i.MX 8/8X DDR 初期化に関連するレジスタの詳細なプログラミング支援資料です。詳細については、i.MX 8/8X メインDDR ツールページを参照してください。 https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/i-MX-8-8X-Family-DDR-Tools-Release/ta-p/1121519 添付ファイルの数を減らすために、古い RPA は添付の zip ファイルに含まれている可能性があります。 Note: Devices with 17-row addresses (R0-R16) are not supported by this SoC.  ***重要:SCFWv1.7.0以降では、以下のRPAバージョン以降を使用する必要があります。 MX8QXP_C0_B0_LPDDR4_RPA_1.2GHz_v16 MX8DualX_C0_B0_LPDDR4_RPA_1.2GHz_v16 MX8QuadXPlus_DualXPlus_C0_B0_DDR3L_RPA_v22 MX8DualX_C0_B0_DDR3L_RPA_v20 RPA の旧バージョンは SCFWv1.7.0 以降と整合性がありません。SCFWv1.7.0を使用して古いバージョンのRPAの使用を試みると、SCFWが起動しなくなります。DCD 出力における問題のある行は以下のとおりです。 MX8QXP/DualXの場合: DATA 4 0xff190000 0x00000CC8 /* DRC0 ブリンガップ */ ユーザーがSCFW 1.7.0以降で古いRPAを使用したい場合(推奨されません)、上記の行を古いRPA DCDファイル出力から削除する必要があります。さらに、これらの行は「#ifndef SCFW_DCD」、「#else」、および「#endif」プリプロセッサーコマンドで囲まれています。これらも削除されるべきです。例えば、MX8QXPの場合: [削除] #ifndef SCFW_DCD[削除] -/* 1200MHz DDR の場合、DRC 600MHz 動作 */[削除] DATA 4 0xff190000 0x00000CC8 /* DRC0 ブリングアップ */[削除] #else[削除] #endif
查看全文
IMX8MP MIPI DSIからeDPへのブリッジボードサポート 1. HW 環境: IMX8mp-evkボード。 ITE6151 MIPI DSI から eDP へのブリッジボード。 2. SW環境:     IMX YOCTO 5.4.24-2.1.0リリース。 3. パッチ操作:     a. git clone https://source.codeaurora.org/external/imx/linux-imx.git     b. git checkout -b  imx_5.4.24_2.1.0 origin/imx_5.4.24_2.1.0     c. patch -p1 < ../ite6151_mipi2edp_linux_5.4.24_20200921.patch 4. imx8mp-evkボードでDPモニターを1080pモードでテストしました。 5. 添付のドキュメントリスト:     IT6151デモボードユーザーガイドv1.0.pdf ------  IT6151ブリッジボードHWガイド it6151_qfn48_v20_20190905-01_end.pdf ------ ite6151 ブリッジボード SCH imx8mp_ite6151_mipi2edp_linux_5.4.24_20200921.patch ------ Linuxカーネルドライバーパッチ     イメージ + imx8mp-evk-it6151.dtb ------  テストイメージとdtb i.MX 8M | i.MX 8M Mini | i.MX 8M Nano
查看全文
Linux 中的监管域和 Wi-Fi 发射功率级别管理(国家监管设置) 默认初始化情况 默认情况下,如果未定义国家/地区监管设置,我们会使用 WW(全球安全设置,即我们只在全球允许的频段上传输,发射功率符合所有国家/地区的法规要求)。   设置国家/地区 1/ 在 AP 模式下运行时: - 我们通常在 hostapd.conf 中设置国家/地区代码(例如:country_code=JP)来定义国家 / 地区。 - 如果在 hostpad.conf 中设置了 ieee80211d=1,则此国家定义将被通告给所有连接的 STA - 也可以使用 “iw reg set” 命令设置国家/地区。   2/ 在 STA 模式下操作时 - 可以使用 “iw reg set” 命令或在 wpa_supplicant.conf 中设置国家 / 地区代码(例如:country=jp)。 - 一旦连接到启用了 80211d 的 AP,STA 将切换到 AP 的国家 / 地区设置(可通过添加 country_ie_ignore=1 驱动参数禁用此行为)。   设置国家/地区后: - 我们只会在该国家/地区允许的信道上传输 - 发射功率不超过该国家/地区的最大限制 - 我对于国家/地区声明为 DFS 信道的信道,我们可能会使用 DFS 功能。   TX功率设置   1/ 默认情况下,使用 Linux 监管设置(/lib/firmware/regulatory.db,由 db.txt 生成) 这些设置基于国家/地区定义了允许的信道、DFS 标志和最大发射功率。 详见下文 “Regulatory db” 部分。   2/ Linux 监管设置可通过以下方式覆盖: a. cntry_txpwr=0 和 txpwrlimit_cfg=nxp/txpower.bin 驱动参数(由 txpower.conf(信道 / MCS-> 发射功率)生成,参见 AN13009) 所有国家/地区使用相同设置(静态)。 使用 db.txt 中的信道/标志,发射功率取 db.txt 与 txpower.bin/rgpower.bin 中的最小值。 b. cntry_txpwr=1(查找 nxp/txpower_XX.bin 文件(由 txpower.conf(信道 / MCS-> 发射功率)生成,参见 AN13009) 每个国家/地区 XX 需要一个 txpower_XX.bin 文件(动态加载,例如通过 iw reg set XX)。 使用 db.txt 中的通道/标志,以及 db.txt 和 txpower_XX.bin 之间的最小 TX 功率   cntry_txpwr txpwrlimit_cfg TX功率限制 方法 0 nxp/txpower.bin nxp/txpower.bin(静态) V1 1 - nxp/txpower_XX.bin(动态) V1 cfg     我们有默认的 TX 功率表,但客户可以根据他们的硬件调整这些 TX 功率设置。 请参考《AN13009 Linux 中的 Wi-Fi 发射功率管理》。       Regulatory db   来源https://wireless.wiki.kernel.org/en/developers/Regulatory/wireless-regdb   Wi-Fi 监管设置(允许的信道等)定义在 db.txt 中,然后转换为 regulatory.db(存储在 /lib/firmware 中)。 我们可以从这里获取官方的 db.txt 文件,并使用以下命令构建 regulatory.db:   git clone git://git.kernel.org/pub/scm/linux/kernel/git/wens/wireless-regdb.git make   Linux 内核会检查 regulatory.db 的完整性。 通过以下内核配置禁用 REGDB 签名检查: CONFIG_EXPERT=y CONFIG_CFG80211_CERTIFICATION_ONUS=y # CONFIG_CFG80211_REQUIRE_SIGNED_REGDB 未设置   重新构建内核并烧写: scp Image [email protected]:/run/media/mmcblk0p1/     iw reg 命令示例和其他注释   root@imx8mqevk:~# iw reg get global country 00: DFS-UNSET         (2402 - 2472 @ 40), (N/A, 20), (N/A)         (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN         (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, PASSIVE-SCAN         (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, PASSIVE-SCAN         (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, PASSIVE-SCAN         (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, PASSIVE-SCAN         (5735 - 5835 @ 80), (N/A, 20), (N/A), PASSIVE-SCAN         (57240 - 63720 @ 2160), (N/A, 0), (N/A) root@imx8mqevk:~# iw reg get global country FR: DFS-ETSI         (2400 - 2483 @ 40), (N/A, 20), (N/A)         (5150 - 5250 @ 80), (N/A, 23), (N/A), NO-OUTDOOR, AUTO-BW         (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW         (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS         (5725 - 5875 @ 80), (N/A, 13), (N/A)         (57000 - 66000 @ 2160), (N/A, 40), (N/A) 默认情况下(如果未设置国家/地区),我们使用全球域,这是限制最严格的。 你可以设置国家/地区(使用驱动模块参数、wpa_supplicant.conf 等),或者自动获取接入点提供的国家 / 地区信息 (80211d)。这将更新监管域,即允许的信道等。 你可以使用 “iw reg get” 命令检查国家/地区设置。 与您在 wpa_supplicant.conf 中设置的频道列表相比,监管域具有优先权。 OS LINUX 产品:WiFi 88MW32X 产品:WiFi 88W8801 产品:WiFi 88W8897 产品:WiFi 88W8987 产品:WiFi 88W8997 产品:WiFi 88X9098 产品:WiFi IW416 产品:WiFi IW6XX 产品:WiFi RW6XX 协议:Wi-Fi
查看全文
i.MX93 M33 コア: カスタム ボード上の micro-ROS のシステム稼働時間 (秒/ナノ秒) を取得するにはどうすればよいですか? こんにちは、皆さん 現在、カスタム SOM と MCUXpresso SDK (v25.06.00) を使用して、micro-ROS を i.MX93 (MIMX9352) の Cortex-M33 コアに移植しています。 UART トランスポートを確立し、 micro-ROS エージェントにコネクテッド。ノードとトピックは作成されましたが、公開されたデータは空または無効のようです。デバッグ後、ROS 2 エコシステムと同期するには、micro-ROS クライアントに高解像度のタイムスタンプ (秒とナノ秒) を提供する必要があることに気付きました。 スクリーンショット、デバッグ端末出力、コードを以下に添付します。 マイクロロスエージェント接続 Micro-ros agent connectionMicro-ros agent connectionマイクロロスエージェント接続 ROS トピック一覧 (トピックが空です (データは公開されていません)) ROS Topic listing (But topic is empty)ROS Topic listing (But topic is empty)ROS トピック一覧(ただしトピックは空です) デバッグ端末出力: デバッグコンソールの初期化が完了しました 過去のlpuart initとカスタム転送オープン 過去のrclcサポート、ノード、パブリッシャーの初期化 過去のrclcタイマー初期化 過去のrclcエグゼキュータinit、add_timer whileループ内 RCSOFTCHECK 失敗: rclc_executor_spin_some(&executor, RCL_MS_TO_NS(100)) | Lin0 執行者のスピン後 whileループ内 RCSOFTCHECK 失敗: rclc_executor_spin_some(&executor, RCL_MS_TO_NS(100)) | Lin0 執行者のスピン後 whileループ内 RCSOFTCHECK 失敗: rclc_executor_spin_some(&executor, RCL_MS_TO_NS(100)) | Lin0 執行者のスピン後 問題: rmw_publisher_publish に必要な精度を提供する、信頼性の高い「システム稼働時間」または「ティック」関数を SDKs で見つけるのに苦労しています。 lptmrドライバの例を使用しようとしましたが、LPTMR_Init()中にコードがハングします 私の質問: i.MX93 M33 の起動以降の高解像度 (nsec) モノトニック タイムスタンプを取得するための推奨 SDK API はありますか? i.MX9 シリーズに micro-ROS を実装した方: 専用のハードウェア タイマーを使用しましたか、それとも代わりに使用すべき標準の CMSIS/SDKs「GetTime」関数がありますか? 環境の詳細: ハードウェア: カスタム i.MX93 SOM + EVB ベースボード コア: Cortex-M331 SDK: 25.06.00 ツールチェーン:MCUXpresso IDE / VS Code Extension2 このプラットフォームでの 64 ビットナノ秒カウンター実装に関する洞察やコードスニペットがあれば、ぜひお知らせください。 よろしくお願いいたします。 アナンド Re: i.MX93 M33 Core: How to get System Uptime (sec/nsec) for micro-ROS on Custom Board? こんにちは、 tstmr.cを試してみましたSDK の例のデモ プログラム。期待通りに動作しません。カスタム ボードと avnet osm93 の 2 つの異なるボードで試しましたが、どちらもターミナルに出力がありませんでした。 デバッグすると、TSTMR 関連の関数が動作せず、プログラムは「TSTMR_ReadTimeStamp()」を超えません。 使用したSDK:MCUXpresso SDK(v25.06.00)。
查看全文
A1006 Write permsiions in "Authentication Operation" mode I’m a little confused about the write operation of the NXP A1006 when it is in “Authentication Operation” mode.   In “sd276413 - Objective short data sheet A1006, Secure Authentication IC (1.3).pdf” section 9.3.1 it is states that “Depending on the IC life cycle status the memory write operation is restricted to some specific memory areas and arbitrary data write operations are not possible but only non-reversible write operations are possible.”   Both “sd276413 - Objective short data sheet A1006, Secure Authentication IC (1.3).pdf” and “ds374620 - A1006 Secure Authenticator IC (2.0).pdf” state that in “Authentication Operation” “Only write operations to the user memory possible, for example transactional “usage data” updates” are possible but there is no exact definition of “transactional “usage data” updates”.   The problem is that “ds374620 - A1006 Secure Authenticator IC (2.0).pdf” states in Fig 16 that during “Authentication Operation” “Write arbitrary data to User Memory and read operation allowed”.   The A1006 does not have a counter like the Infineon SLE95250 or the NXP A1007. I had planned to implement a counter using 1 bit per count in “Authentication Operation" mode because I thought that “only non-reversible write operations are possible” in this mode. But if one can “Write arbitrary data to User Memory ” in “Authentication Operation" mode, then I cannot make a tamper-proof counter in the A1006.   Can anyone clarify the write permissions for the A1006 in "Authentication Operation" mode? 回复: A1006 Write permsiions in "Authentication Operation" mode I need A1006 technical support. If you have done it before, please contact me on FB 13922881086 Re: A1006 Write permsiions in "Authentication Operation" mode Hello,  Sorry for the inconvenience this might cause you but as the information of this product it's under NDA (Non-Disclosure Agreement) the information it's not public, this is not a secure channel to share any information of this device and currently, you are providing information which it's under NDA in a public way.  Could you please contact the person that helped you with getting the information (sales or distributor) for further details on your request?  Regards,  Estephania 
查看全文
MCXA346 - cannot locate the demo code for AN14822 Specifically: 2. Import a project from the GitHub repository. 3. Locate and open the an-mcxa346-spi-interface-implemented-by-smartdm project. Bought the board, now raring to go 🙂 MCXA Re: MCXA346 - cannot locate the demo code for AN14822 Hello, I apologize for the inconvenience, but AN14822 project is in the process of being published in Application Code Hub page I would recommend staying updated on the page. Best Regards, Luis
查看全文
OM13589 for A1006 Secure Authenticator Solutions Hi, It is possible that I erase the FW of OM13589 Demonstration Kit by MCUXpresso. However, I cannot find the FW or image from the website https://www.nxp.com/pages/demonstration-kit-for-a1006-secure-authenticator-solutions:OM13589 . Where can I get the FW or image for the A1006 Demo Kit solution? I want to test it with A1006 Demo Utility. Thank you. Demonstration Kit  Demonstration Kit  LPC17xx Re: OM13589 for A1006 Secure Authenticator Solutions Where can I get the FW or image for the A1006 Demo Kit solution? I want to test it with A1006 Demo Utility. v jesssaid fb 13922881086 Thank you. Re: OM13589 for A1006 Secure Authenticator Solutions HI Jerome, I am not sure if the demo project is available to public site. I would suggest you create a private case to request it. How to submit a new question for NXP Support  Have a great day, Jun Zhang ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: OM13589 for A1006 Secure Authenticator Solutions Hi Jun, Where can I download the example code for A1006 (Rapid IoT Kit Out Of Box Demo)? Thank you, Jerome Re: OM13589 for A1006 Secure Authenticator Solutions Hi Jerome 1. yes, it does. see Example code for A1006 in IOT Studio?  2. I currently don't have this board, I suggest you create a new thread to consult IoT box Rapid IoT  Have a great day, Jun Zhang ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: OM13589 for A1006 Secure Authenticator Solutions Hi Jun, Thanks for your support. But I have some questions, 1. Does the FW "Rapid IoT Kit Out Of Box Demo.atmo" support A1006 solution? 2. How to flash the FW to my OM13589 EV-kit? Is there any development guide?  Thank you, Jerome Re: OM13589 for A1006 Secure Authenticator Solutions Hi YUNFENG TSAI We have out of box example, and you can download it here: https://rapid-iot-studio.nxp.com/ Have a great day, Jun Zhang ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: OM13589 for A1006 Secure Authenticator Solutions How to get Chinese support?
查看全文
如何提出客户投诉? 任何受到伤害的消费者都可以拨打免费电话 07699-595-414 与代理交谈或自己注册,以登记他/她的申诉 ... 电源解决方案 Re: How do you raise a customer complaint? 任何受到伤害的消费者都可以拨打免费电话 07699-595-414 与代理交谈或自己注册,以登记他/她的申诉 ... Re: How do you raise a customer complaint? 任何受到伤害的消费者都可以拨打免费电话 07699-595-414 与代理交谈或自己注册,以登记他/她的申诉 ...
查看全文
間違った取引を返金する方法 間違った取引があった場合、電話で払い戻しを受けるにはどうすればよいですか?076995-95414- 電話で間違った番号に誤って送金した場合、通常は... 機能安全
查看全文
Using correct ENV Variable with nx_personalization demo for A30 I'm currently trying things out with the new A30 and I can't get the nx_personalization demo to work for the SIGMA-I authentication. I changed the ENV variable accordingly but still get an error. My output is as follows: nx_mw :INFO :Session Open Succeed nx_mw :INFO :Nx provision start nx_mw :INFO :******************************* NOTE ******************************************** nx_mw :INFO :Default top level certificate directory is: /tmp/configuration/a30_hostcert_depth2_x509_rev3_nistp/ nx_mw :INFO :To override this directory path, you need to set env variable as follows: nx_mw :INFO :NX_AUTH_CERT_DIR=..\nx-mw-top\binaries\configuration\cert_depth3_PKCS7_rev1 nx_mw :INFO :********************************************************************************* nx_mw :INFO :Using certificate/key from:'..\nx-mw-top\binaries\configuration\cert_depth3_PKCS7_rev1' (ENV=NX_AUTH_CERT_DIR) nx_mw :WARN :Potential directory traversal nx_mw :WARN :host_root_certificates is not found. Use leaf certificate which is assumed to be self signed nx_mw :INFO :Using certificate/key from:'..\nx-mw-top\binaries\configuration\cert_depth3_PKCS7_rev1' (ENV=NX_AUTH_CERT_DIR) nx_mw :WARN :Potential directory traversal nx_mw :WARN :nxEnsure:'status == kStatus_SSS_Success' failed. At Line:741 Function:nx_load_host_root_CA_pubkey nx_mw :WARN :nxEnsure:'status == kStatus_SSS_Success' failed. At Line:976 Function:ex_sss_entry nx_mw :ERROR:nx_Personalization Example Failed !!!... nx_mw :INFO :ex_sss Finished nx_mw :ERROR:ex_sss_entry Failed nx_mw :ERROR:!ERROR! ret != 0. Re: Using correct ENV Variable with nx_personalization demo for A30 Hello, I need to develop A1006UK , experienced help me out , thanks! Re: Using correct ENV Variable with nx_personalization demo for A30 Hi @Jansch , Thanks for the info! Actually A30 can only be personalized once, I am not sure how you configure nxMW for the first personalization, but please keep align with the first configuration when you do the first personalization,  I think it should also be done by yourself , right? if you personalize the chip with the keys and certs in folder A but run demos with ENV to folder B , there would be issues for sure. BTW, Is it possible to share your current nxMW cmake options for a review? Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: Using correct ENV Variable with nx_personalization demo for A30 Hello @Kan_Li  You are absolutely right, I didn't realise that was the issue with the nx_Personalization, as I don't have the chip first hand. I also wanted to apologize for the formatting, if I only use quick reply, it doesn't format properly. When running the Minimal example using SIGMA-I I receive this error still though. Is this the wrong directory?  nx_mw :INFO :Read file from /home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1/cert_and_key/nist_p/device_root_certificate.der nx_mw :WARN :nxEnsure:'status == kStatus_SSS_Success' failed. At Line:1963 Function:nx_verify_leaf_cert_hash_signature nx_mw :WARN :nxEnsure:'status == kStatus_SSS_Success' failed. At Line:3512 Function:nx_sigma_i_authenticate_channel nx_mw :ERROR:Could not set SIGMA-I Verifier Secure Channel nx_mw :WARN :nxEnsure:'kStatus_SSS_Success == status' failed. At Line:174 Function:ex_sss_boot_nx_open nx_mw :ERROR:ex_sss_session_open Failed nx_mw :ERROR:!ERROR! ret != 0. Re: Using correct ENV Variable with nx_personalization demo for A30 Hi @Jansch , Thanks for the info! We noticed the 91 DE error in the error log which indicates it's already personalized, so it can not be personalized any more. and as you mentioned , All example are working but nx_Personalization is failed. Question 1) Have you played with all example works with Symmetric authentication? I understand you didn't try with Sigma-I-Authentication, right? Please kindly clarify. Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: Using correct ENV Variable with nx_personalization demo for A30 Hey @Kan_Li  I wrote the wrong directory in the last message, this is the correct one: nx_mw :INFO :Using certificate/key from:'/home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1' (ENV=NX_AUTH_CERT_DIR) nx_mw :INFO :Read file from /home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1/cert_and_key/nist_p/host_root_certificate.der nx_mw :INFO :Read file from /home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1/cert_and_key/nist_p/device_leaf_certificate.der nx_mw :INFO :Read file from /home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1/cert_and_key/nist_p/device_leaf_keypair.der  The output for verbose logs is long, as following: nx_mw :INFO :Session Open Succeed nx_mw :INFO :Nx provision start nx_mw :INFO :******************************* NOTE ******************************************** nx_mw :INFO :Default top level certificate directory is: /tmp/configuration/a30_hostcert_depth2_x509_rev3_nistp/ nx_mw :INFO :To override this directory path, you need to set env variable as follows: nx_mw :INFO :NX_AUTH_CERT_DIR=..\nx-mw-top\binaries\configuration\cert_depth3_PKCS7_rev1 nx_mw :INFO :********************************************************************************* nx_mw :INFO :Using certificate/key from:'/home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1' (ENV=NX_AUTH_CERT_DIR) nx_mw :DEBUG:Number of characters read = 523 nx_mw :INFO :Read file from /home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1/cert_and_key/nist_p/host_root_certificate.der nx_mw :DEBUG:openssl parse certificates failed. It maybe PKCS#7 certificate APDU :DEBUG:GetKeySettings [CARootKeyList] APDU :DEBUG: [Option] = 0x2 nx_mw :DEBUG: Input:Native Command code (Len=1) 45 nx_mw :DEBUG: Input:Native Command Header (Len=1) 02 nx_mw :DEBUG:FN: nx_AES_EV2_MAC_CommandAPDU nx_mw :DEBUG:Command counter = 1 nx_mw :DEBUG:APDU Tx> (Len=15) 90 45 00 00 09 02 69 8F 94 02 2C AD 68 40 00 nx_mw :DEBUG:Enter phNxpEseProto7816_Transceive nx_mw :DEBUG:Transceive data ptr 0x0x7ffff91e9870 len:15 nx_mw :DEBUG:I-Frame Data Len: 15 Seq. no:1 nx_mw :DEBUG:TransceiveProcess nextTransceiveState 1 nx_mw :DEBUG:phNxpEse_WriteFrame Enter .. nx_mw :DEBUG:TX (axI2CWrite) > (Len=21) 21 40 00 0F 90 45 00 00 09 02 69 8F 94 02 2C AD 68 40 00 66 0A nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RAW Tx> (Len=21) 21 40 00 0F 90 45 00 00 09 02 69 8F 94 02 2C AD 68 40 00 66 0A nx_mw :DEBUG:phNxpEse_read Enter .. nx_mw :DEBUG:phPalEse_i2c_read Read Requested 2 bytes nx_mw :DEBUG:Done with rv = 0d nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 00 nx_mw :DEBUG:_i2c_read() error : 13 nx_mw :DEBUG:_i2c_read() failed. Going to retry, counter:1 ! nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=2) 12 40 nx_mw :DEBUG:phNxpEse_readPacket Read HDR nx_mw :DEBUG:phNxpEse_readPacket SOF FOUND nx_mw :DEBUG:phPalEse_i2c_read Read Requested 2 bytes nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 12 nx_mw :DEBUG:poll_sof_chained_delay value is 0 nx_mw :DEBUG:phPalEse_i2c_read Read Requested 20 bytes nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=20) 01 00 0C FF 3F 30 3F 00 7A 0B 9B FC 58 3F DC CD 91 00 90 5D nx_mw :DEBUG:RAW Rx< (Len=24) 12 40 00 12 01 00 0C FF 3F 30 3F 00 7A 0B 9B FC 58 3F DC CD 91 00 90 5D nx_mw :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----> 0x55562b33cab0 len ----> 0x18 nx_mw :DEBUG:Received CRC:0x905d Calculated CRC:0x905d nx_mw :DEBUG:Retry Counter = 0 nx_mw :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received nx_mw :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x1 nx_mw :DEBUG:Data[0]=0x1 len=18 Data[17]=0x91 Data[18]=0x0 nx_mw :DEBUG: phNxpEse_Transceive Exit status 0x0 nx_mw :DEBUG:APDU Rx< (Len=18) 01 00 0C FF 3F 30 3F 00 7A 0B 9B FC 58 3F DC CD 91 00 nx_mw :DEBUG:FN: nx_DeCrypt nx_mw :DEBUG: Input:rspBuf (Len=18) 01 00 0C FF 3F 30 3F 00 7A 0B 9B FC 58 3F DC CD 91 00 nx_mw :DEBUG:Mac verified : (Len=16) 09 7A 96 0B 06 9B E5 FC 5B 58 13 3F CD DC 18 CD nx_mw :DEBUG:Decrypted the response (Len=10) 01 00 0C FF 3F 30 3F 00 91 00 APDU :DEBUG:ManageCARootKey [] APDU :DEBUG: [KeyNo] = 0x0 APDU :DEBUG: [curveID] = 0xC APDU :DEBUG: [accessRight(LSB)] = 0x3FFF APDU :DEBUG: [writeAccessCond] = 0x30 APDU :DEBUG: [readAccessCond] = 0x3F APDU :DEBUG: [Reserved] = 0x0 APDU :DEBUG: [Public key] (Len=65) 04 C2 3A B7 F3 EB 7E CD F9 4E 1C 43 B2 8B 0C 2F 49 C9 61 35 A1 4A E0 58 BC A9 FE F9 4D 18 D4 46 28 C1 2F 8D 00 5B C4 8C C4 02 74 86 90 42 75 AE 55 96 0B 23 C7 6E 96 EF 96 80 27 04 2A 16 7D E5 AD APDU :DEBUG: [CA Subject Name Len] = 0x64 APDU :DEBUG: [CA Issuer Name] (Len=100) 30 62 31 0B 30 09 06 03 55 04 06 13 02 4E 4C 31 12 30 10 06 03 55 04 08 0C 09 45 69 6E 64 68 6F 76 65 6E 31 12 30 10 06 03 55 04 07 0C 09 45 69 6E 64 68 6F 76 65 6E 31 0C 30 0A 06 03 55 04 0A 0C 03 4E 58 50 31 1D 30 1B 06 03 55 04 03 0C 14 4E 58 50 20 41 75 74 68 20 52 6F 6F 74 43 41 76 45 32 30 31 nx_mw :DEBUG: Input:Native Command code (Len=1) 48 nx_mw :DEBUG: Input:Native Command Header (Len=7) 00 0C FF 3F 30 3F 00 nx_mw :DEBUG: Input:Native Command Data (Len=166) 04 C2 3A B7 F3 EB 7E CD F9 4E 1C 43 B2 8B 0C 2F 49 C9 61 35 A1 4A E0 58 BC A9 FE F9 4D 18 D4 46 28 C1 2F 8D 00 5B C4 8C C4 02 74 86 90 42 75 AE 55 96 0B 23 C7 6E 96 EF 96 80 27 04 2A 16 7D E5 AD 64 30 62 31 0B 30 09 06 03 55 04 06 13 02 4E 4C 31 12 30 10 06 03 55 04 08 0C 09 45 69 6E 64 68 6F 76 65 6E 31 12 30 10 06 03 55 04 07 0C 09 45 69 6E 64 68 6F 76 65 6E 31 0C 30 0A 06 03 55 04 0A 0C 03 4E 58 50 31 1D 30 1B 06 03 55 04 03 0C 14 4E 58 50 20 41 75 74 68 20 52 6F 6F 74 43 41 76 45 32 30 31 nx_mw :DEBUG:FN: nx_AES_EV2_Encrypt_CommandAPDU nx_mw :DEBUG:FN: nx_PadCommandAPDU nx_mw :DEBUG:Input: cmdApduBuf (Len=176) 04 C2 3A B7 F3 EB 7E CD F9 4E 1C 43 B2 8B 0C 2F 49 C9 61 35 A1 4A E0 58 BC A9 FE F9 4D 18 D4 46 28 C1 2F 8D 00 5B C4 8C C4 02 74 86 90 42 75 AE 55 96 0B 23 C7 6E 96 EF 96 80 27 04 2A 16 7D E5 AD 64 30 62 31 0B 30 09 06 03 55 04 06 13 02 4E 4C 31 12 30 10 06 03 55 04 08 0C 09 45 69 6E 64 68 6F 76 65 6E 31 12 30 10 06 03 55 04 07 0C 09 45 69 6E 64 68 6F 76 65 6E 31 0C 30 0A 06 03 55 04 0A 0C 03 4E 58 50 31 1D 30 1B 06 03 55 04 03 0C 14 4E 58 50 20 41 75 74 68 20 52 6F 6F 74 43 41 76 45 32 30 31 80 00 00 00 00 00 00 00 00 00 nx_mw :DEBUG:FN: nx_AES_EV2_MAC_CommandAPDU nx_mw :DEBUG:Command counter = 2 nx_mw :DEBUG:APDU Tx> (Len=197) 90 48 00 00 BF 00 0C FF 3F 30 3F 00 F5 AE 1D 20 C9 3C EA 4A A7 6D 67 3E 1D E5 79 6B D7 C1 91 23 04 9E 00 52 0A F5 DA 93 8F 83 D0 1E EC 98 3B 07 30 BE 85 97 47 5A 8A CF CF 52 79 8F CC A0 47 06 F8 6E 3B B9 A9 E5 FB 84 FC F9 F0 19 0E 2A F4 00 C4 F4 C4 BD 56 B9 21 03 AC 10 90 C8 A1 A3 3C 9C 75 4E 10 5A BD F8 AA 2D 8E BA CB 89 CE 04 50 F9 CB 4E CF 56 45 E2 E4 BF D9 FF D4 AA 35 81 2A 32 F4 CB B3 B3 EE E1 F0 AB 47 A5 DF 95 8D 43 CA 6F 05 14 36 AE 13 73 1C 29 E7 CE EB 38 3E 37 20 41 95 B1 AD 15 5A 1A D8 89 29 4F 9A 48 9F AE 13 F8 38 03 D3 DB 16 99 E3 0B 7F 24 E8 C0 2E E1 98 E2 D7 11 C7 FB 00 nx_mw :DEBUG:Enter phNxpEseProto7816_Transceive nx_mw :DEBUG:Transceive data ptr 0x0x7ffff91ea760 len:197 nx_mw :DEBUG:I-Frame Data Len: 197 Seq. no:0 nx_mw :DEBUG:TransceiveProcess nextTransceiveState 1 nx_mw :DEBUG:phNxpEse_WriteFrame Enter .. nx_mw :DEBUG:TX (axI2CWrite) > (Len=203) 21 00 00 C5 90 48 00 00 BF 00 0C FF 3F 30 3F 00 F5 AE 1D 20 C9 3C EA 4A A7 6D 67 3E 1D E5 79 6B D7 C1 91 23 04 9E 00 52 0A F5 DA 93 8F 83 D0 1E EC 98 3B 07 30 BE 85 97 47 5A 8A CF CF 52 79 8F CC A0 47 06 F8 6E 3B B9 A9 E5 FB 84 FC F9 F0 19 0E 2A F4 00 C4 F4 C4 BD 56 B9 21 03 AC 10 90 C8 A1 A3 3C 9C 75 4E 10 5A BD F8 AA 2D 8E BA CB 89 CE 04 50 F9 CB 4E CF 56 45 E2 E4 BF D9 FF D4 AA 35 81 2A 32 F4 CB B3 B3 EE E1 F0 AB 47 A5 DF 95 8D 43 CA 6F 05 14 36 AE 13 73 1C 29 E7 CE EB 38 3E 37 20 41 95 B1 AD 15 5A 1A D8 89 29 4F 9A 48 9F AE 13 F8 38 03 D3 DB 16 99 E3 0B 7F 24 E8 C0 2E E1 98 E2 D7 11 C7 FB 00 D3 7A nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RAW Tx> (Len=203) 21 00 00 C5 90 48 00 00 BF 00 0C FF 3F 30 3F 00 F5 AE 1D 20 C9 3C EA 4A A7 6D 67 3E 1D E5 79 6B D7 C1 91 23 04 9E 00 52 0A F5 DA 93 8F 83 D0 1E EC 98 3B 07 30 BE 85 97 47 5A 8A CF CF 52 79 8F CC A0 47 06 F8 6E 3B B9 A9 E5 FB 84 FC F9 F0 19 0E 2A F4 00 C4 F4 C4 BD 56 B9 21 03 AC 10 90 C8 A1 A3 3C 9C 75 4E 10 5A BD F8 AA 2D 8E BA CB 89 CE 04 50 F9 CB 4E CF 56 45 E2 E4 BF D9 FF D4 AA 35 81 2A 32 F4 CB B3 B3 EE E1 F0 AB 47 A5 DF 95 8D 43 CA 6F 05 14 36 AE 13 73 1C 29 E7 CE EB 38 3E 37 20 41 95 B1 AD 15 5A 1A D8 89 29 4F 9A 48 9F AE 13 F8 38 03 D3 DB 16 99 E3 0B 7F 24 E8 C0 2E E1 98 E2 D7 11 C7 FB 00 D3 7A nx_mw :DEBUG:phNxpEse_read Enter .. nx_mw :DEBUG:phPalEse_i2c_read Read Requested 2 bytes nx_mw :DEBUG:Done with rv = 0d nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 00 nx_mw :DEBUG:_i2c_read() error : 13 nx_mw :DEBUG:_i2c_read() failed. Going to retry, counter:1 ! nx_mw :DEBUG:Done with rv = 0d nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 00 nx_mw :DEBUG:_i2c_read() error : 13 nx_mw :DEBUG:_i2c_read() failed. Going to retry, counter:2 ! nx_mw :DEBUG:Done with rv = 0d nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 00 nx_mw :DEBUG:_i2c_read() error : 13 nx_mw :DEBUG:_i2c_read() failed. Going to retry, counter:3 ! nx_mw :DEBUG:Done with rv = 0d nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 00 nx_mw :DEBUG:_i2c_read() error : 13 nx_mw :DEBUG:_i2c_read() failed. Going to retry, counter:4 ! nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=2) 12 00 nx_mw :DEBUG:phNxpEse_readPacket Read HDR nx_mw :DEBUG:phNxpEse_readPacket SOF FOUND nx_mw :DEBUG:phPalEse_i2c_read Read Requested 2 bytes nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 0A nx_mw :DEBUG:poll_sof_chained_delay value is 0 nx_mw :DEBUG:phPalEse_i2c_read Read Requested 12 bytes nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=12) 05 98 F4 58 9A 1B FB D3 91 00 FE D5 nx_mw :DEBUG:RAW Rx< (Len=16) 12 00 00 0A 05 98 F4 58 9A 1B FB D3 91 00 FE D5 nx_mw :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----> 0x55562b33cab0 len ----> 0x10 nx_mw :DEBUG:Received CRC:0xfed5 Calculated CRC:0xfed5 nx_mw :DEBUG:Retry Counter = 0 nx_mw :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received nx_mw :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x0 nx_mw :DEBUG:Data[0]=0x5 len=10 Data[9]=0x91 Data[10]=0x0 nx_mw :DEBUG: phNxpEse_Transceive Exit status 0x0 nx_mw :DEBUG:APDU Rx< (Len=10) 05 98 F4 58 9A 1B FB D3 91 00 nx_mw :DEBUG:FN: nx_DeCrypt nx_mw :DEBUG: Input:rspBuf (Len=10) 05 98 F4 58 9A 1B FB D3 91 00 nx_mw :DEBUG:Mac verified : (Len=16) 43 05 90 98 C4 F4 1B 58 42 9A 1F 1B 62 FB EE D3 nx_mw :DEBUG:Decrypted the response (Len=2) 91 00 nx_mw :DEBUG:Using certificate/key from:'/home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1' (ENV=NX_AUTH_CERT_DIR) nx_mw :DEBUG:Number of characters read = 500 nx_mw :INFO :Read file from /home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1/cert_and_key/nist_p/device_leaf_certificate.der nx_mw :DEBUG:Using certificate/key from:'/home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1' (ENV=NX_AUTH_CERT_DIR) nx_mw :DEBUG:Number of characters read = 121 nx_mw :INFO :Read file from /home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1/cert_and_key/nist_p/device_leaf_keypair.der APDU :DEBUG:GetKeySettings [ECCPrivateKeyList] APDU :DEBUG: [Option] = 0x1 nx_mw :DEBUG: Input:Native Command code (Len=1) 45 nx_mw :DEBUG: Input:Native Command Header (Len=1) 01 nx_mw :DEBUG:FN: nx_AES_EV2_MAC_CommandAPDU nx_mw :DEBUG:Command counter = 3 nx_mw :DEBUG:APDU Tx> (Len=15) 90 45 00 00 09 01 63 3C E6 71 4F 32 9A AE 00 nx_mw :DEBUG:Enter phNxpEseProto7816_Transceive nx_mw :DEBUG:Transceive data ptr 0x0x7ffff91e97f0 len:15 nx_mw :DEBUG:I-Frame Data Len: 15 Seq. no:1 nx_mw :DEBUG:TransceiveProcess nextTransceiveState 1 nx_mw :DEBUG:phNxpEse_WriteFrame Enter .. nx_mw :DEBUG:TX (axI2CWrite) > (Len=21) 21 40 00 0F 90 45 00 00 09 01 63 3C E6 71 4F 32 9A AE 00 1F 2E nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RAW Tx> (Len=21) 21 40 00 0F 90 45 00 00 09 01 63 3C E6 71 4F 32 9A AE 00 1F 2E nx_mw :DEBUG:phNxpEse_read Enter .. nx_mw :DEBUG:phPalEse_i2c_read Read Requested 2 bytes nx_mw :DEBUG:Done with rv = 0d nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 00 nx_mw :DEBUG:_i2c_read() error : 13 nx_mw :DEBUG:_i2c_read() failed. Going to retry, counter:1 ! nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=2) 12 40 nx_mw :DEBUG:phNxpEse_readPacket Read HDR nx_mw :DEBUG:phNxpEse_readPacket SOF FOUND nx_mw :DEBUG:phPalEse_i2c_read Read Requested 2 bytes nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 3F nx_mw :DEBUG:poll_sof_chained_delay value is 0 nx_mw :DEBUG:phPalEse_i2c_read Read Requested 65 bytes nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=65) 04 00 0C 04 00 30 00 00 00 00 00 00 00 00 02 0C 30 00 30 00 00 00 00 00 00 00 00 03 0D 04 00 30 00 00 00 00 00 00 00 00 04 0C 08 00 30 00 00 00 00 00 00 00 00 94 8F 21 C9 D4 42 97 1C 91 00 61 71 nx_mw :DEBUG:RAW Rx< (Len=69) 12 40 00 3F 04 00 0C 04 00 30 00 00 00 00 00 00 00 00 02 0C 30 00 30 00 00 00 00 00 00 00 00 03 0D 04 00 30 00 00 00 00 00 00 00 00 04 0C 08 00 30 00 00 00 00 00 00 00 00 94 8F 21 C9 D4 42 97 1C 91 00 61 71 nx_mw :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----> 0x55562b33cab0 len ----> 0x45 nx_mw :DEBUG:Received CRC:0x6171 Calculated CRC:0x6171 nx_mw :DEBUG:Retry Counter = 0 nx_mw :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received nx_mw :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x1 nx_mw :DEBUG:Data[0]=0x4 len=63 Data[62]=0x91 Data[63]=0x0 nx_mw :DEBUG: phNxpEse_Transceive Exit status 0x0 nx_mw :DEBUG:APDU Rx< (Len=63) 04 00 0C 04 00 30 00 00 00 00 00 00 00 00 02 0C 30 00 30 00 00 00 00 00 00 00 00 03 0D 04 00 30 00 00 00 00 00 00 00 00 04 0C 08 00 30 00 00 00 00 00 00 00 00 94 8F 21 C9 D4 42 97 1C 91 00 nx_mw :DEBUG:FN: nx_DeCrypt nx_mw :DEBUG: Input:rspBuf (Len=63) 04 00 0C 04 00 30 00 00 00 00 00 00 00 00 02 0C 30 00 30 00 00 00 00 00 00 00 00 03 0D 04 00 30 00 00 00 00 00 00 00 00 04 0C 08 00 30 00 00 00 00 00 00 00 00 94 8F 21 C9 D4 42 97 1C 91 00 nx_mw :DEBUG:Mac verified : (Len=16) D0 94 C2 8F 88 21 4F C9 10 D4 FE 42 1B 97 B9 1C nx_mw :DEBUG:Decrypted the response (Len=55) 04 00 0C 04 00 30 00 00 00 00 00 00 00 00 02 0C 30 00 30 00 00 00 00 00 00 00 00 03 0D 04 00 30 00 00 00 00 00 00 00 00 04 0C 08 00 30 00 00 00 00 00 00 00 00 91 00 APDU :DEBUG:ManageKeyPair [] APDU :DEBUG: [KeyNo] = 0x0 APDU :DEBUG: [Option] = 0x1 APDU :DEBUG: [curveID] = 0xC APDU :DEBUG: [KeyPolicy(LSB)] = 0x4 APDU :DEBUG: [writeAccessCond] = 0x30 APDU :DEBUG: [KUCLimit(LSB)] = 0x0 APDU :DEBUG: [Private key] (Len=32) 2F 0A 6C 8F AC A9 E6 E3 B2 8D C1 24 F6 39 D3 9F E2 83 27 C6 6B 25 0C 18 75 F0 2C 94 8B 15 CC 47 nx_mw :DEBUG: Input:Native Command code (Len=1) 46 nx_mw :DEBUG: Input:Native Command Header (Len=10) 00 01 0C 04 00 30 00 00 00 00 nx_mw :DEBUG: Input:Native Command Data (Len=32) 2F 0A 6C 8F AC A9 E6 E3 B2 8D C1 24 F6 39 D3 9F E2 83 27 C6 6B 25 0C 18 75 F0 2C 94 8B 15 CC 47 nx_mw :DEBUG:FN: nx_AES_EV2_Encrypt_CommandAPDU nx_mw :DEBUG:FN: nx_PadCommandAPDU nx_mw :DEBUG:Input: cmdApduBuf (Len=48) 2F 0A 6C 8F AC A9 E6 E3 B2 8D C1 24 F6 39 D3 9F E2 83 27 C6 6B 25 0C 18 75 F0 2C 94 8B 15 CC 47 80 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 nx_mw :DEBUG:FN: nx_AES_EV2_MAC_CommandAPDU nx_mw :DEBUG:Command counter = 4 nx_mw :DEBUG:APDU Tx> (Len=72) 90 46 00 00 42 00 01 0C 04 00 30 00 00 00 00 A2 B1 30 6A AE CF 30 47 D5 96 D7 EB 69 EF DB A3 66 8D F0 B1 0F FD 3D FE 42 98 DF 73 71 EA 7D 82 98 B6 31 9E CE F0 FF 8C D6 14 53 D5 22 03 CD 78 C9 ED 69 98 30 1A BF DA 00 nx_mw :DEBUG:Enter phNxpEseProto7816_Transceive nx_mw :DEBUG:Transceive data ptr 0x0x7ffff91ea740 len:72 nx_mw :DEBUG:I-Frame Data Len: 72 Seq. no:0 nx_mw :DEBUG:TransceiveProcess nextTransceiveState 1 nx_mw :DEBUG:phNxpEse_WriteFrame Enter .. nx_mw :DEBUG:TX (axI2CWrite) > (Len=78) 21 00 00 48 90 46 00 00 42 00 01 0C 04 00 30 00 00 00 00 A2 B1 30 6A AE CF 30 47 D5 96 D7 EB 69 EF DB A3 66 8D F0 B1 0F FD 3D FE 42 98 DF 73 71 EA 7D 82 98 B6 31 9E CE F0 FF 8C D6 14 53 D5 22 03 CD 78 C9 ED 69 98 30 1A BF DA 00 68 F3 nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RAW Tx> (Len=78) 21 00 00 48 90 46 00 00 42 00 01 0C 04 00 30 00 00 00 00 A2 B1 30 6A AE CF 30 47 D5 96 D7 EB 69 EF DB A3 66 8D F0 B1 0F FD 3D FE 42 98 DF 73 71 EA 7D 82 98 B6 31 9E CE F0 FF 8C D6 14 53 D5 22 03 CD 78 C9 ED 69 98 30 1A BF DA 00 68 F3 nx_mw :DEBUG:phNxpEse_read Enter .. nx_mw :DEBUG:phPalEse_i2c_read Read Requested 2 bytes nx_mw :DEBUG:Done with rv = 0d nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 00 nx_mw :DEBUG:_i2c_read() error : 13 nx_mw :DEBUG:_i2c_read() failed. Going to retry, counter:1 ! nx_mw :DEBUG:Done with rv = 0d nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 00 nx_mw :DEBUG:_i2c_read() error : 13 nx_mw :DEBUG:_i2c_read() failed. Going to retry, counter:2 ! nx_mw :DEBUG:Done with rv = 0d nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 00 nx_mw :DEBUG:_i2c_read() error : 13 nx_mw :DEBUG:_i2c_read() failed. Going to retry, counter:3 ! nx_mw :DEBUG:Done with rv = 0d nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 00 nx_mw :DEBUG:_i2c_read() error : 13 nx_mw :DEBUG:_i2c_read() failed. Going to retry, counter:4 ! nx_mw :DEBUG:Done with rv = 0d nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 00 nx_mw :DEBUG:_i2c_read() error : 13 nx_mw :DEBUG:_i2c_read() failed. Going to retry, counter:5 ! nx_mw :DEBUG:Done with rv = 0d nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 00 nx_mw :DEBUG:_i2c_read() error : 13 nx_mw :DEBUG:_i2c_read() failed. Going to retry, counter:6 ! nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=2) 12 00 nx_mw :DEBUG:phNxpEse_readPacket Read HDR nx_mw :DEBUG:phNxpEse_readPacket SOF FOUND nx_mw :DEBUG:phPalEse_i2c_read Read Requested 2 bytes nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 0A nx_mw :DEBUG:poll_sof_chained_delay value is 0 nx_mw :DEBUG:phPalEse_i2c_read Read Requested 12 bytes nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=12) 7F 8B 20 25 EA 16 35 E6 91 00 86 F6 nx_mw :DEBUG:RAW Rx< (Len=16) 12 00 00 0A 7F 8B 20 25 EA 16 35 E6 91 00 86 F6 nx_mw :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----> 0x55562b33cab0 len ----> 0x10 nx_mw :DEBUG:Received CRC:0x86f6 Calculated CRC:0x86f6 nx_mw :DEBUG:Retry Counter = 0 nx_mw :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received nx_mw :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x0 nx_mw :DEBUG:Data[0]=0x7f len=10 Data[9]=0x91 Data[10]=0x0 nx_mw :DEBUG: phNxpEse_Transceive Exit status 0x0 nx_mw :DEBUG:APDU Rx< (Len=10) 7F 8B 20 25 EA 16 35 E6 91 00 nx_mw :DEBUG:FN: nx_DeCrypt nx_mw :DEBUG: Input:rspBuf (Len=10) 7F 8B 20 25 EA 16 35 E6 91 00 nx_mw :DEBUG:Mac verified : (Len=16) 28 7F 86 8B E1 20 6F 25 BE EA C1 16 1B 35 B5 E6 nx_mw :DEBUG:Decrypted the response (Len=2) 91 00 APDU :DEBUG:GetConfiguration [Certificate Management] APDU :DEBUG: [Option] = 0x13 nx_mw :DEBUG: Input:Native Command code (Len=1) 65 nx_mw :DEBUG: Input:Native Command Header (Len=1) 13 nx_mw :DEBUG:FN: nx_AES_EV2_MAC_CommandAPDU nx_mw :DEBUG:Command counter = 5 nx_mw :DEBUG:APDU Tx> (Len=15) 90 65 00 00 09 13 A2 19 25 9F 28 A9 67 A0 00 nx_mw :DEBUG:Enter phNxpEseProto7816_Transceive nx_mw :DEBUG:Transceive data ptr 0x0x7ffff91ea0c0 len:15 nx_mw :DEBUG:I-Frame Data Len: 15 Seq. no:1 nx_mw :DEBUG:TransceiveProcess nextTransceiveState 1 nx_mw :DEBUG:phNxpEse_WriteFrame Enter .. nx_mw :DEBUG:TX (axI2CWrite) > (Len=21) 21 40 00 0F 90 65 00 00 09 13 A2 19 25 9F 28 A9 67 A0 00 7A 7F nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RAW Tx> (Len=21) 21 40 00 0F 90 65 00 00 09 13 A2 19 25 9F 28 A9 67 A0 00 7A 7F nx_mw :DEBUG:phNxpEse_read Enter .. nx_mw :DEBUG:phPalEse_i2c_read Read Requested 2 bytes nx_mw :DEBUG:Done with rv = 0d nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 00 nx_mw :DEBUG:_i2c_read() error : 13 nx_mw :DEBUG:_i2c_read() failed. Going to retry, counter:1 ! nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=2) 12 40 nx_mw :DEBUG:phNxpEse_readPacket Read HDR nx_mw :DEBUG:phNxpEse_readPacket SOF FOUND nx_mw :DEBUG:phPalEse_i2c_read Read Requested 2 bytes nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 1A nx_mw :DEBUG:poll_sof_chained_delay value is 0 nx_mw :DEBUG:phPalEse_i2c_read Read Requested 28 bytes nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=28) 2E 7F BE 71 08 3B 2B FF 46 F0 2B E5 66 16 DA 32 F7 34 39 B6 4D EA C7 D7 91 00 BB AF nx_mw :DEBUG:RAW Rx< (Len=32) 12 40 00 1A 2E 7F BE 71 08 3B 2B FF 46 F0 2B E5 66 16 DA 32 F7 34 39 B6 4D EA C7 D7 91 00 BB AF nx_mw :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----> 0x55562b33cab0 len ----> 0x20 nx_mw :DEBUG:Received CRC:0xbbaf Calculated CRC:0xbbaf nx_mw :DEBUG:Retry Counter = 0 nx_mw :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received nx_mw :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x1 nx_mw :DEBUG:Data[0]=0x2e len=26 Data[25]=0x91 Data[26]=0x0 nx_mw :DEBUG: phNxpEse_Transceive Exit status 0x0 nx_mw :DEBUG:APDU Rx< (Len=26) 2E 7F BE 71 08 3B 2B FF 46 F0 2B E5 66 16 DA 32 F7 34 39 B6 4D EA C7 D7 91 00 nx_mw :DEBUG:FN: nx_DeCrypt nx_mw :DEBUG: Input:rspBuf (Len=26) 2E 7F BE 71 08 3B 2B FF 46 F0 2B E5 66 16 DA 32 F7 34 39 B6 4D EA C7 D7 91 00 nx_mw :DEBUG:Mac verified : (Len=16) 98 F7 45 34 5C 39 81 B6 E5 4D 5F EA 56 C7 C2 D7 nx_mw :DEBUG:Decrypted the response (Len=6) 05 04 08 10 91 00 APDU :DEBUG:ManageCertRepo [CreateCertRepo] APDU :DEBUG: [action] = 0x0 APDU :DEBUG: [repoID] = 0x0 APDU :DEBUG: [cert private keyID] = 0x0 APDU :DEBUG: [repoSize(LSB)] = 0xC00 APDU :DEBUG: [writeAccess] = 0x30 APDU :DEBUG: [readAccess] = 0x30 nx_mw :DEBUG: Input:Native Command code (Len=1) 49 nx_mw :DEBUG: Input:Native Command Header (Len=7) 00 00 00 00 0C 30 30 nx_mw :DEBUG:FN: nx_AES_EV2_MAC_CommandAPDU nx_mw :DEBUG:Command counter = 6 nx_mw :DEBUG:APDU Tx> (Len=21) 90 49 00 00 0F 00 00 00 00 0C 30 30 21 50 44 1A 00 AA 84 A7 00 nx_mw :DEBUG:Enter phNxpEseProto7816_Transceive nx_mw :DEBUG:Transceive data ptr 0x0x7ffff91eaf20 len:21 nx_mw :DEBUG:I-Frame Data Len: 21 Seq. no:0 nx_mw :DEBUG:TransceiveProcess nextTransceiveState 1 nx_mw :DEBUG:phNxpEse_WriteFrame Enter .. nx_mw :DEBUG:TX (axI2CWrite) > (Len=27) 21 00 00 15 90 49 00 00 0F 00 00 00 00 0C 30 30 21 50 44 1A 00 AA 84 A7 00 FA 77 nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RAW Tx> (Len=27) 21 00 00 15 90 49 00 00 0F 00 00 00 00 0C 30 30 21 50 44 1A 00 AA 84 A7 00 FA 77 nx_mw :DEBUG:phNxpEse_read Enter .. nx_mw :DEBUG:phPalEse_i2c_read Read Requested 2 bytes nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=2) 12 00 nx_mw :DEBUG:phNxpEse_readPacket Read HDR nx_mw :DEBUG:phNxpEse_readPacket SOF FOUND nx_mw :DEBUG:phPalEse_i2c_read Read Requested 2 bytes nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=2) 00 02 nx_mw :DEBUG:poll_sof_chained_delay value is 0 nx_mw :DEBUG:phPalEse_i2c_read Read Requested 4 bytes nx_mw :DEBUG:Done with rv = 0c nx_mw :DEBUG:RX (axI2CRead): (Len=4) 91 DE 37 A7 nx_mw :DEBUG:RAW Rx< (Len=8) 12 00 00 02 91 DE 37 A7 nx_mw :DEBUG:phNxpEseProto7816_ProcessResponse p_data ----> 0x55562b33cab0 len ----> 0x8 nx_mw :DEBUG:Received CRC:0x37a7 Calculated CRC:0x37a7 nx_mw :DEBUG:Retry Counter = 0 nx_mw :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame Received nx_mw :DEBUG:phNxpEseProto7816_DecodeFrame I-Frame lastRcvdIframeInfo.seqNo:0x0 nx_mw :DEBUG:Data[0]=0x91 len=2 Data[1]=0x91 Data[2]=0xde nx_mw :DEBUG: phNxpEse_Transceive Exit status 0x0 nx_mw :DEBUG:APDU Rx< (Len=2) 91 DE nx_mw :DEBUG:FN: nx_DeCrypt nx_mw :DEBUG: Input:rspBuf (Len=2) 91 DE nx_mw :WARN :nxEnsure:'(ret == SM_OK) || (ret == SM_OK_ALT)' failed. At Line:3713 Function:sss_nx_TXn_AES_EV2 nx_mw :ERROR:nx_ManageCertRepo_CreateCertRepo Failed nx_mw :WARN :nxEnsure:'status == kStatus_SSS_Success' failed. At Line:812 Function:nx_load_se_leaf_keypair_and_cert nx_mw :WARN :nxEnsure:'status == kStatus_SSS_Success' failed. At Line:980 Function:ex_sss_entry nx_mw :ERROR:nx_Personalization Example Failed !!!... nx_mw :INFO :ex_sss Finished nx_mw :ERROR:ex_sss_entry Failed nx_mw :DEBUG:Close i2c device 3. nx_mw :DEBUG:phNxpEse_close - ESE Context deinit completed nx_mw :ERROR:!ERROR! ret != 0. Re: Using correct ENV Variable with nx_personalization demo for A30 Hi @Jansch , Thanks for the clarification! Is it possible to give us a more detailed log by enabling the following cmake option? -DNXMW_Log=Verbose Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------   Re: Using correct ENV Variable with nx_personalization demo for A30 Hi @Kan_Li  Yes, exactly. I can run every other demo and have tried a cuople things that all work, I just struggle to get the SIGMA-I authentication to work. NX_AUTH_CERT_DIR has been changed by me to refer to the folder indicated by section 4.1.1: "Hard coded certificates defined in nx-mw-top/demos/nx/nx_Personalization/nx_Personalization.h" The actual folder for me is found at: ~/a30mw/nxmw_main/demos/nx/nx_Personalization/nx_Personalization.h This is the content of my NX_AUTH_CERT_DIR aswell. Looking into that folder I have various certificates in plaintext, so everything seems to be in order. Greetings Jan Re: Using correct ENV Variable with nx_personalization demo for A30 Hi @Jansch , I understand you are following the steps as listed in section 2.5.3 in nxmw.pdf , but halted in the following step, right? and then you followed the steps in section 4.1.1 to Nx Personalization example with a self defined ENV, right? What is the setting for NX_AUTH_CERT_DIR in this case? Would you please clarify? Please kindly let me know if I made any misunderstanding here. Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. ------------------------------------------------------------------------------- Re: Using correct ENV Variable with nx_personalization demo for A30 Hello @Kan_Li, I'm running this setup on raspbian, therefore I'm unable to run a .bat file. I have followed the nxmw.pdf section 2.5, which refers me to the nx_Personalization example. I had the ENV variable set up wrongly, now I have the correct one. I can read the files, which the output is also indicating but I am still failing at some point: I am opening the session correctly, indicating a correct Symmetric Key being used. Maybe I need to select differen t options on linux when executing the command. I am not sure. nx_mw :INFO :******************************* NOTE ******************************************** nx_mw :INFO :Default top level certificate directory is: /tmp/configuration/a30_hostcert_depth2_x509_rev3_nistp/ nx_mw :INFO :To override this directory path, you need to set env variable as follows: nx_mw :INFO :NX_AUTH_CERT_DIR=..\nx-mw-top\binaries\configuration\cert_depth3_PKCS7_rev1 nx_mw :INFO :********************************************************************************* nx_mw :INFO :Using certificate/key from:'/home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1' (ENV=NX_AUTH_CERT_DIR) nx_mw :INFO :Read file from /home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1/cert_and_key/nist_p/host_root_certificate.der nx_mw :INFO :Read file from /home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1/cert_and_key/nist_p/device_leaf_certificate.der nx_mw :INFO :Read file from /home/pi/a30mw/nxmw-main/binaries/configuration/cert_depth3_PKCS7_rev1/cert_and_key/nist_p/device_leaf_keypair.der nx_mw :WARN :nxEnsure:'(ret == SM_OK) || (ret == SM_OK_ALT)' failed. At Line:3713 Function:sss_nx_TXn_AES_EV2 nx_mw :ERROR:nx_ManageCertRepo_CreateCertRepo Failed nx_mw :WARN :nxEnsure:'status == kStatus_SSS_Success' failed. At Line:812 Function:nx_load_se_leaf_keypair_and_cert nx_mw :WARN :nxEnsure:'status == kStatus_SSS_Success' failed. At Line:980 Function:ex_sss_entry nx_mw :ERROR:nx_Personalization Example Failed !!!... nx_mw :INFO :ex_sss Finished nx_mw :ERROR:ex_sss_entry Failed nx_mw :ERROR:!ERROR! ret != 0. Re: Using correct ENV Variable with nx_personalization demo for A30 Hi @Jansch , Yes, please use the certs and keys in nx-mw-top\binaries\configuration\a30_hostcert_depth2_x509_rev3_nistp to personalize the certificate for A30 . you may simply run the bat file : nxclitool_prov_host_root_cert for that purpose, please kindly refer to NXMW.pdf , section 2.1 set up A30/NTAG_X_DNA sample for more details. Hope that helps, Have a great day, Kan ------------------------------------------------------------------------------- Note: - If this post answers your question, please click the "Mark Correct" button. Thank you! - We are following threads for 7 weeks after the last post, later replies are ignored Please open a new thread and refer to the closed one, if you have a related question at a later point in time. -------------------------------------------------------------------------------
查看全文
s32k1 AIPS-Lite 错误信息位置 Hello 我通过 AIPS-Lite 对某些寄存器的访问进行了限制。我的理解是,如果未经授权访问这些寄存器,系统将进入 HardFault 中断。 现在,我想记录这些未经授权的访问尝试。我该怎么做?我在 S32K-RM.pdf 中没有看到 AIPS-Lite 用于存储此错误信息的相关寄存器。 Re: s32k1 AIPS-Lite error message location 你好,@白川、 正如你所提到的,没有专用的AIPS错误状态寄存器。 发生违规访问时,内核会发出总线故障异常信号。 您可以按照 NXP 文档中的说明读取堆叠的程序计数器 (PC) 值: https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447 但是,如果异常是不精确的(用 CFSR[IMPRECISERR] 表示),则堆叠的 PC 与导致故障的实际指令不一致。出现这种情况是因为故障是在写缓冲区提交访问后检测到的。 要获得精确的故障信息,需要禁用写缓冲区,但这样做会降低系统性能。 此致, 丹尼尔 Re: s32k1 AIPS-Lite error message location 你好,@白川、 我从一开始就很清楚。 遗憾的是,BusFault 并不精确,这意味着 BFAR 寄存器无效。 如果故障是精确的,BFAR 将包含导致违规访问的外设寄存器地址。 当 BusFault 不精确时,保存在堆栈上的 PC 值也不是触发故障的确切指令。 在这种情况下,唯一的选择是检索堆栈 PC,然后分析前面的指令,找出最近的加载或存储操作,并提取目标地址。 BR,丹尼尔 Re: s32k1 AIPS-Lite error message location 你好@danielmartynek 非常感谢你的耐心解释。也许我没有表达清楚。实际上,我想做的是在 BusFault 处理程序中记录这种未经授权的访问尝试。例如:`pflash:0x00001a74 访问 peripheral[CAN0]:0x40024000` 失败。根据您的描述,PC 指针确实可以提供 pflash 中的地址,但我如何才能检索到它试图访问的目标地址呢?
查看全文