Example: stock market

LaunchPad-BasedMSP430 UART BSL Interface - …

ApplicationReportSLAA535A -basedMSP430universalasynchronousreceive r/transmitter( uart )bootstraploader(BSL) : (BSL)TheMSP430 BSLis a programthatis builtintotheMSP430devicesforreadingandmo difyingtheMSP430memorycontent, forMSP430deviceswithUSBinterfacesthathav ea thefollowingwiki:BSL(MSP430). specificBSLentrysequencesignalingatRSTan dTEST(fordeviceswithsharedJTAG pins)andTCK(fordevicewithdedicatedJTAG pins).TheBSLentrysequenceis Figure1 a August2012 LaunchPad-BasedMSP430 UARTBSLI nterfaceSubmitDocumentationFeedbackCopyr ight 2012 ,TexasInstrumentsIncorporatedSTARTDa taBit 0 STOPDataBit 1 DataBit bit(Optional) availableonthe1xx,2xx,and4xxdevices,whil etheFlash-basedBSLcanbefoundin ,seetheMSP430 ProgrammingViatheBootstrapLoaderUser's

Application Report SLAA535A– August 2012 LaunchPad-BasedMSP430 UART BSL Interface Leo Hendrawan.....

Tags:

  2012, Interface, Launchpad basedmsp430 uart bsl interface, Launchpad, Basedmsp430, Uart, 2012 launchpad basedmsp430 uart bsl interface

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Transcription of LaunchPad-BasedMSP430 UART BSL Interface - …

1 ApplicationReportSLAA535A -basedMSP430universalasynchronousreceive r/transmitter( uart )bootstraploader(BSL) : (BSL)TheMSP430 BSLis a programthatis builtintotheMSP430devicesforreadingandmo difyingtheMSP430memorycontent, forMSP430deviceswithUSBinterfacesthathav ea thefollowingwiki:BSL(MSP430). specificBSLentrysequencesignalingatRSTan dTEST(fordeviceswithsharedJTAG pins)andTCK(fordevicewithdedicatedJTAG pins).TheBSLentrysequenceis Figure1 a August2012 LaunchPad-BasedMSP430 UARTBSLI nterfaceSubmitDocumentationFeedbackCopyr ight 2012 ,TexasInstrumentsIncorporatedSTARTDa taBit 0 STOPDataBit 1 DataBit bit(Optional) availableonthe1xx,2xx,and4xxdevices,whil etheFlash-basedBSLcanbefoundin ,seetheMSP430 ProgrammingViatheBootstrapLoaderUser'sGu ide(SLAU319).

2 ( uart )Theuniversalasynchronousreceiver/t ransmitter( uart )is a standardforserialcommunication,whichisco mmonlydeployedin transferredseriallyandasynchronously(wit houtanyclocksignal),boththetransmitteran dreceiversideshavetousethesamesettingfor datatransferspeed(usuallydefinedasbaudra te),numberofdatabits, shownin ,theUART lineis , ,thedatais sentin little-endianformat(LSBfirst),andthedata bitscanusuallybeadjustedas7 or8 ,anoptionalparitybitcanbesent,ifnecessar y, ,theSTOP bitsignalmarkstheendofa uart framebya ,commonlyknownasLaunchpad,is a USBinterfacethatcanalsobeusedasa uart (COMPORT) thefollowingwiki:MSP430 launchpad (MSP-EXP430G2).

3 2 LaunchPad-BasedMSP430 UARTBSLI nterfaceSLAA535A August2012 SubmitDocumentationFeedbackCopyright 2012 , (9600baud,noparity)andthespecificationof theMSP430 UARTBSL(9600baud,evenparity),theMSP430G2 231checkstheincomingbytefromthePCandadds theevenparity,ifnecessary, ,2xx,4xx, , s Port1 (P1). , ,it is showsa listoftheMSP430G2231general-purposeinput /output(GPIO) (connectedtoPC s UARTRXpin) (connectedtoPC s UARTTXpin) (connectedtoMSP430targetBSLTXpin) (connectedtoMSP430targetBSLRXpin)3 SLAA535A August2012 LaunchPad-BasedMSP430 UARTBSLI nterfaceSubmitDocumentationFeedbackCopyr ight 2012 ,TexasInstrumentsIncorporatedMSP-EXP 430G2 LaunchpadBSL TXBSL RXTEST(2) (2) (3)MSP430 TargetUART over USB(1)(A)MSP-EXP430G2 LaunchpadMSP-EXP430G2 LaunchpadMSP430 Target(B)(B)(C)(C)

4 PC Running BSLS cripter and showsanexampleofthehardwareconnectionbet weenthePCrunningtheBSLS cripterandtheBSLDEMO2software, providedin (CodeComposerStudio)andtheIARprojectfile salongwiththesourcecodethatcanbeopenedus ingthefree,codesizelimitedversionofCCSTU DIO( ) andIAR-Kickstart( ) , ,whichcanbeusedtogetherwiththeMSP430 Flasher( ). Also,makesurethatallJ3andJ5jumpersin is possibletosourcetheMSP430targetboarddire ctlyfromtheLaunchpad(forexample,fromtheJ 6connectors).However,if theMSP430targetis poweredindependentlyit isimportanttonotethatthesignalleveldeliv eredbytheMSP430G2231ontheLaunchpadshould notexceedthespecified"Voltageappliedtoan ypin"parametersdefinedin August2012 SubmitDocumentationFeedbackCopyright 2012 , , thetargetBSLis successfullyinvoked, pullingtheTCKpinup,whilethegreenLEDindic atesthatthetargetBSLpullsupitsUARTTX pintohigh, theBSLinvocationfails,theredandgreenLEDs willblinkcontinuouslyin ,in ordertoregeneratetheBSLE ntrysequence,it is.

5 TheMSP430G2231ontheLaunchpad,bydefault, in specificcases,suchasfortheBSLofMSP430F54 xx(non-A)familydevicesthatdonotexpecta paritybit, indicatedbyoneblinkoftheredLED, ,whichis called"MSP430 ApplicationUART".3 References BSL(MSP430)wiki:BSL(MSP430)wiki MSP430 ProgrammingViatheBootstrapLoaderUser'sGu ide(SLAU319) MSP430x5xx/MSP430x6xxFamilyUser'sGuide(S LAU208)5 SLAA535A August2012 LaunchPad-BasedMSP430 UARTBSLI nterfaceSubmitDocumentationFeedbackCopyr ight 2012 , ( launchpad TargetBoard) (VCC)- (VCC) (GND)- (GND) ( )- (BSLTX) ( )- (BSLRX) ( )- (/RST) ( )- (TEST) (VCC)- (VCC) (GND)- (GND) ( )- ( ) ( ) ( ) ( )- (/RST) ( )- (TEST) (VCC)- (VCC) (GND)- (GND) ( )- ( ) ( ) ( ) ( )- (/RST) ( )- (TEST) (VCC)- (VCC) (GND)

6 - (GND) ( )- ( ) ( )- ( ) ( )- (/RST) ( )- (TEST) (VCC)- (VCC) (GND)- (GND) ( )- ( ) ( ) ( ) ( )- (/RST) ( )- (TEST) (VCC)- (VCC) (GND)- (GND) ( )- ( ) ( )- ( ) ( )- (/RST) ( )- (TCK) (VCC)- (VCC) (GND)- (GND) ( )- ( ) ( )- ( ) ( )- (/RST) ( )- (TCK) (VCC)- (VCC) (GND)- (GND) ( )- ( ) ( )- ( ) ( )- (/RST) ( )- (TCK) (VCC)- (VCC) (GND)- (GND) ( )- ( ) ( ) ( ) ( ) (/RST) ( ) (TEST) (VCC)- (VCC) (GND) (GND) ( )- ( ) ( ) ( ) ( ) (/RST) ( ) (TEST)6 LaunchPad-BasedMSP430 UARTBSLI nterfaceSLAA535A August2012 SubmitDocumentationFeedbackCopyright 2012 , (continued)DeviceSiliconRevisionTargetBo ardConnection( launchpad TargetBoard) (VCC)- (VCC) (GND) (GND) ( )- ( ) ( ) ( ) ( ) (/RST) ( ) (TCK) (VCC)- (VCC) (GND) (GND) ( )- ( ) ( ) ( ) ( ) (/RST) ( ) (TEST) (VCC)- (VCC) (GND) (GND) ( )- ( ) ( ) ( ) ( ) (/RST) ( ) (TCK) (VCC)- (VCC) (GND) (GND) ( )- ( ) ( ) ( ) ( ) (/RST) ( ) (TCK) (VCC)- (VCC) (GND)

7 (GND) ( )- ( ) ( ) ( ) ( ) (/RST) ( ) (TCK) (VCC)- (VCC) (GND) (GND) ( )- ( ) ( ) ( ) ( ) (/RST) ( ) (TEST)7 SLAA535A August2012 LaunchPad-BasedMSP430 UARTBSLI nterfaceSubmitDocumentationFeedbackCopyr ight 2012 ,TexasInstrumentsIncorporatedIMPORTA NTNOTICET exasInstrumentsIncorporatedanditssubsidi aries(TI)reservetherighttomakecorrection s,enhancements, (alsoreferredtohereinas components ) aresoldsubjecttoTI s ,in accordancewiththewarrantyin TI s ,testingofallparametersofeachcomponentis productsandapplications, ,eitherexpressorimplied,is grantedunderanypatentright,copyright,mas kworkright,orotherintellectualpropertyri ghtrelatingtoanycombination,machine,orpr ocessin licensetousesuchproductsorservicesora licensefroma thirdpartyunderthepatentsorotherintellec tualpropertyofthethirdparty.

8 Ora TIdatabooksordatasheetsis permissibleonlyif reproductionis withoutalterationandis accompaniedbyallassociatedwarranties,con ditions,limitations, is solelyresponsibleforcompliancewithallleg al,regulatoryandsafety-relatedrequiremen tsconcerningitsproducts,andanyuseofTIcom ponentsin itsapplications, hasallthenecessaryexpertisetocreateandim plementsafeguardswhichanticipatedangerou sconsequencesoffailures,monitorfailuresa ndtheirconsequences, , ,TI s goalis , FDAC lassIII(orsimilarlife-criticalmedicalequ ipment)unlessauthorizedofficersofthepart ieshaveexecuteda enhancedplastic solelyattheBuyer's risk,andthatBuyeris solelyresponsibleforcompliancewithallleg alandregulatoryrequirementsin , ; , :TexasInstruments,PostOfficeBox655303,Da llas,Texas75265 Copyright 2012 ,TexasInstrumentsIncorporat


Related search queries