wiki:spec_Debugging
Debugging


概要

  • API一覧
API ID
[Dec]
ID
[Hex]
Dbg_Init 1 0x01
Dbg_DeInit 36 0x24
Dbg_GetVersionInfo 3 0x03
Dbg_CollectDid 4 0x04
Dbg_TraceFunctionEntry 5 0x05
Dbg_TraceFunctionExit 6 0x06
Dbg_PreTaskHook 7 0x07
Dbg_PostTaskHook 8 0x08
Dbg_TraceTimestamp 9 0x09
Dbg_TraceDetCall 10 0x0A
Dbg_TraceRTEComSignalTx 11 0x0B
Dbg_TraceRTEComSignalRx 12 0x0C
Dbg_TraceRTEComSignalIv 13 0x0D
Dbg_TraceRTEComCallback 16 0x10
Dbg_TraceRTEVfbSignalSend 14 0x0E
Dbg_TraceRTEVfbSignalReceive 15 0x0F
Dbg_TraceRTECall 17 0x11
Dbg_TraceRunnableStart 18 0x12
Dbg_TraceRunnableTerminate 19 0x13
Dbg_EnableDidCollection 20 0x14
Dbg_ActivateDid 21 0x15
Dbg_UseLocalTimestampActivation 22 0x16
Dbg_ActivateTimestamp 23 0x17
Dbg_ActivateDidBuffering 24 0x18
Dbg_ClearBuffer 25 0x19
Dbg_SendNextEntries 26 0x1A
Dbg_StartContinuousSend 27 0x1B
Dbg_StopSend 28 0x1C
Dbg_SetCycleTime 29 0x1D
Dbg_Confirmation 32 0x20
Dbg_Indication 33 0x21
Dbg_ComInit 2 0x02
Dbg_ComDeInit 37 0x25
Dbg_Transmit 30 0x1E
Dbg_TransmitSegmentedData 31 0x1F
Dbg_RxIndication 66 0x42
Dbg_TxConfirmation 64 0x40
Dbg_PeriodicSamplingFunction 30 0x1E
  • エラーコード一覧
エラーコード Dec Hex
DBG_E_INVALID_DID 1 0x01
DBG_E_PARAM_POINTER 2 0x02

API仕様

Dbg_Init

void Dbg_Init(void)

Dbg_DeInit

void Dbg_DeInit(void)

Dbg_GetVersionInfo

void Dbg_GetVersionInfo(Std_VersionInfoType* VersionInfo)

Dbg_CollectDid

void Dbg_CollectDid(uint8 Did)

Dbg_TraceFunctionEntry

void Dbg_TraceFunctionEntry(uint16 ModuleId, uint8 InstanceId, uint8 ApiId)

Dbg_TraceFunctionExit

void Dbg_TraceFunctionExit(void)

Dbg_PreTaskHook

void Dbg_PreTaskHook(TaskType NewTid)

Dbg_PostTaskHook

void Dbg_PostTaskHook(TaskType NewTid)

Dbg_TraceTimestamp

void Dbg_TraceTimestamp(void)

Dbg_TraceDetCall

void Dbg_TraceDetCall(uint16 ModuleId,uint8 InstanceId,uint8 ApiId,uint8 ErrorId)

Dbg_TraceRTEComSignalTx

void Dbg_TraceRTEComSignalTx(uint16 SignalId)

Dbg_TraceRTEComSignalRx

void Dbg_TraceRTEComSignalRx(uint16 SignalId)

Dbg_TraceRTEComSignalIv

void Dbg_TraceRTEComSignalIv(uint16 SignalId)

Dbg_TraceRTEComCallback

void Dbg_TraceRTEComCallback(uint16 SignalId, uint8 Event)

Dbg_TraceRTEVfbSignalSend

void Dbg_TraceRTEVfbSignalSend(uint16 ComponentId,uint8 InstanceId,uint8 PortId,uint8 DataElementId)

Dbg_TraceRTEVfbSignalReceive

void Dbg_TraceRTEVfbSignalReceive(uint16 ComponentId,uint8 InstanceId,uint8 PortId,uint8 DataElementId)

Dbg_TraceRTECall

void Dbg_TraceRTECall(uint16 ComponentId,uint8 InstanceId,uint8 PortId,uint8 ServiceId)

Dbg_TraceRunnableStart

void Dbg_TraceRunnableStart(uint16 ComponentId,uint8 InstanceId,uint8 RunnableId)

Dbg_TraceRunnableTerminate

void Dbg_TraceRunnableTerminate(uint16 ComponentId,uint8 InstanceId,uint8 RunnableId)

Dbg_EnableDidCollection

void Dbg_EnableDidCollection(boolean DidCollectionStatus)

Dbg_ActivateDid

void Dbg_ActivateDid(uint8 Did, boolean DidActivationStatus)

Dbg_UseLocalTimestampActivation

void Dbg_UseLocalTimestampActivation(boolean GlobalTimestampCollectionStatus)

Dbg_ActivateTimestamp

void Dbg_ActivateTimestamp(uint8 Did, boolean TimestampActivationStatus)

Dbg_ActivateDidBuffering

void Dbg_ActivateDidBuffering(uint8 Did, boolean BufferingStatus)

Dbg_ClearBuffer

void Dbg_ClearBuffer(void)

Dbg_SendNextEntries

void Dbg_SendNextEntries(uint8 NrOfDids)

Dbg_StartContinuousSend

void Dbg_StartContinuousSend(void)

Dbg_StopSend

void Dbg_StopSend(void)

Dbg_SetCycleTime

void Dbg_SetCycleTime(TickType Tick)

Dbg_Confirmation

void Dbg_Confirmation(void)

Dbg_Indication

void Dbg_Indication(uint8* Buffer)

Dbg_ComInit

void Dbg_ComInit(void)

Dbg_ComDeInit

void Dbg_ComDeInit(void)

Dbg_Transmit

void Dbg_Transmit(uint16 Size, uint8* Buffer)

Dbg_TransmitSegmentedData

void Dbg_TransmitSegmentedData(uint16 Size1,uint8* Buffer1,uint16 Size2,uint8* Buffer2)

Dbg_RxIndication

void Dbg_RxIndication(PduIdType RxPduId, PduInfoType* PduInfoPtr)

Dbg_TxConfirmation

void Dbg_TxConfirmation(PduIdType TxPduId)

Dbg_PeriodicSamplingFunction

void Dbg_PeriodicSamplingFunction(void)

コンフィギュレーション仕様

DbgBuffering

/AUTOSAR/EcucDefs/Dbg/DbgBuffering
  • 型:Container
  • 多重度:0..1

DbgBufferSize

/AUTOSAR/EcucDefs/Dbg/DbgBuffering/DbgBufferSize
  • 型:IntegerParam
  • 多重度:1

DbgBufferStrategy

/AUTOSAR/EcucDefs/Dbg/DbgBuffering/DbgBufferStrategy
  • 型:EnumerationParam
  • 多重度:1

DbgBufferTransmission

/AUTOSAR/EcucDefs/Dbg/DbgBuffering/DbgBufferTransmission
  • 型:EnumerationParam
  • 多重度:1

DbgCommunication

/AUTOSAR/EcucDefs/Dbg/DbgCommunication
  • 型:Container
  • 多重度:0..1

DbgRxPdu

/AUTOSAR/EcucDefs/Dbg/DbgCommunication/DbgRxPdu
  • 型:Container
  • 多重度:1

DbgRxPduId

/AUTOSAR/EcucDefs/Dbg/DbgCommunication/DbgRxPdu/DbgRxPduId
  • 型:IntegerParam
  • 多重度:1

DbgReceiveIPduRef

/AUTOSAR/EcucDefs/Dbg/DbgCommunication/DbgRxPdu/DbgReceiveIPduRef
  • 型:Reference
  • 多重度:1

DbgTxPdu

/AUTOSAR/EcucDefs/Dbg/DbgCommunication/DbgTxPdu
  • 型:Container
  • 多重度:1

DbgTxConfirmationPduId

/AUTOSAR/EcucDefs/Dbg/DbgCommunication/DbgTxPdu/DbgTxConfirmationPduId
  • 型:IntegerParam
  • 多重度:1

DbgSendIPduRef

/AUTOSAR/EcucDefs/Dbg/DbgCommunication/DbgTxPdu/DbgSendIPduRef
  • 型:Reference
  • 多重度:1

DbgGeneral

/AUTOSAR/EcucDefs/Dbg/DbgGeneral
  • 型:Container
  • 多重度:1

DbgDevErrorDetect

/AUTOSAR/EcucDefs/Dbg/DbgGeneral/DbgDevErrorDetect
  • 型:BooleanParam
  • 多重度:1

DbgHeaderFileInclusion

/AUTOSAR/EcucDefs/Dbg/DbgGeneral/DbgHeaderFileInclusion
  • 型:StringParam
  • 多重度:0..*

DbgVersionInfoApi

/AUTOSAR/EcucDefs/Dbg/DbgGeneral/DbgVersionInfoApi
  • 型:BooleanParam
  • 多重度:1

DbgMultipleConfigurationContainer

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer
  • 型:Container
  • 多重度:1

DbgMaxDynamicDID

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgMaxDynamicDID
  • 型:IntegerParam
  • 多重度:0..1

DbgMaxStaticDID

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgMaxStaticDID
  • 型:IntegerParam
  • 多重度:0..1

DbgPredefinedDID

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID
  • 型:Container
  • 多重度:0..16

DbgPredefinedDIDActivation

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDActivation
  • 型:BooleanParam
  • 多重度:1

DbgPredefinedDIDBuffering

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDBuffering
  • 型:BooleanParam
  • 多重度:1

DbgPredefinedDIDName

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDName
  • 型:EnumerationParam
  • 多重度:1

DbgPredefinedDIDTimeStampActivation

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDTimeStampActivation
  • 型:BooleanParam
  • 多重度:1

DbgPredefinedDIDAddInfo

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo
  • 型:Container
  • 多重度:0..*

DbgAddInfoComSignal

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoComSignal
  • 型:Container
  • 多重度:0..*

DbgComSignalName

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoComSignal/DbgComSignalName
  • 型:StringParam
  • 多重度:0..1

DbgComSignalRef

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoComSignal/DbgComSignalRef
  • 型:Reference
  • 多重度:1

DbgBswModuleEntryRef

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoComSignal/DbgBswModuleEntryRef
  • 型:Reference
  • 多重度:1

DbgAddInfoRteCall

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoRteCall
  • 型:Container
  • 多重度:0..*

DbgCallComponentId

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoRteCall/DbgCallComponentId
  • 型:IntegerParam
  • 多重度:1

DbgCallInstanceId

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoRteCall/DbgCallInstanceId
  • 型:IntegerParam
  • 多重度:1

DbgCallPortId

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoRteCall/DbgCallPortId
  • 型:IntegerParam
  • 多重度:1

DbgCallServiceId

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoRteCall/DbgCallServiceId
  • 型:IntegerParam
  • 多重度:1

DbgBswModuleEntryRef

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoRteCall/DbgBswModuleEntryRef
  • 型:Reference
  • 多重度:1

DbgServiceInstanceRef

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoRteCall/DbgServiceInstanceRef
  • 型:Reference
  • 多重度:1

DbgAddInfoRunnable

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoRunnable
  • 型:Container
  • 多重度:0..*

DbgRunnableComponentId

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoRunnable/DbgRunnableComponentId
  • 型:IntegerParam
  • 多重度:1

DbgRunnableId

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoRunnable/DbgRunnableId
  • 型:IntegerParam
  • 多重度:1

DbgRunnableInstanceId

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoRunnable/DbgRunnableInstanceId
  • 型:IntegerParam
  • 多重度:1

DbgBswModuleEntryRef

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoRunnable/DbgBswModuleEntryRef
  • 型:Reference
  • 多重度:1

DbgRunnableEntityRef

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoRunnable/DbgRunnableEntityRef
  • 型:Reference
  • 多重度:1

DbgSoftwareComponentInstanceRef

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoRunnable/DbgSoftwareComponentInstanceRef
  • 型:Reference
  • 多重度:1

DbgAddInfoVfbSignal

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoVfbSignal
  • 型:Container
  • 多重度:0..*

DbgVfbComponentId

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoVfbSignal/DbgVfbComponentId
  • 型:IntegerParam
  • 多重度:1

DbgVfbDataElementId

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoVfbSignal/DbgVfbDataElementId
  • 型:IntegerParam
  • 多重度:1

DbgVfbInstanceId

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoVfbSignal/DbgVfbInstanceId
  • 型:IntegerParam
  • 多重度:1

DbgVfbPortId

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoVfbSignal/DbgVfbPortId
  • 型:IntegerParam
  • 多重度:1

DbgBswModuleEntryRef

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoVfbSignal/DbgBswModuleEntryRef
  • 型:Reference
  • 多重度:1

DbgDataElementInstanceRef

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgPredefinedDID/DbgPredefinedDIDAddInfo/DbgAddInfoVfbSignal/DbgDataElementInstanceRef
  • 型:Reference
  • 多重度:1

DbgStaticDID

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID
  • 型:Container
  • 多重度:0..200

DbgAutomaticCollectionFrequency

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID/DbgAutomaticCollectionFrequency
  • 型:IntegerParam
  • 多重度:1

DbgStaticDIDActivation

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID/DbgStaticDIDActivation
  • 型:BooleanParam
  • 多重度:1

DbgStaticDIDBuffering

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID/DbgStaticDIDBuffering
  • 型:BooleanParam
  • 多重度:1

DbgStaticDIDNameRef

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID/DbgStaticDIDNameRef
  • 型:StringParam
  • 多重度:1

DbgStaticTimeStampActivation

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID/DbgStaticTimeStampActivation
  • 型:BooleanParam
  • 多重度:1

DbgStaticDIDData

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID/DbgStaticDIDData
  • 型:Container
  • 多重度:1..65535

DbgAddressSizePair

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID/DbgStaticDIDData/DbgAddressSizePair
  • 型:Container
  • 多重度:0..1

DbgASAbsoluteAddress

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID/DbgStaticDIDData/DbgAddressSizePair/DbgASAbsoluteAddress
  • 型:IntegerParam
  • 多重度:0..1

DbgASNameRef

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID/DbgStaticDIDData/DbgAddressSizePair/DbgASNameRef
  • 型:LinkerSymbol
  • 多重度:0..1

DbgASSize

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID/DbgStaticDIDData/DbgAddressSizePair/DbgASSize
  • 型:IntegerParam
  • 多重度:0..1

DbgDebugData

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID/DbgStaticDIDData/DbgDebugData
  • 型:Container
  • 多重度:0..1

DbgDebugDataRef

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID/DbgStaticDIDData/DbgDebugData/DbgDebugDataRef
  • 型:Reference
  • 多重度:1

DbgLocalDebugData

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID/DbgStaticDIDData/DbgLocalDebugData
  • 型:Container
  • 多重度:0..1

DbgLocalDebugDataRef

/AUTOSAR/EcucDefs/Dbg/DbgMultipleConfigurationContainer/DbgStaticDID/DbgStaticDIDData/DbgLocalDebugData/DbgLocalDebugDataRef
  • 型:Reference
  • 多重度:1

DbgPeriodicDataCollection

/AUTOSAR/EcucDefs/Dbg/DbgPeriodicDataCollection
  • 型:Container
  • 多重度:0..1

DbgDataCollectionTick

/AUTOSAR/EcucDefs/Dbg/DbgPeriodicDataCollection/DbgDataCollectionTick
  • 型:IntegerParam
  • 多重度:1

DbgAlarmReference

/AUTOSAR/EcucDefs/Dbg/DbgPeriodicDataCollection/DbgAlarmReference
  • 型:Reference
  • 多重度:1

DbgTimestampConfiguration

/AUTOSAR/EcucDefs/Dbg/DbgTimestampConfiguration
  • 型:Container
  • 多重度:0..1

DbgGlobalTimestampActivation

/AUTOSAR/EcucDefs/Dbg/DbgTimestampConfiguration/DbgGlobalTimestampActivation
  • 型:EnumerationParam
  • 多重度:1

DbgTimeStampSize

/AUTOSAR/EcucDefs/Dbg/DbgTimestampConfiguration/DbgTimeStampSize
  • 型:EnumerationParam
  • 多重度:1

DbgGptChannel

/AUTOSAR/EcucDefs/Dbg/DbgTimestampConfiguration/DbgGptChannel
  • 型:Reference
  • 多重度:1
Last modified 3 years ago Last modified on 23/01/15 14:00:16