首页 将程序可以固化在EPCS中,也可以固化在cfi

将程序可以固化在EPCS中,也可以固化在cfi

举报
开通vip

将程序可以固化在EPCS中,也可以固化在cfi将程序可以固化在EPCS中,也可以固化在cfi_flash中,或者是onchip_rom中。固化在哪里,就将CPU中的resetvector设置成哪个!我是固化在EPCS中了。ResetVe-ctor:ExceptionVector:Memory:epc5_flash_cDntrnIterMemory:▼Offset:0x00x00001000OtxQIMKMXZOepuid;0BarrelShifterDataCache□ynarnicBranchPredictionPerform日neeatSO.D...

将程序可以固化在EPCS中,也可以固化在cfi
将程序可以固化在EPCS中,也可以固化在cfi_flash中,或者是onchip_rom中。固化在哪里,就将CPU中的resetvector设置成哪个!我是固化在EPCS中了。ResetVe-ctor:ExceptionVector:Memory:epc5_flash_cDntrnIterMemory:▼Offset:0x00x00001000OtxQIMKMXZOepuid;0BarrelShifterDataCache□ynarnicBranchPredictionPerform日neeatSO.DMHzUptoBDMIPSUplo32DMIPSUpio57DMPSL曲iCM咖6G0-7Q0LEt1200-U00l£i1400-1B00LUHardwartMuit中ly;乍mtwhjpduuhfiidrj亍HbnJwareDivij&运行完后,程序没有问题了,1.开始flash_programmer3.选择NiosH菜单项中的FlashPrograninieiC?trl+7)FIiosII▼LEU/Kain,e▼EclipseJilt£411S.&UTC4(ttt£r*jtelRun>ti£i11._frejectEjepl^rtr1目■Ainuc:.IFl■*systeitii・h/p"aIter1on_pio_regs『h"*弹出FlashProgianimer的设置窗口:l史NiosIIFlashProgrammerF4eDptnGflftTOOlSH邮,TflrgethardwarehJQrmfl|»nBSPScttingfliFitennmc:SQPCInIbrnwEcnFteiname.CRJtoprogramflaati:HanSwftr®connedm:CflrwiMwrrUSB-SlBsla*-onDfiMK*:£P3Cl6^:R*C£l5Oevcitt>1CRJhalancwCc&CRJNb™..NigsllFNashProgrammerThiistcommandlineloolinios2M1ash-iprDgraniimer-^eneralB.Itparses-aSOPCinformationFilmorBoardSup^itPackage(BSP)SellingsFil#.anddhmamicallrcr^al&saLabfar岀chflashd&viceround.EachFlashlaballotsmullifileN豁lo礎loalisirofev^nhialconversionioflashandprogrammingIdi惟targetflsshd«vin».UsetheFil«->N@v^meriuIt&mfrfiintopl电皆卷Iiwnubartocreateantwfla&h©苗j电qgrQpen^3^tingprqjeqlu^ingtheFile->Openm^nuitem4选择Fil便菜单的*訊¥|NiosIIFlash.Prograuer1OptionsTools扌New,.,|点onilenarnecamfEa$ft砂Cul+QHardwareecnnectioaConneclioniUSE-Blasteron弹出窗口:3.选择指定的setting.bsp文件,点击FlashPiogranmier的设置窗口的connection按钮'弹出如下窗并作如下设置兀6.分别添加.sof文件和.elf(在niosZ程下)文件:仙epcs.W.crtoierBasesum叱1300Fteslcrltfiarwwi命*neCamcnTypeFWOnut$0?j"曲."听:njxag:峽:nt.qg:Fkmrtonomrtf7••点击Start命令,进行转换,默认将在software@录下的bsp文件夹下生成flash和script两个文件夹,并完成烧写,断电或复位即烧录成功的报告:Info:2011-8-2616:25:25-砂子)sof2flash:Starting[nfo・[nf。.♦♦♦*拿■拿■拿■■拿■■拿・■■拿韋拿拿■■拿■■拿■拿■韋■拿拿拿■車拿拿拿■■事拿拿・・・・Info:Info:RunningQuartusIIConvert_programming_fileInfo:Info:Command:quartus_cpf—no_banner-convert・-device=EPCS128-ootion=G:FPGALABmvfirstniosiiSoftwareLEDbspflashmvfkstniosiiepcsflashcontroller.optG:FPGALABmyfirstniosiim^rstniosii5ofG:FPGA_LABm)^st_niosiiSoftwareLED_bspflashmyfirst_niosii_epcs_flash_controller.pofInfo:Info:QuartusIIConx*ert_programming_filewassuccessful.0errors,0warningsInfo:Info:Peakvirtualmemory:108megabytesInfo:Info:Processingended:FriAug2616:25:272011Info:Info:Elapsedtime:00:00:01Info:Iifo:«««*««««»***«*«*«***»««*»****»*«*««««»«««*«««*«««*»***»««*»««««»***Info:Info:RunningQuartusIICon\Fert_programming^fileInfo:Info:Command:quartus_cpF・-no_banner-convertG:FPGA_LABm^rfirst^niosiiSoftwareLED_bspflashmyfirst_niosii_epcs_flash_controller.pofG:FPGA_LABst_niosiiSoftwareLED_bspflashmyfirst_niosii_epcs_flash_c8troller.rpdInfo:Info:QuartusIICon\*ert_programming_fi1ewassuccessful.0enors,0warningsInfo:Info:Peakvirtualmemory:105megabytesInfo:Info:Processingended:FriAug2616:25:302011Info:Info:Elapsedtime:00:00:02Info:Info:TotalCPUtime(onallprocessors):00:00:02Info:2011-8-2616:25:30-浪好)sof2flash:DoneInfo:UsingcableMUSB-Blaster[USB-0]*'.device1.instance0x00Info:ResettingandpausingtargetprocessorOKInfo:Processordatabuswidthis32bitsInfo:LoddngforEPCSregistersatadctess0x00021800(with32bitalignment)Info:Initialvalues:0001703A04C000749801483A9CFFF8OI9S3FFD1E0000203AInfo:Nothere:reservedfieldsarenon-zeroInfo:LookingforEPCSregistersataddress0x00021900(with32bitalignment)Info:Initialvalues:924002374A40100C483FFD2690000135924002374A40200CInfo:Nothere:reservedfieldsarenon-zeroInfo:LookingforEPCSregistersataddress0x00021A00(with32bitalignment)Info:Initialvalues:108001C410WD0FA002EE03A003F9C06002EE03A003F9506Info:Nothere:resenedfieldsarenon-zeroInfo:LookingforEPCSregistersatadckessOx00O21B0O(with32bitalignment)Info:Initialvalues:000000000000000000000000000000000000000000000000Info:Nothere:SPI_SLA\王_SELhas0validbits(shouldbebetween1and16)Info:LookingforEPCSregistersatadctess0x00021C00(with32bitalignment)Info:Initialvalues:000000000000000000000260000000000000000000000001Info:ValidregistersfoundInfo:EPCSsignatureis0x14Info:EPCSidentifieris0x202015Info:UsingEPCSsizeinformation&omsection[EPCS-202015]Info:Devicesizeis2MByte(16Mbit)Info:Eraseregionsare:Info:offset0:32x64KInfo:EPCSstatusis0x00Info:Info:Info:Info:00000000Info:00000000Info:Info:00010000:Checksummingexistingcontents:Verifyingexistingcontents:Needserasethenprogram:VerifyingexistingcontentsInfo:00010000Info:Info:00020000Info:00020000Info::Needserasethenprogram:Verifyingexistingcontents:NeedserasethenprogramInfo:00030000Info:00030000:Verifyingexistingcontents:NeedserasethenprogramInfo:Info:00000000Info:Info:00010000:Readingexistingcontents:ReadingexistingcontentsInfo:Info:00020000Info:Info:00030000Info::Readingexistingcontents:ReadingexistingcontentsInfo:Checksummedread26kBin1.0sInfo:Info:00000000(0°o):ErasingInfo:Info:00010000(25%):ErasingInfo:Info:00020000(50%):ErasingInfo:Info:00030000(75°o):ErasingInfo:Info:Erased256kBin2.5s(102.4kBs)Info:Info:00000000(0°o):ProgrammingInfo:00010000(25°o):ProgrammingInfo:Info:00020000(50°o):ProgrammingInfo:Info:D0030000(75°o):ProgrammingInfo:Info:Programmed231KB+25KBin5.3s(48.3KB/s)Info:DidnotattempttoverifydevicecontentsInfo:LeadingtargetprocessorpausedInfo:2011-8-2616:25:42・(信息)elf2flash:args=—input=G:FPGA_LABm}*first_niosiiSoftwareLEDLEDelf-outFut=G:FPGA_LABmyfirst_niosiiSoftwareLED_bspflashLED_epcs_flash_control1erflash・Ypcs-after=G:FPGALABmvfirstniosiiSoftwareLEDbspflashmvfhstniosiiepcsflashcontrol1erflash—verboseInfo:2311-8-2616:25:42-(艮^子)elf2flash:StartingInfo:2311-8-2616:25:42・子)elf2flash:ProgramRecord:656bytesdestinedfor0x10020Info:2911-8-2616:25:42・劭子)elfZflash:StartRecord10020Info:2911-8-2616:25:42-(艮好)elf2flash:DoneInfo:UsingcableHUSB-Blaster[USB-0]*5deviceLinstance0x00Info:Resettingandpausingtargetprocessor:OKInfo:Processordatabuswidtiiis32bitsInfo:LookingforEPCSregistersataddress0x00021800(witfi32bitalignment)Info:Initialvalues:0001703A04C000749801483A9CFFF839S3FFD1E0000203AInfo:Nothere:resenedfieldsarenon-zeroInfo:LookingforEPCSregistersataddress0x00021900(\vitfi32bitalignment)Info:Initialvalues:921002371A10100C183FFD269000013592'002371A10200CInfo:Nothere:reservedfieldsarenon-zeroInfo:LookingforEPCSregistersataddress0x00021A00(with32bitalignment)Info:Initialvalues:108001C410WD0FA002EE03A003F9C06002EE03A003F9506Info:Nothere:restedfieldsarenon-zeroInfo:LookingforEPCSregistersataddress0x00021B00(with32bitalignment)Info:Initialvalues:000000000000000000000000000000000000000000000000Info:Nothere:SPI_SLA\*E_SELhas0validbits(shouldbebetween1and16)Info:LookingforEPCSregistersataddress0x00021C00(with32bitalignment)Info:Initialvalues:000000000000000000000260000000000000000000000001Info:ValidregistersfoundInfo:EPCSsignatureis0x14Info:EPCSidentifieris0x202015Info:UsingEPCSsizeinformationfromsection[EPCS-202015]Info:Devic亡sizeis2MByte(16Mbit)Info:EraseregionsareInfo:cffset0:32x64KInfo:EPCSstatusis0x00Info:Info::ChecksummingexistingcontentsInfo:Info:C0030000Info:C0030000Info:Info:C0030000Info::Verifyingexistingcontents:Needserasethenprogram:ReadingexistingcontentsInfo:Checksummedread64kBin1.5sInfo:Info:C0030000(0°6):ErasingInfo:Info:Erased64kBin0.6s(1066kBs)Info:Info:00030000(0°o):ProgrammingInfo:Info:Programmed1KB-63KBin1.5s(42.6KB-s)Info:Didnotattempttoverifyde\icecontentsInfo:Leavingtargetprocessorpaused固化成功!!断电重启!!!注意FPGA板上左边按键向上的!!!1
本文档为【将程序可以固化在EPCS中,也可以固化在cfi】,请使用软件OFFICE或WPS软件打开。作品中的文字与图均可以修改和编辑, 图片更改请在作品中右键图片并更换,文字修改请直接点击文字进行修改,也可以新增和删除文档中的内容。
该文档来自用户分享,如有侵权行为请发邮件ishare@vip.sina.com联系网站客服,我们会及时删除。
[版权声明] 本站所有资料为用户分享产生,若发现您的权利被侵害,请联系客服邮件isharekefu@iask.cn,我们尽快处理。
本作品所展示的图片、画像、字体、音乐的版权可能需版权方额外授权,请谨慎使用。
网站提供的党政主题相关内容(国旗、国徽、党徽..)目的在于配合国家政策宣传,仅限个人学习分享使用,禁止用于任何广告和商用目的。
下载需要: 免费 已有0 人下载
最新资料
资料动态
专题动态
is_179289
暂无简介~
格式:doc
大小:64KB
软件:Word
页数:0
分类:
上传时间:2021-11-18
浏览量:3