首页 | 新闻 | 新品 | 文库 | 方案 | 视频 | 下载 | 商城 | 开发板 | 数据中心 | 座谈新版 | 培训 | 工具 | 博客 | 论坛 | 百科 | GEC | 活动 | 主题月 | 电子展
返回列表 回复 发帖

[求助]nios下载问题?再问,谢谢!

chubing,

你的flash没有问题。你debug的时候是在sdram还是sram还是flash,你没有说。我假设是sram。

1。你的设置有没有问题。

在NIOS II IDE中工程的System Library选项中的这几个选项代表什么意思?
.text .rodata .rwdata 与reset .exception这几个地址之间的关系是什么?

.text : 代码区 .rodata:只读数据区,一般存放静态全局变量 .rwdata:可读写变量数据区另外还有.bss:存放未被初始化的变量。

■ .text — the actual executable code
■ .rodata — any read only data used in the execution of the code
■ .rwdata — where read/write variables and pointers are stored
■ heap — where dynamically allocated memory is located
■ stack — where function call parameters and other temporary data is stored

reset为复位是pc指向的位置。exception是异常的位置,你可以理解为内存。

2。sram可能有问题,这与你能不能下程序到flash中没有任何关系。

你可以检查一下sram。

caopengly

这个版主不太冷 =========================== 我的中电网博客:http://blog.chinaecnet.com/u/20/index.htm

There are no Nios II CPUs with debug modules available which match the values
specified.  Please check that your PLD is correctly configured, downloading a
new SOF file if necessary.

 是说你的niosII cpu没有调试模式,

1 你的nios是不是没有加jtag_uart 的模块。

2 在cpu_core的配置中的第二项要选debug功能的cpu。

good luck

[此贴子已经被作者于2007-1-18 17:06:48编辑过]

这个版主不太冷 =========================== 我的中电网博客:http://blog.chinaecnet.com/u/20/index.htm
返回列表