Can't connect to PCAN-LIN config tool via USB-to-Serial

RS-232 to CAN/LIN Interface
skienitz
Posts: 1
Joined: Wed 12. Oct 2016, 11:37

Can't connect to PCAN-LIN config tool via USB-to-Serial

Post by skienitz » Wed 12. Oct 2016, 12:18

Hi support team,

I just received my PCAN-LIN. I tried connecting it to the Config Tool, but it wont connect.

I have installed a USB-to_Serial Adapter in order to connect it. Which pops up in my Device Manager (image attached).

But even after installing the drivers from the DVD, no sign of life and no change in the device manager:
Device Manager
Device Manager
Device_Manager.JPG (52.87 KiB) Viewed 6664 times
Interestingly when I connect it and cycle power supply to (VSS) it I can read a message from it via Arduinos Serial Monitor (using the same USB-to-Serial Adapter, photo attached):
Serial answer from PCAN-LIN via USB-to-Serial cycling VSS
Serial answer from PCAN-LIN via USB-to-Serial cycling VSS
COM_answer_PCAN-LIN.JPG (29.68 KiB) Viewed 6664 times

M.Maidhof
Support
Support
Posts: 1307
Joined: Wed 22. Sep 2010, 14:00

Re: Can't connect to PCAN-LIN config tool via USB-to-Serial

Post by M.Maidhof » Wed 12. Oct 2016, 12:43

Hi,

there is a known issue with prolific USB serial drivers under Windows 7. Please try a different USB2serial device or use the serial com port from your mainboard. A FTDI based usb2serial will work without problems.

regards

Michael

stevietee10
Posts: 7
Joined: Thu 29. Aug 2019, 14:35

Re: Can't connect to PCAN-LIN config tool via a FTDI USB ada

Post by stevietee10 » Thu 29. Aug 2019, 15:01

Hello
I cannot connect to the PCAN-LIN configuration tool
Tried two units, serial numbers 501767 & 502442
Windows 7 v6.1 SP1 64-bit
Configuration tool v3.0.8.141
FTDI USB-RS232 adaptors, tried two different ones, (also a CH340 in desperation!)
I get error message: Try to connect to port/module:21 failed with message "A PCAN-LIN module could not be confirmed: Do you want to try again?
Baud rates 38400 and 115200 both tried, unit serial number implies I should be using 115200, however on Arduino serial monitor I see continual flow of non alpha-numeric characters at 38400 but nothing at 115200.
Connections checked often, RX & TX are crossed as they should be, also tried connecting CTS and DTR at USB/RS232 but no difference.
PCAN-LIN is powered at 12v DC
USB/RS232 is operating at 5v signal level
Help! PLEASE PLEASE :| :|
Attachments
Capture 04.JPG
Capture 04.JPG (26.76 KiB) Viewed 4671 times
Capture 03.JPG
Capture 03.JPG (29.57 KiB) Viewed 4671 times
Capture 02.JPG
Capture 02.JPG (15.52 KiB) Viewed 4671 times
Capture 01.JPG
Capture 01.JPG (24.79 KiB) Viewed 4671 times

M.Maidhof
Support
Support
Posts: 1307
Joined: Wed 22. Sep 2010, 14:00

Re: Can't connect to PCAN-LIN config tool via USB-to-Serial

Post by M.Maidhof » Thu 29. Aug 2019, 16:46

Hi,

please use a standard USB2Serial (FTDI) with -12/12V Levels for RS232. 5V TTL Levels are not supported by PCAN-LIN

Please also use a 1:1 cable without crossing, or simply connect the PCAN-LIN directly to the USB2Serial adapter without any cable. Check that during power up both LEDs will light up for a second, to be sure PCAN-LIN is correctly supplied.

Default serial baudrate of PCAN-LIN is 38400.

regards

Michael

stevietee10
Posts: 7
Joined: Thu 29. Aug 2019, 14:35

Re: Can't connect to PCAN-LIN config tool via USB-to-Serial

Post by stevietee10 » Thu 12. Sep 2019, 16:37

@m.maidhof

Thanks for your reply, however I'm still struggling.
M.Maidhof wrote:Hi,

please use a standard USB2Serial (FTDI) with -12/12V Levels for RS232. 5V TTL Levels are not supported by PCAN-LIN

Please also use a 1:1 cable without crossing, or simply connect the PCAN-LIN directly to the USB2Serial adapter without any cable. Check that during power up both LEDs will light up for a second, to be sure PCAN-LIN is correctly supplied.

Default serial baudrate of PCAN-LIN is 38400.

regards

Michael
I've used a logic level shifter to interface my 5v signals to 12v for the PCAN-LIN.
This works OK, checked with scope, however when the PCAN-LIN box is connected it clamps the voltage at it's pins to 5v, must be some internal zener protection.

Used 1:1 connections, (TX - TX, RX - RX) still no joy
retried normal serial connections (TX - RX, RX - TX) still no joy

I have realised that FTDI USB/RS232 adaptors have the facility for inverted output lines.
Using their FT_PROG software I've inverted the TX, RX lines, still no joy.

LED's on the unit...
TOP GREEN (status) continual fast flash
LOWER LED is GREEN, Trans/Active

This is getting serious now as it is holding up development of a FTAC system here.
Do you have any other suggestions please?
Do you have a UK support office I could get hands-on assistance?

Thank You
Steve

M.Maidhof
Support
Support
Posts: 1307
Joined: Wed 22. Sep 2010, 14:00

Re: Can't connect to PCAN-LIN config tool via USB-to-Serial

Post by M.Maidhof » Fri 13. Sep 2019, 09:33

Hi,

thanks for the info. If the LEDs of the PCAN-LIN are flashing, it looks like there is an active scheduler working on that device. This means the module was already configured with a configuration. Do you have this configuration stored as .pclin file, so that we can see the used serial baudrate?
If you use a FDTI based USB2Serial module, it should work without problems connecting the PCAN-LIN directly to the USB2Serial device. Perhaps a different serial baudrate setting is used in your configuration.

We do have a sales partner in the UK (Computer Solutions, see Contact-Distributors on our website for details) but you can also contact us by email or phone to get support.

Unfortunately you have used a thread on which an user said that the module was new, in your case it looks different. To clearify the issue, please contact us by phone to discuss the next steps (to have a look on your PC with teamviewer etc.). The phone number is available on our website.

regards

Michael

stevietee10
Posts: 7
Joined: Thu 29. Aug 2019, 14:35

Re: Can't connect to PCAN-LIN config tool via USB-to-Serial

Post by stevietee10 » Mon 7. Oct 2019, 12:16

Hello,
Still struggling..........
I have the config file that was previously used on this interface .... image of it loaded attached

So we now know speed is factually at 38400 but still unable to connect with a simple USB/RS232 interface, it is an FTDI, tried both inverted and non-inverted RX,TX signals.

In despair I purchased a new unit, ser. no. 05271
This is no better, tried both 38400 and 115200.

I must be doing something stupid, attached are images of my setup.
Please can you review for me?

Thank you
Steve
Attachments
IMG_0892.jpg
IMG_0892.jpg (764.13 KiB) Viewed 4431 times
IMG_0891.jpg
IMG_0891.jpg (951.21 KiB) Viewed 4431 times
IMG_0890.jpg
IMG_0890.jpg (475.42 KiB) Viewed 4431 times
IMG_0889.jpg
IMG_0889.jpg (505.75 KiB) Viewed 4431 times
IMG_0888.jpg
IMG_0888.jpg (891.79 KiB) Viewed 4431 times
IMG_0887.jpg
IMG_0887.jpg (1.56 MiB) Viewed 4431 times
config file loaded.jpg
config file loaded.jpg (59.45 KiB) Viewed 4431 times

M.Maidhof
Support
Support
Posts: 1307
Joined: Wed 22. Sep 2010, 14:00

Re: Can't connect to PCAN-LIN config tool via USB-to-Serial

Post by M.Maidhof » Mon 7. Oct 2019, 12:28

Hi,

please measure the voltages on the serial side of your USB2Serial (pin 2-5, and 3-5), when you have no PCAN-LIN connected. For me it looks like your adapters are still TTL based devices, but you need -12V/12V voltages for a RS232 connection to PCAN-LIN!

regards

Michael

stevietee10
Posts: 7
Joined: Thu 29. Aug 2019, 14:35

Re: Can't connect to PCAN-LIN config tool via USB-to-Serial

Post by stevietee10 » Mon 7. Oct 2019, 13:05

Hi,

I covered this in my 12th Sept post..
---------------------------------
I've used a logic level shifter to interface my 5v signals to 12v for the PCAN-LIN.
This works OK, checked with scope, however when the PCAN-LIN box is connected it clamps the voltage at it's pins to 5v, must be some internal zener protection.
------------------------------

I'll retry today with the new unit.

What make/model of USB/RS232 adaptor do you guys use in your office? maybe I should buy a unit with good history

Thank you
Steve

M.Maidhof
Support
Support
Posts: 1307
Joined: Wed 22. Sep 2010, 14:00

Re: Can't connect to PCAN-LIN config tool via USB-to-Serial

Post by M.Maidhof » Mon 7. Oct 2019, 14:22

Hi,

we use USB2Serial adapters with a FTDI chip:

example:

https://www.amazon.de/LogiLink-AU0034-A ... _sim_147_7

regards

Michael

Post Reply