ARM Cortex-M processor-based devices use the ARM CoreSight technology

which introduces powerful new debug and trace capabilities.

Debug features:

  • Run Control of the processor allowing you to start and stop programs
  • Single Step one source or assembler line
  • Set breakpoints while the processor is running
  • Read/write memory contents and peripheral registers on-the-fly
  • Program internal and external FLASH memory
 

Trace features:

  • Serial Wire Viewer (SWV) provides program counter (PC) sampling, data trace, event trace, and instrumentation trace information
  • Instruction (ETM) Trace streamed directly to your PC enabling debugging of historical sequences, software profiling, and code coverage analysis

The CoreSight features are available via JTAG and Serial Wire Debug interfaces using standard low-cost target connectors.

JTAG

JTAG is the industry-standard interface used to download and debug programs on a target processor,

as well as many other functions. It offers a convenient and easy way to connect to devices and is available

on all ARM processor-based devices.

The JTAG interface can be used with Cortex-M based devices to access the CoreSight debug capabilities.

Serial Wire Debug : SWD

The Serial Wire Debug (SWD) mode is an alternative to the standard JTAG interface.

It uses only two pins to provide the same debug functionality as JTAG with no performance penalty,

and introduces data trace capabilities with the Serial Wire Viewer (SWV).

The SWD interface pins can be overlaid with JTAG signals, allowing the standard target connectors to be used:

  • TCLK - SWCLK (Serial Wire Clock)
  • TMS - SWDIO (Serial Wire Data Input/Output)
  • TDO - SWO (Serial Wire Output - required for SWV)

JTAG and SWD modes are fully supported by ULINK2ULINK-ME, and ULINKpro.

Serial Wire Viewer : SWV

Cortex-M3, Cortex-M4, and Cortex-M7 based devices are able to provide high-speed data trace information

in a number of ways depending on the type of information or analysis you require.

The Serial Wire Serial (SWV) provides real-time data trace information from various sources within a Cortex-M3/M4/M7 device.

It is transmitted via the SWO pin while your system processor continues to run at full speed.

Information is available from the ITM (Instrumentation Trace Macrocell) and DWT (Data Watchpoint and Trace) units, providing:

  • PC (Program Counter) sampling
  • Event counters that show CPU cycle statistics
  • Exception and Interrupt execution with timing statistics
  • Trace data - data reads and writes used for timing analysis
  • ITM trace information used for simple printf-style debugging

SWV data trace is available via the SWO pin in two output formats:

  • UART style (1Mb/s) - supported by ULINK2 and ULINK-ME
  • Manchester encoded (100Mb/s) - supported by ULINKpro

 Note

  • Data trace via SWV is not available using the JTAG interface.
  • SWV is only available when using Serial Wire Debug mode.

Embedded Trace Macrocell

The Embedded Trace Macrocell (ETM) provides high bandwidth instruction trace

via four dedicated trace pins accessible on the 20-pin Cortex Debug + ETM connector.

This enhanced trace capability records a program's execution instruction-by-instruction which can be used for:

  • Debugging historical sequences leading up to events of interest
  • Software profiling and algorithm optimization
  • Code coverage analysis

 Note

  • ETM instruction trace is only supported by ULINKpro.
  • ETM is optionally available on Cortex-M3, Cortex-M4, and Cortex-M7 processor-based microcontrollers.
  • It is not available on Cortex-M0, M0+ and M1.

CoreSight™ Technology的更多相关文章

  1. 如何在 arm 官网上找到合适的手册

    http://infocenter.arm.com/help/advanced/help.jsp 在这里输入合适的版号即可 这样就可以不用去 CSDN 了 100000_0000_00_EN - AR ...

  2. How Will Java Technology Change My Life?

    How Will Java Technology Change My Life? We can't promise you fame, fortune, or even a job if you le ...

  3. What Can Java Technology Do?

    What Can Java Technology Do? The general-purpose(多用途的), high-level Java programming language is a po ...

  4. 【译】About the Java Technology

    About the Java Technology Java technology is both a programming language and a platform. The Java Pr ...

  5. Process Kill Technology && Process Protection Against In Linux

    目录 . 引言 . Kill Process By Kill Command && SIGNAL . Kill Process By Resource Limits . Kill Pr ...

  6. Overview and Evaluation of Bluetooth Low Energy: An Emerging Low-Power Wireless Technology

    转自:http://www.mdpi.com/1424-8220/12/9/11734/htm Sensors 2012, 12(9), 11734-11753; doi:10.3390/s12091 ...

  7. EBS Technology Codelevel Checker (ETCC)

    ETCC提供了两个脚本,用来帮助用户检测 E-Business Suite Release 12.2数据库和中间层是否安装了必须的补丁.官方强烈推荐使用. 1.checkDBpatch.sh 这个脚本 ...

  8. Toward Scalable Systems for Big Data Analytics: A Technology Tutorial (I - III)

    ABSTRACT Recent technological advancement have led to a deluge of data from distinctive domains (e.g ...

  9. iOS Technology Overview_Introduction

    关于iOS技术 iOS是运行在iPad,iPhone和iPod touch设备上的操作系统.这个操作系统管理着这些设备的硬件并且提供了实现原生APP所需的技术.这个操作系统也附带许多系统APP,例如P ...

随机推荐

  1. 第9月第30天 MVP

    1. import UIKit struct Person { // Model let firstName: String let lastName: String } protocol Greet ...

  2. ifconfig,netstat command not found

    当CentOS7进行最小化安装时,有很多工具包是没有的. [root@vultr ~]# ifconfig -bash: ifconfig: command not found [root@vultr ...

  3. Anaconda+django写出第一个web app(六)

    今天学习如何写一个注册用户的界面. 上一节的导航栏中我们修改了导航栏右侧的文字为register并将路径设置为/register,内容如下: <li><a href="/r ...

  4. 洛谷 P1478 陶陶摘苹果(升级版)

    本萌新第一次发布题解,若有不严谨处请谅解. 我看了前面几位大佬的手笔,表示自己还是比较钟爱桶排序的.它非常简易直接,还省时间,尤其对于这类题目占用的的空间也很小. 我们看到题目下面的说明:xi< ...

  5. springMVC初次搭建,产生错误

    七月 11, 2016 11:12:58 下午 org.apache.catalina.startup.VersionLoggerListener log 信息: Server version: Ap ...

  6. 常用SQL函数(字符串分隔转表、自增长转编号)

    字符串分隔转表 -- ============================================= -- Author: -- Create date: -- Description: ...

  7. 支付宝:电脑网站沙箱测试(Java)

    1.下载电脑网站的官方demo: 下载地址:https://docs.open.alipay.com/270/106291/ 2.下载解压导入eclipse readme.txt请好好看一下. 只有一 ...

  8. 解决urbuntu桌面本客户端输入ll command not found

    用桌面版的urbuntu系统,打开客户端输入ll,报错如下 于是度娘,解决方案:可以作如下修改:打开 ~/.bashrc 找到 #alias ll=’ls -l’,去掉前面的#就可以了.(关闭原来的终 ...

  9. Go语言之Windows 10开发工具LiteIDE初步使用

    Intel Core i5-8250U,Windows 10家庭中文版,go version go1.11 windows/amd64,LiteIDE X34.1 在RUNOOB.COM的Go语言教程 ...

  10. mysql连接池模块

    如果不想程序在查询数据时卡死或等待过长时间,一般不推荐在node中开启一个连接后全部查询都用这个链接并且不关闭.因为node里面的mysql不像php里的那样会在完成查询后断开,只要不主动断开,连接一 ...