Hi,
I am trying to run SvcSecurityAccess_2013 to get a seed. I am using custom ECU so I deleted mappings and add custom mapping
cantp_status mappingResult;
uds_mapping request_mapping = new uds_mapping();
uds_mapping response_mapping;
request_mapping.can_id = 0x781;
request_mapping.can_id_flow ...
Search found 4 matches
- Wed 8. May 2024, 00:26
- Forum: PCAN-UDS
- Topic: Security Access call failing with error 11 - serviceNotSupported
- Replies: 1
- Views: 2137
- Fri 3. May 2024, 23:33
- Forum: PCAN-UDS
- Topic: UDS testDiagnosticSessionControl
- Replies: 5
- Views: 3586
Re: UDS testDiagnosticSessionControl
Hi,
thank you very much for your help. After deleting default mappings and using UDSApi.AddMapping_2013 instead of AddMapping_2016 the timeout error went away. It is working both with padding disabled (mixed mode) and padding enabled with value set to 0.
thank you very much for your help. After deleting default mappings and using UDSApi.AddMapping_2013 instead of AddMapping_2016 the timeout error went away. It is working both with padding disabled (mixed mode) and padding enabled with value set to 0.
- Thu 2. May 2024, 17:32
- Forum: PCAN-UDS
- Topic: UDS testDiagnosticSessionControl
- Replies: 5
- Views: 3586
Re: UDS testDiagnosticSessionControl
Hi,
thank you for your suggestions.
I tested both disabling padding
dw_buffer = CanTpApi.PCANTP_CAN_DATA_PADDING_NONE;
status = UDSApi.SetValue_2013(client_handle, uds_parameter.PUDS_PARAMETER_CAN_DATA_PADDING, ref dw_buffer, sizeof(UInt32));
Console.WriteLine("Set Padding status: {0}", (int ...
thank you for your suggestions.
I tested both disabling padding
dw_buffer = CanTpApi.PCANTP_CAN_DATA_PADDING_NONE;
status = UDSApi.SetValue_2013(client_handle, uds_parameter.PUDS_PARAMETER_CAN_DATA_PADDING, ref dw_buffer, sizeof(UInt32));
Console.WriteLine("Set Padding status: {0}", (int ...
- Sun 28. Apr 2024, 20:53
- Forum: PCAN-UDS
- Topic: UDS testDiagnosticSessionControl
- Replies: 5
- Views: 3586
UDS testDiagnosticSessionControl
I am learning UDS and exploring UDS API. I am trying to run example testDiagnosticSessionControl from 06_client_all_request solution here is my code
cantp_handle client_handle;
uds_status status;
UInt32 dw_buffer;
uds_msgconfig config = new uds_msgconfig();
// Set the PCAN-Channel to use ...
cantp_handle client_handle;
uds_status status;
UInt32 dw_buffer;
uds_msgconfig config = new uds_msgconfig();
// Set the PCAN-Channel to use ...