Multi Source Translation Content

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Multi Source Translation Content

Discussions

Sort by:
全新 PMIC 支持 i.MX6 处理器系列 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> LTC ® 3676 是适用于 i.MX6、ARM Cortex 处理器系统的完整电源管理解决方案。LTC3676 具有八个独立的电阻可编程电压轨,具有动态控制和排序功能,采用紧凑的 QFN 和 LQFP 封装。这些导轨为处理器核心、SDRAM、系统内存、PC 卡、实时时钟 (RTC) 以及各种其他功能提供电源。 四路 I2C 可调高效降压 DC/DC 转换器:2.5A、2.5A、1.5A、1.5A 三路 300mA LDO 稳压器(2 个可调) 带有 VTT 和 VTTR 参考的 DDR 电源解决方案 带系统复位功能的按钮开/关控制 独立启用引脚配置和 I2C 排序 可编程自主断电控制 电源良好和复位功能 动态电压调节 可选 2.25MHz 或 1.12MHz 开关频率 始终有效的 25mA LDO 稳压器 10μA待机电流 40 引脚 6mm × 6mm × 0.75mm QFN 封装和 48 引脚 7mm × 7mm LQFP 封装 如需了解更多详细信息,请联系 Linear Technology(请注意,这是一款预发布产品;但 Linear Technology 可提供数据表和 ES 样品) http://www.linear.com/product/LTC3676 或 Gerard Velcelean,邮箱: [email protected] 或 Steve Knoth,邮箱: [email protected] i.MX6_全部
View full article
MBDT for i.MX RT - よくある質問 全般 今日のヒント 今日のヒント  モデル参照 i.MX RT Toolbox でのモデル参照  ペリフェラル FlexCAN RT FlexCAN受信メッセージバッファマスク i.MX IDの範囲に設定するにはどうすればいいですか?  LPI2Cの i.MX RTの転送モードでLPI2Cを使用する方法  LPUARTの i.MX RT LPUARTドライバに関する質問  アプリ
View full article
Android Memory Usage Tool: Procrank Procrank can be used to check if a process has memory leakage. Procrank will list four types of memory usage. For details refer to: http://elinux.org/Android_Memory_Usage Vss = virtual set size Rss = resident set size Pss = proportional set size Uss = unique set size Uss can be used to check if a process has memory leakage. If the Uss increases when some operations start and stop, this means there could be memory leakage. Procrank can get from: /out/target/product/ /system/xbin/procrank and also needs to push to the library you target: /out/target/product/< product_name >/system/lib/libpagemap.so Android
View full article
Opal i.MX53 上の FlexCAN 開発キット <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Opal 開発キットには 2 つの FlexCAN チャネルが含まれており、このビデオでは Windows Embedded Compact 7 を使用した基本的な通信を示します。デモ アプリケーションのソースは、devicesolutions.net/opaldevkit のダウンロード セクションから入手できます。 Opal CPUモジュールと開発キットの詳細については、devicesolutions.net/opal をご覧ください。 (マイビデオで視聴)
View full article
xaa One chunk of the file system for the Linux Image i.MX 6Dual/6Quad Power Consumption Measurement Linux Image One chunk of the file system for the Linux Image i.MX 6Dual/6Quad Power Consumption Measurement Linux Image Linux
View full article
Auto Insmod Kernel Modules Through Modprobe with Extra Parameter Wireless HW module on i.MX 6 DQ HDMI dongle board is bcm4330 that is SDIO interface. Modprobe  default configuration will only insmod bcm4330.ko without any kernel module parameter, while bcm4330,ko needs extra firmware binary and nvram configuration file absolute path/filename  as parameter like firmware_path=/lib/firmware/bcm4330/fw_bcm4330.bin nvram_path=/lib/firmware/bcm4330/nvram_bcm4330.txt. To auto insmod bcm4330 kernel module with those parameters by modprobe we need a modprobe configuration file. Now create this file at /etc/modprobe.d/bc4330.conf, it's content as below: #For BCM4330 special install requirement options bcm4330 firmware_path=/lib/firmware/bcm4330/fw_bcm4330.bin nvram_path=/lib/firmware/bcm4330/nvram_bcm4330.txt Of course we need copy correct firmware and nvram configuration file to directory as /etc/modprobe.d/bc4330.conf set. i.MX6Dual i.MX6Quad Re: Auto Insmod Kernel Modules Through Modprobe with Extra Parameter wonderful
View full article
视频:安装 S32R45 雷达扩展包 (在 “我的视频” 中查看)
View full article
MC33AR6000 replace MC33TC80310 developing guide If you want to use MC33AR6000 to replace MC33TC80310 in a mature platform, should pay attention to some small difference on actions and diagnoses. See attachment for details. Alternator Regulator
View full article
GStreamer i.MX6 Decoding Video, bad performance gst-launch filesrc location=test.mp4 typefind=true ! aiurdemux ! vpudec ! mfw_v4lsink Video, better performance gst-launch filesrc location=sample.mp4 typefind=true ! aiurdemux ! queue max-size-time=0 ! vpudec ! mfw_v4lsink # typefind=true allows to 'type find' the source file before negotiating # max-size-time=0 indicates to ignore possible blocking issues # In case of ASF files gst-launch filesrc location=sample.asf typefind=true ! aiurdemux ! queue max-size-time=0 ! mfw_wmvdecoder ! mfw_v4lsink Audio gst-launch filesrc location=sample.mp3  typefind=true ! beepdec ! audioconvert  ! 'audio/x-raw-int, channels=2' ! alsasink Audio with visualization gst-launch filesrc location=sample.mp3 typefind=true ! beepdec ! tee name=t ! queue ! audioconvert  ! 'audio/x-raw-int, channels=2' ! alsasink t. ! queue ! audioconvert ! goom ! autovideoconvert ! autovideosink Video/Audio long version gst-launch filesrc location=sample.avi typefind=true ! aiurdemux name=demux demux. ! queue max-size-buffers=0 max-size-time=0 ! vpudec ! mfw_v4lsink demux. ! queue max-size-buffers=0 max-size-time=0 ! beepdec ! audioconvert ! 'audio/x-raw-int, channels=2' ! alsasink # queue properties, max-size-buffers=0 and max-size-time=0, allows a smoother playback; type 'gst-inspect queue' for more info VA short version gplay sample.avi VA short version gst-launch playbin2 uri=file:// Graphics & Display i.MX6_All Linux Multimedia Re: GStreamer i.MX6 Decoding Ryan, All audio decoders are software-based. There is no audio hardware decoder block on i.mx. About the missing mfw_aacdecoder, maybe it is license related? Maybe someone at meta-fsl-arm would be in a better position to confirm about the missing plugin. Re: GStreamer i.MX6 Decoding Hi Fabio, At one point I have seen: aacdec.imx:  mfw_aacdecoder: aac audio decoder However, I do not see this in the most recent 3.10.17 release on the MCIMX6Q-SDB board. Can you help clarify why the mfw_aacdecoder is missing, and if this was in fact a hardware decoder? Thank you, Ryan Re: GStreamer i.MX6 Decoding There is no audio hardware decoder on i.mx. Re: GStreamer i.MX6 Decoding Hello, is beepdec a hardware decoder? If not, what hardware decoding can I use? Thank you, Ryan Re: GStreamer i.MX6 Decoding Gautham, what is 'trick play mode'? Can you try seeking using gplay? Does the latter produce the same errros? Leo Re: GStreamer i.MX6 Decoding Hello, Working on iMX6 target. I am trying to play a video file using gst pipeline "gst-launch playbin2 uri=file:// ", video and audio is fine until when I try to use trick play mode to seek to stream forward/backward for about xx seconds. What I see in the  vpudec and aiurdemux gstreamer plugin is that some error states like "GST_FLOW_WRONG_STATE" are ignored during trick play handling i.e. in gst_vpudec_chain function and in aiurdemux_push_pad_buffer. Please let me know why these event types are ignored or the reason for it. Thank you.
View full article
Application Note: Editing the String Table with Window Builder In Window Builder the string table is one of the key elements of the resource manager. This application notes gives tips and tricks to ease the use of string tables. PEG GUI
View full article
i.MX 8M Dual/8M QuadLite/8M Quad Incorrect PCIE Supply Configuration Purpose This is early communication to notify i.MX 8M Dual/8M QuadLite/8M Quad customers of a potential incorrect PCIe power supply configuration on certain NXP BSP Linux and Android versions. Description The PCIE_VPH power supply is selectable in software  between 1.8V and 3.3V. When the PCIE_VPH supply is configured to operate at 3.3V, the 1.8V internal regulator (disabled by default) must be enabled to prevent overstress conditions on the PCIe PHY. If the 1.8V internal regulator is left disabled when the PCIE_VPH supply is configured to operate at 3.3V, it could potentially impact the product lifetime of the device. Impact •i.MX 8M Dual/8M QuadLite/8M Quad (other i.MX processors are not impacted) •Only Impacts Linux/Android kernel versions earlier than L5.4.70_2.3.2 or Linux 5.10.9_1.0.0 releases MITIGATION •When the PCIE_VPH supply is configured to operate at 3.3V users need to enable the internal regulator by setting the IOMUXC_GPR_GPR14 and IOMUXC_GPR_GPR16 registers - PCIE1_VREG_BYPASS and PCIE2_VREG_BYPASS bit to 0. •There are 3 software patches for each release. Software patch details in the Code Aurora Forum (CAF): •For L5.4.70_2.3.2 patch release, the git log references are: •MLK-25349-3 PCI: imx: clear vreg bypass when pcie vph voltage is 3v3 •MLK-25349-2 arm64: dts: imx8mq-evk: add one regulator used to power up pcie phy •MLK-25349-1 dt-bindings: imx6q-pcie: add one regulator used to power up pcie phy • •The L5.4.70_2.3.2, LF_5.10 Q2 and later BSP releases correctly configure and enable the internal regulator by setting the IOMUXC_GPR_GPR14 and IOMUXC_GPR_GPR16 registers The Patch MLK-25349 which correctly enables the internal regulator is already included in the L5.4.70_2.3.2 patch release and release versions after it. MITIGATION •The following branches of Linux/Android BSP releases contain the MLK-25349 patch. The patch is attached below for each respective release.   •Other branches which are not listed should try to apply the nearest Patch version patch. If a user encounters any conflicts in applying, they should back porting from below nearest patch release version below. imx_4.9.51_ga, imx_4.9.y_android_imx8m_ga_v2                           - Patch attached  imx_4.9.88_ga, imx_4.9.y_android_2.0.0_ga                                   - Patch attached  imx_4.14.y and imx_4.14.98_2.3.0, imx_4.14.98_2.3.0_android     - Patch attached  imx_4.19.y and imx_4.19.35_1.1.0, imx_4.19.35_1.1.0_android     - Patch attached  imx_5.4.y, imx_5.4.3_2.0.0, imx_5.4.3_2.0.0_android                     - Patch attached Documentation Change Description – 1 of 3 for Datasheet Updated Datasheets and Reference Manual will be published to nxp.com. Updated Hardware Design guide and Schematics have already been published on nxp.com.  Updated the descriptions of PCIE_VPH in the Datasheet Table 8, "Operating ranges" Documentation Change Description – 2 of 3 for Reference Manual (RM) Updated the description of field 12 "PCIE1_VREG_BYPASS" in 8.2.4.15 GPR14 General Purpose Register (IOMUXC_GPR_GPR14) Documentation Change Description – 3 of 3 for RM Updated the description of field 12 "PCIE2_VREG_BYPASS" in 8.2.4.17 GPR16 General Purpose Register (IOMUXC_GPR_GPR16) REFERENCES •i.MX 8M Dual / 8M QuadLite / 8M Quad Product Lifetime Usage  •i.MX 8M Dual / 8M QuadLite / 8M Quad Applications Processors Data Sheet for Industrial Products •i.MX 8M Dual / 8M QuadLite / 8M Quad Applications Processors Data Sheet for Consumer Products •i.MX 8MDQLQ Hardware Developer’s Guide  •i.MX 8M Dual/8M QuadLite/8M Quad Applications Processors Reference Manual   i.MX 8M | i.MX 8M Mini | i.MX 8M Nano
View full article
GStreamer ffmpeg <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ビデオデコード GST-launch filesrc location=sample.mp4 !QTDEMUXの!ffdec_h264 !mfw_v4lsink メモ: LTIB BSP 3.0.35_4.0.0 で、パッケージを準備し、添付されたパッチを上部に適用してからビルドします。 Yocto では、gst-ffmpeg パッケージを追加する簡単な方法は、conf/local.conf ファイルに次の 2 行を追加することです。 IMAGE_INSTALL_append = " GST-FFMPEG" LICENSE_FLAGS_WHITELIST = 「商用」 i.MX6_All マルチメディア 日時:GStreamer ffmpeg <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> はい。2つのシンボルが定義されておらず、ffmpegライブラリが動的にロードされると、最後にいずれかのエレメントがロードされるため、失敗します。手順:パッケージを準備し、ソースフォルダに移動してパッチします(patch -p1 < patchname)。ちなみに、失敗しているBSPは3.0.35_4.0.0で、現時点でこれが最新です。 日時:GStreamer ffmpeg <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> ffmpegプラグインが最新のBSPでの読み込みに失敗しますので、ここでもパッチを共有して修正してください。
View full article
Processor Expert - 製品の紹介 (CodeWarrior) <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Processor Expert UI、コンポーネントとは何か、CodeWarrior Development Studioでプロジェクトにコンポーネントを追加する方法を学びます。
View full article
New Service Pack arrival for Power Architecture! (Windows)~ The advantages we can get out of QorIQ processing platforms are merged into so many applications!  Just to mention some, we can find it within networks, mobile wireless infrastructure, automated functions, medical use, and many many more! This way you can get high-performance communications, base stations and computing systems to market easier with its advanced tools, multiple cores, accelerators, security and more. Some service packs have been released to empower your design in this handful technology. The forth of them is being presented here with the Power Architecture Processors v10.1.2 Service. This time, the improvements have been applied in the following devices: P4040 DS       Bare-metal support      U-boot debug P4080 DS       Bare-metal support      U-boot debug P3041 DS Hydra       Linux Kernel and Application Debug P3041 DS SuperHydra       Linux Kernel and Application Debug     There are many more new features added and improved for Power Architecture Processors v10.1.2 Get to meet them in the Release Note! And download now the Service Pack 4 for Windows !   You rather Linux version? General
View full article
Conquering the Embedded GUI Development Obstacles that Lead to UX Failures The biggest challenge in embedded GUI development is managing changes in design (iterations) that nearly all projects encounter. Historically, changes at the design level resulted in teams needing to hunt for and replace all changed assets manually within the project. This would result in development delays, changes being missed, coded behavior being lost, and ultimately, poor UX. Join this session to learn how customers from medical to automotive have leveraged Storyboard’s Rapid Design Import and Iteration Technology to streamline design changes and develop embedded GUI applications that provided outstanding user experiences while getting to market on a tight deadline. Presenters: Garry Clarkson, FAE, Crank Software Shelby Unger, MCU Ecosystem Product Marketer, NXP Arm® Processors i.MX Applications Processors Software & Tools
View full article
TWR-MCF51CN-KIT MQX 实验室常见问题解答 - 更新 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Freescale MQX 产品支持页面上的常规 MQX 常见问题解答页面 TWR-MCF51CN-KIT MQX 实验室常见问题解答 问:TWR-MCF51CN-KIT 演示和实验室教程需要哪些软件工具? 答: TWR-MCF51CN-KIT 需要CodeWarrior for Microcontrollers 6.2 专业版(提供 30 天评估版)和6.2.2 补丁才能充分发挥演示和实验室的潜力。 6.2.2 版本有必要吗?是的,6.2.2 补丁包含对 MCF51CN128 的必要支持。 CodeWarrior 特别版怎么样? 由于微控制器特别版的代码大小限制(<64k),TWR-MCF51CN-KIT 的实验室将无法编译。 CodeWarrior 基本版和标准版怎么样? 这些版本将适用于实验室。 问:MQX 任务感知调试在哪里? 答: TAD 功能仅在 V2 核心或更高版本上可用。 问:为什么必须在 Processor Expert 更新后安装 CW 6.2.2 补丁? 答:由于处理器专家更新 3.05 中的一个错误,6.2.2 补丁必须 在 Processor Expert 之后安装。此问题已在 PE 3.06 或 之后。如果您在 6.2.2 补丁之前没有安装 PE,只需重新运行 6.2.2 再次安装补丁程序,问题就解决了。 问:我无法在我的电脑和主板之间建立以太网连接。我该怎么办? 一个: 1)插入电缆后,按下电路板上的重置按钮。 2)等待一两分钟,让您的计算机连接。 连接 使用以太网交叉电缆将电路板直接连接到您的计算机。 您必须等待一两分钟,以便您的计算机尝试获取 网络地址。由于您不再连接到网络 计算机最终将恢复为同一 子网作为板(169.254.xx)。 3)如果您有无线路由器,请将其禁用。 4) 在您的网络浏览器中禁用代理服务器设置。 说明: 连接后,您的计算机可能会报告连接受限或无连接,但它仍应可以工作。 如果其他方法都失败了,请按照快速入门指南的说明手动配置您的 IP 地址。 问:我正在使用 Windows Vista,当我在命令提示符中输入 telnet 时,它告诉我找不到该程序。它在哪里? 答: Windows Vista 中默认未启用 Telnet 客户端。要启用它,请执行以下步骤: 1. 转到开始 > 控制面板 > 程序和功能。 2. 选择“打开或关闭 Windows 功能” 3. 选中“Telnet 客户端”旁边的复选框,然后点击“确定”。 问:为什么调试器在执行实验时说遇到了非法断点,并且运行按钮不断闪烁? 答:这是 OSBDM 和 CW6.2.2 中的一个错误,当它遇到停止指令时会失去调试连接。代码仍在执行,因此不会影响实验室的运行。OSBDM 的新版本和安装说明即将推出。 消息由 amh 于2009-12-09 02:44 PM编辑 本文档由以下讨论生成: TWR-MCF51CN-KIT MQX Lab 常见问题解答 - 更新版
View full article
Demonstration of PEG Software See a demonstration of PEG Software to develop graphical user interfaces (GUI) for consumer, industrial and automotive display applications. PEG GUI
View full article
Android 4.0 ICSを搭載したiWavesのiMX6デモ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> Android 4.0 ICSを搭載したiWavesのiMX6デモ (マイビデオで視聴) Re:Android 4.0 ICSを搭載したiWavesのiMX6デモ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 素晴らしいショー!!
View full article
KW36-创建保留存储器内容的OTAP镜像 简介: 当 OTAP 客户端(接收软件更新的设备,通常为 Bluetooth LE 外围设备)从 OTAP 服务器 (发送软件更新的设备,通常为 Bluetooth LE Central)请求软件更新时,您可能希望保留一 些数据,例如绑定信息,系统振荡器的匹配值或您的应用程序的 FlexNVM 非易失数据。 本 文档指导您在执行 OTAP 更新时, 如何保留您感兴趣的闪存数据内容。 本文档适用于熟悉 OTAP 定制 Bluetooth LE 服务的开发人员,有关更多基础信息,您可以阅读以下文章: 使用 OTAP 客户端软件对 KW36 设备进行重新编程。 OTAP 标头和子元素 OTAP 协议为软件更新实现了一种格式,该格式由标题和定义数量的子元素组成。 OTAP 标 头描述了有关软件更新的一般信息,并且其定义的格式如下图所示。 有关标题字段的更多 信息,请转至 SDK 中的 \ docs \ wireless \ Bluetooth 中的《 Bluetooth Low Energy Application Developer's Guide》文档的 11.4.1 Bluetooth Low Energy OTAP 标头一章。 每个子元素都包含用于特定目的的信息。 您可以为您的应用程序实现专有字段(有关子元 素字段的更多信息, 请转至 SDK 中的 \ docs \ wireless \ Bluetooth 中的《 Bluetooth Low Energy Application Developer's Guide》文档的 11.4.1 Bluetooth Low Energy OTAP 标头一章。 OTAP 包含以下子元素: 镜像文件子元素 值字段长度(字节) 描述 升级镜像 变化 该子元素包含实际的二进制可执行镜像,该镜像将被复制到 OTAP 客户端设备的闪存中。 该子元素的最 大大小取决于目标硬件。 扇区位图 32 该子元素包含目标设备闪存的扇区位图,该位图告诉引导加载程序哪些扇区应被覆盖,哪些扇区保持完 整。 该字段的格式是每个字节的最低有效位在前,最低有效字节和位代表闪存的最低存储部分。 镜像文件CRC 2 是在镜像文件的所有元素(此字段本身除外)上计算的 16 位 CRC。 该元素必须是通过空中发送的镜像文件中的最后一个子元素。   OTAP 扇区位图子元素 KW36 闪存分为: 一个 256 KB 程序闪存( P-Flash)阵列, 最小单元为 2 KB 扇区,闪存地址范围为 0x0000_0000 至 0x0003_FFFF。 一个 256 KB FlexNVM 阵列, 最小单元为 2 KB 扇区,闪存地址范围为 0x1000_0000 至 0x1003_FFFF, 同时它也会被映射到地址范围为 0x0004_0000 至 0x0007_FFFF 的空间。 位图子元素的长度为 256 位,就 KW36 闪存而言,每个位代表 2KB 扇区,覆盖从 0x0- 0x0007_FFFF 的地址范围(P-Flash 到 FlexNVM 映射地址范围),其中 1 表示该扇区应 被擦 除, 0 表示应保留该扇区。 OTAP 引导加载程序使用位图字段来获取在使用软件更新对 KW36 进行编程之前应擦除的地址范围,因此必须在发送软件更新之前对其进行配置,以使包含您 的数据的内存的地址范围保持不变。仅擦除将被软件更新覆盖的地址范围。 例如:假设开发人员想要保留 0x7D800-0x7FFFF 之间的地址范围和 0x0-0x1FFF 之间的地址 范围,并且必须擦除剩余的存储器。 0x7D800-0x7FFFF 之间的地址范围对应于前 5 个闪存 扇区, 0x0-0x1FFF 之间的地址范围是最低的 4 个扇区。 因此,这意味着应将 256 和 252 之间的位(256、 255、 254、 253 和 252)以及 4 和 1 之间 的位(4、 3、 2 和 1)设置为 0,这样本示例的 OTAP 位图为 : 0x07FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0 使用 NXP 测试工具配置 OTAP 位图以保护地址范围 在恩智浦网站上下载并安装用于连接产品的测试工具 在 PC 上打开 NXP Test Tool 12 软件。 转到“ OTA 更新-> OTAP 蓝牙 LE”,然后单击“浏 览...”按钮加载用于软件更新的映像文件(NXP 测试工具仅接受.bin 和.srec 文件)。 您 可以配置 OTAP 位图,选择“覆盖扇区位图”复选框,并通过新的位图值更改默认值。 配 置位图后,选择“保存...”。 然后,将显示一个窗口,用于选择保存.bleota 文件的目的地,保存文件可以自行取名。 您可以将此文件与 Android 和 iOS 的 IoT Toolbox App 一起使用,以使用 OTAP 更新软 件。 这个新的.bleota 文件包含位图,该位图告诉 OTAP 引导加载程序哪些扇区将被擦 除,哪些扇区将被保留。 BLE Software KW KW35 | 36
View full article
HOWTO: Start Trace with S32 Debugger and S32 Debug Probe on S32G2xx Trace functionality is supported in the S32 Debugger for A53 as well as M7 cores on the S32G, RAM-target builds. With Trace, you can record some execution data on an application project and then review it to determine the actions and data surrounding an event of interest. This document outlines the method to begin using Trace on the S32G2xx device. We start by creating a project on which to execute the trace, however, you may start at step 2, if you are starting with an existing project. Please note, you will need to have debug configurations for the S32 Debugger setup for each core which you intend to capture trace. If you do not already have such configurations, you may copy them from another project and adapt them to the new project as shown in HOWTO: Add a new debugger configuration to an existing project. Create a new application project, selecting the 'S32G274A_Rev2 Cortex-A53', or the M7 variant. For this example, we are using the A53 screenshots and 'S32 Debugger' options.  There should now be 4 new application projects in your workspace. One for each A53 core. The first core of the S32G274A, A53_0_0, is also a possible boot core, so this project will have build configurations for RAM and FLASH. The other A53 cores (0_1, 1_0, 1_1) will not. Build all projects for Debug_RAM and check that they build clean before proceeding. Building the A53_0_0 project will build all projects and the resulting ELF file will contain the output of all 4. Open 'Debug Configurations...' and select the 'Debug_RAM' configuration for the first core (A53_0_0_Debug_RAM_S32Debug). Switch the initialization from the default s32g2xx_generic_bareboard.py script to s32g2xx_generic_bareboard_all_cores.py in order to make the trace modules accessible. Select the 'Debugger' tab. Enter the Debug Probe Connection settings as appropriate for your hardware setup. Click Apply. Now select the Launch Group configuration for 'Debug_RAM'. It is important to use the launch group to start the debug for each core, not just because it makes it easier, but also because it is necessary to allow for some delay after the first A53 core is started before bringing the other A53 cores from reset to debug state. Press Debug Once the code is loaded to the target and the debugger has started each core and executed to the first line within main(), then it is ready to perform any of the standard debug functions including Trace. Trace does not start automatically, it must be turned on before it will start logging data. To do this, it is necessary to add the view 'Trace Commander'. It can be found by either Window -> Show View -> Other, then search for 'Trace Commander' or enter 'Trace Commander' in the Quick Access field of the toolbar and select Trace Commander from the list. The Trace Commander view will show in the panel with the Console, Problems, etc. Double-click on the tab to enlarge it.  From the dropdown with the XML configuration files, select one matching your debug project name. A configuration is generated if none is present for your debug launch the first time you open it in the debug configuration view. Click on the configure button to change settings. Click on the Advanced Trace Generators configuration button For each core to be logged, set the associated ELF file. Select the core, click Add, then '...', and select the elf file for that core. It is recommended to disable all cores that are not required to be traced, as they may funnel in the same buffer, occupying the limited memory. Select Data Streams. Now it is possible to change how the data is captured. Since the buffers have finite memory, they can be set to collect data until full, or to overwrite. If set to One buffer, the data will be collected until the buffer is full, then data collection stops. It is useful to gather data when starting logging from a breakpoint to gather data during execution of a specific section of code. If set to Overwrite, the data collection continues and starts overwriting itself once the buffer is full. This is useful when trying to gather data prior to a breakpoint triggered by a condition.  To turn on the Trace logging, click on the 'Close this trace stream' button. The Trace is now enabled. To collect trace data, the cores must be executing. First double-click the Trace Commander tab to return to the normal Debug Perspective view. Then, one by one, select the main() thread on each core and press Resume to start them all. If collecting from a breakpoint, start the code first with Trace disabled, wait for the breakpoint to be reached, then enable the Trace. Allow the cores to run for a period of time to gather the data, then press Suspend on each one until they are all suspended. Look to the Trace Commander tab to see that the data icon is no longer shaded and click on it to upload the trace data. A new tab, Analysis Results, has appeared. Double-click this tab to see it better. Click on the arrow next to ETF 0 to show the data collected in the trace buffer. Notice there are 5 separate views on the captured data: Trace (raw data), Timeline, Code Coverage, Performance, and Call Tree. Trace - this is the fully decoded trace data log Timeline - displays the functions that are executed in the application and the number of cycles each function takes, separate tabs for each core Code Coverage - displays the summarized data of a function in a tabular form, separate tabs for each core Performance - displays the function performance data in the upper summary table and the call pair data for the selected function and it's calling function Call Tree - shows the call tree for identification of the depth of stack utilization See the S32DS Software Analysis Documentation for more details on settings, ways to store the logged data, etc.
View full article