Search found 49 matches

by Shail
Fri 27. Jan 2023, 06:06
Forum: Linux
Topic: PCAN_UDS_ISOTP_API_ON_LINUX
Replies: 3
Views: 5895

Re: PCAN_UDS_ISOTP_API_ON_LINUX

Hello,

Thanks for your input.

1) Can u please provide the DLL and header for the development same like windows APIs?
We do not need source code for ISOTP and PCAN-UDS APIS

2) If we have more than 8 bytes of data then how we can send data? Or suggest alternate way of doing it?

Thanks
by Shail
Thu 26. Jan 2023, 16:09
Forum: Linux
Topic: PCAN_UDS_ISOTP_API_ON_LINUX
Replies: 3
Views: 5895

PCAN_UDS_ISOTP_API_ON_LINUX

Hello,

We found only Windows level SW Devlopment API for PCAN on PEAK Website:
PCAN-UDS API, PCAN-Basic API, PCAN-ISO-TP API : API for the development of applications with CAN and CAN FD connections for Windows® 11 (x64/ARM64), 10 (x86/x64).
https://www.peak-system.com/PCAN-UDS-API.370.0.html?&L=1 ...
by Shail
Thu 15. Dec 2022, 09:43
Forum: PCAN-UDS
Topic: UDS Service request Using 0xBE System Supplier
Replies: 4
Views: 6318

Re: UDS Service request Using 0xBE System Supplier

Hello,

We are writing application in c++.

1) How to define msg_buffer in your example ? if so uds_msg msg_buffer = new uds_msg(); What is header file required for same?
When We define uds_msg *msg_buffer = NULL We are getting error code 9 PCAN_STATUS_PARAM_INVALID_VALUE in status

status = UDS ...
by Shail
Wed 9. Nov 2022, 05:24
Forum: PCAN-UDS
Topic: UDS Service request Using 0xBE System Supplier
Replies: 4
Views: 6318

UDS Service request Using 0xBE System Supplier

Hello,
I need to send UDS Service with system supplier UDS Service ID 0xBE.
it is part of the UDS 14229 spec, under the user defined services

Is any way we can send request using PEAK PCAN-UDS 2.x API
PCAN-UDS_2013.h
PCAN-ISO-TP_2016.h
PCANBasic.h

Service request format : 10 13 BE 10 03 22 24 26 ...
by Shail
Fri 7. Oct 2022, 19:56
Forum: PCAN-USB
Topic: PCAN_UDS_Data_Transfer_Failed
Replies: 7
Views: 6021

Re: PCAN_UDS_Data_Transfer_Failed

Hello,

"To summarize, if the first 256 TransfertData requests were OK [from 0x00 to 0xFF] then the 257th should use blockSequenceCounter 0x00.
If your tests show that it fails with NRC wrongBlockSequenceCounter (using block sequence 0x00 or 0x01), I would suggest to ask to your ECU's manufacturer ...
by Shail
Thu 6. Oct 2022, 21:19
Forum: PCAN-USB
Topic: PCAN_UDS_Data_Transfer_Failed
Replies: 7
Views: 6021

Re: PCAN_UDS_Data_Transfer_Failed

Continue the previous question

Inspite sending data request with 0x1 instead of 0x00 we are getting problem in wrong sequence counter 0x73.
How to handle scenario when your sequence conuter reach 255 and again need to start with 0 or 1 ?


172524 4253888.705 DT 18DA21FA Rx 8 27 6D FF FA FB F6 22 ...
by Shail
Thu 6. Oct 2022, 19:55
Forum: PCAN-USB
Topic: PCAN_UDS_Data_Transfer_Failed
Replies: 7
Views: 6021

Re: PCAN_UDS_Data_Transfer_Failed

Continue the previous question


4) If our hex file is more in size (4093 (chunk of data)*255 (sequence number)) we need to handle differently?
149991 147386.611 DT 18DA21FA Rx 8 28 2F 28 0F 82 0F 02 F2
149992 147387.155 DT 18DA21FA Rx 8 29 00 55 55 55 55 55 55
149993 147388.731 DT 18DAFA21 Rx ...
by Shail
Thu 6. Oct 2022, 17:40
Forum: PCAN-USB
Topic: PCAN_UDS_Data_Transfer_Failed
Replies: 7
Views: 6021

Re: PCAN_UDS_Data_Transfer_Failed

Hello,

1) Can u please elaborate how u find block sequece counter 0 ?
In your case it is the block sequence #0. The UDS standard specifies that the sender should retransmit the request with that same blockSequenceCounter and the server shall accept it.
Here u r telling we need to send with same ...
by Shail
Thu 6. Oct 2022, 06:48
Forum: PCAN-USB
Topic: PCAN_UDS_Data_Transfer_Failed
Replies: 7
Views: 6021

PCAN_UDS_Data_Transfer_Failed

Hello,

We are using PCAN-UDS 2.x API for development.
Library : PCAN-UDS.lib,PCAN-ISO-TP.lib, PCANBasic.lib
headers: PCAN-UDS_2013.h,PCAN-ISO-TP_2016.h, PCANBasic.h

When bus load is high (around 80%),
We are facing issue of while sending data transfer service of UDS it got failed and we got NRC ...
by Shail
Mon 25. Oct 2021, 08:11
Forum: PCAN-UDS
Topic: Memory allocation problem
Replies: 5
Views: 4022

Re: Memory allocation problem

Hello,

2) We need to use UDS service one after another based on status of API.
If status failed we are not proceeding for the next UDS service.

-> For Example :

status = uds_execute_diganostic_service ()

if(status == PUDS_STATUS_OK)
{
state = SUCESS;
// move to next service;
service = uds ...