📄 readc40.txt
字号:
uC/OS-II for the Texas Instruments TMS320C40 Floating Point DSP
Small memory model
Author: Ran Cabell (rcabell@norfolk.infi.net)
March, 1999
Notes:
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
This is a no-frills port of uC/OS-II to the C40 dsp. I have included a
simple minded example program with tasks that delay and increment a
counter when they are running. Timer 0, set to a 20Hz tick rate, is
used as the operating system timer. In a more complicated application,
the task stack sizes will have to be increased to allow for nested
interrupts.
There are many different hardware configurations out there, so I
assume a rather modest c40 with 2k of internal ram and 64k on the
local bus. The example program needs only 5k or so; just modify the
c40.cmd linker command file to match your hardware. You get a
significant speedup by putting the task stacks in internal ram, but
this greatly restricts the maximum number of tasks, so I have left the
task stacks in local ram for now.
I developed this on linux using wine to run the TI compiler, hence the
mishmash of directory naming conventions in some of these
files. Nonetheless, I have tested and verified compilation with GNU
Make in a dos box under that other O/S.
This documentation is rather sparse - if you have any questions or
find problems with this port (quite possible) feel free to contact me
via email.
Enjoy,
Ran Cabell
rcabell@norfolk.infi.net
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -