Multi Source Translation Content

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

Multi Source Translation Content

讨论

排序依据:
实践研讨会:学习如何使用 MCUXpresso 软件和工具快速启动和运行 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 本次实践课程介绍了 MCUXpresso 工具套件(IDE、SDK、配置工具),并向用户展示如何使用基于 Arm ® Cortex ® -M 内核的数千个 Kinetis 和 LPC MCU 快速开始开发。使用 Kinetis、LPC 或 i.MX RT 开发硬件,与会者将构建自定义 SDK、配置引脚和时钟设置、生成项目、导入和调试应用程序。 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 本次实践课程介绍了 MCUXpresso 工具套件(IDE、SDK、配置工具),并向用户展示如何使用基于 Arm ® Cortex ® -M 内核的数千个 Kinetis 和 LPC MCU 快速开始开发。使用 Kinetis、LPC 或 i.MX RT 开发硬件,与会者将构建自定义 SDK、配置引脚和时钟设置、生成项目、导入和调试应用程序。 i.MX 应用处理器 Kinetis Cortex ® -M 微控制器 LPC微控制器 软件和工具
查看全文
HOWTO: S32DS for Vision 2018.R1 から S32DS 3.x へのアプリケーション プロジェクトの移行 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 以前のバージョンの S32 Design Studio で作成されたプロジェクトを使用できますが、ビルドを変更する必要があります 構成設定とプロジェクト構造。 ISPアプリケーションプロジェクトの移行 次に、ISP アプリケーション プロジェクトを構成する方法について説明します。 [ファイル] > [インポート...] をクリックします。>一般] > [既存のプロジェクト] を [ワークスペース] に移動し、[次へ] をクリックします。 [参照] をクリックしてプロジェクトの場所を参照し、[OK] をクリックして [プロジェクトをワークスペースにコピー] オプションを選択し、[完了] をクリックします。 ビルド構成設定からすべての VSDK 固有の設定を削除します。 「Project Explorer」ビューでプロジェクトを右クリックし、コンテキスト・メニューの「Properties」をクリックします。 C/C++ ビルド コンフィギュレーション>を開き、A53 ビルド構成の次の設定を削除します。 標準 S32DS C コンパイラ/標準 S32DS C++ コンパイラ > プリプロセッサ: [定義済みシンボル ] リストから VSDK_UMAT_USE_OPENCV を削除します。 標準 S32DS C コンパイラ/標準 S32DS C++ コンパイラ > インクルード: [インクルード パス] リストからすべての${S32DS_VSDK_DIR}パスを削除します。 標準 S32DS C++ リンカ > ライブラリ: ライブラリ および ライブラリ検索パス の一覧からすべてのライブラリを削除します。 プロジェクトのプロパティの左ペインで [SDK ] をクリックし、 VSDK_MODULE_WIN を A53 ビルド構成にアタッチします。 typedefs.h を削除します。A53_incフォルダから。 APEX2アプリケーションプロジェクトの移行 APEX2アプリケーションプロジェクトの設定方法をご紹介します。 [ファイル] > [インポート...] をクリックします。>一般] > [既存のプロジェクト] を [ワークスペース] に移動し、[次へ] をクリックします。 [参照] をクリックしてプロジェクトの場所を参照し、[OK] をクリックして [プロジェクトをワークスペースにコピー] オプションを選択し、[完了] をクリックします。 一部のビルド構成設定を削除します。 「Project Explorer」ビューでプロジェクトを右クリックし、コンテキスト・メニューの「Properties」をクリックします。 C/C++ ビルド コンフィギュレーション > を開き、A53 および TEST_A53 ビルド構成の次の設定を削除します。 標準 S32DS C コンパイラ/標準 S32DS C++ コンパイラ > プリプロセッサ: [定義済みシンボル ] と [未定義シンボル ] リストをクリアします。 標準 S32DS C コンパイラ/標準 S32DS C++ コンパイラ > インクルー ド:[インクルード${S32DS_VSDK_DIR} パス] リストからすべての パスを削除します。 標準 S32DS C++ リンカ > ライブラリ: ライブラリ と ライブラリの検索パス の一覧をクリアします。 APU ビルド設定の次の設定を削除します。 APU C コンパイラ/APU C++ コンパイラ > プリプロセッサ: [定義済みシンボル ] リストをクリアします。 APU C コンパイラ/APU C++ コンパイラ > インクルー ド: インクルード${S32DS_VSDK_DIR} パス リストからすべての パスを削除し、 インクルード ファイル リストをクリアします。 APU C++リンカ > 一般 : スクリプトファイルを削除します。 APU C++ リンカ > ライブラリ: ライブラリ と ライブラリの検索パス のリストをクリアします。 EMU と TEST_EMU ビルド構成の次の設定を削除します。 クロス G++ コンパイラ > プリプロセッサ: [定義済みシンボル ] リストをクリアします。 クロス G++ コンパイラ > インクルード: ${ProjDirPath}パスを除くすべてのパスをインクルード パス リストから削除します。 G++ リンカ > ライブラリ間: ライブラリ と ライブラリの検索パス リストをクリアします。 Project_Settings/Scripts/gen_apu_load.tcl ファイルを、新しい S32 Design Studio で作成された任意の APEX2 プロジェクトからのコピーに置き換えます。 typedefs.h を削除します。A53_incフォルダから、S32V_APU.lcfはProject_Settings/Linker_Filesから。 「Project Explorer」ビューでプロジェクトを右クリックし、コンテキスト・メニューの「SDK」をクリックします。すべてのビルド構成に VSDK_MODULE_WIN アタッチします。 更新された Visual Graph Tools プロジェクトからソース コードを出力します。 APEX2エミュレータを使用してアプリケーションをデバッグする場合は、デバッグ構成設定を更新します。 Project Explorer ビューでプロジェクトを右クリックし、コンテキスト メニューの [Debug As and Debug Configurations...] をクリックします>。 左側のウィンドウで、[C/C++ アプリケーション] の下の構成を開きます。 右側のウィンドウで、[ 環境 ] タブに移動します。PATH 値を編集します。 ${S32DS_GCC_TOOLCHAIN_DIR};${S32DS_OPENCV_DIR}/x86/mingw/bin  次に、[ ネイティブ環境を指定した環境に置き換える ] チェック ボックスをオンにします。 [デバッガー] タブに移動し、GDB デバッガーの場所を更新します。 ${S32DS_GCC_TOOLCHAIN_DIR}/gdb.exe APEX2 Graph Projectの移行 APEX2グラフ図を更新する方法をご紹介します。 [ファイル] > [インポート...] をクリックします。>一般] > [既存のプロジェクト] を [ワークスペース] に移動し、[次へ] をクリックします。 [参照] をクリックしてプロジェクトの場所を参照し、[OK] をクリックして [プロジェクトをワークスペースにコピー] オプションを選択し、[完了] をクリックします。 グラフ図を開きます。 [パレット] ペインで、[カーネルの追加] をドラッグしてキャンバスにドロップします。 古いプロジェクトで使用されていたカーネルを選択します。検索ボックスにカーネル名を入力し始めるか、フィルタリングボタンを使用してカーネルの場所を指定できます。[OK] をクリックします。 古いカーネルを削除し、 入力 要素と 出力 要素を新しく追加したカーネルのそれぞれのポートに接続します。 図の各カーネルについて、5 から 7 の手順を繰り返します。 キャンバスを右クリックし、コンテキスト メニューの [ダイアグラムの検証 ] をクリックします。検証の問題が見つかった場合、[ 問題] ビューにエラーまたは警告が表示されます。エラーの原因となった要素は、図上に赤い十字アイコンでマークされているため、簡単に見つけて修正できます。 APEX2プログラムの移行プロジェクト APEX2プログラム図のアップデート方法をご紹介します。 [ファイル] > [インポート...] をクリックします。>一般] > [既存のプロジェクト] を [ワークスペース] に移動し、[次へ] をクリックします。 [参照] をクリックしてプロジェクトの場所を参照し、[OK] をクリックして [プロジェクトをワークスペースにコピー] オプションを選択し、[完了] をクリックします。 プログラム図を開きます。 [パレット] ペインで、[Graph からプロセス] をドラッグし、キャンバスにドロップします。 更新されたグラフを選択します。[OK] をクリックします。 古いプロセスを削除し、 インレット 要素と アウトレット 要素を新しく追加したプロセスのそれぞれのポートに接続します。 図上の各プロセスについて、5〜7の手順を繰り返します。 キャンバスを右クリックし、コンテキスト メニューの [ダイアグラムの検証 ] をクリックします。検証の問題が見つかった場合、[ 問題] ビューにエラーまたは警告が表示されます。エラーの原因となった要素は、図上に赤い十字アイコンでマークされているため、簡単に見つけて修正できます。
查看全文
采用 GaN 技术,适用于 1GHz 以上蜂窝频段的高功率射频应用 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 本次会议将介绍恩智浦针对蜂窝频段高功率应用的差异化GaN技术,包括全系列蜂窝射频功率产品。 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 本次会议将介绍恩智浦针对蜂窝频段高功率应用的差异化GaN技术,包括全系列蜂窝射频功率产品。
查看全文
eIQサンプルアプリ - TfLite Lab 4[1] <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> この ラボ 4 では、 eIQ ソフトウェア用の推論エンジン を使用して、i.MX8 ボード上の TensorFlow Lite アプリケーション デモを開始する方法について説明します。 eIQサンプルアプリ - 概要 eIQサンプルアプリ - はじめに Code Auroraで入手可能なソースコードを取得します。 TensorFlow Lite MobileFaceNets MIPI/USBカメラ OpenCVを使用した顔検出   このアプリケーションデモでは、Haar Feature based Cascade Classifiers を使用してリアルタイムの顔検出を行います。XML という名前の顔用の事前トレーニング済みの Haar Feature ベースのカスケード分類子は、OpenCV に既に含まれています。face の XML ファイルは opencv/data/haarcascades/ フォルダに保存されています。 また、コードauroraにも載せられています。詳細については、「Haar Cascades を使用した顔検出」をお読みください。 MobileFaceNets の TensorFlow Lite 実装 MobileFaceNets は、ホスト PC でより高いパフォーマンスを得るために、より小さなバッチ サイズと入力サイズで再トレーニングされます。このデモでは、トレーニング済みのモデルがソース ファイルとして読み込まれます。 ボードの設定 ステップ1 - eIQサンプルアプリからデモをダウンロードし、/ opt / tfliteフォルダに配置します。次に、srcフォルダを入力します。 root@imx8mmevk:~# cd /opt/tflite/examples-tflite/1-example/src/ root@imx8mmevk:/opt/tflite/examples-tflite/1-example/src# このフォルダには、次のファイルが含まれている必要があります。 . ├── face_detect_helpers.cpp ├── face_detect_helpers.h ├── face_detect_helpers_impl.h ├── face_recognition.cpp ├── face_recognition.h ├── haarcascade_frontalface_alt.xml ├── メイクファイル ├── MFN.H ├── プロファイリング.h └── スレッドプール.h ステップ2 - ボード上のソースコードをコンパイルします。 root@imx8mmevk:/opt/tflite/examples-tflite/1-example/src# make ステップ 3 - デモを実行します。 root@imx8mmevk:/opt/tflite/examples-tflite/1-example/src# ./FaceRecognition-c 0 -h 0.85 注:-cは、カメラインデックスを指定するために使用されます。「0」は、MIPI/USBカメラが/dev/video0にマウントされていることを意味します。-h は予測スコアのしきい値です。 ステップ 4 - 顔データ セットに新しい人物を追加します。 デモの実行中は、 最大 1 つの 顔がリアルタイムで検出されます。顔が検出されたら、GUIの右側にあるキーボードをクリックして、新しい人の名前を入力できます。次に、[新しい人物を追加] をクリックして、顔をデータ セットに追加します。 簡単に言うと、 1.顔を検出します。 2. 新しい人の名前を入力します。 3. 「新しいユーザーを追加」をクリックします。 注:新しいフェイスが追加されると、現在のディレクトリに「data」という名前のフォルダが作成されます。データセットから新しい顔を削除する場合は、「データ」で削除してください。
查看全文
LS1012A 平台上的数据包转发引擎 (PFE) 以太网端口设置 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> LS1012A集成硬件数据包转发引擎,提供高性能以太网接口。本文档介绍了PFE硬件和软件分解及数据流程,设置两个PFE以太网端口以实现通过PFE转发以太网数据包,如何修改PFE驱动程序和dts文件以在LS1012A定制板上设置单个PFE以太网端口。 PFE硬件结构 PFE 软件分解和数据流 设置两个 PFE 以太网端口,实现以太网数据包转发 在 LS1012A 定制板上设置单个 PFE 以太网端口 QorIQ LS1设备
查看全文
FRDM-STBC-AGM04 - 裸机示例项目 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> **************************************************************************************************************** * 此代码是为 NXP FRDM-KL25Z + FRDM-STBC-AGM04 板编写的 *并演示如何读取加速度(MMA8652FC)、磁场(MAG3110) * 和角速率(FXAS21002C)数据使用中断技术。 * * 默认情况下,所有传感器均通过 I2C 控制。 * * I2C从机地址: * MMA8652FC-> 0x1D * MAG3110-> 0x0E * FXAS21002C -> 0x20 * * J7 选择 MCU I2C 总线作为 SDA: * 2:3 -> I2C_SDA1 (PTC2) * * J8 选择 MCU I2C 总线作为 SCL: * 2:3 -> I2C_SCL1 (PTC1) * * INT1_8652 连接到 PTD4,INT1_MAG3110 连接到 PTA5 引脚和 * INT1_21002 连接到 PTA4 引脚。 ***************************************************************************************************** 原始附件已移至: FRDM-KL25Z-FRDM-STBC-AGM04-Basic-read-using-I2C-and-interrupts.rar
查看全文
NXP IoTセキュリティステーションF <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> NXPのセキュリティソリューションとユースケース。安全なIoT接続を迅速かつ簡単に導入する方法です。 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> NXPのセキュリティソリューションとユースケース。安全なIoT接続を迅速かつ簡単に導入する方法です。 識別とセキュリティ
查看全文
MagniV PLLカリキュレータ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> この計算機は、S12ZVL、S12ZVC、S12ZVMB、S12ZVM、S12ZVH、S12VRなどのMagniVデバイス用に作成され、ジャンクション温度Tj <= 150°Cで認定されています。 PLL レジスタの設定は、SYNR、REVDIV、および POSTDIV として示されています。これらのレジスタの説明は、各デバイスのリファレンスマニュアルに記載されています。 オシレーターとバスのクロック周波数は、リストから選択することも、手動で書き込むこともできます。値は「Enter」または「Calculate」ボタンで計算されます。 MagniVPLLCalc.exeがついています。
查看全文
センサー_マルチマーケット_may16.pdf <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
查看全文
CodeWarrior 10 Command Line Interface – usage and examples Inside {CW10 install folder}\eclipse there is ecd.exe which is used to run build projects from command line. this article focuses on ecd.exe usage with examples. Especially How to use ecd.exe command to build, generateMakefiles,make and reference a project. General
查看全文
S12ZVL-TIM-频率测量-V1_0-CW106-TIC-示例 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ******************************************************************************************* * 文件main.c * 所有者 LaMa-TIC-RPR * 版本 1.1 * 日期 2016年6月17日 * 分类一般商业信息 * 使用 TIM 模块在 PT0(IOC0_0)处进行简要的 S12Z 频率测量 * 在输入捕获模式下 ******************************************************************************************* * 详细说明: * 代码测量 PT0 处的频率 * 它表明 * - 它通过 TIM 模块 IOC0_0 测量 PT0 处的频率。 * - 测量对上升沿敏感,因此占空比没有影响 * 测量 *-常量: * 巴士时钟 * 最大溢出 * TIMER_PRESCALLER * 必须定义 * - MAX_OVERFLOWS 确定最小可测量频率。 * 这是最大值。允许的溢出次数。当溢出计数器达到 * 如果设置了标志 FREQUENCY_TOO_LOW,则此值成立。信息 * 然后将两个边之间的周期写入变量“str” * 该值给出了时间间隔: * T = TIMER_PRESCALER * MAX_OVERFLOWS * 65536 / BUSCLOCK * 例如: *-TIMER_PRESCALER = 1 * - 最大溢出 = 1000 * - 总线时钟 = 16,000,000Hz * T = 1 * 1000 * 65536 / 16,000,000 = 4,096 秒 => f=0,244140625Hz * - TIMER_PRESCALER = { 1,2,4,8,16,32,64,128} - 值越小,给出的数值越多 * 精确的值但它会更频繁地产生定时器溢出 * - 测量频率的物理表示存储在 * 字符串“str” * * - 测量精度为 df,可表示为: * * df = BUSCLK / ((n^2 + n) * PRESCALER); n = 测量的 TCNT 周期数 * * 例如:BUSCLK = 16MHz,n = 399,PRESCALER = 1 * * * df = 16,000,000 / ((399^2 + 399) * 1) = 100.25Hz * * 因此,计数 399 意味着 f=BUSCL/399=16,000,000/399 = 40,100.25Hz * 因此,计数 400 意味着 f=BUSCL/400=16,000,000/399 = 40,000.00Hz * * 因此,这种方法不适用于大频率,正如在 * 下表(我们可以得到的百分比误差是 df/f): * n f[赫兹] df[赫兹] n f[赫兹] df[赫兹] * 1 8000000 5333333,3 101 1553,0 30,1 * 2 2666666,6 1333333,3 102 1522,9 29,2 * 3 1333333,3 533333,3 103 1493,6 28,4 * 4 800000 266666,6 104 1465,2 27,6 * 5 533333,3 152380,9 105 1437,5 26,8 * 6 380952,3 95238,0 106 1410,6 26,1 * 7 285714,2 63492,0 107 1384,5 25,4 * 8 222222,2 44444,4 108 1359,1 24,7 * 9 177777,7 32323,2 109 1334,4 24,0 * 10 145454,5 24242,4 110 1310,4 23,4 * 11 121212,1 18648,0 111 1287,0 22,7 * 12 102564,1 14652,0 112 1264,2 22,1 * 13 87912,0 11721,6 113 1242,0 21,6 * 14 76190,4 9523,8 114 1220,4 21,0 * 15 66666,6 7843,1 115 1199,40,502 * 16 58823,5 6535,9 116 1178,8 19,9 * 17 52287,5 5503,9 117 1158,9 19,4 * 18 46783,6 4678,3 118 1139,4 18,9 * 19 42105,2 4010,0 119 1120,4 18,5 * 20 38095,2 3463,2 120 1101,9 18,0 * 21 34632,0 3011,4 121 1083,8 17,6 * 22 31620,5 2635,0 122 1066,2 17,1 * 23 28985,5 2318,8 123 1049,0 16,7 * 24 26666,6 2051,2 124 1032,2 16,3 * 25 24615,3 1823,3 125 1015,8 15,9 * *-PCB设置: * - J35 已断开,因为测量是在 PT0 上进行的 * - 脉冲发生器连接到 J35 引脚 1。(PT0) * * - 参考文档:MC9S12ZVLMR1.pdf Rev. 1.02 * - 在 TRK-S12ZVL 上测试 *-单片机 MC9S12ZVL32 0N22G *-OSCCLK = 4MHz * - BUSCLK = 16MHz(由PLL设置) * * 有关频率和计数的信息通过 SCI0 Tx 传输, * 路由 (MODRR) 至 PS1 引脚 * ******************************************************************************************* 修订历史: 版本 日期 作者 变更说明 1.0 2016年6月17日 LaMa-TIC-RPR 初始版本 **********************************************************************************************/ 概述
查看全文
S32K39-37-36 – eFlexPWM/TRGMUX/BCTU/SAR-ADC/DMA – [RTD600] 摘要 本示例基于 RTD 低级 API,在 S32K39-37-36 系列上使用 eFlexPWM、TRGMUX、BCTU、SAR-ADC 和 DMA 模块,展示了一个带有死区插入和硬件 ADC 触发的互补 PWM 输出的用例,以支持多样化的应用需求。 连接: S32K396-BGA-DC1 -> 引脚 -> 信号 -> 标签 J62-1 -> PTC30 -> siul2_gpio_94 -> GPIO1_GPT J62-5 -> PTD2 -> pwm_0_a, 2 -> PWM1 J62-6 -> PTD3 -> pwm_0_b, 2 -> PWM2 J62-30 -> PTD24 -> pwm_0_a, 0 -> PWMT J62-2 -> PTC31 -> siul2_gpio_95 -> GPIO3_BTCU_Trigger J62-4 -> PTD6 -> siul2_gpio_102 -> GPIO4_BTCU_Watermark J62-24 -> PTB14 -> adc1_s21 -> ADC1 *要连接 S32X-MB 的电位器: J62-24(在 S32K396-BGA-DC1 中)连接到P26-1(在 S32X-MB 中) 注意: 每次在配置工具中更新代码时,应在项目 /generate/src/Bctu_Ip_PBcfg.c 中添加以下行: #define DMA_LOGIC_CH_0 ((uint8)0U) 详细说明: GPT eMIOS 0 通道 0 的比较值生成一个超时周期。达到超时时间后,其 eMIOS 通知会切换 GPIO1。这使我们能够在示波器中观察到两个事件,这两个事件描述了信号序列的开始和结束。 eFlexPWM0 模块用于生成 PWM 和硬件 ADC 触发。 eFlexPWM0子模块2用于生成中心对齐的互补PWM输出(PWM1和PWM2),并插入死区时间。 eFlexPWM0 子模块 0 生成另一个独立的 PWM 输出 (PWMT),并用于在同一个 PWM 周期内生成模拟数据捕获的触发信号——在本例中,该触发信号在 PWM 高电平持续时间的一半时发生——使用 VAL0 寄存器。 BCTU 使用 ADC0 和 ADC1 实现并行转换列表。该列表由 eMIOS 通道触发,所得数据存储在 FIFO1 中,具体如下: • ADC0: VREFH_ChanNum51 -> BANDGAP_ChanNum48 • ADC1: VREFL_ChanNum50 -> S21_ChanNum45 为了调试,每次 BCTU 触发通知时都会切换 GPIO3。此外,每次 FIFO 中有效条目数超过水位线水平时,都会发生 BCTU 水位线通知,此时会切换 GPIO4,因此数据可供读取。 详见 图 1的完整信号序列: _Leo__0-1757704142905.png 图 1 示例项目的信号 当您暂停调试会话时,在“表达式”选项卡(图 2)中可以观察到结果:g_fifo1Result 对应 BCTU 列表测量值,而 g_fifo1Volts 对应以伏特为单位的转换值。 _Leo__1-1757633126890.png 图 2. 示例项目的“表达式”选项卡 参考文献 S32 Design Studio for S32 Platform 实时驱动(RTD) S32K39、S32K37和S32K36数据手册[S32K39-S32K37-DS] S32K39、S32K37和S32K36参考手册 [S32K396RM] S32K344 到 S32K39/S32K37 迁移指南 [AN14301] S32K39/37/36电气化微控制器评估板[S32K396-BGA-DC1] 用于实时域控制和驱动的 S32X-MB I/O 扩展评估板 [S32X-MB] S32K39-37-36 – eMIOS/BTCU/SAR-ADC/DMA – [RTD600] [S32K 知识库] 应用软件: - S32K396_RTD600_eFlexPWM_TRGMUX_BCTU_SARADC_DMA 示例通过以下 IDE 和驱动程序版本构建和测试: - S32 Design Studio for S32 Platform 版本 3.6.3 - S32K3_S32M27x 实时驱动程序 ASR R21-11 版本 6.0.0
查看全文
[S32K3工具部分]:如何使用IAR编译器或IAR项目来编译S32K3 MCAL项目 [S32K3 tool part]:如何使用 IAR 编译器或 IAR 项目来编译 MCAL 项目 1. 摘要     通过定期观察,我发现仍有许多客户在使用MCAL+IAR等平台,包括使用IAR编译器和直接使用IAR IDE的客户。事实上,我在早年从事工业MCU开发工作时,也特别青睐IAR IDE——其编译速度快、效率高,且生成代码的体积小。但是,当我接触汽车MCU后,我发现其普及率并不高,我也注意到部分客户在将MCAL导入IAR时遇到了各种问题。因此,我将直接撰写一篇工具文章,用于介绍如何使用IAR编译器或IAR IDE项目将恩智浦S32K MCAL与EB tresos MCAL结合编译。 本文结合 S32K344 和 RTD600,说明了如何使用 IAR 编译器编译 MCAL 项目,以及如何将 MCAL 直接导入 IAR IDE 项目 2. IAR 编译器与 S32K3 RTD MCAL 项目 2.1 S32K3 硬件和软件 SW32K3_S32M27x_RTD_R21-11_6.0.0 S32K3X4-EVB 基于 Dio_TS_T40D34M60I0R0 IAR:IAR EW for Arm 9.70.1 EB tresos 29.0.0 2.2 使用IAR编译器CMD方法编译MCAL项目步骤 2.2.1 复制一个 RTD MCAL 新项目 打开路径 C:\NXP\SW32K3_S32M27x_RTD_R21-11_6.0.0\eclipse\plugins 复制Dio_TS_T40D34M60I0R0,并将其重命名为Dio_TS_T40D34M60I0R0_IAR kerryzhou_0-1759479138916.png 图1 2.2.2 编译EB tresos项目 使用EB tresos工具打开以下EB tresos项目: C:\NXP\SW32K3_S32M27x_RTD_R21-11_6.0.0\eclipse\plugins\Dio_TS_T40D34M60I0R0_IAR\examples\EBT\S32K3XX\Dio_Example_S32K344\TresosProject 生成代码: kerryzhou_1-1759479139017.png 图2 2.2.3 Vscode 打开 Dio_TS_T40D34M60I0R0_IAR 项目 使用 VS Code 打开以下路径文件夹: C:\NXP\SW32K3_S32M27x_RTD_R21-11_6.0.0\eclipse\plugins\Dio_TS_T40D34M60I0R0_IAR\examples\EBT\S32K3XX\Dio_Example_S32K344 当然,您也可以使用命令行直接打开此文件夹路径,只要确保其与mk和makefile scr位于同一层路径中即可 kerryzhou_2-1759479139074.png 图3 2.2.4   修改Project_parameters.mk 主要修改以下几点: TOOLCHAIN = iar IAR_DIR = C:/IAR/ewarm-9.70.1 TRESOS_DIR = C:/EB/tresos_29_0_0 PLUGINS_DIR = C:/NXP/SW32K3_S32M27x_RTD_R21-11_6.0.0/eclipse/plugins IAR的路径必须与所使用的IAR软件版本一致,以确保能够找到对应的IAR编译器。 kerryzhou_3-1759479139116.png 图4 2.2.5   修改Check_build_params.mk 将以下内容添加到 check_build_params.mk 中: else ifeq ($(TOOLCHAIN),iar) ifeq ("$(wildcard $(IAR_DIR)/arm/bin/iccarm.exe)","") $(error Invalid path set to the IAR compiler. \ The provided path: from project_parameters.mk IAR_DIR=$(IAR_DIR) is invalid!) Endif kerryzhou_4-1759479139165.png 图5 2.2.6        修改Makefile Makefile 需要进行以下 5 点修改: (1) 编译器变更 ifeq (${TOOLCHAIN},iar) CC := $(IAR_DIR)/arm/bin/iccarm.exe LD := $(IAR_DIR)/arm/bin/ilinkarm.exe AS := $(IAR_DIR)/arm/bin/iasmarm.exe # Intel Hexadecimal Flash image tool GENHEX := $(IAR_DIR)/arm/bin/ielftool.exe HEX_OPTS := --ihex OUT_OPTS := -o endif kerryzhou_5-1759479139311.png 图6 (2) SRC_DIRS 添加 TOOLCHAIN SRC_DIRS += $(foreach mod,$(MCAL_MODULE_LIST),$(PLUGINS_DIR)/$(mod)_$(AR_PKG_NAME)/src) \ $(foreach mod,$(MCAL_MODULE_LIST_ADDON),$(PLUGINS_DIR_ADDON)/$(mod)_$(AR_PKG_NAME_ADDON)/src) \ $(PLUGINS_DIR)/Platform_$(AR_PKG_NAME)/startup/src \ $(PLUGINS_DIR)/Platform_$(AR_PKG_NAME)/startup/src/m7 \ $(PLUGINS_DIR)/Platform_$(AR_PKG_NAME)/startup/src/m7/$(TOOLCHAIN) kerryzhou_6-1759479139439.png 图7 (3)链接器文件修改 ifeq ($(LOAD_TO),flash) ifeq (${TOOLCHAIN},iar) LINKER_DEF:= $(PLUGINS_DIR)/Platform_$(AR_PKG_NAME)/build_files/${TOOLCHAIN}/linker_flash_$(DERIVATIVE_LOWER).icf else LINKER_DEF:= $(PLUGINS_DIR)/Platform_$(AR_PKG_NAME)/build_files/$(TOOLCHAIN)/linker_flash_$(DERIVATIVE_LOWER).ld endif else ifeq (${TOOLCHAIN},iar) LINKER_DEF:= $(PLUGINS_DIR)/Platform_$(AR_PKG_NAME)/build_files/$(TOOLCHAIN)/linker_ram_$(DERIVATIVE_LOWER).icf else LINKER_DEF:= $(PLUGINS_DIR)/Platform_$(AR_PKG_NAME)/build_files/$(TOOLCHAIN)/linker_ram_$(DERIVATIVE_LOWER).ld endif endif kerryzhou_0-1759486694885.png 图8 (4) 编译器选项变更 ifeq ( ${TOOLCHAIN}, iar) ################################################################################ # IAR 编译器选项 ################################################################################ clib := $(IAR_DIR)/arm/lib     CCOPT           +=  --cpu=Cortex-M7 \                         -DAUTOSAR_OS_NOT_USED \                         -DUSE_MCAL_DRIVERS \                         --fpu=FPv5-SP \                         --cpu_mode=thumb \                         --endian=little \                         -e \                         -Ohz \                         --debug \                         --no_clustering \                         --no_mem_idioms \                         --do_explicit_zero_opt_in_named_sections \                         --require_prototypes \                         --no_wrap_diagnostics \                         --diag_suppress=Pa050 \                         $(MISRA) \ -D$(PLATFORM) \                         -D$(DERIVATIVE) \                         -DIAR \ -DUSE_SW_VECTOR_MODE \                         -DENABLE_FPU \                         -DD_CACHE_ENABLE \ -DI_CACHE_ENABLE                             LDOPT           :=  --entry _start \ --启用堆栈使用 \                         --skip_dynamic_initialization \                         --no_wrap_diagnostics \                         --cpu=Cortex-M7 \                         --fpu=FPv5-SP                         ASOPT := $(ASOPT) \                         --cpu Cortex-M7 \                         --cpu_mode thumb \ -g \ -r \                         -DMULTIPLE_CORE endif kerryzhou_8-1759479139911.png 图9 kerryzhou_9-1759479140195.png 图10 那么,这些IAR编译选项是如何形成的呢?您可以参考RTD600的版本说明,其中包含相应的描述 kerryzhou_10-1759479140292.png 图11 (5)Elf 相关更改 ifeq ( ${TOOLCHAIN}, iar) %.elf: %.o $(LINKER_DEF)               @echo“正在链接$@”               @$(LD) $(ODIR)/*.o $(LDOPT) --config $(LINKER_DEF) --map $(ODIR)/ -o $(ODIR)/$@@               @$(GENHEX) $(HEX_OPTS) "$(ODIR)/$(ELFNAME).elf" "$(ODIR)/$(ELFNAME).hex" else %.elf: %.o $(LINKER_DEF)               @echo“正在链接$@”               @$(LD) -Wl,-Map,"$(MAPFILE)" $(LDOPT) -T $(LINKER_DEF) $(ODIR)/*.o -o $(ODIR)/$@@               @$(GENHEX) $(HEX_OPTS) "$(ODIR)/$(ELFNAME).elf" $(OUT_OPTS) "$(ODIR)/$(ELFNAME).hex" endif kerryzhou_11-1759479140481.png 图12 2.2.7   编译以生成elf 指挥官: make clean 使用make进行编译 生成 ELF 文件: kerryzhou_12-1759479140695.png 图13 生成后,可以将elf烧录到S32K344 EVB板上进行测试。测试结果显示,板载红灯闪烁,则表明IAR编译器可以在命令行模式下运行。 3. 将 RTD MCAL 导入 IAR IDE 项目 本章将介绍如何创建IAR IDE项目并导入MCAL驱动程序,以实现S32K3 MCAL与EB tresos结合运行。 3.1 MCAL IAR IDE 项目 2 种方法 两种方法的区别以及如何导入MCAL驱动程序: (1)直接将 RTD MCAL 驱动程序复制到 IAR IDE 项目目录 (2)将 IAR IDE 项目驱动程序连接到原始 RTD 驱动程序路径 kerryzhou_13-1759479140899.png 图14 3.2 MCAL IAR IDE 项目导入步骤 3.2.1 创建新的 RTD MCAL IAR 项目文件夹    创建一个新文件夹,并将其命名为:S32K344_DIO_MCAL_RTD600_IAR 3.2.2 为IAR项目创建子文件夹 生成:EB tresos 项目代码       Include:应用相关的include文件      Mcal:来自RTD的mcal驱动程序副本 src:项目主文件       Tresos_Project:EB tresos项目 kerryzhou_14-1759479140922.png 图15 3.2.3 创建EB tresos项目 (1) 按照以下路径创建EB tresos项目:S32K344_DIO_MCAL_RTD600_IAR\Tresos_Project\Mcal_Dio_S32K344_RTD600_IAR (2)添加模块:BaseNXP、Dem、Dio、EcuC、Mcu、Platform、Port、Resource (3) 将RTD xdm文件复制到以下路径: C:\NXP\SW32K3_S32M27x_RTD_R21-11_6.0.0\eclipse\plugins\Dio_TS_T40D34M60I0R0\examples\EBT\S32K3XX\Dio_Example_S32K344\TresosProject\Dio_Example_S32K344\config 至:S32K344_DIO_MCAL_RTD600_IAR\Tresos_Project\Mcal_Dio_S32K344_RTD600_IAR\config (4)EB tresos 生成项目 EB tresos 代码将生成到文件夹: S32K344_DIO_MCAL_RTD600_IAR\Generate kerryzhou_15-1759479141010.png 图16 3.2.4 将RTD相关驱动程序复制到IAR项目文件夹 (1)BaseNXP:header、include、src (2) Det:include、src (3)Dio: include, src (4)Mcu: include, src (5)平台:build_files、include、src、startup (6) 端口:include、src (7)Rte: include, src 将RTD文件夹复制到IAR项目是一种方法,如果您不想复制文件,也可以使用链接器直接添加RTD安装路径驱动程序。 kerryzhou_16-1759479141081.png 图17 3.2.5 IAR IDE 创建 IAR 项目 (1) 项目->创建新项目   (2) 在IAR项目中,添加群组   项目中相关文件夹的结构如图18所示,其中包括:   生成:Include和src->EB tresos项目生成代码   Mcal:Base、Det、Dio、Mcu、平台、端口、Rte->Mcal驱动程序   Src:Main.c->项目主代码    (3) 将RTD mcal相关驱动程序添加到IAR项目 RTD MCAL相关驱动程序文件可以直接从RTD安装路径下载,或复制到IAR项目中的文件夹,这两种方法均能达到相同的效果。 kerryzhou_17-1759479141217.png 图18 (4)IAR 项目平台文件夹添加结果: kerryzhou_18-1759479141232.png 图19 (5)主代码添加 可以从以下路径复制Main.c: C:\NXP\SW32K3_S32M27x_RTD_R21-11_6.0.0\eclipse\plugins\Dio_TS_T40D34M60I0R0\examples\EBT\S32K3XX\Dio_Example_S32K344\src 至 S32K344_DIO_MCAL_RTD600_IAR\src 备注:  //#include "check_example.h" // Exit_Example(TRUE); 3.2.6 IAR项目选项配置 (1)常规选项→目标→设备→NXP S32K344 (2)C/C++ 编译器->预处理器 附加包含目录: 使用从RTD安装路径复制的IAR项目文件夹驱动程序,目录如下: $PROJ_DIR$\Generate\include $PROJ_DIR$\mcal\BaseNXP_TS_T40D34M60I0R0\header $PROJ_DIR$\mcal\BaseNXP_TS_T40D34M60I0R0\include $PROJ_DIR$\mcal\Mcu_TS_T40D34M60I0R0\include $PROJ_DIR$\mcal\Platform_TS_T40D34M60I0R0\include $PROJ_DIR$\mcal\Rte_TS_T40D34M60I0R0\include $PROJ_DIR$\mcal\Platform_TS_T40D34M60I0R0\startup\include $PROJ_DIR$\mcal\Det_TS_T40D34M60I0R0\include $PROJ_DIR$\mcal\Dio_TS_T40D34M60I0R0\include $PROJ_DIR$\mcal\Port_TS_T40D34M60I0R0\include $PROJ_DIR$\include 如果您使用RTD安装路径驱动程序,请使用以下目录: $PROJ_DIR$\Generate\include C:\NXP\SW32K3_S32M27x_RTD_R21-11_6.0.0\eclipse\plugins\BaseNXP_TS_T40D34M60I0R0\header C:\NXP\SW32K3_S32M27x_RTD_R21-11_6.0.0\eclipse\plugins\BaseNXP_TS_T40D34M60I0R0\include C:\NXP\SW32K3_S32M27x_RTD_R21-11_6.0.0\eclipse\plugins\Mcu_TS_T40D34M60I0R0\include C:\NXP\SW32K3_S32M27x_RTD_R21-11_6.0.0\eclipse\plugins\Platform_TS_T40D34M60I0R0\include C:\NXP\SW32K3_S32M27x_RTD_R21-11_6.0.0\eclipse\plugins\Rte_TS_T40D34M60I0R0\include C:\NXP\SW32K3_S32M27x_RTD_R21-11_6.0.0\eclipse\plugins\Platform_TS_T40D34M60I0R0\startup\include C:\NXP\SW32K3_S32M27x_RTD_R21-11_6.0.0\eclipse\plugins\Dio_TS_T40D34M60I0R0\include C:\NXP\SW32K3_S32M27x_RTD_R21-11_6.0.0\eclipse\plugins\Port_TS_T40D34M60I0R0\include C:\NXP\SW32K3_S32M27x_RTD_R21-11_6.0.0\eclipse\plugins\Det_TS_T40D34M60I0R0\include $PROJ_DIR$\include 已定义符号: S32K3XX S32K344 IAR USE_SW_VECTOR_MODE D_CACHE_ENABLE I_CACHE_ENABLE ENABLE_FPU 额外选项: --no_clustering --no_mem_idioms --do_explicit_zero_opt_in_named_sections --require_prototypes --no_wrap_diagnostics 语言1:   检查是否需要原型 诊断 抑制以下诊断: Pa050 kerryzhou_19-1759479141564.png 图20 (3)链接器: 需要添加两点: $PROJ_DIR$\mcal\Platform_TS_T40D34M60I0R0\build_files\iar\linker_flash_s32k344.icf 库->入口符号: _start kerryzhou_20-1759479141785.png 图21 (4)调试器 设置:PE micro,运行到主程序 额外选项: 使用命令行选项: --drv_vector_table_base=__ENTRY_VTABLE kerryzhou_21-1759479141872.png 图22 3.2.7 编译IAR项目 项目->全部重新编译 kerryzhou_22-1759479141894.png 图23 3.2.8  测试结果 下载与调试结果: kerryzhou_23-1759479142011.png 图24 下载并运行后,板上的红色 LED 灯闪烁,表明 IAR IDE MCAL 导入方法项目已成功运行。
查看全文
Automotive Ethernet AVB Demo: ADAS System and a complete Infotainment Solution Demo This demo shows an infotainment and ADAS system based on NXP Ethernet components and is divided in three main parts: Infotainment, Network and ADAS. In the infotainment part, a “Head Unit” ECU plays locally an MPEG movie and also streams it over Ethernet to the second “Rear Seat Unit” ECU. Both ECUs also execute in the backroad the NXP AVB SW stack. This enables the two ECUs to be perfectly synchronized with each other. Therefore the two ECUs can playback the very same video (and audio) frame at the same time on their local displays. In the network part the new Automotive Ethernet Switch (SJA1105EL) and PHYs (TJA1100HN) implement the Ethernet connectivity of the system. The switch executes the AVB “gPTP” synchronization SW that enables the infotainment application described above to operate. In the ADAS part a surround view camera captures a video stream and streams it to a “Cluster” ECU also connected via the automotive Ethernet network. The camera is based on the NXP “MPC5604E ” Salsa processor and on a competitor’s BroadR-Reach PHY. This also shows the interoperability of the TJA1100HN PHY with competitor’s products. Features: All displays are implemented with NXP i.MX6 processor, and a full implementation of the NXP Ethernet AVB Stack running on Linux. The camera is based on an NXP Salsa processor (MPC5304EKIT) . The Switch board that connects all displays and the camera uses the NXP SJA1105EL Automotive Ethernet switch and the TJA1100HN BroadR-Reach Ethernet PHY ______________________________________________________________________________________________________________ Featured NXP Products: Product Link IEEE 100BASE-T1 compliant Automotive Ethernet PHY Transceiver TJA1100HN | Automotive Ethernet PHY Transceiver | NXP  i.MX 6 Series i.MX 6 Series Applications Processors | Multicore Arm Cortex-A7/A9/M4 | NXP  Audio Video Bridging Software https://www.nxp.com/design/design-services/audio-video-bridging-software:AVB-SOFTWARE?&fsrch=1&sr=4&pageNum=1 Development Kit Enabling Video Over Ethernet with NXP® MPC5604E MCU NXP® MPC5604EKIT:Development Kit | NXP  ___________________________________________________________________________________________________________ Automotive
查看全文
Zephyr 模块、子系统和功能的资源 如果您对这些资源有任何疑问或问题,请 提出新问题,恩智浦支持团队将为您解答。 引导加载程序 Zephyr 将开源MCUboot引导加载程序作为一个模块包含在内,并使其易于用作 Zephyr 应用程序的引导加载程序。 NXP i.MX RT 系列上的 MCUboot 和 Zephyr 使用 MCUboot 和 Sysbuild 构建示例,以及 VS Code 中带有 MCUboot 的 Zephyr 应用 Zephyr MCUBoot + TF-M 处理器间通信 (IPC) 和多核 Zephyr 包含一个IPC子系统。Zephyr 还集成了开源OpenAMP框架,以便使用 RPMsg 协议实现核心之间的通信。 Zephyr OpenAMP 多核示例 RT1170构建双核图像 多核性能 电源管理(PM) Zephyr 包含一个电源管理子系统,受许多 NXP SOC 支持。 网络研讨会:利用 Zephyr OS 功能和模块加速开发 NXP SmartWatch 演示和网络研讨会:最大限度地降低 i.MX RT500 的功耗 PSA 和可信固件 (TF-M) FRDM-RW612 上的 TF-M PSA 加密示例 Zephyr MCUBoot + TF-M 启动代码及流程 为了便于移植,Zephyr 管理应用程序中未包含的启动代码。SOC、内存、设备驱动程序和一些子系统在 main() 之前初始化。 网络研讨会: Zephyr OS 和 NXP 让应用程序可移植性变得简单 添加自定义启动代码 返回Zephyr知识中心
查看全文
i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? 1. Follow all steps from Freescale's github repo except the last bitbake command 2. The images that Freescale supports are located on the meta-fsl-demos/recipes-fsl/images folder. 3. Bake the standard Freescale image build$ bitbake fsl-image-gui 4. The produced Linux image is packaged in several formats; the .sdcard single file has all the system (u-boot + uImage + rootfs) so it can be directly flashed into an SD card build$ sudo dd if=tmp/deploy/images/fsl-image-gui-imx6qsabresd.sdcard of=/dev/sdX bs=4M NOTES: In case of building issues, please follow this link In case of booting issues, make sure: 1. board DIP switches are set correctly 2. you have chosen the correct machine before baking If issues persist, report it to the community Yocto Project Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? Hi, Is it possible to build freescale yocto images using eclipse ? If so anyone knows steps for the same? Thank You, Sharmila Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? Where can i find the libsub for ultra light board?? Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? SABRE Board Reference Design|Freescale You can download 'L3.14.28_1.0.0_LINUX_DOCS"  or  L3.10.53_1.1.0_LINUX_DOCS Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? Link? Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? Hi David You can refer "Freescale_Yocto_project_user's_guide.pdf" Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? That is useful. Thank you. Is there a description someplace on each of these images? Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? Hi David You can use following command to verify supported images bitbake-layers show-recipes | grep image Thanks Saurabh Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? I'm a bit new to this but is this instruction still valid? I followed the instructions but when I get to the "build$ bitbake fsl-image-gui" step it will process for a while and then: ERROR: Nothing PROVIDES 'fsl-image-gui'. Close matches:   fsl-image-multimedia I'm now running build$ bitbake fsl-image-multimedia Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? Sorry but I couldn't understand you properly. Have you succeed ?          Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? I'd try to check if GIT is really using the proxy script; maybe using a strace or something to debug it. As I am not a proxy user, I cannot be of much help but maybe you could ask in openembedded-users mailing list about it? Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? Hello, Thank you very much for your reply. However, I had already done this, witness: $ socat -V socat by Gerhard Rieger - see www.dest-unreach.org socat version 1.7.1.3 on Jul 21 2012 00:02:19    running on Linux version #29-Ubuntu SMP Wed Apr 17 18:19:42 UTC 2013, release 3.8.0-19-generic, machine i686 features: ... I also tried the nc method from the page that I linked to before. This also failed with these errors of this form: nc: read failed (0/8): Connection reset by peer fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. Do I need access rights? Or do you think this is also a proxy issue? If so, what else am I missing to get through the proxy? Again, thanks for your help. Cheers, John. Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? I think you are missing 'socat' utility. $: sudo apt-get install socat Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? OtavioSalvador, any ideas to get around this proxy issue? Leo Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? Hi, May I ask a question about this process? I followed the instructions above as far as '$ repo sync' and this fails with a bunch of messages along the lines of: fatal: unable to connect to github.com: github.com[0: 204.232.175.90]: errno=Connection timed out and eventually gives up with: error: Exited sync due to fetch errors I am behind a proxy, so suspecting this is the problem I read and followed the instructions here: https://wiki.yoctoproject.org/wiki/Working_Behind_a_Network_Proxy using the socat method. The '$ repo sync' step still fails but with slightly different results, now I get messages of the sort: 2013/06/19 11:37:59 socat[9115] E getaddrinfo("", "(null)", {1,0,1,6}, {}): No such file or directory 2013/06/19 11:37:59 socat[9114] E getaddrinfo("", "(null)", {1,0,1,6}, {}): No such file or directory 2013/06/19 11:37:59 socat[9113] E getaddrinfo("", "(null)", {1,0,1,6}, {}): No such file or directory fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. fatal: Could not read from remote repository. Any ideas would be most welcome. Cheers, John. Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? I am not sure. Please ask this question into the Yocto Project mailing list. Re: i.MX Yocto Project: How Can I Build the Freescale Yocto Images using bitbake? How can I add Kernel Support for Flexcan? All Boards FlexCAN
查看全文
ビデオ: S32R45 レーダー拡張パッケージのインストール (マイビデオで視聴)
查看全文
PyeIQ v1.0 for BSP 5.4.3_2.0.0 Release Welcome to PyeIQ PyeIQ gathers everything needed by itself. It provides a simplified way to run ML applications, which avoids the user spending time on preparing the environment. PyeIQ Version Release Date Notes tag_v1.0 Apr 29, 2020 - tag_v2.0 - Planned for June i.MX Board BSP Release Building Status 8 QM 5.4.3_2.0.0 passing 8 MPlus 5.4.3_2.0.0 passing This video is currently being processed. Please try again in a few minutes. (view in My Videos) Getting Started with PyeIQ 1. Easy Installation If you prefer to build the package by yourself go to Appendix Section or follow the README file at the PyeIQ repo. 1.1 Copy the PyeIQ pre-built package attached to the board, and then install it by using pip3 tool: 1.2 Check the installation by starting an interactive shell:   1.3 Import PyeIQ and see the version: The output is the PyeIQ latest version installed in the system. (Optional) Install the following package to show downloading status: 2. Easy Running All demos and applications are automatically installed in /opt/eiq. 2.1 To run the demos: 2.2 To run the applications: 2.3 Use help if needed: 3. List of Available Demos and Applications Demo/App Name Demo/App Type i.MX Board BSP Release BSP Framework Inference Status Notes Label Image File Based QM, MPlus 5.4.3_2.0.0 TensorFlow Lite 2.1.0 GPU, NPU passing - Label Image Switch File Based QM, MPlus 5.4.3_2.0.0 TensorFlow Lite 2.1.0 GPU, NPU passing - Object Detection SSD/Camera QM, MPlus 5.4.3_2.0.0 TensorFlow Lite 2.1.0 GPU, NPU passing Need better model. Object Detection OpenCV SSD/Camera QM, MPlus 5.4.3_2.0.0 TensorFlow Lite 2.1.0 GPU, NPU passing Need better model. Object Detection N. GS. SSD/Camera QM, MPlus 5.4.3_2.0.0 TensorFlow Lite 2.1.0 GPU, NPU - Pending issues. Object Detection Yolov3 SSD/File QM, MPlus 5.4.3_2.0.0 TensorFlow Lite 2.1.0 GPU, NPU - Pending issues. Object Detection Yolov3 SSD/Camera QM, MPlus 5.4.3_2.0.0 TensorFlow Lite 2.1.0 GPU, NPU - Pending issues. Fire Detection File Based QM, MPlus 5.4.3_2.0.0 TensorFlow Lite 2.1.0 GPU, NPU passing - Fire Detection Camera QM, MPlus 5.4.3_2.0.0 TensorFlow Lite 2.1.0 GPU, NPU passing - Fire Detection Camera - 5.4.3_2.0.0 PyArmNN 19.08 - - Requires 19.11 Coral Posenet Camera - - - - - Ongoing NEO DLR Camera - - - - - Ongoing 4. Examples 4.1 Fire Detection Image 4.1.1 Non-fire Running Fire Detect Image:     Output: INFO: Created TensorFlow Lite delegate for NNAPI.                                                                        Applied NNAPI delegate.                                                                                                  Inference time: 0:00:00.264853                                                                                           Non-Fire   4.1.2 Fire Running Fire Detect Image: Output: INFO: Created TensorFlow Lite delegate for NNAPI.                                                                        Applied NNAPI delegate.                                                                                                  Inference time: 0:00:00.193055                                                                                           Fire    4.2 Fire Detection Camera Running Fire Detect Camera: Output: PyeIQ also supports training for Fire Detection demo, please refer to PyeIQ - Training and Conversion Support (Keras/TensorFlow Lite) . 4.3 Label Image Switch Running Switch Label Image: Output: Cores Comparison (CPU, GPU and NPU) Check the following graphical plot for Switch Label Image demo: Check the following graphical plot for the other demos: We are currently working to reduce the inference time on Fire Detection demos. Appendix Section The procedures described in this document target a GNU/Linux Distribution Ubuntu 18.04. 1. Software Requirements 1.1 Install the following packages in the GNU/Linux system: 1.2 Then, use pip3 tool to install the virtualenv tool: 2. Building the PyeIQ Package 2.1 Clone the repository: 2.2 Use virtualenv tool to create an isolated Python environment: 2.3 Generate the PyeIQ package: 2.4 Copy the package to the board: 2.5 To deactivate the virtual environment: Contact Feel free to contact us about any issue/bug you might have it. Your feedback is very welcome so we can improve the next version Alifer Moraes diegodorta marcofranchi Re: PyeIQ v1.0 for BSP 5.4.3_2.0.0 Release Hello  I cannot see the detailed command and description  for example, when I see your explanation in box, most things are empty Please check it again
查看全文
High-End Tablets And Payment Terminals Overview Block Diagram Recommended Products Overview NXP provides full solutions to power high-end payment terminals. NXP is at the forefront of contact and contactless payment solutions and is a leader in providing security solutions for the banking and payment industries. Combining NXP's portfolio of microprocessors, microcontrollers, interface peripherals and connectivity solutions can help to create a feature rich and easy-to-use payment terminal or tablet solution. Block Diagram Recommended Products Category Name MCU Arm® Cortex®-M4|Kinetis K81 150 MHz 32-bit MCUs | NXP  Arm® Cortex®-M4 core + DSP up to 150 MHz, 16 kB CPU CacheAdvanced public key crypto and tamper detection. Low-power peripherals and DMA for continuous system operation in reduced power stat. Ideal for entry level, highly secure POS terminals. i.MX 6UltraLite Applications Processor | Single Arm® Cortex®-A7 @ 696 MHz | NXP  Cortex-A7 @ 696 MHz, 128 kB L2 cache. Security Block: TRNG, Crypto Engine (AES with DPA, TDES/SHA/RSA), Tamper Monitor, Secure Boot, SIMV2/EVMSIM X 2, OTF DRAM. Encryption, PCI4.0 precertification. Ideal for high-end, high-quality HMI POS terminals. LPC55S6x|Arm® Cortex®-M33|32-bit Microcontrollers (MCUs) | NXP  Cortex-M33 processor, running at a frequency of up to 100 MHz. Security features: Arm TrustZone, PRINCE module, AES-256, SHA2, Physical Unclonable Function, RNG, 128-bit UUID, and Secure GPIO. Ideal for entry level, highly secure POS terminals. Category Name NFC Contact Readers | NXP  Highly versatile family of ISO7816 compatible contact reader ICs. NFC - Near Field Communication | NXP  Wide range of NFC and reader ICs for physical access systems, POS terminals, PC solutions, eGovernment applications, public transport schemes, Pay TV solutions, eMetering, gaming, industrial and white goods applications. PN5180 | Full NFC Forum-compliant frontend IC | NXP  Optimized for POS terminal applications, allows to achieve compliancy to EMVCo 3.0 analog and digital and implements a high-power NFC frontend. Category Name Power Management DC-to-DC Solutions | NXP  Highly integrated and cost-effective power conversion solution. BC3770 | 2 A Switch-Mode Li-ion/polymer Battery Charger | NXP  Power Supplies and Package Programmable charge parameters via I2C compatible interface High-efficiency synchronous switching regulator Extensive protection Power Management Integrated Circuits (PMICs) | NXP  The new PF series of PMICs brings advanced levels of configurability and programmability in a system level PMIC solution, enabling a single device to be easily configured to provide power to a wide range of processors and peripherals. Category Name Secure Arm® Cortex®-M0+|Kinetis KL8x Ultra-Low Power MCUs | NXP  The K8x Arm® Cortex®-M4 MCUs are designed with expandable memory & advanced security capabilities targeting IOT applications such as payment & identification. Kinetis® K8x Secure Microcontrollers (MCUs) based on Arm® Cortex®-M4 Core | NXP  The K8x Arm® Cortex®-M4 MCUs are designed with expandable memory & advanced security capabilities targeting IOT applications such as payment & identification. Category Name Peripheral I²C LED Controllers ICs | NXP  Our I2C LED controllers enable core functions in some of today’s most ubiquitous devices and applications. Load Switches | NXP  Integrated Type C functionality, Fast Reverse Current Protection and Recovery, High Voltage Tolerance. Bluetooth®Smart/Bluetooth Low Energy | NXP  Highly integrated SoCs with up to 512 KB Flash and 128 KB RAM utilizing Arm® Cortex®-M4F cores. Ultra-low-power, 1.8 V, 1 deg. C accuracy, digital temperature sensor with I2C bus interface | NXP  Tiny WLCSP6 package Accuracy: 0.5 °C from 0 °C to +85 °C Low quiescent current: 30 μA Active and 1 μA Shut-down Supply range: 1.8 V ± 0.15 V Resolution: 12 bits Block Diagrams Smart City
查看全文
英国大学挂科GPA低该怎么办 英国是大多数留学生向往的留学深造目的地之一,(【联系方式QQ-1252839746】当面临诸多例如:Probation、Withdrawal、Suspension、Dismissal、等学术警告问题的时候,很多学生选择了联系我们修改成绩单达到学分GPA要求或删除学术不良记录重新回到学校。)很多留学生在美国学习后都学到了很多知识,成长为更好的自己。但是,在学习过程中,难免遇到磕磕绊绊,比如:刚来到美国会遇到Culture shock(文化冲突);刚入学会听不懂老师的授课内容;生活上出现各种不可预期的困难;mid-term和final期间没日没夜地复习。历练中,很多学生成功克服困难,顺利完成学业,但也有一部分学生面对过 停学 ( Suspension )的尴尬。不过幸好美国愿意给犯错的学生二次入学的机会,并专门针对停学及开除学生提供一个申请流程,称为 Readmission (再次申请录取)。被停学的学生可以曲线救国,最终成功回到原来的校园。 学生被美国学校停学的理由有很多,例如作弊被抓丶GPA低丶违反校规丶代写代考被发现等等。在达到相应严重程度时,学校会给予学生短则一个季度或一个学期,长则一年甚至两年以上的停学处分。在被停学后,大多数学生都想在停学结束后重新回到原学校。那么学生就会面临 Readmission(重新申请录取/重新接纳)的情况。 T同学是美国某大学大二的学生,在被学校停学后,选择了回国待一年。但是当T同学在结束一年的停学后,提出 Readmission 想要重回学校时,学校却拒绝了T同学的请求,T同学一头雾水。 其实 Readmission 时,需要注意的细节有很多,但是大家往往忽略了这些重要内容。下面我们来详细讲解一下跟原学校申请再次录取的注意事项: 各大学对Readmission要求都不同 首先,学生被 停学 ( Suspension )后,学校对于Readmission有着不同程度的入学要求: 1丶停学期限一到,有的学校是无过多要求,直接颁发新的I-20让学生回到学校,这也是最轻松的Readmission。停学期间,学生需要进行一定的自我反省,并积极调整学习方法和学习知识。 2丶也有一部分的学校对再次申请入学是有要求的,涉及到学生需要在反省后,向学校提交Readmission申请表格及个人陈述,审核通过后,学生才能回到学校。 3丶最难的Readmission是学校要求学生重新入学前进行自我完善和提高,例如进行本学校暑期课程的学习或者在其他机构的学习,证明自己是有继续在原学校读书的能力同时可能会要求提供一些额外的支持材料。 申请时间有限制 学生需要仔细研究学校的开始申请日期和截止日期,并及时提交相关材料。如果错过了申请的时间,学生可能会错过重新入学的学期。T同学就是因为没有注意到截止时间,没有及时提交学校要求的材料,导致Readmission阶段仍需要进行二次申请。 停学期间不要贪图玩耍 建议学生停学期间不要回国。很多学生在国内把停学当作放假,各地游玩儿,在家打游戏,吃喝玩乐。这样极其不利于Readmission的申请,重新回到原学校的机率也会降低。 Readmission申请有风险 并不是所有申请Readmission的学生都会通过。学校对于每一位Readmission的学生都会严格的考量。包括学生停学期间的表现和回国态度,重新入学的提交材料审核等,如被认为不具有继续在原学校读书能力的学生有被拒风险。 当面临诸多例如:Probation、Withdrawal、Suspension、Dismissal、等学术警告问题的时候,很多学生选择了联系我们修改成绩单达到学分GPA要求或删除学术不良记录重新回到学校。【联系方式QQ-1252839746】
查看全文