MyFPGA Forum

 找回密码
 注册
搜索
查看: 6284|回复: 10
打印 上一主题 下一主题

DE2 NIOS HELLO (Use on-chip Memory)

[复制链接]
跳转到指定楼层
1#
发表于 2009-4-19 14:38:57 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 rich 于 2009-4-20 10:29 编辑

此範例顯示如何利用DE2 有限的on-chip memory, 來建立NIOS Project.

========================================
NIOS Project (System Library Properties) 開啟:
NIOSII-IDE-->File-->Switch Workspace...
輸入路徑...\DE2_NIOS_HELLO\software

========================================
NIOS Project (System Library Properties) 設定

DE2_NIOS_HELLO.rar

3.08 MB, 下载次数: 142

2#
发表于 2009-4-19 16:17:22 | 只看该作者
在哪?看不到啊?
3#
 楼主| 发表于 2009-4-19 17:29:31 | 只看该作者
可能檔案太大了, 上傳失敗. 明天我再看看解決方式.
4#
 楼主| 发表于 2009-4-20 11:20:27 | 只看该作者
應該可以下載了, 請試看看. 這個project 是用quartus 9.0 建的.
5#
发表于 2009-5-9 15:52:53 | 只看该作者
are you running on "hello world" or other application, i am trying to run "hello microC-OS II" with a 18kb on chip memory, i have changed "System Library Properties", ticked all the boxes to redudce the memory needed such as "small C libary" etc. also disable the OS codes in "RTOS" library settings, dispite that there are error of disabled too much of the OS codes, i am still short for memory to run the "hello microC-OS II" ,  mentioning that on the Micrium website saying that the microC-OS II can run on a 2kb memory, just asking if anyone or the master knows any way to configure this on NIOS 2 or using Quartus 8.0.
i am using a cyclone 2 ep2c20 by the way.
if anyone can give any advice, thank you very much
6#
发表于 2009-5-9 17:44:36 | 只看该作者
5# frankiecoco

18K好像不够吧....
7#
发表于 2009-5-9 17:51:57 | 只看该作者
5# frankiecoco

“最少2K”,是指的最小核心代码吧,默认的情况好像不只2K吧
8#
发表于 2009-5-9 18:18:24 | 只看该作者
thanks for huguang's reply to me.
ya on default, that is if you don't configure any of its system library, it takes about 80kb of ram. i can change some of its system library, the best i could get by configuring the system library is taking totally about 30 kb.
the problem can be solve by using a sram but which i don't have on my microcontroller.

and still trying to figure out how to get some kind of  "最小核心代码" by quartus or nios, the good thing is i am only running a small application therefore not a lot of the RTOS codes that i will be using.
very frustrating
9#
发表于 2009-6-9 04:16:31 | 只看该作者
非常感谢楼主了                              
10#
发表于 2010-4-26 14:36:42 | 只看该作者
Thanks for your sharing
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|MyFPGA

GMT+8, 2024-5-6 00:54 , Processed in 0.046000 second(s), 17 queries .

Powered by Discuz! X3

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表