- Dem
- Dcm
- Go to DTCClass tab
- List up the DTC classes by adding
- Go to Event Parameter tab
- Add common DemEventClass and Copy and Paste in All contents
- Add Event parameter and double click then set the belows
- Event Kind
- Aging Allowed
- Event OBD Readiness Goup
- DTC Class Ref
- Operation Cycle Ref
- NvM module
- add memory for DTC save
- Dem module
- All contents > DemGeneral0 > DemNvRamBlockId
- add primary event memory
- Set Nv Block Id Ref
- Go to Ports tab
- add client ports(DTCClass) with DiagnosticMonitor interface
- Go to Runnables tab
- Go to DIagnosticMonitor runnable > Operation / Mode / Trigger Acces
- Add *.SetEventStatus to Synchronous Server Call Points
- Click Dem
- Select Event_DEM_E_UDS_DTC_
- Click add at top right
- Check and Connect
- Set extended data in Dem module
- Generate Swc