Comtrol eCos manuales

Manuales del propietario y guías del usuario para Accesorios de comunicación Comtrol eCos.
Ofrecemos 1 manuales en pdf Comtrol eCos para descargar gratis por tipos de documentos: Manual de usuario


Tabla de contenidos

Table of Contents

5

List of Tables

23

List of Examples

23

I. The eCos Kernel

25

Kernel Overview

27

Schedulers

28

Synchronization Primitives

29

Calling Contexts

32

Error Handling and Assertions

33

SMP Interrupt Handling

36

Thread creation

39

Thread Priorities

40

Stacks and Stack Sizes

40

Valid contexts

41

Thread Entry Points and C++

42

Thread information

43

Thread control

47

Suspend and Resume

48

Releasing a Blocked Thread

48

Thread termination

49

Thread priorities

51

Per-thread data

53

Thread destructors

55

Exception handling

57

Counters

59

Clock Resolutions and Ticks

61

Priority Inversion

66

Alternatives

68

Recursive Mutexes

68

Condition Variables

71

Semaphores

75

Mail boxes

77

Event Flags

79

Scheduler Control

85

Interrupt Handlers

88

Controlling Interrupts

90

VSR Support

91

Methodology

93

Using these Measurements

94

Influences on Performance

94

Measured Items

94

II. RedBoot™ User’s Guide

103

Installing RedBoot

105

User Interface

106

RedBoot Editing Commands

106

RedBoot Startup Mode

107

RedBoot Resource Usage

108

RAM Resources

109

Target Network Configuration

110

Host Network Configuration

110

/tftpboot/boot.img

111

/tftpboot directory

111

Verification

114

Introduction

115

Common Commands

117

Examples

118

Synopsis

119

Arguments

119

Description

119

RedBoot> cache

122

RedBoot> channel -1

124

Fill a buffer with a pattern

142

Flash Image System (FIS)

149

fis create

155

fis delete

161

fis unlock

165

fis erase

167

fis write

169

Chapter 3. Rebuilding RedBoot

179

Chapter 4. Updating RedBoot

183

Overview

187

Initial Installation

187

Additional Commands

190

Memory Maps

191

ARM/ARM7 ARM Evaluator7T

192

Special RedBoot Commands

193

ARM/ARM7+ARM9 ARM Integrator

194

Rebuilding RedBoot

196

Initial Installation Method

197

ARM/ARM9 Agilent AAED2000

202

>/dev/ttyS1

203

> fis init

203

ARM/ARM9 Altera Excalibur

206

Flash management

207

Communication Channels

209

Platform Resource Usage

210

Download Instructions

216

Cohabiting with POST in Flash

217

Nano Platform Port

219

Ethernet Driver

219

Additional commands

223

ARM/Xscale Cyclone IQ80310

227

Error codes

228

IQ80310 Hardware Tests

229

Interrupts

230

ARM/Xscale Intel IQ80321

233

Switch Settings

234

LED Codes

234

• Battery is charging

238

IA32/x86 x86-Based PC

246

MIPS/RM7000 PMC-Sierra Ocelot

255

MIPS/VR4375 NEC DDB-VRC4375

256

PowerPC/MPC8XX Motorola MBX

259

Layer (HAL)

273

Chapter 6. Introduction

275

Chapter 8. General principles

279

Chapter 9. HAL Interfaces

281

Architecture Characterization

282

Thread Context Switching

283

Bit indexing

284

Idle thread activity

284

Reorder barrier

284

Breakpoint support

284

GDB support

285

Setjmp and longjmp support

285

Stack Sizes

285

Interrupt Handling

286

Vector numbers

287

Interrupt state control

287

ISR and VSR management

288

HAL_DISABLE_INTERRUPTS(old);

289

HAL_RESTORE_INTERRUPTS(old);

289

Clock control

290

Microsecond Delay

290

Cache Control

291

Cache Dimensions

292

Global Cache Control

293

Cache Line Control

294

Linker Scripts

295

Diagnostic Support

296

SMP Support

296

HAL Support

297

Test-and-set Support

298

Scheduler Lock

299

Spinlocks

299

Interrupt Routing

300

HAL Startup

301

Vectors and VSRs

303

the VSR table. This is all

304

Chapter 11. Porting Guide

307

HAL Classes

308

File Descriptions

308

Common HAL

309

Architecture HAL

309

Variant HAL

310

Platform HAL

311

Virtual Vectors

312

The COMMS channels

314

Mangling

315

The calling Interface API

317

Compatibility

319

Implementation details

319

New Platform Ports

319

New architecture ports

319

IO channels

320

Implementation Details

322

HAL Coding Conventions

323

Source code details

324

Nested Headers

325

Platform HAL Porting

326

<target_name> redboot

327

% ecosconfig tree

328

HAL Platform CDL

330

CDL File Layout

331

Startup Type

332

Build options

332

Common Target Options

334

Platform Memory Layout

337

Variant HAL Porting

339

HAL Variant CDL

340

Cache Support

341

Architecture HAL Porting

342

<architecture>-stub.c;

347

CDL Requirements

348

Libraries

353

Included non-ISO functions

355

Some implementation details

358

<stdio.h>

359

Thread safety

360

C library startup

360

Chapter 14. Introduction

365

Chapter 15. User API

367

<cyg/io/config_keys.h>

368

Raw Serial Driver

369

API Details

371

CYG_IO_GET_CONFIG_SERIAL_INFO

372

TTY driver

375

API details

376

CYG_IO_SET_CONFIG_TTY_INFO

377

DevTab Entry

381

Serial Channel Structure

381

Serial Functions Structure

383

Callbacks

384

Serial testing with ser_filter

385

The Serial Tests

386

Serial Filter Usage

386

A Note on Failures

388

Debugging

388

Interrupt Model

389

Synchronization

389

Device Driver Models

390

Synchronization Levels

391

<cyg/hal/drv_api.h>

392

TRUE for locked

393

FALSE for unlocked state

393

FALSE then the

399

Chapter 19. Introduction

415

Chapter 20. File System Table

417

Chapter 21. Mount Table

419

/* current offset */

421

Chapter 23. Directories

423

Chapter 24. Synchronization

425

Chapter 26. Sockets

429

Chapter 27. Select

431

Chapter 28. Devices

433

FSTAB_ENTRY to do this:

436

VII. PCI Library

439

PCI Library

441

Scanning for devices

442

Generic config information

442

Specific config information

443

Allocating memory

443

Activating a device

444

PCI Library reference

445

specimen values for device

446

Functions

447

Resource allocation

448

arguments

449

HAL PCI support

450

Functions Implemented

455

Functions Omitted

456

∗termios_p, speed_t speed );

460

Non-POSIX Functions

469

IX. µITRON

471

Chapter 32. µITRON API

473

Task Management Functions

474

Error checking

475

Time Management Functions

483

System Management Functions

484

Network Support Functions

485

Chapter 34. Sample Code

495

Loopback tests

499

Building the Network Tests

499

Standalone Tests

500

Performance Test

500

Interactive Tests

501

Maintenance Tools

502

Chapter 37. Support Features

505

<unistd.h>

507

<sys/param.h>) charac

507

<sys/types.h>

509

<machine/endian.h>

509

<netinet/if_ether.h>

511

<sys/socket.h>

513

<netdb.h>

513

< 0) {

516

<ifaddrs.h>

521

<netdb.h>:

523

<[email protected]>

530

<net/if.h>

532

<netinet/in.h>

534

<arpa/inet.h>

534

<netipx/ipx.h>

546

<netiso/iso.h>

547

<net/if_dl.h>

548

<0 is returned

550

<netns/ns.h>

550

<arpa/nameser.h>

551

<resolv.h>

551

<sys/time.h>

563

<sys/ioctl.h>

566

<poll.h>

567

Building the Network Stack

583

Chapter 41. APIs

585

Chapter 44. APIs

593

∗in, fd_set ∗out, fd_set ∗ex

594

Chapter 45. DNS

597

XIV. Ethernet Device Drivers

599

Generic Ethernet API

601

Review of the functions

603

Init function

604

Start function

604

Stop function

605

Control function

605

Available Operations:

605

Can-send function

606

Send function

606

Deliver function

607

Receive function

607

Upper Layer Functions

608

Callback Init function

609

Callback Tx-Done function

609

Callback Receive function

609

Transmission

610

XV. SNMP

613

Chapter 47. SNMP for eCos

615

Changes to eCos sources

616

Starting the SNMP Agent

616

Configuring eCos

617

Version usage (v1, v2 or v3)

618

Test cases

619

SNMP clients and package use

620

Unimplemented features

620

MIB Compiler

621

XVI. Embedded HTTP Server

631

Intrduction

633

Server Organization

633

Server Configuration

634

Support Functions and Macros

635

General HTML Support

636

Table Support

636

Forms Support

637

Predefined Handlers

637

System Monitor

638

FTP Client API

641

XVIII. CRC Algorithms

643

Chapter 50. CRC Functions

645

XIX. CPU load measurements

647

CPU Load API

649

XX. Application profiling

651

Power Controllers

658

Basic Operation

659

Power Management Information

661

Global Power Modes

662

The Power Management Thread

663

Changing Power Modes

665

Support for Policy Modules

667

Detaching Power Controllers

671

<pkgconf/system.h>

674

<cyg/power/power.h>

674

XXII. eCos USB Slave Support

677

Enabling the USB code

681

USB Enumeration Data

683

REQUIRED bit set;

686

Starting up a USB Device

689

Devtab Entries

691

Receiving Data from the Host

695

Sending Data to the Host

699

Halted Endpoints

701

Control Endpoints

703

<< 7)

704

} usbs_state_change;

705

} usbs_control_endpoint;

708

Data Endpoints

709

Writing a USB Device Driver

711

Support for USB Testing

714

Writing a Test

720

Available Hardware

720

Testing Bulk Transfers

723

Other Types of Transfer

726

Existing Test Scripts

726

Possible Problems

727

USB-ethernet Peripherals

729

USB-ethernet Data Transfers

735

USB-ethernet State Handling

737

Communication Protocol

743

0x02. The remaining fields in

744

XXIV. eCos Synthetic Target

745

Installation

751

Toolchain

752

Hardware Preparation

752

Command-line Arguments

753

The Target Definition File

755

<device type> {

756

<options>

756

<colour>

756

User Configuration Files

757

Session Information

757

Menus and the Toolbar

760

The Main Text Window

761

Positioning Optional Windows

762

Global Settings

763

The Console Device

765

Command Line Arguments

766

Additional Tcl Procedures

766

System Calls

767

Writing New Devices - target

769

<cyg/infra/cyg_type.h>

770

Communicating with a Device

771

Writing New Devices - host

775

Instantiation

776

Handling Requests

776

<name>

780

<name> <function>

780

<name> <args>

780

Output and Filters

782

The Graphical Interface

783

<URL>

784

Other Linux Platforms

785

Other Unix Platforms

786

Windows Platforms

786

XXV. SA11X0 USB Device Driver

789

SA11X0 USB Device Driver

791

DMA Engines

792

XXVI. NEC uPD985xx USB Device

795

NEC uPD985xx USB Hardware

797

Endpoint Data Structures

797

Restrictions

798

Optional Hardware Workarounds

798

Platform Dependencies

799

Real Ethernet

804

Ethertap

805

Packet Logging

806

User Interface Additions

808

Target-side Configuration

812

Wallclock versus Elapsed Time

812





Más productos y manuales para Accesorios de comunicación Comtrol

Modelos Tipo de documento
Hub DeviceMaster Manual de usuario   Comtrol Hub DeviceMaster User Manual, 178 paginas
Hub DeviceMaster Rackmount Shelf Kit Manual de usuario   Comtrol Hub DeviceMaster Rackmount Shelf Kit User Manual [pl] [en] [cs] [de] , 3 paginas
UP DeviceMaster User Guide Manual de usuario   Comtrol UP DeviceMaster User Guide User Manual [it] [de] [fr] , 166 paginas
UP DeviceMaster Quick Start Manual de usuario   Comtrol UP DeviceMaster Quick Start User Manual, 36 paginas
UP DeviceMaster Installation Manual de usuario   Comtrol UP DeviceMaster Installation User Manual [en] [de] , 86 paginas
Modbus TCP Quick Start Manual de usuario   Comtrol Modbus TCP Quick Start User Manual, 78 paginas
Modbus TCP User Guide Manual de usuario   Comtrol Modbus TCP User Guide User Manual [en] [pl] [cs] [de] , 112 paginas
PROFINET IO Manual de usuario   Comtrol PROFINET IO User Manual, 18 paginas
UP DeviceMaster Filtering and Data Extraction Manual de usuario   Comtrol UP DeviceMaster Filtering and Data Extraction User Manual [it] [fr] [de] , 26 paginas
500 DeviceMaster Manual de usuario   Comtrol 500 DeviceMaster User Manual [de] [fr] , 72 paginas
SICK LMS Manual de usuario   Comtrol SICK LMS User Manual, 12 paginas
IOLM 4-EIP Manual de usuario   Comtrol IOLM 4-EIP User Manual [it] [fr] [de] , 62 paginas
IO-Link Master EIP-4 Manual de usuario   Comtrol IO-Link Master EIP-4 User Manual [cs] [pl] [en] [de] , 114 paginas
IOLM Modbus TCP Manual de usuario   Comtrol IOLM Modbus TCP User Manual, 28 paginas
ES7110-VB Manual de usuario   Comtrol ES7110-VB User Manual [cs] [en] [pl] [de] , 14 paginas
ES7506 Manual de usuario   Comtrol ES7506 User Manual [it] [de] [fr] , 158 paginas
ES7510 Manual de usuario   Comtrol ES7510 User Manual, 202 paginas
ES7510-XT Manual de usuario   Comtrol ES7510-XT User Manual, 215 paginas
ES7528 Manual de usuario   Comtrol ES7528 User Manual [pl] [cs] [en] [de] , 224 paginas
ES8108 Manual de usuario   Comtrol ES8108 User Manual [fr] [de] , 6 paginas