Search found 10 matches

by Rommel
Fri 11. Apr 2025, 21:31
Forum: PCAN-UDS
Topic: SvcWriteDataByIdentifier Timeout
Replies: 12
Views: 7845

Re: SvcWriteDataByIdentifier Timeout

Thanks I found the issue

Instead of 03 6E xx xx ECU answerd with 04 6E xx xx after transfering all data to ECU
by Rommel
Tue 1. Apr 2025, 23:24
Forum: PCAN-UDS
Topic: SvcWriteDataByIdentifier Timeout
Replies: 12
Views: 7845

Re: SvcWriteDataByIdentifier Timeout

oh sorry yes I mean ReadDataByIdentifier
In this case the Tester sends a request
ECU is sending 1St Frame
Tester answers with Control frame
ECU sends 2nd Frame
after all Datas are send Tester is not anwering with a responce
And in Iso Protokoll I did not find a requriment which requires an answer ...
by Rommel
Mon 31. Mar 2025, 14:27
Forum: PCAN-UDS
Topic: SvcWriteDataByIdentifier Timeout
Replies: 12
Views: 7845

Re: SvcWriteDataByIdentifier Timeout

Yes tester sends 10 0C 2E ...
ECU 30 0F 00 sends
and Tester sends 21 ....

After that ECU is not sending anything. Does ECU has to send a 2E+40?
I checked with svc load there ECU sends more than 100 bytes but TesterPeakAPI is not sending anything after last Message too
by Rommel
Fri 28. Mar 2025, 20:08
Forum: PCAN-UDS
Topic: SvcWriteDataByIdentifier Timeout
Replies: 12
Views: 7845

Re: SvcWriteDataByIdentifier Timeout

Mapping is working fine now without extra mapping.

But still timout issue


status = UDSApi.SvcWriteDataByIdentifier_2013(tp_handle, config, out request, (uds_svc_param_di)1, data_record, data_record_size);
if (UDSApi.StatusIsOk_2013(status))
status = UDSApi.WaitForService_2013(tp_handle, ref ...
by Rommel
Thu 27. Mar 2025, 23:52
Forum: PCAN-UDS
Topic: SvcWriteDataByIdentifier Timeout
Replies: 12
Views: 7845

Re: SvcWriteDataByIdentifier Timeout

Hi
now I am little bit confused. I thought if I use 29b if have to add mapping.Only 11Bit id is premapped
I changed now the canid but I still have that issue. UDS is working fine except Write by Identifier. Request is send ECU answers by 0x30, all Data is send to ecu but than a time out occurs ...
by Rommel
Fri 21. Mar 2025, 12:26
Forum: PCAN-UDS
Topic: SvcWriteDataByIdentifier Timeout
Replies: 12
Views: 7845

Re: SvcWriteDataByIdentifier Timeout

I mapped the messages by
uds_mapping requestMapping = new uds_mapping();
requestMapping.can_id = 0x18DA017E;
requestMapping.can_id_flow_ctrl = 0x18DA7E01;
requestMapping.can_msgtype = config.can_msgtype;
requestMapping.can_tx_dlc = 8;
requestMapping.nai = config.nai;

uds_mapping ...
by Rommel
Thu 20. Mar 2025, 23:22
Forum: PCAN-UDS
Topic: SvcWriteDataByIdentifier Timeout
Replies: 12
Views: 7845

SvcWriteDataByIdentifier Timeout

Hi

here my try to send Data to an ECU by

status = UDSApi.SvcWriteDataByIdentifier_2013(tp_handle, config, out request, (uds_svc_param_di)0, data_record, data_record_size);
if (UDSApi.StatusIsOk_2013(status))
status = UDSApi.WaitForService_2013(tp_handle, ref request, out response, out ...
by Rommel
Sun 2. Mar 2025, 23:35
Forum: PCAN-UDS
Topic: get Results from SvcReadMemoryByAddress_2013
Replies: 1
Views: 5491

get Results from SvcReadMemoryByAddress_2013

Hi

I am struggling to extract the returned information

I checked the CAN comunication and it looks fine. THe UDS Message is send and the ECU Returns some values.
And API is returning StatusiO. But I do not get the retunred information back.

status = UDSApi.SvcReadMemoryByAddress_2013(tp_handle ...
by Rommel
Mon 13. Jan 2025, 22:36
Forum: PCAN-UDS
Topic: UDS Mapping
Replies: 1
Views: 2291

UDS Mapping

Here one Point I am struggeling:

To use the UDS procs I need to tell them the ids of the communication partners.
This I do by adding uds_mapping for sent and recive messages on a initializeted tphandle.

Why do I have to set uds_msgconfig config with similar information additionally to use uds ...
by Rommel
Mon 13. Jan 2025, 19:13
Forum: PCAN-UDS
Topic: UDS and CANTrace parrallel
Replies: 1
Views: 1342

UDS and CANTrace parrallel

for my understanding:

for CANTraces I have to Initialize stsResult = PCANBasic.Initialize(m_PcanHandle, m_Baudrate) a Basic TPCANHandle.

for UDS I have to Initialize status = UDSApi.Initialize_2013(tp_handle, cantp_baudrate.PCANTP_BAUDRATE_500K); a UDS cantp_handle.

Both parrallel is not possible ...