Forum Discussion
Altera_Forum
Honored Contributor
14 years agoAS当然可以下载Nios II程序。
试一下: 1. 使用onchipmem分别例化一个ram和一个rom,大小自己酌情设定。 2. reset vector映射到onchip_rom,exception vector映射到onchip_ram。 3. 重现编译sopc builder,qurtus ii。 4. 下载配置文件sof。 5. 重现建立软件工厂,或regenerate bsp,目的就是让nios 软件工程重新映射到新的sopc系统。 6. 使用flash programmer下载nios程序。 祝你好运。 AS mode can definitely be used to download nios program into epcs. Try as follows: 1. use onchip memory to instantiate ram and rom separately, set the sizes case by case. 2. map the reset vector to onchip_rom, and the exception map to onchip_ram. 3. recompile your sopc system, and quartus project. 4. download the configuration file(sof). 5. recreate a software project or regenerate bsp file, the aim is to remap the hardware environment into the new sopc system. 6. use flash programmer to download nios program(elf). Best regards!