赞
踩
1.在 Settings->Bitstream 中选中 -bin-file
2.在约束文件中添加
1)SPI的约束如下:
set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
set_property BITSTREAM.CONFIG.CONFIGRATE 33 [current_design]
set_property CONFIG_MODE SPIx4 [current_design]
2)BPI的约束如下:
set_property BITSTREAM.CONFIG.CONFIGRATE 50 [current_design]
set_property BITSTREAM.CONFIG.BPI_SYNC_MODE Type1 [current_design]
set_property BITSTREAM.CONFIG.EXTMASTERCCLK_EN div-1 [current_design]
set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
set_property BITSTREAM.CONFIG.UNUSEDPIN Pullup [current_design]
set_property CONFIG_MODE BPI16 [current_design]
set_property CFGBVS GND [current_design]
set_property CONFIG_VOLTAGE 1.8 [current_design]
3.把 Release 下的 *.elf 添加到项目的约束目录下,可以选中,把elf拷贝过来
4.在原理图的MicroBlaze上点右键,选Associate ELF files,然后选中刚才拷贝过来的elf文件
5.重新 Generate Bitstream,然后正常烧写
6烧写固化入FLASH
参考:https://editor.csdn.net/md/?articleId=111478206
————————————————
本文参考以下博文改写的MicroBlaze程序写入Flash:
原文链接:https://blog.csdn.net/justdemo/article/details/112592840
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。