systemview简介

Preface

我在上一篇文章中提到了我基于esp8266上搭一个服务器(其实就是一个小任务,负责通过网络与客户端进行数据交互),在这个服务器的基础之上,要安装一个系统监视程序。这个监视程序负责将目标板上的数据收集并发送给电脑客户端(上位机)。而这个上位机就是

systemview

PS:systemview对于嵌入式开发有很多的好处,可以让你对系统有更深的认识

1.功能

1.1overview

上图就是systemview的界面。它可以从多个维度对目标系统进行分析。让你对系统有更全的认识。而且我觉得以UI的形式展现系统的运行状态给人一目了然的感觉,让你对系统有直观的了解,我觉得这是一种趋势。我发现很多半导体厂商还有一些中间件的厂商开发的软件(IDE、上位机)会有很多各式各样的UI功能,目的就是将一些系统的一些特性通过界面表示出来,以达到快速调试以及解决复杂问题。特别是如果目标系统带有操作系统,那这样分析更加的复杂,这个时候systemview的作用就凸显出来了。

All in all,这个工具是非常不错的。

1.2 function chart

我觉得你看到systemview的功能表,你肯定会迫不及待的想把这个中间件集成到你的项目中去了。

1.3 强调

我现在看到网上好多人说,systemview免费版本只能够记录1百万个事件,这是不对的。

可能之前的版本会有这种情况,但是最新版本V3.3没有这个限制。只要是没有用于商业用途,那可肯定是可以的。

口说无凭,看下官方怎么说的吧,实在是太多人说有限制。不然也没必要

There are no feature limitations with a non-commercial license. SystemView enables unlimited recording and comes with features for better analysis, search, and filtering.

而且,systemview是跨平台的,看看segger的情怀,不仅免费而且跨平台。

2.什么是systemview

SystemView is a toolkit for visual analysis of any embedded system. SystemView gives complete insight into an application, to gain a deep understanding of the runtime behavior, going far beyond what a debugger is offering. This is particularly advantageous when developing and working in complex systems with multiple tasks and events.

SystemView consists of two parts:

• The PC visualization SystemView Application

• Code that gathers telemetry data on the target system.

The SystemView application allows analysis and profiling of the behavior of an embedded system. It records the telemetry data generated by the embedded system and visualizes that information in a variety of ways. The recording can be saved to a file for later analysis or for documentation of the system.

The telemtery data is recorded through the debug interface, through a network connection, or over a serial line. When recording through the debug interface, no additional hardware (and additional pinning) is required to use SystemView. It can be used on any system that allows debug access.

With a SEGGER J-Link and its Real Time Transfer (RTT) technology, SystemView can continuously record, analyze, and visualize data in real time.

SystemView makes it possible to analyze which interrupts, tasks, and software timers have executed, how often, when exactly and how much time they have used. It sheds light on what exactly happened, in which order, which interrupt has triggered which task switch, which interrupt and task has called which API function of the underlying modules.

Cycle-accurate profiling can be performed and performance markers can be added in the system to measure timings.

SystemView can be used to verify that the embedded system behaves as expected and can be used to find problems and inefficiencies, such as superfluous and spurious interrupts, unexpected task changes, or badly-chosen task priorities. It can be used with any (RT)OS which is instrumented to call SystemView event functions, but also in systems without an instrumented RTOS or without any RTOS at all, to analyze interrupt execution and to time user functionality like time-critical subroutines.

3.它怎么工作

On the target side a small software module, containing SYSTEMVIEW and RTT, must be included. The SYSTEMVIEW module collects and formats the monitor data and passes it to RTT.

The target system calls SYSTEMVIEW functions in certain situations, such as interrupt start and interrupt end, to monitor events. SystemView stores these events together with a configurable, high-accuracy timestamp. Timestamps can be as accurate as 1 CPU cycle, which equates to 5 ns on a 200 MHz CPU.

The RTT module stores the data in the target buffer, which enables continuous recording, as well as single-shot recording and post-mortem analysis.

The recorder interface reads the data from the RTT buffer and sends it to the SystemView Application.

recorder interface 可以是调试接口、串口、网络。

由此可以看出systemview记录任务的事件是非常精确的。

4.目标板要求

The combined ROM size of RTT and the SYSTEMVIEW modules is less than 2 KByte. For typical systems, about 600 bytes of RAM are sufficient for continuous recording. For system-triggered recording the buffer size is determined by the time to be recorded and the amount of events. No other hardware is required. The CPU requires less than 1 us for typical events (based on a 200 MHz Cortex-M4 CPU), which results in less than 1% overhead in a system with 10,000 events per second. Since the debug interface (JTAG, SWD, FINE, …) is used to transfer the data, no additional pins are required.

我觉得这个要求对于绝绝大部分目标板卡是完全可以满足的。

5.什么cpu可以使用systemview

SystemView can be used on any CPU. Continuous real-time recording can be carried out on any system supported by J-Link RTT technology or using a network connection or serial line. RTT requires the ability to read memory via the debug interface during program execution which is generally supported in ARM Cortex-M0, M0+, M1, M3, M4, M7, M23, M33 processors as well as all Renesas RX devices.

On systems which are not supported by the RTT technology the buffer content can also be read manually through the debug probe when the system is halted, which allows single-shot recording until the buffer is filled and post-mortem analysis to capture the latest recorded data. Single-shot and post-mortem recording can be triggered by the system to be able to control when a recording starts and stops.

所有cpu都可以使用,只是有些cpu不可以用调试接口,原因是不是所有的cpu都集成相应的调试接口模块(RTT requires memory access on the target while the target is running.)

总结

总的来说systemview是一个非常好用的一个系统分析调试软件。

用它来辅助开发嵌入式程序是非常好用的。

希望这个工具能够提高你的嵌入式开发能力吧

  • 3
    点赞
  • 13
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
结合EDA工具—动态仿真软件SystemView,介绍数字通信系统的仿真和分析方法以及数字通信系统设计和开发的新手段,并力求通过实例使读者掌握和精通System View动态仿真软件。 本书内容分为5章,分别介绍SystemView动态仿真软件的基本使用方法、主要功能及其开放式的设计环境;数字滤波器和位真DSP的仿真设计方法以及与FPGA/DSP设计工具的接口;数字载波通信系统各种常用调制和解调方式的基本原理及其仿真分桥方法;直序扩频通信基本原理及几个实际系统的仿真分析举例;结合SystemView专业扩展库,IS-95的窄带CDMA系统、EN 300 744的DVB系统和3GPP的WCDMA系统的简介及其链路级仿真。 本书可作为基于SystemView的通信原理实验课程的教材,亦可作为现代通信系统仿真专业设计人员的参考书,另也可供欲学习与精通SystemView动态仿真工具的爱好者使用。 目录回到顶部↑第1章 SystemView仿真平台的功能与使用简介 1.1 SystemView简介 1.2 设计窗口 1.2.1 设计窗口简介 1.2.2 图标库及图标定义的方法 1,2.3 设计窗口的基本使用 1.2.4 设计窗口中的各项功能 1.3 分析窗口 1.3.1 分析窗口简介 1.3.2 接收计算器 第2章 利用SystemView仿真滤波器与位真DSP 2.1 数字滤波器及设计方法概述 2.1.1 IIR滤波器设计 2.1.2 FIR滤波器设计 2.2 利用仿真软件SystemView设计各种滤波器 2.2.1 FIR滤波器设计 2.2.2 模拟滤波器设计 2.2.3 通信滤波器设计 2.2.4 用户自定义型滤波器设计 2.2.5 直接输入系数滤波器设计 . 2.2.6 滤波器及其它DSP设计的FPGA实现 2.3 SystemView的位真DSP设计功能 2.3.1 预备知识 2.3.2 DSP处理器简介 2.3.3 SystemView的DSP库简介 2.3.4 利用DSP库仿真GSM系统基带信号及其FPGA实现 2.3.5 SystemView的RTDA功能 第3章 数字载波通信基本原理及其在SystemView上的仿真 3.1 数字通信系统的基本概念 3.1.1 数字通信系统的组成 3.1. 2 数字通信系统的主要性能指标 3.2 数字载波通信系统的几种调制方式 3.2. l 二进制幅移键控 3.2. 2 二进制频移键控 3.2. 3 二进制相移键控 3.2.4 二进制差分相移键控 3.2.5 多进制幅度键控 3.2.6 多进制相移键控 3.2.7 正交幅度调制 3.2.8 偏移四相相移键控 3.2.9 最小频移键控 3.2.10 高斯最小频移键控 3.3 QPSK系统原理仿真与实例 3.3.1 QPSK调制与解调原理仿真 3.3.2 QPSK信号载波提取及实际采样数据相干解调仿真 3.4 误码率的计算 第4章 直序扩频通信基本原理及其在SystemView上的仿真 4.1 扩频通信的基本原理 4.1.1 扩频通信的基本原理 4.1.2 直序扩频通信系统简介 4.2 基于IEEE802.11的无线局域网直序扩频系统在SystemView上的仿真 4.2.1 WLAN系统简介 4.2.2 WLAN系统在SystemView上的仿真 4.2.3 调制器和发射机子系统 4.2.4 射频到中频变换子系统 4.2.5 解扩子系统 4.2.6 信息解调子系统 4.3 MSK直序扩频相关解调系统在SystemView上的仿真 4.3.1 MSK直序扩频系统简介 4.3.2 扩频调制及MSK调制 4.3.3 解调解扩仿真及实验波形对比 4.4 MSK直序扩频系统延时相干解调方法在SystemView上的仿真 4.4.1 差分编码MSK直序扩频延时相干解调系统的数学模型 4.4.2 差分编码MSK直序扩频延时相干解调系统在SystemView上的仿真 4.4.3 对仿真结果的分析 4.4.4 解调解扩系统硬件实验 4.5 PSK直序扩频信号数字相关解调方案在SystemView上的仿真 4.5.1 PSK直序扩频信号数字相关解调方案简介 4.5.2 在SystemView上仿真 4.5.3 数字相关器子系统 4.5.4 仿真结果分析 第5章 CDMADVD和WCDMA通信系统简介及其在SystemView上的链路级仿真 5.1 码分多址CDMA系统概述 5.1.1 CDMA蜂窝通信系统的基本原理及特点 5.1.2 CDMA系统的关键技术 5.1.3 Q—CDMA数字蜂窝移动通信系统概述 5.2 码分多址CDMA系统在SystemView上的仿真 5.2.1 在SystemView平台仿真Q—CDMA下行链路基带系统 5.2.2 用SystemView仿真IS—95标准下CDMA系统上行链路接入信道 5.2.3 用SystemView仿真下行链路业务信道 5.3 数字视频广播系统基准系统概述 5.3.1 系统设计的综合考虑 5.3.2 信道编码和调制方式 5.4 DVB系统在SystemView上的仿真 5.4.1 在SystemView平台上仿真端对端DVB系统 5.4.2 在SystemView平台上仿真DVB调制器与解调器 5.5 第三代移动通信技术及WCDMA通信系统概述 5.5.1 第三代移动通信系统概述 5.5.2 WCDMA通信系统概述 5.6 WCDMA系统在SystemView上的仿真 5.6.1 SystemView专业扩展库3GPP:FDD简介 5.6.2 64 kb/s电路交换承载业务DTCH上行链路编码过程仿真 5.6.3 基带频分双工宽带CDMA上行链路仿真 5.6.4 导频符号相干检测过程的仿真 附录A SystemView的安装 附录B SystemView菜单栏和工具栏简介 B.1 设计窗口菜单栏 B.2 分析窗口菜单栏 B.3 设计窗口工具栏 B.4 分析窗口工具栏 附录C SystemView图标说明 C.1 基本库 C.2 专业库 C.3 扩展库 附录D SystemView评估版软件使用指南 参考文献

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值