You are on page 1of 3

GettingStartedwiththeOMAPL138LCDK

TomaketheprocessofgettingstartedwithanewoutoftheboxOMAPL138LCDKandthebookReal
TimeDigitalSignalProcessingfromMATLABtoCwiththeTMS320C6xDSPs,2
nd
Edition(Welch,Wright,
andMorrow;CRC2012),weofferthisbriefstepbystepguide.Hereafterwerefertothetextbook
simplyasWWM.NowwouldbeagoodtimetolookovertheannotatedfigureoftheLCDKboard
includedattheveryendofthisdocument.

1. UnpacktheOMAPL138LCDK.YoucanignoretheSDcardthatcomesinthebox;itcontainsa
LinuxOSdistributionforusewithotherapplications,notwiththeWWMbook.Youcanalso
ignoretheQuickStartGuide.Choosethecorrectpowersupplyconnectorforyourlocationand
snapitintoplaceonthepowersupplybrick.DonotconnectpowertotheLCDKyet.Youwill
alsoneedanXDS100v2emulatorpod(averysmallboard,soldseparately),inadditiontothe
LCDK.Unpackitalso.
2. PlacetheWWMtextbookCDinyourCD/DVDdriveandfollowtheinstructionsgivenbytheself
installer.Werecommendthatyouinstallallthefiles;therequireddiskspaceismodest.
Important:whentheCDwascreated,theLCDKboardhadnotyetbeenreleased,sobesureto
downloadallthefilesthathavebeenupdatedoraddedonthebookwebsitethattogether
providefullsupportoftheLCDKboard.YoucannotusetheLCDKwiththeWWMtextwithout
theseupdates!AllthenewfilesassociatedwiththeLCDKcanbefoundonthetextbookwebsite
atURLhttp://www.rtdsp.cominthe2
nd
editionsection.
3. AftertheWWMtextbookCDfilesandanynewfilesfromthewebsitehavebeeninstalled,you
shouldhaveadirectorycalledpcapps,andinthatdirectoryisasubdirectorycalled
reflashing_OMAPL138_for_winDSK8.NotethatthisisNOTfortheOMAPL138LCDK,butfor
anotherboard(theLogicPDZoomExperimentersKit).Instead,youneedtofollowthe
reflashinginstructionsfortheLCDK(calledReflashingtheLCDKforwinDSK8.pdf)thatyou
shouldhavefoundonthewebsitementionedabove.Followthedirectionsgiveninthe
ReflashingtheLCDKforwinDSK8.pdfdocumenttoreflashtheOMAPL138LCDK;thisenables
useofthewinDSK8applicationandincreasesthestabilityoftheLCDKboard.Allthefiles
neededareintheReflashingLCDKforwinDSK8.ziparchiveonthetextbookwebsite.Evenif,
forsomereason,youhavenointentionofrunningwinDSK8ontheLCDK,westillrecommend
performingthereflashingprocedure.ManyusersreportmorestableoperationoftheLCDK
afterreflashing.
a. Note:youneedtoknowthePCsCOMportnumberfortheporttowhichyouhave
attachedtheOMAPL138LCDKinordertocorrectlyexecutethecommandtoreflashthe
board.Theportnumberisdependentuponyourinstallation.Ifyouarentsurewhatit
is,itcanbefoundseveralways,forexamplebyselectingDevicesandPrintersin
Windows7andlookingfortheentryfortheUSBporttowhichtheLCDKisconnected.
Alternatively,youcanstartupwinDSK8evenbeforeyouhavereflashedtheLCDK(with
theLCDKconnecteddirectlytoyourPCviatheUSBconnectorJ3),andonthemain
winDSK8GUIscreen,ontherightside,youllseethechoicesforCOMPort.Clickthe
downarrowfortheCOMPort:list.TypicallythehighestnumberlistedinthewinDSK8
COMportchoicesistheporttheLCDKisusing.YoumayneedtoclickonRescanCOM
PortsifyouvechangedsomethingsincestartingwinDSK8.
b. Asmentionedabove,manyusershavefoundthatthereflashedOMAPL138LCDKis
morestableevenwhenrunningCprogramsusingCodeComposerStudio(CCS),sowe
encourageyoutoreflashtheboardbeforeusingCCS.Thisavoidspotentialissueswith
Linuxkernelconflictsthatappeartoexistifyoudonotreflashtheboard.
c. WerecommendyourunwinDSK8atthistime,andatleastclickontheGetBoard
Versionbutton,tobesureeverythingisworkingproperly.Whenfinishedwith
winDSK8fornow,disconnecttheLCDKsUSBconnectorJ3fromthePCsUSBport.
4. InstalltheCodeComposerStudio(CCS)softwaredevelopmentenvironmentfromTexas
Instruments.DonotconnecttheOMAPL138LCDKtothePC(viathesmallXDS100emulator
pod)untilafterthisinstallation,orthecorrectdriversmaynotbefound.ACCSDVDmayhave
beenincludedintheboxwithyourOMAPL138LCDK,butanewerversionmaybeavailable
online.Asofthiswriting,theURLishttp://processors.wiki.ti.com/index.php/Download_CCS.
ItsprobablybesttousethenewestCCSversionavailable.
a. NotethatafullinstallationofCCSsupportsmanyTexasInstrumentsprocessortypes.If
youchooseacustominstallationtoreducethediskspacerequirements,thechoicefor
ProcessorSupportdependsonwhatyouplantousewithCCS.Ifyouwillonlyuseone
oftheOMAPL138boards(e.g.,theLCDKortheExperimenterKit),youcanchoosejust
OMAP.IfyouwillalsousetheC6713DSK,thenalsoselectC6000SingleCoreDSPs.
Similarly,forComponents,youprobablydontneedtheC5500andC5400compiler
tools,ifyouaretryingtoconservediskspace.
b. AfterCCSisinstalled,verifythattheLCDKboardDIPswitchSW1issetwithswitch1OFF
andswitches2,3,4and8areON.Ifyoulookclosely,theswitchpositionsarelabeled.
c. RemovethepowerconnectorfromtheLCDKifyouhaventalready.Connectthe
XDS100v2emulatorpodtotheLCDK(eitherdirectlyorwiththeshortribboncable
suppliedwiththeXDS100v2board)usingthe14pinheaderJ6ontheLCDK.Notethe
headerconnectioniskeyedsothatitcanonlybeconnectedtothepodinthecorrect
orientation.ConnecttheUSBportontheXDS100v2emulatorpodtoaUSBportonyour
PC,andthecorrectdriversshouldnowbefoundautomatically.Thereisnoneedtoturn
thepowerontotheLCDKforthistooccur;theUSBportwillberecognized.
5. YouarenowreadytopoweruptheLCDKagainandusebothwinDSK8andCCSwiththeOMAP
L138LCDK,inconjunctionwiththeWWMtext.

Importantnotes:
IfyouwanttousewinDSK8,besurethatswitchSW1switch8issettoON(andSW1
switches6and7tothesettingforyourdesiredUARTportspeed;wesuggestbothswitchesON).
Inthismodeofoperation,youcommunicatebetweenyourhostPCandtheOMAPL138LCDK
usingtheJ3UARTUSBconnectorontheLCDK.
IfyouwanttouseCCSandruncompiledCprograms,youalsowanttobesurethat
switchSW1switch8issettoON,exceptfortheonesituationdescribedinthenextbulleted
item.WhenusingCCS,youcommunicatebetweenyourhostPCandtheOMAPL138LCDKvia
theXDS100v2emulatorpodsUSBconnector.Inthismodeofoperation,SW1switches6
and7settingscanbereadbyauserprogramifdesired.IfthisisyourfirsttimeusingCCS
withtheLCDK,wehighlyrecommendyounowturntotheAppendixAtutorialwritten
fortheLCDKandyourversionofCCS,asfoundonthewww.rtdsp.comwebsite.This
shortdocumentguidesyouthroughselectingthelicenseoptions,creatingasimpleCCS
project,andrunningarealtimeprogram.Itwillsaveyouagreatdealoftimeand
frustration!
IfyouwanttouseCCSandruncompiledCprograms,butwishtohaveyourCprogram
accessdatafromtheUARTport(J3,aUSBconnector)ontheLCDK,thenyoushouldset
switchSW1switch8toOFF.ThisistheonlysituationinwhichyoushouldhaveSW1
switch8settoOFF;otherwiseitshouldbeON.

AnannotatedfigureoftheLCDKandtheXDS100v2emulatorpodisshownbelow.

Figure1.TheOMAPL138LCDKboardfromTexasInstruments,withtheseparateXDS100emulatorpodshown
ontheright,connectedtoJ6ontheLCDK.ForoperationwithwinDSK8,connecttoyourPCusingtheUARTUSB
(J3).ForoperationwithCCS,connecttoyourPCusingtheUSBportontheXDS100emulationpod.

You might also like