Search found 12 matches

by tr.gt
Thu 14. Jan 2016, 09:18
Forum: PCAN-Basic
Topic: Is CAN_Initialize thread safe?
Replies: 1
Views: 3444

Is CAN_Initialize thread safe?

Hey,

I'm currently have problems with CAN_Initialize calling from another thread.

I wrapped the PCAN Basic function in my own class and call CAN_Initialize in the constructor.

If create the class in my main thread everything works fine. If I start another thread to create a instance the thread ...
by tr.gt
Fri 25. Sep 2015, 13:14
Forum: PCAN-UDS
Topic: Disable TesterPresent
Replies: 5
Views: 10915

Re: Disable TesterPresent

Great, thanks.
by tr.gt
Fri 25. Sep 2015, 11:06
Forum: PCAN-UDS
Topic: UDS TransferData response
Replies: 3
Views: 7527

Re: UDS TransferData response

Hello Fabrice,

thank you for your feedback. It seems to be a problem with the ECU. It simply doesn't response.

Thanks,
Tobias
by tr.gt
Fri 25. Sep 2015, 11:05
Forum: PCAN-UDS
Topic: Disable TesterPresent
Replies: 5
Views: 10915

Disable TesterPresent

Hello,

as mentioned in your documentation it should be possible to disable the periodic TestPresent requests.

Note: this only affects the API client side ONLY, no communication with any ECUs is made. If a user wants
to disable the automatic transmission of TesterPresent requests that keeps alive ...
by tr.gt
Tue 15. Sep 2015, 16:22
Forum: PCAN-UDS
Topic: UDS TransferData response
Replies: 3
Views: 7527

Re: UDS TransferData response

Some additional notes:

1. If I try to send a RequestTransferExit after not getting a TransferData response, I get a negative response code "0x24" (Request sequence error).

This normally indicates that the ECU is still waiting for different requests. In this case it should wait for TransferData ...
by tr.gt
Tue 15. Sep 2015, 15:43
Forum: PCAN-UDS
Topic: UDS TransferData response
Replies: 3
Views: 7527

UDS TransferData response

Hello,

I have problems realizing the TransferData service for our tester tool.

After some successful TransferData resquests and responses, no response is received. If you add some delay between the requests, I can send more request but it does not solve the problem.

Not get getting a response ...
by tr.gt
Tue 15. Sep 2015, 11:29
Forum: PCAN-UDS
Topic: Change CAN ID Mapping on the Fly
Replies: 7
Views: 14457

Re: Change CAN ID Mapping on the Fly

Hello Fabrice,

thank you for your answer. I will try your suggestion, provide you feedback. :-)

Regarding the standard mappings, I just removed them:

CANTP_RemoveMapping( ch, PUDS_ISO_15765_4_CAN_ID_FUNCTIONAL_REQUEST );
CANTP_RemoveMapping( ch, PUDS_ISO_15765_4_CAN_ID_PHYSICAL_REQUEST_1 ...
by tr.gt
Wed 9. Sep 2015, 17:35
Forum: PCAN-UDS
Topic: Change CAN ID Mapping on the Fly
Replies: 7
Views: 14457

Re: Change CAN ID Mapping on the Fly

Hello Fabrice,

thank you for our answer.

While setting mappings for tester outgoing messages, the last set mapping overrides the previous ones. This makes sense and we can handle that.

For incoming message the multiple mappings seem to work.

However, I have some problems regarding the PUDS ...
by tr.gt
Wed 9. Sep 2015, 09:52
Forum: PCAN-UDS
Topic: Change CAN ID Mapping on the Fly
Replies: 7
Views: 14457

Re: Change CAN ID Mapping on the Fly

Hello Keneth,

yes I did. However it isn't possible to associate two CAN IDs with on tester UDS address, is it?

Adding the new addresses will end up to something like:

Tester App: CAN: 0x4F1, UDS: 0x01
ECU App: CAN: 0x2F1, UDS: 0x02

Tester Bootloader: CAN: 0x400, UDS: 0x03
ECU Bootloader: CAN ...
by tr.gt
Tue 8. Sep 2015, 16:18
Forum: PCAN-UDS
Topic: Change CAN ID Mapping on the Fly
Replies: 7
Views: 14457

Change CAN ID Mapping on the Fly

Hey,

we are currently developing a tester and our ECU changes the addressing when switching to the ECUProgrammingSession.

The ECU jumps to the bootloader when switching to the programming session and the bootloader uses different addressing information.

Here some example trace:

; Message Number ...