[SOLVED] RR, FTDI USBSerialDriver, Mac OS, CCShnitte2 &

Märklin Central Station 2
rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 17.10.2013, 07:10

Hallo Denis,

die initialisierung sieht gut aus:

Code: Select all

20131014.220729.491 r9999I main     OControl 1232 initDigInts lib="mcs2" idd="cc-1"
20131014.220729.492 r9999I main     OMCS2    0831 ----------------------------------------
20131014.220729.492 r9999I main     OMCS2    0832 MCS2(0) 2.0.0
20131014.220729.492 r9999I main     OMCS2    0833 ----------------------------------------
20131014.220729.492 r9999I main     OMCS2    0834   s88 modules [1]
20131014.220729.492 r9999I main     OMCS2    0842   sensor device ID [0]
20131014.220729.492 r9999I main     OMCS2    0846   sublib      [serial]
20131014.220729.492 r9999I main     OMCS2    0859   device      [/dev/tty.usbserial-A601R1VB]
20131014.220729.492 r9999I main     OMCS2    0860   bps         [500000]
20131014.220729.492 r9999I main     OMCS2    0861 ----------------------------------------
20131014.220729.496 r9999I main     OSerial  0201 rocs_serial_open:open rc=0 read=0 write=0 [0] [OK]
20131014.220729.496 r9999I main     OSerial  0206 blocking[1] directIO[0]
20131014.220729.496 r9999I main     OSerial  0233 rocs_serial_open: set CRTSCTS
Am besten nachfragen beim CC-Schnitte Hersteller/Forum warum es nicht Kommuniziert.
Weil bei ROcrail hast du alles richtig eingestellt.

rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 17.10.2013, 11:53

All values not documented in the WIki are not used:
http://wiki.rocrail.net/doku.php?id=cc-schnitte-en

Some dialogs are used for more control stations so it sometimes have more fields then necessary for a particular CS.

The MCS2 I do not know my self.
Maybe you are looking for this:
http://wiki.rocrail.net/doku.php?id=cs2 ... er_support

rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 19.10.2013, 07:27

You do not have the required permissions to view the files attached to this post.

rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 19.10.2013, 07:58

I did not document it to use both driver types in the Wiki...
Just use the one I linked.

rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 19.10.2013, 10:08

Maybe the CC does not support hardware handshake...

rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 20.10.2013, 07:13

How did you configure the line settings in the other program?

rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 20.10.2013, 08:55

That are the same settings as used in Rocrail.
I know that there are other users wit a CC-Schnitte...

rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 20.10.2013, 09:44

I added in 6137 an option to disable the CTS.

rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 20.10.2013, 10:38

something is wrong with your cc-schnitte:

Code: Select all

***READ TIMEOUT*** size=13 rc=0 read=12 errno=0 tries=100
The packet size is always 13 but the cc-schnitte only send 12 to the PC...

rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 20.10.2013, 11:07

SDL-X just read the bytes available but the packet length is 13, not 12.
I also can ignore the last byte but that would break the protocol.

You can test with Linux and/or Windows if the problem also on those platforms.

rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 20.10.2013, 13:00

Can you test revision 6138?
https://launchpad.net/rocrail/+download

rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 20.10.2013, 14:00

Can you activate the BYTE level trace so I can see the in coming bytes?
http://wiki.rocrail.net/doku.php?id=rocrailini-trace-en

rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 20.10.2013, 14:10

OK, the DLC data length is only 4 bits which should be filtered: 6139.

rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 20.10.2013, 14:44

The communication is OK now.

rjversluis
Site Admin
Posts: 42313
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 20.10.2013, 15:03

6142 will only send the number of data bytes in case of a serial connection. Maybe this will help.
The CC-Schnitte has become a new firmware version?

Post Reply

Return to “CS2”