Search found 25 matches

by Shail
Fri 19. Feb 2021, 10:58
Forum: PCAN-UDS
Topic: UDS Service TransferData with MAX_DATA (4093 bytes) length
Replies: 24
Views: 815

Re: UDS Service TransferData with MAX_DATA (4093 bytes) length

Hello, We are using configuration of 29bit identifier : 18DAxxxx #define PUDS_PROTOCOL_ISO_15765_2_29B 0x03 // using PCAN-ISO-TP with 29 BIT CAN ID, FIXED NORMAL addressing and diagnostic message Mapping NA in this protocol Page 342 user manual 4.3.2 Normal fixed addressing 11 bits Addressing is inv...
by Shail
Thu 18. Feb 2021, 19:51
Forum: PCAN-UDS
Topic: UDS Service TransferData with MAX_DATA (4093 bytes) length
Replies: 24
Views: 815

Re: UDS Service TransferData with MAX_DATA (4093 bytes) length

Hello, Initially we are using default mapping. After that in middle we are changing target address so we are changing mapping. What are the steps to reconfigured mapping information? if the flow control frame is listed in the trace, then you have an undefined or incorrect mapping configuration with ...
by Shail
Thu 18. Feb 2021, 15:16
Forum: PCAN-UDS
Topic: UDS Service TransferData with MAX_DATA (4093 bytes) length
Replies: 24
Views: 815

Re: UDS Service TransferData with MAX_DATA (4093 bytes) length

Hello, 1) Yes. we are using version 1.x PCAN UDS In any case it is a recommended practice to: - provide a RequestConfirmation buffer, - you will be able to check its RESULT member in case of PUDS_ERROR_CAN_ERROR status (thus identifying if the error occured during Transmission or Receival), - check ...
by Shail
Wed 17. Feb 2021, 15:54
Forum: PCAN-UDS
Topic: UDS Service TransferData with MAX_DATA (4093 bytes) length
Replies: 24
Views: 815

Re: UDS Service TransferData with MAX_DATA (4093 bytes) length

Hello, Thanks for your reply. Will try what u suggested. Meanwhile once for question. if (Status == PUDS_ERROR_OK) Status = UDS_WaitForService(Channel, &MessageResponse, &Message); printf(" UDS_SvcTransferData: %i\n", (int)Status); if (Status == PUDS_ERROR_OK) status = displayMessage(&Message, &Mess...
by Shail
Wed 17. Feb 2021, 12:56
Forum: PCAN-UDS
Topic: UDS Service TransferData with MAX_DATA (4093 bytes) length
Replies: 24
Views: 815

Re: UDS Service TransferData with MAX_DATA (4093 bytes) length

Hello, In our case we are collecting the status from display message also and based on status we are sending next frame in spite response not received Status = UDS_SvcTransferData(Channel, &Message, 0x01, lBuffer, buffLen); if (Status == PUDS_ERROR_OK) Status = UDS_WaitForService(Channel, &MessageRe...
by Shail
Tue 16. Feb 2021, 19:12
Forum: PCAN-UDS
Topic: UDS Service TransferData with MAX_DATA (4093 bytes) length
Replies: 24
Views: 815

Re: UDS Service TransferData with MAX_DATA (4093 bytes) length

Hello, 1) We are using testTransferDataBigMessage API. // UDS Service TransferData with MAX_DATA length We need to send data more then 4096 byte in chunks, so we are using testTransferDataBigMessage API. PCAN Trace as mentioned below with time stamp 211.1330 data 29 CC 55 55 55 55 55 55 211.1341 dat...
by Shail
Tue 16. Feb 2021, 08:38
Forum: PCAN-UDS
Topic: UDS Service TransferData with MAX_DATA (4093 bytes) length
Replies: 24
Views: 815

Re: UDS Service TransferData with MAX_DATA (4093 bytes) length

Hello, 1) What's difference between them ? PUDS_PARAM_TIMEOUT_REQUEST, PUDS_PARAM_TIMEOUT_RESPONSE and PUDS_TIMEOUT_REQUEST, PUDS_TIMEOUT_RESPONSE We have not used PUDS_TIMEOUT_REQUEST and PUDS_TIMEOUT_RESPONSE while configuration in code. 2) PCAN Trace as mentioned below with timestamp 287.3567 dat...
by Shail
Fri 12. Feb 2021, 16:56
Forum: PCAN-UDS
Topic: UDS Service TransferData with MAX_DATA (4093 bytes) length
Replies: 24
Views: 815

Re: UDS Service TransferData with MAX_DATA (4093 bytes) length

Hello, If we want to change Source and target address frequently is it require to call API UDS_Uninitialize(Channel) and mapped again? N_AI.SA = PUDS_BDS_SERVER_SOURCE_ADDR; N_AI.TA = PUDS_ISO_15765_4_ADDR_ECU_1; N_AI.TA_TYPE = PUDS_ADDRESSING_PHYSICAL; N_AI.RA = 0x00; 2) If we want to change Source...
by Shail
Tue 9. Feb 2021, 15:28
Forum: PCAN-UDS
Topic: UDS Service TransferData with MAX_DATA (4093 bytes) length
Replies: 24
Views: 815

Re: UDS Service TransferData with MAX_DATA (4093 bytes) length

Hello, We need to reconfigure the network address information multiple time. should we need to define timeout again if Network Address Information (Source and target address) used for all the tests change multiple time? For example: // Define TimeOuts ulBuffer = 2000; Status = UDS_SetValue(Channel, ...
by Shail
Fri 5. Feb 2021, 10:58
Forum: PCAN-UDS
Topic: UDS Service TransferData with MAX_DATA (4093 bytes) length
Replies: 24
Views: 815

Re: UDS Service TransferData with MAX_DATA (4093 bytes) length

Hello,

TImeout details as mentioned below.
TIme Frame
210.0571 || 29 A6 55 55 55 55 55 55
210.0577 || 1F FF 36 8B 67 00 70 E1
210.0594 || 02 76 8A

Will check for UDS_WaitForSingleMessage function to find out single chunk time