Page 1 of 1
PCAN Pro FD - Swapped LIN Channels
Posted: Fri 4. Nov 2022, 00:26
by aquatsr
We have a PCAN Pro FD unit configured for use with LIN (device ID 0x100, channels 1 and 2) on a Windows 10 OS.
Recently we noticed that traffic from our device connected for channel 1 is now appearing on channel 2. What would cause the channels to flip in the software, and, assuming this is possible is there a way to prevent this from happening? If we cannot prevent it from happening, is there a reliable way to tag or inspect for channels such that applications can connect using the appropriate one?
This system is rebooted occasionally.
Thanks
Re: PCAN Pro FD - Swapped LIN Channels
Posted: Fri 4. Nov 2022, 08:18
by PEAK-Support
Please send more information, maybe for more easy communication by e-mail to support[at]peak-system.com
we need:
- Used Hardware type (exact part number)
- Used Firmware on the unit
- Used Windows Driver
- Used OS Version
- If used OS Version is W11 - used PC Type (Intel based or ARM)
Re: PCAN Pro FD - Swapped LIN Channels
Posted: Thu 10. Nov 2022, 01:37
by aquatsr
Used hardware type(s): 17309, 13994
Used Firmware on the unit: 3.2.0
Used Windows Driver:
Driver: pcan_usb.sys
Driver Date: 11/9/2021
Driver Version: 4.3.0.16563
Used OS Version:
Edition: Windows 10 Enterprise
Version: 21H2
OS Build: 19044.2130
Experience: Windows Feature Experience Pack 120.2212.4180.0
PC Type:
Processor: Intel Core i7-10710U
System Type: 64-bit operating system, x64-based processor
Other PEAK Drivers installed:
Driver: pcan_virtual.sys
Driver: pcan_lan.sys
Driver: plin_usb.sys (1.4.1.1048)
Let me know if you require additional information.
Thanks
Re: PCAN Pro FD - Swapped LIN Channels
Posted: Thu 10. Nov 2022, 11:25
by K.Wagner
Hello,
aquatsr wrote: ↑Fri 4. Nov 2022, 00:26
What would cause the channels to flip in the software, and, assuming this is possible is there a way to prevent this from happening?
we have never seen a swapp of channels wihtin the same device (e.g. Handle 1 assigned to channel2 and Handle 2 assigned to channel 1). This is extremely difficult to occur for alone since the channel handles are enumerated using fixed LIN controller indexes within a device (0 and 1 within a PCAN-USB Pro FD device), kind of "handle number" + "controller number".
Swapping the handles/channels is only possible if you explicitly tells the driver to do so, using the
Windows registry.
aquatsr wrote: ↑Fri 4. Nov 2022, 00:26
If we cannot prevent it from happening, is there a reliable way to tag or inspect for channels such that applications can connect using the appropriate one?
You can test fixing the handles as desired using the registry as mentioned. A description of how to do this can be read in the following topic:
Fixing hardware handles on a PCAN-USB Pro
aquatsr wrote: ↑Thu 10. Nov 2022, 01:37
Let me know if you require additional information.
Can you tell us "when" this problem happens? I mean, does it happen when there is a plug-out/plug-in of the device? or does it happen when a reboot is made? or does it happen just while your application is running?
If you think, your handle input is correct and that this is a problem in the PLIN driver/software, then could you please provide us with a small application that reproduce the problem?
Thanks