仿真问题记录
问题1连线问题
使用仿真器烧录FPGA选择fast program 报错
ERROR: pgr_program failed.
Failed to verify the ID
通过仿真器读到的芯片ID为全F
表示仿真器与芯片未建立连接,需要检查仿真器与测试板的JTAG连线,无误后重试;
问题2 芯片型号问题
使用仿真器烧录FPGA选择fast program 报错
ERROR: pgr_program failed.
Failed to verify the ID
通过仿真器读到的芯片ID不为全F,说明当前仿真器与芯片建立了连接,但工程中设置的芯片型号与被烧录的芯片型号不匹配;
如果烧录到外部SPIflash是没问题的。但直接快速烧录有问题,说明连线无问题,有问题的是工程设置,此时需要检查工程选择的芯片型号与实际芯片型号是否一致;
怎么检查当前实际用的芯片型号,通过diamond download直接从JTAG上读取芯片数据,两者不一致需要将其改为一致。
重新选择芯片,再次编译重新烧录即可。烧录处的芯片选择会与工程保持一致。
问题3 烧录器驱动问题
选择烧录时出现
ERROR - Failed to Load LSC USB Driver. Make sure to select the right cable type.
If you have not installed the LSC USB Driver, unplug the USB cable from your PC
and follow the instructions in the Programmer Help topic:
"Installing/Uninstalling Parallel Port Driver and USB Driver".
If you have installed the driver, if you recently plugged in the cable, please wait a few seconds and try again.
This will give the operating system time to recognize the cable and load the driver.
此错误可能有三种情况
1、驱动确实没有装
解决方法:那就安装驱动
2、驱动有但还是提示
解决方法:重新插拔仿真器基本上可以解决
3、仿真器没插
解决方法:插上仿真器
问题3 通信速率
若上述均检查无误,仍存在错误,可尝试增加分频系数。