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
PCAN Pro FD - Swapped LIN Channels
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: PCAN Pro FD - Swapped LIN Channels
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)
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)
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
Re: PCAN Pro FD - Swapped LIN Channels
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
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
Hello,
Swapping the handles/channels is only possible if you explicitly tells the driver to do so, using the Windows registry.
Fixing hardware handles on a PCAN-USB Pro
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
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.
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
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
Best regards,
Keneth
Keneth