ucosii-bf533

所属分类:uCOS/RTOS
开发工具:C/C++
文件大小:75KB
下载次数:112
上传日期:2005-10-24 14:43:05
上 传 者亚克
说明:  UCOS-II2.76在ADI-BF533上的移植.在UCOS-II网站提供的源码基础上修改了几处汇编代码.采用2.76版系统内核移植,在DSP++4.0上调试成功
(UCOS- II2.76 the ADI-BF533 the transplant. In UCOS-II site on the basis of the source of several amendments compiled code. Using version 2.76 kernel transplantation, the DSP 4.0 Debugging success)

文件列表:
ucosii-bf533\ucosbf533.dpj (7761, 2005-10-24)
ucosii-bf533\ucosbf533.mak (8336, 2005-10-24)
ucosii-bf533\ucosbf533.ldf (21857, 2005-10-21)
ucosii-bf533\driv_CoreTimer_asm.s (5880, 2005-10-24)
ucosii-bf533\ucosbf533.xml (491717, 2005-10-21)
ucosii-bf533\ezkitutilities.h (3399, 2005-09-09)
ucosii-bf533\ezkitutilities.c (27979, 2005-09-09)
ucosii-bf533\driv_Internal_UART_asm.s (11980, 2005-10-24)
ucosii-bf533\driv_Internal_UART_c.c (3457, 2005-10-24)
ucosii-bf533\Appl\DemoApp.c.bak (5100, 2005-10-21)
ucosii-bf533\Appl\DemoApp.c (6141, 2005-10-24)
ucosii-bf533\Appl (0, 2005-10-24)
ucosii-bf533\uCOS-II_V2.70\os_cpu_c.c (6411, 2005-10-22)
ucosii-bf533\uCOS-II_V2.70\os_cfg.h.bak (8637, 2005-10-20)
ucosii-bf533\uCOS-II_V2.70\os_cfg.h (8653, 2005-10-20)
ucosii-bf533\uCOS-II_V2.70\os_cpu.h.bak (1509, 2005-10-20)
ucosii-bf533\uCOS-II_V2.70\os_cpu.h (1537, 2005-10-21)
ucosii-bf533\uCOS-II_V2.70\os_cpu_asm.s.bak (9954, 2005-10-24)
ucosii-bf533\uCOS-II_V2.70\os_cpu_asm.s (9797, 2005-10-24)
ucosii-bf533\uCOS-II_V2.70 (0, 2005-10-24)
ucosii-bf533\Inc\BF533_EZLite.h (797, 2003-09-23)
ucosii-bf533\Inc\cpu_globals.h (631, 2003-09-23)
ucosii-bf533\Inc\Internal_UART.h (2349, 2003-09-16)
ucosii-bf533\Inc (0, 2005-10-24)
ucosii-bf533\Drivers\driv_bf533_EZLite_c.c (3090, 2005-10-21)
ucosii-bf533\Drivers\driv_CoreTimer_asm.s (5898, 2005-10-21)
ucosii-bf533\Drivers\driv_Internal_UART_asm.s (11980, 2005-10-24)
ucosii-bf533\Drivers\driv_Internal_UART_c.c (3453, 2005-10-20)
ucosii-bf533\Drivers\driv_bf533_asm.s.bak (8203, 2005-10-24)
ucosii-bf533\Drivers\driv_bf533_asm.s (8193, 2005-10-24)
ucosii-bf533\Drivers (0, 2005-10-24)
ucosii-bf533 (0, 2005-10-24)

MicroC/OS-II Port for Analog Devices Blackfin ADSP-BF533 This is the MicroC/OS-II V2.70 port for the ADI Blackfin. Specifically it is coded for the ADSP-BF533 that is included on the ADDS-BF533-EZLITE evaluation board from Analog Devices ( P/N 35-000730-01 ), but should also work for other Blackfin processors with minor changes. The code is written for the Crosscore VisualDSP++ V3.1 integrated development environment as provided by Analog Devices. The code is organized into sub-directories that separate the Test application, Blackfin, EZ-Lite, and uC/OS specific modules. Only the modified uCOS files are included; the remaining uC/OS modules must be obtained from Micrium. A VisualDSP++ project file is included at the head of the VisualDSP project directory structure. It is configured to work in this directory structure. The source files are contained in a ZIP file with a fully qualified directory path; therefore you can UnZip to C:\ It is assumed that the directory tree is as described in the Micrium app note AN2002 with the slight variation that the uC/OS-II version is included in the directory name. C:\Micrium\Software\uCOS-II_V2.70\Ports\ADI_Blackfin\ADDS-BF533-EZLite\VisualDSP++ This is the "head" of the VisualDSP++ project directory tree. All project options for included file paths are expressed in relative terms from here ( ..\..\ ), so if directory levels are added or removed, this must be taken into account in the project options. I have included the compiled binary EZLiteDemo.dxe file in the Debug subdirectory - so you can run it "out of the box" inside the VisualDSP++ IDE. To re-compile the code, simply open the EZLiteDemo.dpj project file and select the [Rebuild All] icon in the toolbar. Implementation Notes... - I used the Core Timer as the TickISR source for the OS at 100mS. This is the only interrupt that should cause pre-emptive scheduling. If you need faster switches, change the call to CoreTimerInit() in the DemoApp.c file. - All other interrupts do not cause task switching, but can call O/S functions like OSFlagPost(). See Internal_UART for sample assembler interrupt handler. - The program runs in Kernel mode. This is accomplished through a technique documented by Analog Devices. Is is implemented in the runtime startup code. - I implemented the absolute minimum hardware setup to support the test app in the VisualDSP++ run-time environment. The entire application runs in internal RAM in the processor. If additional hardware setup is required, it can be placed in the function CpuInit() located in the file driv_bf533_asm.s. This function is currently empty. Revision History.... 1.0 Initial release 1.1 - Added sample interrupt handler for internal UART. Supplied buffered getchar() and putchar() type functions. - Made tick count a #define for milli-seconds to allow easy mod of O/S task switch timer Copyright... This code is placed in the public domain, and can be distributed freely with no restrictions provided that the heading of each source module file is not modified to remove the credit to the original author. Disclaimer... This program code is provided "as is". There is no warranty, either expressed or implied as to its fitness for use in any application. It is provided only as an example of porting the MicroC/OS operating system to the Blackfin processor. Its use is strictly at the risk of the user. The author will not be liable for any damages direct or consequential related to the use of this software including but not limited to loss of profit.

近期下载者

相关文件


收藏者