Table of Contents. Comtrol DeviceMaster 500, DeviceMaster Software Development Kit, DM-2xxx | LT | PRO | RTS | Serial Hub
विज्ञापन
विज्ञापन
Table of Contents
...............................................................................................................................................
............................................................................................................................................
..................................................................................................................................................
..............................................................................................................................................
........................................................................................................................................
................................................................................................................................................
.........................................................................................................................................
.............................................................................................................................................
...............................................................................................................................................
..........................................................................................................................................
........................................................................................................................................
.........................................................................................................................................................
.............................................................................................................................................................
............................................................................................................................................................
..........................................................................................................................................................
........................................................................................................................................
....................................................................................................................................................
......................................................................................................................................................
.....................................................................................................................................................
........................................................................................................................................................
..........................................................................................................................................
..........................................................................................................................................
Kernel Real-time Characterization
.................................................................................................................
.................................................................................................................................
1. Getting Started with RedBoot
......................................................................................................................
More information about RedBoot on the web
........................................................................................
..................................................................................................................................
.........................................................................................................................................
..................................................................................................................
...........................................................................................................................
.......................................................................................................................
............................................................................................................................
............................................................................................................................
Configuring the RedBoot Environment
..................................................................................................
......................................................................................................
.........................................................................................................
Enable TFTP on Red Hat Linux 6.2
....................................................................................
Enable TFTP on Red Hat Linux 7 (or newer)
.....................................................................
Enable BOOTP/DHCP server on Red Hat Linux
................................................................
Enable DNS server on Red Hat Linux
................................................................................
..................................................................................................
..................................................................................................................................
2. RedBoot Commands and Examples
...........................................................................................................
..........................................................................................................................................
............................................................................................................................
v
vi
.............................................................................................................................................
.......................................................................................................................................
...........................................................................................................................................
........................................................................................................................................
..........................................................................................................................................
............................................................................................................................................
...........................................................................................................................................
..............................................................................................................................................
...................................................................................................................................
..............................................................................................................................................
...........................................................................................................................................
.............................................................................................................................................
.............................................................................................................................................
.............................................................................................................................................
.........................................................................................................................................
....................................................................................................................
..........................................................................................................................................
...........................................................................................................................................
..........................................................................................................................................
......................................................................................................................................
.........................................................................................................................................
......................................................................................................................................
.........................................................................................................................................
.....................................................................................................................................
Persistent State Flash-based Configuration and Control
......................................................................
Executing Programs from RedBoot
......................................................................................................
.............................................................................................................................................
...................................................................................................................................
..........................................................................................................................................
Rebuilding RedBoot using ecosconfig
........................................................................................
Rebuilding RedBoot from the Configuration Tool
.....................................................................
......................................................................................................................................
..........................................................................................................................................
Load and start a RedBoot RAM instance
...................................................................................
Update the primary RedBoot flash image
...................................................................................
Reboot; run the new RedBoot image
..........................................................................................
..............................................................................................................................
AM3x/MN103E010 Matsushita MN103E010 (AM33/2.0) ASB2305 Board
.....................................
.....................................................................................................................................
........................................................................................................................
Preparing to program the board
.........................................................................................
Preparing to use the JTAG debugger
.................................................................................
Loading the RAM-based RedBoot via JTAG
....................................................................
Loading the boot PROM-based RedBoot via the RAM mode RedBoot
...........................
................................................................................................................
.............................................................................................................................
....................................................................................................................
..........................................................................................................
.....................................................................................................................................
........................................................................................................................
......................................................................................................
......................................................................................................
.............................................................................................................................
....................................................................................................................
.................................................................................................
.....................................................................................................................................
........................................................................................................................
......................................................................................................
......................................................................................................
.............................................................................................................................
....................................................................................................................
ARM/ARM7+ARM9 ARM PID Board and EPI Dev7+Dev9
.............................................................
.....................................................................................................................................
......................................................................................................
.............................................................................................................................
....................................................................................................................
ARM/ARM7 Atmel AT91 Evaluation Board (EB40)
..........................................................................
.....................................................................................................................................
......................................................................................................
.............................................................................................................................
....................................................................................................................
ARM/ARM7 Cirrus Logic EP7xxx (EDB7211, EDB7212, EDB7312)
..............................................
.....................................................................................................................................
......................................................................................................
.............................................................................................................................
............................................................................................................
....................................................................................................................
........................................................................................................
.....................................................................................................................................
RedBoot as Primary Bootmonitor
.....................................................................................
....................................................................................................
...........................................................................................................................
..................................................................................................................
...........................................................................................................
...................................................................................................................................
....................................................................................................................
....................................................................................................
...........................................................................................................................
vii
viii
..................................................................................................................
ARM/StrongARM(SA110) Intel EBSA 285
......................................................................................
...................................................................................................................................
.........................................................................................................
....................................................................................................
...........................................................................................................................
..........................................................................................................
..................................................................................................................
ARM/StrongARM(SA1100) Intel Brutus
..........................................................................................
...................................................................................................................................
....................................................................................................
...........................................................................................................................
..........................................................................................................
..................................................................................................................
ARM/StrongARM(SA1100) Intel SA1100 Multimedia Board
.........................................................
...................................................................................................................................
....................................................................................................
...........................................................................................................................
..........................................................................................................
..................................................................................................................
ARM/StrongARM(SA1110) Intel SA1110 (Assabet)
........................................................................
...................................................................................................................................
....................................................................................................
...........................................................................................................................
..........................................................................................................
..................................................................................................................
ARM/StrongARM(SA11X0) Bright Star Engineering commEngine and nanoEngine
.....................
...................................................................................................................................
......................................................................................................................
..............................................................................................................
................................................................................................
....................................................................................................
...........................................................................................................................
...................................................................................................................
..........................................................................................................................
..................................................................................................................
ARM/StrongARM(SA11X0) Compaq iPAQ PocketPC
.....................................................................
...................................................................................................................................
......................................................................................................................
Installing RedBoot on the iPAQ using Windows/CE
......................................................
Installing RedBoot on the iPAQ - using the Compaq boot loader
...................................
Setting up and testing RedBoot
.......................................................................................
...................................................................................................
...............................................................................................................
...........................................................................................................................
..................................................................................................................
ARM/StrongARM(SA11X0) Intrinsyc CerfCube
..............................................................................
...................................................................................................................................
......................................................................................................................
...............................................................................................................
...........................................................................................................................
..................................................................................................................
.........................................................................................................
...................................................................................................................................
................................................................................................................................
Using RedBoot with ARM Bootloader
.....................................................................................
....................................................................................................
..........................................................................................................
..................................................................................................................
...................................................................................................................................
...........................................................................................................................
..........................................................................................................
...............................................................................................................
...................................................................................................................................
.........................................................................................................................
................................................................................................................................
....................................................................................................
..................................................................................................................
.................................................................................................
........................................................................................
.....................................................................................................
......................................................................................................
........................................................................................
...........................................................................................................
Battery Backup SDRAM Memory Test
..........................................................................
........................................................................................................................
....................................................................................................................
.............................................................................................................
..................................................................................................................
...................................................................................................................................
...........................................................................................................................
..........................................................................................................
CalmRISC/CalmRISC16 Samsung CalmRISC16 Core Evaluation Board
........................................
...................................................................................................................................
....................................................................................................
Special Note on Serial Channel
................................................................................................
..................................................................................................................
CalmRISC/CalmRISC32 Samsung CalmRISC32 Core Evaluation Board
........................................
ix
x
...................................................................................................................................
....................................................................................................
Special Note on Serial Channel
................................................................................................
..................................................................................................................
FRV/FRV400 Fujitsu FR-V 400 (MB-93091)
....................................................................................
...................................................................................................................................
....................................................................................................
...........................................................................................................................
..................................................................................................................
.....................................................................................................................
...................................................................................................................................
......................................................................................................................
....................................................................................................................
....................................................................................................
...........................................................................................................................
..................................................................................................................
MIPS/MIPS32(CoreLV 4Kc)+MIPS64(CoreLV 5Kc) Atlas Board
..................................................
...................................................................................................................................
......................................................................................................................
...........................................................................................
....................................................................................................
....................................................................................................................
................................................................................................
...............................................................................................................
...................................................................................................................................
...........................................................................................................................
..................................................................................................................
MIPS/MIPS32(CoreLV 4Kc)+MIPS64(CoreLV 5Kc) Malta Board
..................................................
...................................................................................................................................
......................................................................................................................
...........................................................................................
...................................................................................................
...............................................................................................................
...................................................................................................................................
...........................................................................................................................
..................................................................................................................
...................................................................................................
...................................................................................................................................
...............................................................................................................
...........................................................................................................................
..................................................................................................................
................................................................................................
...................................................................................................................................
....................................................................................................
...........................................................................................................................
..........................................................................................................................
..................................................................................................................
PowerPC/MPC860T Analogue & Micro PowerPC 860T
..................................................................
...................................................................................................................................
....................................................................................................
...........................................................................................................................
..................................................................................................................
..................................................................................................
...................................................................................................................................
....................................................................................................
...........................................................................................................................
..................................................................................................................
SuperH/SH3(SH7708) Hitachi EDK7708
..........................................................................................
...................................................................................................................................
...........................................................................................................................
..................................................................................................................
SuperH/SH3(SH7709) Hitachi Solution Engine 7709
.......................................................................
...................................................................................................................................
....................................................................................................
...........................................................................................................................
..........................................................................................................................
..................................................................................................................
SuperH/SH3(SH7729) Hitachi HS7729PCI
.......................................................................................
...................................................................................................................................
....................................................................................................
...........................................................................................................................
..................................................................................................................
SuperH/SH3(SH77X9) Hitachi Solution Engine 77X9
.....................................................................
...................................................................................................................................
....................................................................................................
...........................................................................................................................
..........................................................................................................................
..................................................................................................................
SuperH/SH4(SH7751) Hitachi Solution Engine 7751
.......................................................................
...................................................................................................................................
....................................................................................................
...........................................................................................................................
..........................................................................................................................
..................................................................................................................
xi
xii
..............................................................................................................................................
7. Architecture, Variant and Platform
..........................................................................................................
....................................................................................................................................
.........................................................................................................................................
..................................................................................................................................
......................................................................................................................
.................................................................................................................................
.............................................................................................................................
.............................................................................................................
................................................................................................................
....................................................................................................
........................................................................................................
...............................................................................................................................
....................................................................................................................
..........................................................................................................................
....................................................................................................................
.............................................................................................................................
.....................................................................................................
................................................................................................................................
..................................................................................................................
...........................................................................................................................
..............................................................................................................................
.........................................................................................................................
................................................................................................................
.......................................................................................................
Interrupt controller management
...............................................................................................
.............................................................................................................................
...................................................................................................................
........................................................................................................................
.............................................................................................................................
............................................................................................................................
.....................................................................................................................................
....................................................................................................................
...............................................................................................................
...................................................................................................................
.....................................................................................................................................
.............................................................................................................................
......................................................................................................................................
....................................................................................................
.............................................................................................................................
....................................................................................................................
........................................................................................................
.........................................................................................................................
................................................................................................................
.............................................................................................................
................................................................................................................................
.......................................................................................................................................
...............................................................................................................................
Default Synchronous Exception Handling
.........................................................................................
.................................................................................................................
.........................................................................................................................................
........................................................................................................................................
....................................................................................................................................
.............................................................................................................................
.......................................................................................................................
.................................................................................................................
............................................................................................................
....................................................................................................................
..................................................................................................................
................................................................................................................
Virtual Vectors (eCos/ROM Monitor Calling Interface)
....................................................................
..........................................................................................................................
Initialization (or Mechanism vs. Policy)
.........................................................................
Pros and Cons of Virtual Vectors
....................................................................................
............................................................................................................
.............................................................................................................
Console and Debugging Channels
..................................................................................
.........................................................................................................................
Controlling the Console Channel
....................................................................................
Footnote: Design Reasoning for Control of Console Channel
........................................
..........................................................................................................
.....................................................................................................
...................................................................................................................
....................................................................................................
.........................................................................................................
...............................................................................................................................
.......................................................................................................
...............................................................................................................................
...................................................................................................................
...................................................................................................
.........................................................................................................
..................................................................................................................
...............................................................................................................
...................................................................................................................
.........................................................................................................................
........................................................................................................................
.................................................................................................
.................................................................................................................
.....................................................................................................................
............................................................................................
......................................................................................................
................................................................................................................................
xiii
xiv
..................................................................................................................
.................................................................................................................
.............................................................................................................
....................................................................................................................
...................................................................................................................
.................................................................................................
.........................................................................................................
.....................................................................................................................
............................................................................................................
Platform Serial Device Support
................................................................................................
....................................................................................................
.....................................................................................................................
...........................................................................................................................
..................................................................................................................
HAL Architecture Porting Process
...........................................................................................
...................................................................................................................
..............................................................................................................................
IV. The ISO Standard C and Math Libraries
...................................................................................................
13. C and math library overview
..................................................................................................................
...............................................................................................................
Math library compatibility modes
......................................................................................................
...................................................................................................................................
..................................................................................................
.............................................................................................................
......................................................................................................................................
..................................................................................................................................
V. I/O Package (Device Drivers)
.........................................................................................................................
............................................................................................................................................
.................................................................................................................................................
.................................................................................................................................
...............................................................................................................................
.............................................................................................................
................................................................................................................................
....................................................................................................................
.....................................................................................................................
...........................................................................................................
............................................................................................................
..........................................................................................................................................
..............................................................................................................
.................................................................................................................................
............................................................................................................................
How to Write a Serial Hardware Interface Driver
..............................................................................
............................................................................................................................
...........................................................................................................
.........................................................................................................
...................................................................................................................................
Serial testing with ser_filter
................................................................................................................
...................................................................................................................................
..............................................................................................................................
.........................................................................................................................
.....................................................................................................................
....................................................................................................................
.................................................................................................................................
18. Device Driver Interface to the Kernel
....................................................................................................
...................................................................................................................................
..................................................................................................................................
......................................................................................................................................
.........................................................................................................................
......................................................................................................................
..............................................................................................................................................
.......................................................................................................................
...................................................................................................................
...............................................................................................................
........................................................................................................
.............................................................................................................
............................................................................................................
...............................................................................................................
..............................................................................................................
................................................................................................
292 cyg_drv_spinlock_clear_intsave
...............................................................................................
......................................................................................................................
..................................................................................................................
..................................................................................................................
............................................................................................................
.................................................................................................................
............................................................................................................
............................................................................................................
....................................................................................................................
..............................................................................................................
...................................................................................................................
................................................................................................................
..........................................................................................................
..........................................................................................................
..........................................................................................................
..........................................................................................................
.........................................................................................................
...........................................................................................................
301 cyg_drv_interrupt_mask_intunsafe
...........................................................................................
.......................................................................................................
302 cyg_drv_interrupt_unmask_intunsafe
.......................................................................................
...............................................................................................
............................................................................................................
xv
xvi
.......................................................................................................
.......................................................................................................
.................................................................................................................................
................................................................................................................................
............................................................................................................................................
...................................................................................................................................
...........................................................................................................................................
................................................................................................................................................
..............................................................................................................................................
.....................................................................................................................................
25. Initialization and Mounting
....................................................................................................................
...................................................................................................................................................
......................................................................................................................................................
...................................................................................................................................................
......................................................................................................................
..................................................................................................................................................
............................................................................................................................
.........................................................................................................................................
............................................................................................................................
.....................................................................................................................
.................................................................................................................
.......................................................................................................
.......................................................................................................
...................................................................................................................
...................................................................................................................................
....................................................................................................................
.........................................................................................................................................
.........................................................................................................................
........................................................................................................................
.................................................................................................................................
..........................................................................................................
...................................................................................................................................
...................................................................................................................
.......................................................................................................
......................................................................................................................
VIII. eCos POSIX compatibility layer
...............................................................................................................
.......................................................................................................................
Process Primitives [POSIX Section 3]
...............................................................................................
.....................................................................................................................
.........................................................................................................................................
Process Environment [POSIX Section 4]
...........................................................................................
.....................................................................................................................
.........................................................................................................................................
Files and Directories [POSIX Section 5]
............................................................................................
.....................................................................................................................
.........................................................................................................................................
Input and Output [POSIX Section 6]
..................................................................................................
.....................................................................................................................
.........................................................................................................................................
.....................................................................................................................
.........................................................................................................................................
C Language Services [POSIX Section 8]
...........................................................................................
.....................................................................................................................
.........................................................................................................................................
System Databases [POSIX Section 9]
................................................................................................
.....................................................................................................................
.........................................................................................................................................
Data Interchange Format [POSIX Section 10]
...................................................................................
Synchronization [POSIX Section 11]
.................................................................................................
.....................................................................................................................
.........................................................................................................................................
Memory Management [POSIX Section 12]
.......................................................................................
.....................................................................................................................
.........................................................................................................................................
Execution Scheduling [POSIX Section 13]
........................................................................................
.....................................................................................................................
.........................................................................................................................................
Clocks and Timers [POSIX Section 14]
.............................................................................................
.....................................................................................................................
.........................................................................................................................................
Message Passing [POSIX Section 15]
................................................................................................
.....................................................................................................................
.........................................................................................................................................
Thread Management [POSIX Section 16]
..........................................................................................
.....................................................................................................................
.........................................................................................................................................
Thread-Specific Data [POSIX Section 17]
.........................................................................................
.....................................................................................................................
.........................................................................................................................................
xvii
xviii
Thread Cancellation [POSIX Section 18]
..........................................................................................
.....................................................................................................................
.........................................................................................................................................
...............................................................................................................
.......................................................................................................................
.........................................................................................................................................
.......................................................................................................................
.........................................................................................................................................................
..........................................................................................................................................
.....................................................................................................................
..............................................................................................................................
..............................................................................................................
...........................................................................................................................
Task-Dependent Synchronization Functions
......................................................................................
...........................................................................................................................
Synchronization and Communication Functions
................................................................................
...........................................................................................................................
Extended Synchronization and Communication Functions
...............................................................
Interrupt management functions
.........................................................................................................
...........................................................................................................................
Memory pool Management Functions
................................................................................................
...........................................................................................................................
.............................................................................................................
...........................................................................................................................
..........................................................................................................
...........................................................................................................................
................................................................................................................
..............................................................................................................
X. TCP/IP Stack Support for eCos
.....................................................................................................................
..........................................................................................................................................
......................................................................................................................
......................................................................................................................
....................................................................................................................................
................................................................................................................
.................................................................................................................................
................................................................................................................................
..................................................................................................................................
..............................................................................................................................
....................................................................................................................................
...................................................................................................................................................
.................................................................................................................................................
.....................................................................................................................
........................................................................................................................................
.............................................................................................................................................
...................................................................................................................................................
..........................................................................................................................................
....................................................................................................................................
............................................................................................................................................
........................................................................................................................................
.............................................................................................................................................
..........................................................................................................................................
...................................................................................................................................
............................................................................................................................................
...................................................................................................................................
......................................................................................................................................................
.............................................................................................................................
...............................................................................................................................
...............................................................................................................................................
.......................................................................................................................................................
..............................................................................................................................................
.............................................................................................................................................
.......................................................................................................................................
.........................................................................................................................................................
...............................................................................................................................................
..................................................................................................................................................
.....................................................................................................................................................
................................................................................................................................................
........................................................................................................................................
.......................................................................................................................................
...........................................................................................................................................
.....................................................................................................................................................
......................................................................................................................................................
...................................................................................................................................................
.....................................................................................................................................................
.............................................................................................................................................
..................................................................................................................................................
............................................................................................................................................
XI. FreeBSD TCP/IP Stack port for eCos
.........................................................................................................
....................................................................................................................
.....................................................................................................................
................................................................................................................................................
...............................................................................................................
........................................................................................................................................................
...........................................................................................................................
...............................................................................................................................
XII. OpenBSD TCP/IP Stack port for eCos
......................................................................................................
....................................................................................................................
..................................................................................................................
................................................................................................................................................
...............................................................................................................
xix
xx
........................................................................................................................................................
...........................................................................................................................
...............................................................................................................................
XIII. DNS for eCos and RedBoot
.......................................................................................................................
........................................................................................................................................................
.............................................................................................................................................
.............................................................................................................................
46. Generic Ethernet Device Driver
.............................................................................................................
.........................................................................................................................
......................................................................................................................
...............................................................................................................................
.............................................................................................................................
.............................................................................................................................
........................................................................................................................
.....................................................................................................................
............................................................................................................................
........................................................................................................................
.......................................................................................................................
..............................................................................................................................
...........................................................................................................
.......................................................................................................................
...............................................................................................................
.......................................................................................................
........................................................................................................
Calling graph for Transmission and Reception
..................................................................................
.............................................................................................................................
......................................................................................................................................
............................................................................................................................................................
......................................................................................................................................
................................................................................................................................................
SNMP packages in the eCos source repository
..................................................................................
..................................................................................................................................
....................................................................................................................
...................................................................................................................
................................................................................................................................
.....................................................................................................
............................................................................................................................................
...........................................................................................................
.....................................................................................................................
....................................................................................................................................
.........................................................................................................................................
...........................................................................................................................
........................................................................................................................
..........................................................................................................................................
............................................................................................................................
..........................................................................................................................
................................................................................................
..............................................................................................
........................................................................................
CYGNUM_HTTPD_THREAD_STACK_SIZE
....................................................................................
CYGNUM_HTTPD_SERVER_BUFFER_SIZE
..................................................................................
..............................................................................................
...........................................................................................................
...........................................................................................................................
............................................................................................................
............................................................................................................................
...........................................................................................................................
..................................................................................................................
..................................................................................................................................
XVII. FTP Client for eCos TCP/IP Stack
..........................................................................................................
...............................................................................................................................
...................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
..........................................................................................................................
......................................................................................................................................
.......................................................................................................................................
.............................................................................................................................................
.......................................................................................................................
..................................................................................................................................
........................................................................................................................
..................................................................................................................................
............................................................................................................................
......................................................................................................................
....................................................................................................................................
..............................................................................................................
...................................................................................................................
...................................................................................................................
.......................................................................................................................
..............................................................................................................
....................................................................................................................................
..................................................................................................................................
......................................................................................................................................................
..................................................................................................................................
xxi
xxii
..................................................................................................................................................
..................................................................................................................
...............................................................................................................................
.........................................................................................................................
Attached and Detached Controllers
.............................................................................................................
Implementing a Power Controller
................................................................................................................
..........................................................................................................................
..................................................................................................................................................
................................................................................................................................
............................................................................................................................
..............................................................................................................................................
......................................................................................................................
.............................................................................................................................
..........................................................................................................................................
........................................................................................................................................
.............................................................................................................................................
......................................................................................................................
..........................................................................................................................................................
XXIII. eCos Support for Developing USB-ethernet Peripherals
.....................................................................
..................................................................................................................................................
Initializing the USB-ethernet Package
.........................................................................................................
.......................................................................................................................
.......................................................................................................................
Network Device for the eCos TCP/IP Stack
................................................................................................
Example Host-side Device Driver
................................................................................................................
.............................................................................................................................
..............................................................................................................................
......................................................................................................................................................
....................................................................................................................................................
Running a Synthetic Target Application
......................................................................................................
The I/O Auxiliary’s User Interface
..............................................................................................................
.....................................................................................................................................
.................................................................................................................................................
.......................................................................................................................
.........................................................................................................................
..........................................................................................................................................................
.....................................................................................................................
.......................................................................................................................
XXVI. NEC uPD985xx USB Device Driver
.......................................................................................................
NEC uPD985xx USB Device Driver
...........................................................................................................
XXVII. Synthetic Target Ethernet Driver
.........................................................................................................
Synthetic Target Ethernet Driver
..................................................................................................................
XXVIII. Synthetic Target Watchdog Device
.....................................................................................................
Synthetic Target Watchdog Device
..............................................................................................................
डाउनलोड
विज्ञापन