-
Go to All Contents > DcmConfigSet > DcmDsp
-
Data Info
- Create Data Info Typically, use existing one
-
Data
- Add Data
- Set Name, Size(in bit), Type and
- Choose proper Info ref from Data Info
-
Did Info
- Add Did Info and go to Did Access
- Add Did Read / Did Write
- Select Security Level Ref and Session Ref (Security Level is only set in Did Write)
-
Did
- Add Did
- Type in ID and Set Used to true
- Choose Info Ref from Did Info
- Click on Signal and select Data reference
- Set Data Pos and Endianness
-
Generate
-
App_Dcm > SWC_DiagnosticService
- Go to Ports
- Create Server Port made
- Select Operations (ReadData / WriteData)
- Enable Com Specs
- Set Queue Length to 1
- Go to Runnables 1.
- Go to Ports
-
EcucValueCollection
- Go to Service and I/O
- Expand Dcm
- Connect DataService port to SWC_DiagnosticService
-
Go to Dcm module > All Contents > DcmConfigSet > DcmDsl > Dcm_DiagCom_Protocol > Row > UDS_ON_CAN > MainConnection
- Mapping (DcmIPdu not NPdu)
-
Go to Xcp module >
-
Go to EcuValueCollection
- Click Regenerate Handle IDs
- Check as below
- Can Stack
- Com Stack
- Diagnostic
- Ecuc
- Click Finish
-
Go to PduR module > Routing Tables > ... > Routing Path
- Find Pdu Hande Id of 65535
- Fix Id to Non zero value
-
Go to CanTp module >