HTTP/1.1 404 Object Not Found Server: Microsoft-IIS/5.0 Date: Fri, 21 Nov 2008 18:37:13 GMT X-Powered-By: ASP.NET Connection: close Content-Type: text/html

404 Object Not Found

Calendar
if (chkdiv('calendar')) {document.getElementById('calendar').innerHTML='
<<  < 2008 - >  >>
12
3456789
10111213141516
17181920212223
24252627282930
';}
Placard
if (chkdiv('placard')) {document.getElementById('placard').innerHTML='欢迎来到我的机器视觉博客,机器视觉是我的研究方向之一,与其说是研究之一,不如说是爱好之一;希望各界的的朋友来交流讨论,我相信在这里能找到我们的交点;同时,我也相信在不久的将来,机器视觉将被我们中国人所改写.....让我们行动起来...为中国的视觉...为中国的腾飞...';}
Category
Latest Entries
Latest Comments
Last Messages
if (chkdiv('newmessage')) {document.getElementById('newmessage').innerHTML='\n';}
User Login
Links
HTTP/1.1 404 Object Not Found Server: Microsoft-IIS/5.0 Date: Fri, 21 Nov 2008 18:37:15 GMT X-Powered-By: ASP.NET Connection: close Content-Type: text/html

404 Object Not Found

Information
if (chkdiv('info')) {document.getElementById('info').innerHTML='
  • 日志:63
  • \n
  • 评论:15
\n
  • 留言:-7
  • \n
  • 访问:
\n';}
Search
Other
Welcome to my blog!
  接系统移植
 

二、系统库设定
通常,在你创建了一个新的系统库以后你必须设定它,例如定义stdin, stdout, stderr,等。在设置期间Nios II IDE保存适配参数到os_cfg.h文件中。执行以下步骤设定MicroC/OS-II核。
1. 
Nios II IDEC/C++ Projects视图中,右键在系统库上单击std_system_lib
2. 
在弹出的菜单中选择Properties打开Properties对话框。
3. 
单击System Library显示system library选项,如图5所示。
 
 5. System Library Options

4.单击在RTOS 下面的RTOS Options。弹出MicroC/OS-II RTOS Options对话框,如图6所示。
 
 6. MicroC/OS-II RTOS Options

5.单击在在左边的面板中,展开MicroC/OS-II目录。MicroC/OS-II是高度映射可设定的。你选定的对话框中的选项被保存在os_cfg.h文件中。选定的MicroC/OS-II选项被包含在二进制中。通过单击MicroC/OS-II下每一个选项检查你所能选择的选项。
关于MicroC/OS-II 的各种详细特点,请参见Nios II Software Developer’s Handbook“MicroC/OS-II Real Time Operating System”章节。
6.
选择默认设置单击OK。你将返回系统库选项对话框。
7.
单击OK完成设置。
三、运行Nios II软件设计
在这一部分,你将要在扩展板上运行一个设计示例。
使用Nios II IDE,你将要创建一个应用程序,为扩展板设定一个合法的目标文件(.sof),并且下载执行与连接文件(.elf)
1.
Nios II IDE C/C++ Projects视图中,选择ucosii_tutorial_0工程。
2.
打开Quartus II程序选择Quartus II Programmer (Tools menu)。见图7

 
7Quartus II Programmer

3.检查Program/Configure选项。
4.
单击StartSOF下载到你的实验板上。
5.
选择Exit (File menu)关闭Quartus II程序。你将返回Nios II IDE
6.
如果你被问及是否想保存chain1.cdf文件单击No
7.
选择Run As > Nios II Hardware (Run menu)创建程序,下载它到试验板中并运行。
关于Nios II IDE创建和运行设置,参见在Nios II IDE 中的在线帮助Nios II Software Development Tutorial
下载完成后,Nios II IDE通过print_status_task()函数使控制台视图周期性更新,如下所示:
****************************************************************
Hello From MicroC/OS-II Running on Nios II. Here is the status:
The number of messages sent by the send_task: 55
The number of messages received by the receive_task1: 20
The number of messages received by the receive_task2: 7
The shared resource is owned by: getsem_task2
The Number of times getsem_task1 acquired the semaphore 66
The Number of times getsem_task2 acquired the semaphore 52
****************************************************************
祝贺你成功地设定,构建和运行了一个MicroC/OS-II程序

 

[ 阅读全文 | 回复(0) | 引用通告 | 编辑

  Post  by  jearome 发表于 2006-9-6 12:29:00
HTTP/1.1 404 Object Not Found Server: Microsoft-IIS/5.0 Date: Fri, 21 Nov 2008 18:37:15 GMT X-Powered-By: ASP.NET Connection: close Content-Type: text/html

404 Object Not Found

发表评论:

    昵称:
    密码: (游客无须输入密码)
    主页:
    标题:
if (chkdiv('blogname')) {document.getElementById('blogname').innerHTML='机器视觉之旅';}
HTTP/1.1 404 Object Not Found Server: Microsoft-IIS/5.0 Date: Fri, 21 Nov 2008 18:37:15 GMT X-Powered-By: ASP.NET Connection: close Content-Type: text/html

404 Object Not Found

Powered by Oblog.