⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.txt

📁 ATMEL ucos transplant of AVR
💻 TXT
字号:
                         uC/OS-II, The Real-Time Kernel

                              Atmel ATmega103 Port

                                 READ ME FILE

------------------------------- IAR C COMPILER --------------------------------

1) The  current  version  of  the Atmel AVR port is based on the IAR C Compiler
   V1.30 and V1.4X:

   IAR Systems Software Inc.
   One Maritime Plaza, Suite 1770
   San Francisco, CA 94111
   USA

   415-765-5500
   415-765-5503 (FAX)

   www.iar.com
   info@iar.com

2) It is assumed that the command line version of the IAR compiler is installed
   as described in the User Guide of the compiler.


--------------------------------- AVR PORT NOTES ------------------------------

1) The build.bat  file that  is included with this  port assumes that the files
   are unpacked to the following direcrtory:

   \SOFTWARE\uCOS-II\AT-M103\IAR

   This directory contains the following sub-directories:

   \SOFTWARE\uCOS-II\AT-M103\IAR\SOURCE
       This directory contains the port source files as well as the sample test
       code (i.e. TEST.C)

   \SOFTWARE\uCOS-II\AT-M103\IAR\TEST
       This directory contains BUILD.BAT which is used to compile, assemble and
       link the test code.

   \SOFTWARE\uCOS-II\AT-M103\IAR\OBJ
       This  directory  contains the  object files produced by the compiler and
       assembler.

   \SOFTWARE\uCOS-II\AT-M103\IAR\LST
       This directory contains the 'listing' files produced by the compiler and
       the assembler.  For the C compiler, these files contain the  interleaved
       C source along with the assembly language code generated by the compiler.

   \SOFTWARE\uCOS-II\AT-M103\IAR\DOC
       Contains  this readme  file and any other  documentation that comes with
       the port.

2) The IAR c-compiler uses two stacks; one return stack (this is the AVR return
   stack indexed by the AVR stack pointer, SP) and a data  stack indexed by the
   Y register (R29:R28).  I have  arbitrary  placed  the  return stack 64 bytes
   below the start of the uC/OS-II stack.  This leaves  448 bytes of data stack
   when the uC/OS-II stack is 512 bytes. Depending on your application this may
   or may not be adequate.  If you have very deep nesting of function calls you
   should increase the size of the return stack. As always when using real time
   operating  systems or kernels, figuring  out  the  boundaries of each task's
   stacks is wise.

   The default stack size is defined by the symbol  OS_TASK_DEF_STK_SIZE in the
   file "os_cfg.h".

3) TIMER0   overflow  interrupt  is  used  to  generate  the  clock  tick  (see
   OS_CPU_A.S90).

4) The code was tested using the  AVR Studio AVR simulator available free  from
   the Atmel  WEB  site  (www.atmel.com)  as well as the STK300 megaAVR Starter
   Kit with 32K of static RAM installed.

5) You will also need the source code for uC/OS-II V2.03 or higher to recompile
   this   port.  The  uC/OS-II  source  is  included  in  Jean Labrosse's  book
   "MicroC/OS-II, The Real Time Kernel". More details can be  found  on the web
   page where you downloaded this archive.

----------------------------- REPORTING PROBLEMS ------------------------------

If you find a bug in this port, do  not  hesitate  to  report the problem to me
(Ole Saether):

1) Through e-mail: ole.saether@eunet.no

2) By calling me (between 11AM and 4PM Eastern time)

   +47 918 21 540

Make  sure  that the problem  you are reporting is in this port and not in your
application.

Enjoy!!


------------------------------ AVR RELEASE NOTES ------------------------------

August 13, 2000: V1.02
----------------------

 1) Interrupts are now disabled until OSIntNesting is updated in OSTickISR (see
    file OS_CPU_A.S90). This prevents corruption of OSIntNesting when more than
    one ISR tries to increment it at the same time.  

 2) Added "#include <string.h>"  to  INCLUDES.H  to  prevent linker  warning on
    memcpy.

 3) Changed   return type and type of parameter "ptos"  of "OSTaskStkInit" from
    "void *" to "OS_STK *" (see file OS_CPU_C.C).

 4) Increased delay from 3 to 10 in the test tasks (Task(...)) in TEST.C.

 5) The default stack size is now set by the symbol OS_TASK_DEF_STK_SIZE in the
    file "os_cfg.h".


January 18, 1999: V1.00
-----------------------

 1) First release of AVR port

Version of this file: $Revision: 2 $

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -