资料
  • 资料
  • 专题
DM642PCIloadersourcecode
推荐星级:
类别: 消费电子
时间:2020-01-09
大小:4.46KB
阅读数:147
上传用户:二不过三
查看他发布的资源
下载次数
0
所需E币
4
ebi
新用户注册即送 300 E币
更多E币赚取方法,请查看
close
资料介绍
First,IadmitthatIamabeginnerofDSP. Twoweeksago,IsearchedthewebfranticallyforaTIDM642PCIloader,thesourcecode,ofcourse.GuesswhatIfound?nothing...allIgotisabunchofthirdpartycompanyaskingformoney.That'sreasonable,becausetheyhavetosurvive.Well,fromanotherpointofview,sincetheTIDM642chipissowidelyused,IguesslotsofpeoplemusthavebeenloadingtheDSPcodeviaPCI,butnobodywanttosharethecode?WHEREISTHESHARINGSPIRIT!!??Now,afterscreamingandkickingwiththeTIdocumentsandthecoffformatforaweek,Ipresentyou(...echotheLineKingmusic...)thesourcecodeoftheDM642EVMboardPCIloader.Yes,thesourcecode...andyouarefreetomigrateittootherOSandPCIcardwithTIDM642chiponit.Asyoualreadyknown,si_pci64isonlyawindowsdriver,anditcostyou$200togetthesourcecode.IfyouturntotheotherthirdpartycompanysuchasValleyTech,itwillcostyoucoupleofthousandsdollartogetthe"supportlibrary".Mycodeisforthevxworks,tomigrateittootherOS,youneedtoupdatethePCIscanningfunction(iDspPciInitfunction).Ofcourse,ifyourDSPcardhasdifferentaddressforIRAMandSDRAM,youneedtoupdatetherelativedefinitionaswell.Thecodeisnotperfect,but,it'sworkingcodeandgetyousomethingtostartwithratherthanstumblinginthecompletedarknessasabeginner.WhyIpostthiscode?1)sharewiththethosehardworking,underpaid,miserableprogrammersjustlikeme,tomakethelifealittlebitbrighter.2)toscrewupthosethirdpartycompany'sfun,theyareaskingtoomuchforashortpieceofcode.Attention,thecodeisroughlycommented,inahurryIfyoucan'tdownloadattachedzipfile,pleaseemailme:taochen@mailcity.comIwillsendyouthecodeASAP.Andyouarewelcometosendmea"Thankyou,yousavedmyass!"email.AndDON'Tsendmeanythingifyouhateme.Appendix,generalPCIloadingprocedures:1)ScanPCIdevice,findtheEVMcardandit'sbaseaddresses.(how?checkspru581)2)WarmresettheDSP3)InitializedtheEMIF(how?checkthespru266)4)CheckthebootmodeofEVMcard.CardhastobeinPCIbootmode.(how?checkevm_dm642a.pdf,orthedatasheetofDM642chip)5)Load.outcodetoDSPmemory6)SetDSPINTbitofcontrolregistertogetitrunning.……
版权说明:本资料由用户提供并上传,仅用于学习交流;若内容存在侵权,请进行举报,或 联系我们 删除。
PARTNER CONTENT
相关评论 (下载后评价送E币 我要评论)
没有更多评论了
  • 可能感兴趣
  • 关注本资料的网友还下载了
  • 技术白皮书