sparc

所属分类:uCOS/RTOS
开发工具:C/C++
文件大小:487KB
下载次数:82
上传日期:2005-09-08 09:18:45
上 传 者狂热者
说明:  UC/OS 在SparcLite 上的移植范例
(An example of UC/OS port to the SparcLite)

文件列表:
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)
clock\D.BAT (17, 1998-09-27)
clock\MAKEFILE (3509, 1998-10-28)
include\bsp.h (2444, 1998-10-20)
include\Cpu.h (996, 1998-09-27)
include\UCOS.H (4569, 1998-10-16)
lib\libBsp.a (13932, 1998-10-28)
lib\LibUcos.a (46086, 1998-10-28)
looptime\D.BAT (17, 1998-09-27)
looptime\LOOPTIME (216514, 1998-10-28)
looptime\looptime.c (1486, 1998-10-28)
looptime\looptime.cmd (94, 1998-10-28)
looptime\LOOPTIME.MAP (25065, 1998-10-28)
looptime\LOOPTIME.O (6077, 1998-10-28)
looptime\makefile (3519, 1998-10-28)
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)
... ...

* * file: README - 10/28/*** * * Port of uC/OS to the SparcLite processor for the Fujitsu 832 Evaluation Board * Written by Brad Denniston, Viewpoint Engineering (bradd@vpeng.com) * Based on the MIPs port by Philip Bunce (pjb@carmel.com). * Based on the ARM port by Marco Graziano (marcog@crl.com). * Sparc Lite Multi-tasking RTOS This is a very small, simple Multi-tasking RTOS based on Jean LaBrosse's uC/OS. The description for this kernel appears in Jean's book, "uC/OS, The Real-Time Kernel", available from: 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.

近期下载者

相关文件


收藏者