没有合适的资源?快使用搜索试试~ 我知道了~
首页宜能(Enea)OSE实时操作系统手册
The Optima Tools Suite for OSE is a set of tools for browsing and debugging OSE systems. It is based on the Eclipse Platform and the Eclipse CDT (C/C++ Development Tools). The Eclipse Platform is an open and extensible IDE framework, and the Eclipse CDT is a C/C++ Integrated Development Environment for the Eclipse Platform with generic support for editing, building, launching, and debugging C/C++ programs.
资源详情
资源评论
资源推荐

Enea
®
Optima Tools Suite User's
Guide
BL770020

Enea
®
Optima Tools Suite User's Guide
Copyright
Copyright © Enea Software AB 2013.
This User Documentation consists of confidential information and is protected by Trade Secret Law. This notice of copyright does
not indicate any actual or intended publication of this information.
Except to the extent expressly stipulated in any software license agreement covering this User Documentation and/or corresponding
software, no part of this User Documentation may be reproduced, transmitted, stored in a retrieval system, or translated, in any form
or by any means, without the prior written permission of Enea Software AB. However, permission to print copies for personal use
is hereby granted.
Disclaimer
The information in this User Documentation is subject to change without notice, and unless stipulated in any software license
agreement covering this User Documentation and/or corresponding software, should not be construed as a commitment of Enea
Software AB.
Trademarks
Enea®, Enea OSE®, and Polyhedra® are the registered trademarks of Enea AB and its subsidiaries. Enea OSE®ck, Enea OSE®
Epsilon, Enea® Element, Enea® Optima, Enea® LINX, Enea® Accelerator, Polyhedra® FlashLite, Enea® dSPEED, Accelerating
Network Convergence™, Device Software Optimized™, and Embedded for Leaders™ are unregistered trademarks of Enea AB or
its subsidiaries. Any other company, product or service names mentioned in this document are the registered or unregistered trademarks
of their respective owner.
Acknowledgements and Open Source License Conditions
Information is found in the Release Information manual.
iiBL770020© Enea Software AB 2013
Enea
®
Optima Tools Suite User's Guide

Table of Contents
1 - Overview ...................................................................................................................... 8
1.1 - Optima Features ................................................................................................. 10
1.2 - GDB for OSE Features ......................................................................................... 11
1.3 - OSEck - Limitations and Conceptual Differences ...................................................... 11
1.4 - Host Scripting with Optima ................................................................................... 11
1.5 - Related Documents ............................................................................................. 12
2 - Requirements .............................................................................................................. 13
2.1 - Hardware Requirements ....................................................................................... 13
2.2 - Host Software Requirements ................................................................................. 13
2.3 - Target Software Requirements ............................................................................... 13
3 - Configuration .............................................................................................................. 14
3.1 - Optima File Structure .......................................................................................... 14
3.2 - Optima License Handling ..................................................................................... 15
3.3 - Installing the Documentation ................................................................................. 15
3.3.1 - Retrieving Documentation from an Update Site .............................................. 16
3.4 - Starting Optima .................................................................................................. 17
3.5 - Using Another Eclipse Installation .......................................................................... 17
3.6 - OSE Soft Kernel ................................................................................................. 17
3.7 - Cygwin on Windows ............................................................................................ 18
3.8 - SigDB Support and Configuration .......................................................................... 18
4 - Using Optima .............................................................................................................. 20
4.1 - Browsing Systems ........................................................................................... 20
4.1.1 - Targets and Other Nodes ............................................................................ 21
4.1.2 - Sorting Nodes .......................................................................................... 22
4.1.3 - Node State Information .............................................................................. 22
4.1.4 - Context Menus in the System Browser .......................................................... 23
4.1.5 - Node Details - Editors ............................................................................... 23
4.1.6 - Search for Nodes ...................................................................................... 26
4.1.7 - System Browser Preferences ....................................................................... 27
4.1.8 - Process List ............................................................................................. 27
4.1.9 - Block List ............................................................................................... 28
4.1.10 - Properties View ...................................................................................... 29
4.1.11 - Progress View and Background Jobs ........................................................... 29
4.2 - Navigator ...................................................................................................... 30
4.3 - Load Modules ................................................................................................ 31
4.4 - Pool Browsing ................................................................................................ 32
4.4.1 - Signal Charts ........................................................................................... 33
4.4.2 - Stack Charts ............................................................................................ 34
4.4.3 - Signal and Stack Lists ............................................................................... 35
4.5 - Pool Optimizing ............................................................................................. 36
4.6 - Heap Browsing ............................................................................................... 38
4.6.1 - Heap Buffer Charts ................................................................................... 38
4.6.2 - Heap Buffer Lists ..................................................................................... 40
4.7 - Post Mortem Debugging ................................................................................... 41
4.7.1 - Dumps ................................................................................................... 41
4.7.2 - Dump Editor ............................................................................................ 41
4.7.3 - Command Line Dump Reader ..................................................................... 43
4.8 - System Profiling - CPU, Customized, Heap .......................................................... 43
4.8.1 - Target and Profiling Parameters ................................................................... 44
4.8.2 - Profiled Process Settings ............................................................................ 46
iiiBL770020© Enea Software AB 2013
Enea
®
Optima Tools Suite User's Guide

4.8.3 - Profiling Session ...................................................................................... 47
4.8.4 - Profiling Charts and Tables ......................................................................... 48
4.8.5 - CPU Load Generator ................................................................................. 61
4.8.6 - Navigating the Charts ................................................................................ 64
4.8.7 - Gauge .................................................................................................... 65
4.8.8 - Report Selection ....................................................................................... 65
4.8.9 - Report Statistics ....................................................................................... 65
4.8.10 - Sorting .................................................................................................. 66
4.8.11 - Group ................................................................................................... 66
4.8.12 - Filter .................................................................................................... 67
4.8.13 - Profiling Synchronization ......................................................................... 68
4.8.14 - Synchronized Profiling Set ....................................................................... 68
4.8.15 - Modifying the Synchronized Profiling Set ................................................... 69
4.8.16 - Synchronized Scrolling ............................................................................ 69
4.9 - Source Code Profiling ...................................................................................... 69
4.9.1 - Technical Details ...................................................................................... 70
4.9.2 - Start a Source Profiling Session ................................................................... 71
4.9.3 - Launch Configuration ................................................................................ 72
4.9.4 - Source Profiling Results Editor ................................................................... 75
4.9.5 - View the Source Code ............................................................................... 77
4.10 - Log Management and Event Actions ................................................................. 78
4.10.1 - Event Actions ......................................................................................... 78
4.10.2 - User Events ........................................................................................... 83
4.10.3 - Retrieve Traces ....................................................................................... 84
4.10.4 - Receive Notifications ............................................................................... 86
4.10.5 - Events Editor ......................................................................................... 86
4.11 - Export Options for Event and Report Files ............................................................. 87
4.12 - Optima Freeze-Mode Connection ......................................................................... 88
5 - Optima Reference Information ...................................................................................... 90
5.1 - System Browser Reference ............................................................................... 90
5.1.1 - Toolbar, Menus, and Icons .......................................................................... 90
5.1.2 - Editors Reference ..................................................................................... 93
5.1.3 - Gateway Editor Reference .......................................................................... 93
5.1.4 - Target Editor Reference ............................................................................. 94
5.1.5 - Segment Editor Reference .......................................................................... 94
5.1.6 - Pool Editor Reference ............................................................................... 94
5.1.7 - Heap Editor Reference ............................................................................... 95
5.1.8 - Block Editor Reference .............................................................................. 96
5.1.9 - Process Editor Reference ........................................................................... 96
5.1.10 - Process List Reference ............................................................................. 97
5.1.11 - Block List Reference ............................................................................... 99
5.2 - Navigator Reference ...................................................................................... 100
5.3 - Load Modules Reference ................................................................................ 101
5.4 - Pool Browser Reference ................................................................................. 102
5.5 - Pool Optimizer Reference ............................................................................... 106
5.6 - Heap Browser Reference ................................................................................ 106
5.7 - Post Mortem Debugging Reference ................................................................... 108
5.7.1 - Dumps Reference ................................................................................... 108
5.7.2 - Dump Editor Reference ............................................................................ 108
5.7.3 - Command Line Dump Reader - pmdread - Reference .................................... 109
5.7.4 - Console Dump Monitor - pmdmon - Reference ............................................. 110
ivBL770020© Enea Software AB 2013
Enea
®
Optima Tools Suite User's Guide

5.8 - System Profiler Reference ............................................................................... 111
5.9 - Source Profiler Reference ............................................................................... 114
5.10 - Log Manager Reference ................................................................................ 115
5.11 - The Optima Eclipse Plugins ............................................................................... 121
6 - Source Code Debugging in OSE ................................................................................... 123
6.1 - Definitions ....................................................................................................... 123
6.1.1 - Run-Mode Debugging ............................................................................. 123
6.1.2 - Freeze-Mode Debugging .......................................................................... 123
6.1.3 - Post Mortem Debugging .......................................................................... 123
6.2 - Preconditions .................................................................................................... 123
6.2.1 - System Browser Support .......................................................................... 124
6.2.2 - C/C++ Content Assist .............................................................................. 124
6.2.3 - Path Mappings ....................................................................................... 124
6.3 - Run-Mode Debugging a Core Module ................................................................... 125
6.3.1 - Create a Project ...................................................................................... 125
6.3.2 - Build the Project ..................................................................................... 126
6.3.3 - Launch the Debugger ............................................................................... 126
6.3.4 - Debug the Project ................................................................................... 128
6.4 - Run-Mode Debugging a Load Module ................................................................... 131
6.4.1 - Create a Project ...................................................................................... 131
6.4.2 - Build the Project ..................................................................................... 132
6.4.3 - Launch the Debugger ............................................................................... 132
6.4.4 - Debug the Project ................................................................................... 133
6.5 - Freeze-Mode Debugging a Soft Kernel Core Module ................................................ 136
6.5.1 - Create a Project ...................................................................................... 137
6.5.2 - Build the Project ..................................................................................... 137
6.5.3 - Launch the Debugger ............................................................................... 138
6.5.4 - Debug the Project ................................................................................... 140
6.6 - Freeze-Mode Debugging a Soft Kernel Load Module ............................................... 143
6.6.1 - Create a Project ...................................................................................... 143
6.6.2 - Build the Project ..................................................................................... 144
6.6.3 - Launch the Debugger ............................................................................... 144
6.6.4 - Debug the Project ................................................................................... 145
6.7 - Freeze-Mode Debugging a Core Module ................................................................ 148
6.7.1 - Create a Project ...................................................................................... 149
6.7.2 - Build the Project ..................................................................................... 150
6.7.3 - Configure the JTAG Probe ........................................................................ 150
6.7.4 - Launch the Debugger ............................................................................... 150
6.7.5 - Debug the Project ................................................................................... 152
6.8 - Freeze-Mode Debugging a Load Module ............................................................... 155
6.8.1 - Create a Project ...................................................................................... 156
6.8.2 - Build the Project ..................................................................................... 156
6.8.3 - Install the Load Module ........................................................................... 157
6.8.4 - Launch the Debugger ............................................................................... 157
6.8.5 - Debug the Project ................................................................................... 159
6.9 - Post Mortem Debugging ..................................................................................... 163
6.9.1 - Create a Project ...................................................................................... 163
6.9.2 - Build the Project ..................................................................................... 163
6.9.3 - Create a Dump ....................................................................................... 164
6.9.4 - Launch the Debugger ............................................................................... 164
6.9.5 - Launch the Dump ................................................................................... 167
6.10 - Restrictions .................................................................................................... 167
6.10.1 - Registers availability .............................................................................. 167
vBL770020© Enea Software AB 2013
Enea
®
Optima Tools Suite User's Guide
剩余210页未读,继续阅读














安全验证
文档复制为VIP权益,开通VIP直接复制

评论1