fjtsparc
所属分类:嵌入式/单片机/硬件编程
开发工具:C/C++
文件大小:421KB
下载次数:10
上传日期:2009-02-22 12:51:21
上 传 者:
gdl
说明: 一个小型化的嵌入式实时操作系统源代码,很适合学习研究。
(Of a small embedded real-time operating system source code, it is suitable for study.)
文件列表:
Mailbox\D.BAT (17, 1998-09-27)
Mailbox\MAILBOX (190542, 1998-10-28)
Mailbox\mailbox.c (3646, 1998-10-28)
Mailbox\mailbox.cmd (83, 1998-10-16)
Mailbox\MAILBOX.MAP (20559, 1998-10-28)
Mailbox\MAILBOX.O (8582, 1998-10-28)
Mailbox\MAKEFILE (3518, 1998-10-28)
onetask\D.BAT (17, 1998-09-27)
onetask\MAKEFILE (3518, 1998-10-28)
onetask\ONETASK (251617, 1998-10-28)
onetask\onetask.c (1518, 1998-10-28)
onetask\onetask.cmd (83, 1998-10-28)
onetask\ONETASK.MAP (26975, 1998-10-28)
onetask\ONETASK.O (4934, 1998-10-28)
semaphor\D.BAT (17, 1998-09-27)
semaphor\MAKEFILE (3519, 1998-10-28)
semaphor\SEMAPHOR (252406, 1998-10-28)
semaphor\semaphor.c (1676, 1998-10-28)
semaphor\semaphor.cmd (84, 1998-10-28)
semaphor\SEMAPHOR.MAP (27330, 1998-10-28)
semaphor\SEMAPHOR.O (6265, 1998-10-28)
832\832ek\bsp.c (606, 1998-09-17)
832\832ek\BSP.O (2016, 1998-10-28)
832\832ek\BSP_A.I (689, 1998-10-28)
832\832ek\BSP_A.O (503, 1998-10-28)
832\832ek\bsp_a.s (1674, 1998-10-13)
832\BSP.A (13932, 1998-10-28)
832\BSP.LIB (13932, 1998-10-28)
832\Cpu.c (6294, 1998-10-27)
832\CPU.O (8482, 1998-10-28)
832\CPU_A.I (5852, 1998-10-28)
832\CPU_A.O (2239, 1998-10-28)
832\Cpu_a.s (13235, 1998-10-26)
832\MAKEFILE (3159, 1998-10-28)
clock\CLOCK (216071, 1998-10-28)
clock\clock.c (1298, 1998-10-28)
clock\clock.cmd (81, 1998-10-28)
clock\CLOCK.MAP (24817, 1998-10-28)
clock\CLOCK.O (5520, 1998-10-28)
... ...
*
* file: README - 10/28/***
*
*
Sparc Lite Multi-tasking RTOS
This is a very small, simple Multi-tasking RTOS .
The description for this kernel appears in Jean's book,
R&D Publications
Suite 200
1601 West 23rd Street
Lawrence, KS 66046
(913) 841-1631
FAX (913) 841-2624
The book contains all of the source code for uC/OS, descriptions
of its features, and an excellent general introduction to the concepts
of real-time operating systems.
Be sure that you get the accompanying diskette, it'll save a lot of typing!
This directory contains the uC/OS kernel for the SparcLite processor.
uC/OS is a real-time kernel written by Jean J. Labrosse for the x86
processor and published in the magazine "Embedded Systems Programming"
in 1992.
For more information about uC/OS I recommend the book by Jean J. Labrosse
"uC/OS The Real-Time Kernel" distributed by Prentice Hall, ISBN 0-13-031352-1.
To use this version of uC/OS, you need a Fujitsu 832 Evaluation Board and the
GNU development software. Fujitsu makefile organization depends on the following
directory structure:
c:\slite
\prom /* monitor code */
\sw
\gnulib /* debugger code */
\programs
\ucos /* operating system code */
\apps /* example and test code */
\832 /* chip code */
\832ek /* board code */
The uC/OS code is in this directory. Chip specific code is in the 832 chip
subdirectory. This code handles interrupts and task switching. Support code for
the 832 evaluation board is in the 832EV board subdirectory of the chip directory.
Board code sets up the interrupt controller and timer chips.
Test and example programs are in subdirectories of the ucos directory.
To run any of the test programs:
- Connect two serial cables from the host computer to the evaluation board.
Follow Fujitsu directions for connecting the GNU debugger and test the
connection.
- Start Microsoft Hyperterm and connect it to the second evaluation board serial
port.
- Enter any test program directory. For this example use 'looptime'.
- 'make' the program.
- 'd' is a batch command that starts the debugger
- Minimize the debugger and adjust so you can also see the hyperterm output
- At the debugger menu bar select 'Gdb' and 'Read script'
- Enter 'looptime.cmd'
- When loading ends, use the 'Enter' key to get the gnu> prompt
- Enter 'c' to continue but do not hit 'Enter' yet.
- Place the mouse cursor over the Hyperterm display, hit 'Enter' and left click.
This immediately puts the focus onto the Hyperterm window which will not scroll
unless it has the focus.
- Most of the tests run without stopping. To stop execution use the very small
black reset button on the evaluation board. The debugger will be blocked waiting
for I/O from the board. You must use Ctrl-Alt-Del to get the task manager which
allows you to kill the debugger.
Enjoy,
Brad Denniston
Disclaimer: This software is released "AS IS" and the authors do not assume any
liability arising out of this program or use thereof.
近期下载者:
相关文件:
收藏者: