您好,欢迎访问三七文档
XCPVersion1.1AssociationforStandardisationofAutomationandMeasuringSystemsDated:31-03-2008©ASAMe.V.Part2-ProtocolLayerSpecificationPart2–ProtocolLayerSpecificationPart2-ProtocolLayerSpecification2XCPVersion1.1ReleaseStatusofDocumentDate:31-03-2008Author:RoelSchuermans,VectorInformatikGmbHAndreasZeiser,VectorInformatikGmbHOliverKitt,VectorInformatikGmbHHans-GeorgKunz,VDOAutomotiveAGHendirkAmsbeck,dSPACEGmbHBastianKellers,dSPACEGmbHBorisRuoff,ETASGmbHReinerMotz,RobertBoschGmbHDirkForwick,RobertBoschGmbHVersion:Version1.1Doc-ID:Status:ReleaseTypeDisclaimerofWarrantyAlthoughthisdocumentwascreatedwiththeutmostcareitcannotbeguaranteedthatitiscompletelyfreeoferrorsorinconsistencies.ASAMe.V.makesnorepresentationsorwarrantieswithrespecttothecontentsoruseofthisdocumentation,andspecificallydisclaimsanyexpressedorimpliedwarrantiesofmerchantabilityorfitnessforanyparticularpurpose.NeitherASAMnortheauthor(s)thereforeacceptanyliabilityfordamagesorotherconsequencesthatarisefromtheuseofthisdocument.ASAMe.V.reservestherighttorevisethispublicationandtomakechangestoitscontent,atanytime,withoutobligationtonotifyanypersonorentityofsuchrevisionsorchanges.Part2-ProtocolLayerSpecificationXCPVersion1.1Release3RevisionHistoryThisrevisionhistoryshowsonlymajormodificationsbetweenreleaseversions.DateAuthorFilenameComments2008-03-31R.SchuermansReleaseddocumentPart2-ProtocolLayerSpecification4XCPVersion1.1ReleasePart2-ProtocolLayerSpecificationVersion1.1Release5Tableofcontents0Introduction110.1TheXCPProtocolFamily110.2DocumentationOverview120.3DefinitionsandAbbreviations130.4MappingbetweenXCPDataTypesandASAMDataTypes141TheXCPProtocolLayer151.1TheXCPPacket151.1.1TheXCPPacketTypes151.1.2TheXCPPacketFormat171.1.2.1TheIdentificationField181.1.2.2TheTimestampField231.1.2.3TheDataField251.1.3TheCTOPackets261.1.3.1CommandPacket(CMD)261.1.3.2CommandResponsepacket(RES)261.1.3.3Errorpacket(ERR)271.1.3.4Eventpacket(EV)271.1.3.5ServiceRequestpacket(SERV)271.1.4TheDTOPackets281.1.4.1DataAcquisitionPacket(DAQ)281.1.4.2SynchronousDataStimulationPacket(STIM)281.1.5TheXCPPacketIdentifiers291.1.5.1MasterSlave291.1.5.2SlaveMaster291.2TableofEventcodes(EV)301.3TableofServiceRequestcodes(SERV)311.4TableofCommandcodes(CMD)321.4.1Standardcommands(STD)331.4.2Calibrationcommands(CAL)341.4.3Pageswitchingcommands(PAG)351.4.4DataAcquisitionandStimulationcommands(DAQ)361.4.5Non-volatilememoryprogrammingcommands(PGM)371.5Tableofbitmaskcodedparameters381.6DescriptionofCommands481.6.1Standardcommands(STD)491.6.1.1Mandatorycommands49Part2-ProtocolLayerSpecification6XCPVersion1.1Release1.6.1.1.1Setupconnectionwithslave491.6.1.1.2Disconnectfromslave521.6.1.1.3Getcurrentsessionstatusfromslave531.6.1.1.4Synchronizecommandexecutionaftertime-out551.6.1.2Optionalcommands561.6.1.2.1Getcommunicationmodeinfo561.6.1.2.2Getidentificationfromslave581.6.1.2.3Requesttosavetonon-volatilememory601.6.1.2.4Getseedforunlockingaprotectedresource621.6.1.2.5Sendkeyforunlockingaprotectedresource631.6.1.2.6SetMemoryTransferAddressinslave661.6.1.2.7Uploadfromslavetomaster671.6.1.2.8Uploadfromslavetomaster(shortversion)691.6.1.2.9Buildchecksumovermemoryrange701.6.1.3Auxiliarycommands731.6.1.3.1Refertotransportlayerspecificcommand731.6.1.3.2Refertouserdefinedcommand741.6.2Calibrationcommands(CAL)751.6.2.1Mandatorycommands751.6.2.1.1Downloadfrommastertoslave751.6.2.2Optionalcommands771.6.2.2.1Downloadfrommastertoslave(BlockMode)771.6.2.2.2Downloadfrommastertoslave(fixedsize)781.6.2.2.3Downloadfrommastertoslave(shortversion)791.6.2.2.4Modifybits801.6.3Pageswitchingcommands(PAG)811.6.3.1Optionalcommands811.6.3.1.1Setcalibrationpage811.6.3.1.2Getcalibrationpage821.6.3.1.3GetgeneralinformationonPAGprocessor831.6.3.1.4GetspecificinformationforaSEGMENT841.6.3.1.5GetspecificinformationforaPAGE861.6.3.1.6SetmodeforaSEGMENT891.6.3.1.7GetmodeforaSEGMENT901.6.3.1.8Copypage911.6.4DataAcquisitionandStimulationCommands(DAQ)921.6.4.1Basics921.6.4.1.1Mandatorycommands921.6.4.1.1.1SetpointertoODTentry921.6.4.1.1.2WriteelementinODTentry931.6.4.1.1.3SetmodeforDAQlist941.6.4.1.1.4Start/stop/selectDAQlist961.6.4.1.1.5Start/stopDAQlists(synchronously)971.6.4.1.2Optionalcommands981.6.4.1.2.1WritemultipleelementsinODT981.6.4.1.2.2ReadelementfromODTentry991.6.4.1.2.3GetDAQclockfromslave1001.6.4.1.2.4GetgeneralinformationonDAQprocessor1011.6.4.1.2.5GetgeneralinformationonDAQprocessingresolution1051.6.4.1.2.6GetmodefromDAQlist1071.6.4.1.2.7Getspecificinformationforaneventchannel1091.6.4.2StaticDAQlistconfiguration(stat)1121.6.4.2.1Mandatorycommand1121.6.4.2.1.1ClearDAQlistconfiguration112Part2-ProtocolLayerSpecificationXCPVersion1.1Release71.6.4.2.2Optionalcommand1131.6.4.2.2.1GetspecificinformationforaDAQlist1131.6.4.3DynamicDAQListConfiguration(dyn)1151.6.4.3.1Mandatorycommands1151.6.4.3.1.1CleardynamicDAQconfiguration1151.6.4.3.1.2AllocateDAQlists1161.6.4.3.1.3AllocateODTstoaDAQlist1171.6.4.3.1.4AllocateODTentriestoanODT1181.6.5Non-volatileMemoryProgramming(PGM)1191.6.5.1Mandatorycommands1191.6.5.1.1Indicatethebeginningofa
本文标题:ASAM_XCP_Part2-Protocol-Layer-Specification_V1-1-0
链接地址:https://www.777doc.com/doc-4602065 .html