《求一种超低成本FPGA JTAG方案.docx》由会员分享,可在线阅读,更多相关《求一种超低成本FPGA JTAG方案.docx(6页珍藏版)》请在第一文库网上搜索。
1、求一种超低成本FPGAJTAG方案首先按照GitHUb说明在虚拟机上安装依赖项,然后创建一个新的存储库目录并克隆了ico-SDK和XVC-Pico项目。克隆了存储库,我们就可以构建主机端守护进程。它在1i主机和RPiPico镜像像上运行。我们按照GitHub中提供的说明执行此操作。d1uve(M11uvo:SMid。p1nstU5kegcc-rn-noe-eb1tbtdcamnoneeabt30:5OSSettingupSettingupRtrMUPProcessingFrocot1Ag1Ubnew1tb-dev(1.3.vbutv1).1Itbnew1tb-am-none-ebt(3.3.O
2、vbuntu1).11Ut4c*-r*-ft0Mbt-ftw11b(IS:*2919-4-OubuAtu1*12b1).Itfuvi-/repos$u:$gttc1ethtt*rg1thub.coArabffyp1p1cdk.9tC1OnIMrewt:r*R0t:kfot:rerote:Into,ptco-sA.tmfer*tiA9c)ects:M2),do(tfe1t4ms)t-83(dv1um),p4ck-reved3549tce1vtA0ocU:(W342),2.27RtBS.46IaB八.4on.Seso1vAMgde1tas:IMV(2SS2SS).done.KIOn1MrwotkR
3、ment:IreROte;,.uve-$gttC1OAChttps:/gtthub.cwAhoUaxvcptc0.91tIntoxvcptco.enumeratingob)ctt:M.don.Countingobjett:100%(M10),dooe.CORpresstrtgo)ects:1H(26/26).done.Tot1W(4e1t1)reused”(de1ta1)pck-reusedUgXkObcts:1M(M34).413.21K1B1.23R1Bs.dM.微信号:OPenF*d1rro*d1uv:rpMvcpkdfnoadtvvod1uvo!1eoiM,1.t.jd4.$u*.-T
4、heCXXC80tUIdeNMtJtt8UCHU9.3.TheCceRpt1rIdentificationtCMU9.).0Checkforw0ektn9CXXcoet1er:vsrbtnc*CheckforworkingCxXCMPtI”:srbtfcworksOetecttftfcxxcor1erAB1tnfoOetecttf*9CXXCOMpt1erABIInfoonOetecttngCXXCOHPtIefeatures0tecttft9Cxxcont1faturCheckforworkingCcemptier:usrt1nccChckfrworkingCcempt1r:utr%1ncc
5、w&rk-DetectingCconpt1erAe1info0tttf*9CcoptUrABItnf。doOeteCttn9CConPtI。features-DtCttft9CCORpt1f4tur*-dtnpkg-confIf(foundversion,.29.f)ChPtngforA04v1*1brtb1.*Found1tbn*1.,version1.21CoArigiKtMS.,Cenerttgdoneut1df1itsKtebeenwrittenW:0Redtwreposvc-ptco4Monadtvvo*dtworepoc,vcptcod4c-cSRake(Sv)ut1d1MCct0
6、14keFU4xvcdpUo.dtravc1Hco.c.微信号:Open(1M1inkingCvxrCQt41XVCd-.Qco(sen)Bui1ttM-9etvcd*ptco*d1wvoWtwro:-/;.1.$SSO./KVCd-PtcoB构建了使用XVC-Pico的守护进程,我们让它在开发计算机上运行。X1tfVOkAdmo要在UF2文件可用后将映像谩到RPiPico,请在RPiPico通电时按住bootseiboot,电路板将挂载到文件系统中。只需复制UF2文件,它就会安装完毕并准备就绪。通过对RPiPico进行编程,我们可以将用于提供JTAG信号的GPIO连接到FPGA板上的JTAG
7、座子。对于GPIO等其他板,RPiPico是3v3,因此需要确保目标板向Bank0提供3v3,否则存在损坏FPGA器件的风险。JTAG引脚分配如下:PinnameGPIOTDIGPI016TDOGPIO17TCKGPIO18TMSGPIO19GNDPin23J比宫学OpfirPGA确保在PicoPin23和目标板之间连接接地参考。否则,将无法连接到设备。当守护程序运行并且板已连接并通电时,我们可以启动Vivado并尝试打开硬件管理器连接到目标FPGAoVivado启动时打开硬件管理器并创建新的硬件目标。使用Xi1inx虚拟电缆(XVC)选项。当提示输入XVC时,使用1inux开发计算机的IP地
8、址。OpenNewHardwareTargetSe1ectHatdwareTargetSe1ectahardwaretargetfromthe1stdavaiab4etargets,thenSettheppropateJTAGc1ock(TC1Ofrequency,fyoudonotseetheexpecteddevices,decreasethefrequencyorse1ectaderrtarget.HardwareIargetsTypeNameITAGC1ocicFrequencyM1inxJdXAMQ.0.2.15:2542100000v;AddXiWUMC山eOCC)HardWareQevicet(forunknowndrvicr,p*ifythrInstructionRegister(IR)1ength)NameIDCodeIR1ength(Barm,dap.04A0047747z020J23727836Hardware*tvr.1oca1host:?121acINeMt下一步是使用硬件管理器读取XADC温度和电压。MIX,*t4jCMI-rJBtMI1S微信号:OpenViIiS测试也是支持的:-rw1I做营尊沏商.MR,5总的来说,XVC-Pico应用程序给我留下了深刻的印象,并且在成本优化开发中,低成本解决方案非常有优势。审核刘清