使用EDK10.1下载bit文件时报错:
INFO:iMPACT:501 - '2': Added Device xc2vp30 successfully.
INFO:iMPACT:583 - '2': The idcode read from the device does not match the idcode
in the bsdl File.
INFO:iMPACT:1578 - '2': Device IDCODE : 00000000000000000000000000000000
INFO:iMPACT:1579 - '2': Expected IDCODE: 00000001001001111110000010010011
make: *** [download] Error 1
解决办法:
这种问题是由于板子芯片的JTAG链和EDK默认的不匹配的原因造成的。
打开"download.cmd" 文件,在“-p”后面输入正确的链号就可以了。本人使用的V2P的板子,我们知道在impact中是第三步才能下载bit文件,因此在这里将-p2改为-p3就OK啦。
修改好后的"download.cmd" 文件为:
setMode -bscan
setCable -p auto
identify
assignfile -p 3 -file implementation/download.bit
program -p 3
quit