📄 read.me
字号:
uC/OS-II, The Real-Time Kernel
Infineon Technologies
80C167
READ ME FILE
------------------------------ TASKING C COMPILER -----------------------------
The current version of the Infineon Technologies port is based on the:
TASKING C166/ST10 V2.0 R1 C/C++ Compiler
TASKING C166/ST10 V2.0 R1 Cross-Assembler
TASKING C166/ST10 V2.0 R1 CrossView Pro ROM
TASKING Inc.
333 Elm Street
Dedham, MA 02026-4530
USA
781-320-9400
781-320-9212 (FAX)
www.tasking-us.com
support@tasking-us.com
This port is based on the C164-ci port by Michael Awosika.
--------------------------------- TEST HARDWARE -------------------------------
The current version of the Infineon C167 port has been tested on the:
Phytec Kit-CON-167 Development Board
Using the Tasking CrossView debugger.
-------------------------------- C167 PORT NOTES ------------------------------
1) The port consists of the following directories:
\SOFTWARE\uCOS-II\C167\TASKING\SOURCE
This directory contains the port source files.
\SOFTWARE\uCOS-II\C167\TASKING\TEST
This directory contains a simple test program (TEST.C) consisting of
two tasks communicating via two Mailboxes. One task counts from 0 to 10 and
sends this information to the other task which displays the current number on the
leds of P2 of the Kit-Con-167 board. The file TEST.ABS in the EDE (see below)
directory is the file used to debug the application. The file Intel-Hex file
TEST.HEX can be directly used to download the programm to the flash ROMs on
the target system. The File assumes that the ROM is located in the lower 4 segs (0-3)
and the RAM is located in seg 4. This is the standard memory mapping of the Kit-CON board
\SOFTWARE\uCOS-II\C167\TASKING\EDE
This directory contains TASKING Embedded Development Environment (EDE)
files that were used to build and debug the port. The EDE Project assumes that Tasking is installed on d:\C166 and the test application is located in c:\software\ucos-ii\C167\Tasking\ede
2) You MUST modify the function prototypes of OSCtxSw() and OSTickISR() in
uCOS_II.H (see \SOFTWARE\uCOS-II\SOURCE) as follows:
#ifndef OS_ISR_PROTO_EXT
void OSCtxSw(void);
void OSTickISR(void);
#endif
3) You MUST modify the function prototypes of OSTaskStkInit() in uCOS_II.H
(see \SOFTWARE\uCOS-II\SOURCE) as follows:
OS_STK *OSTaskStkInit(void (*task)(void *pd), void *pdata, OS_STK *ptos, INT16U opt);
4) You MUST modify the value of OS_TICKS_PER_SEC from 91 to 38
(see \SOFTWARE\uCOS-II\SOURCE) as follows:
#define OS_TICKS_PER_SEC 38 /* Set the number of ticks in one second */
5) The port uses GPT3 to generate the tick. Therefore this timer must not be used by your application.
------------------------------ REPORTING PROBLEMS -----------------------------
If you find a problem (i.e. bug) in this port, do not hesitate to
report the problem to me:
Karl Wannenmacher: wannenm@technikum-wien.at
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -