Search found 5 matches

by hieuht
Sat 4. Jun 2022, 06:24
Forum: PCAN-UDS
Topic: Cannot receive Negative Response with custom mapping
Replies: 9
Views: 5198

Re: Cannot receive Negative Response with custom mapping

Hello,

I checked my code against your example, but the problem still the same.

Here is my trace and my application output. The application still receive response normally, until the response "7F 27 78".
MicrosoftTeams-image (8).png
MicrosoftTeams-image (8).png (370.35 KiB) Viewed 5146 times
by hieuht
Thu 2. Jun 2022, 05:24
Forum: PCAN-UDS
Topic: Cannot receive Negative Response with custom mapping
Replies: 9
Views: 5198

Re: Cannot receive Negative Response with custom mapping

Hi Vergnaud,

I fixed the mistake you pointed out, but the result is the same.

I also tried to remove the default mapping with the following command before adding my map.

// Remove default mapping
status = UDS_RemoveMappingByCanId_2013(
PCANTP_HANDLE_USBBUS1, PUDS_ISO_15765_4_CAN_ID_PHYSICAL ...
by hieuht
Wed 1. Jun 2022, 13:28
Forum: PCAN-UDS
Topic: Cannot receive Negative Response with custom mapping
Replies: 9
Views: 5198

Re: Cannot receive Negative Response with custom mapping

Sorry, my mistake, it is not the same ID, it is 6BF and 63F. :D


Hello,

you need to remove standard mappings, only when you need other configuration for the already defined, otherwise you just need to include the new mapping.


My sending address is 6BF and my receiving address is 6BF

I think ...
by hieuht
Wed 1. Jun 2022, 12:30
Forum: PCAN-UDS
Topic: Cannot receive Negative Response with custom mapping
Replies: 9
Views: 5198

Re: Cannot receive Negative Response with custom mapping

Hi,

My sending address is 6BF and my receiving address is 6BF. They are not registered. Do I need to removes the default mapping first in order to use my mapping?
by hieuht
Wed 1. Jun 2022, 12:08
Forum: PCAN-UDS
Topic: Cannot receive Negative Response with custom mapping
Replies: 9
Views: 5198

Cannot receive Negative Response with custom mapping

Hi everyone,

I have a problem with custom mapping when using PCAN-UDS API.

At first, I used the default Can ID (7E0/7E8) and it worked with my ECU. Now my specification changed and I need to change to a different ID, so I use UDS_AddMapping_2013, but now I cannot receive any negative response, and ...