SoPC/Qsys杂谈

1. 如果你想把Reset Vector放在EPCS Controller里面,记得将CPU core的Instruction Master和Data Master都连接到EPCS Controller的Slave。

2. 在bsp editor里面,你可以定制很多东西,比如标准输入输出设备,驱动模型(small、standard)等。bsp editor在EDS的nios II菜单里面。如果你增删了component,可能要在bsp editor里确认下影响。看看就知道了。

3.   Q: No EPCS registers found: tried looking at address

A: The JTAG debug module in the Nios® II Processor asserts the reset output to clear registers in the flash controller during the controller detection phase.  Detection can fail if the registers are not seen to be in their default state. Ensure the jtag_debug_module_reset output from the Nios II Processor is connected to the EPCS Serial Flash Controller reset input.

4. 如果你自己做component,每个component一个目录;公用文件(比如译码器等)可以放在公共目录。

5. 现在你要添加include目录,你习惯性的打开项目属性对话框,很容易就找到了“Include Path and Symbol”(或者类似名字的东西),然后悲剧的发现为毛不起作用!!所以你要在同样的对话框里仔细找找别的什么地方还有一个藏得比较深的类似设定,就在那里~

6. 如果你添加了sys timer并且在bsp editor中将其作为systick,altera会自以为是的给你加上中断服务程序。如果你的App对时间很敏感(例如正在吭哧吭哧赶着做FIR),注意下这个。

7. 如果你使用了分离的instruction memory和data memory,记得CPU的data master也要连到instruction memory,因为.rodata,.rwdata等都要用到instruction memory。

8. 增删了component或修改了base address后Regenerate BSP,这样才会将新的地址分配更新到system.h。

原文地址:https://www.cnblogs.com/byeyear/p/4122399.html