首页|嵌入式系统|显示技术|模拟IC/电源|元件与制造|其他IC/制程|消费类电子|无线/通信|汽车电子|工业控制|医疗电子|测试测量
首页 > 分享下载 > 消费类电子 > DM642PCIloadersourcecode

DM642PCIloadersourcecode

资料介绍
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.Ifyouturntotheotherthirdpartycompanysuchas

ValleyTech,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,inahurry

Ifyoucan'tdownloadattachedzipfile,pleaseemailme:taochen@mailcity.comIwillsendyouthecodeASAP.

Andyouarewelcometosendmea"Thankyou,yousavedmyass!"email.AndDON'Tsendmeanythingifyouhateme.

Appendix,generalPCIloadingprocedures:

1)ScanPCIdevice,findtheEVMcardandit'sbaseaddresses.(how?checkspru581)

2)WarmresettheDSP

3)InitializedtheEMIF(how?checkthespru266)

4)CheckthebootmodeofEVMcard.CardhastobeinPCIbootmode.(how?checkevm_dm642a.pdf,orthedatasheetofDM642chip)

5)Load.outcodetoDSPmemory

6)SetDSPINTbitofcontrolregistertogetitrunning.


标签:TI资源C6x
DM642PCIloadersourcecode
本地下载

评论