Search found 7 matches

by waszniowski
Thu 2. Jul 2020, 10:12
Forum: PCAN-UDS
Topic: UDS service ReadDataByIdentifier problem on remote computer (TeamViewer)
Replies: 3
Views: 3767

Re: UDS service ReadDataByIdentifier problem on remote computer (TeamViewer)

I also did not see any reason why TeamViewer should affect CAN communication. My latest observation is, that on a private laptop it works perfectly with TeamViewer, but on company laptop it works almost never, even without TeamViewer. Some company IT policy setting or antivirus?
by waszniowski
Wed 17. Jun 2020, 12:34
Forum: PCAN-UDS
Topic: UDS service ReadDataByIdentifier problem on remote computer (TeamViewer)
Replies: 3
Views: 3767

UDS service ReadDataByIdentifier problem on remote computer (TeamViewer)

I have an odd problem with UDS communication. I have an application reading data from ECU via UDS. It is based on interfaces PCANBasic.dll, PCAN-ISO-TP.dll, PCAN-UDS.dll, PCAN-OBDII.dll
This application works properly on several computers (Windows 7 and 10) for a year. Now I am trying to run this ...
by waszniowski
Thu 23. Apr 2020, 14:22
Forum: PCAN-USB FD
Topic: Messages order in trace
Replies: 2
Views: 4850

Re: Messages order in trace

Thanks for your fast reply.
So in my case, message MESSAGE 2 was earlier on CAN bus because it has smaller time offset.
by waszniowski
Thu 23. Apr 2020, 13:27
Forum: PCAN-USB FD
Topic: Messages order in trace
Replies: 2
Views: 4850

Messages order in trace

I have saved the following trace from PCAN-View:

;$FILEVERSION=2.0
;$STARTTIME=43944.426755081
;$COLUMNS=N,O,T,I,d,l,D
;
; D:\PRJ\BasicSw\XCP\tmp\200421\CfgDAQ while Running ERR_SEQUENCE.trc
; Start time: 23.4.2020 10:14:31.639.0
; Generated by PCAN-View v4.2.4.564 ...
by waszniowski
Tue 3. Sep 2019, 15:39
Forum: PCAN-XCP
Topic: Upload mere than 7 bytes (block mode)
Replies: 5
Views: 9799

Re: Upload mere than 7 bytes (block mode)

Thanks you very much - it works.
What is surprising for me is, that
result = XCPApi.Upload(m_XcpSession, num);
returns error code XCP_ERR_CMD_SYNCH (but there is no corresponding message from slave on the bus). If I ignore this error code, I can successfully read data via XCPApi.DequeuePacket ...
by waszniowski
Tue 3. Sep 2019, 08:16
Forum: PCAN-XCP
Topic: Upload mere than 7 bytes (block mode)
Replies: 5
Views: 9799

Re: Upload mere than 7 bytes (block mode)

Thank you very much for your fast response.
Is there another way how to implement block mode upload (Command Code = 0xF5, Number of data elements > 7)?
by waszniowski
Mon 2. Sep 2019, 15:15
Forum: PCAN-XCP
Topic: Upload mere than 7 bytes (block mode)
Replies: 5
Views: 9799

Upload mere than 7 bytes (block mode)

I am able to successfully upload up to 7 bytes (standard mode) via blocking call of

msg = new byte[20];
result = XCPApi.Upload(m_XcpSession, 7, msg, (ushort)msg.Length);

Attempt to upload more bytes in block mode, however, returns out of range err without sending any message to bus.
How can I ...