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

Märklin Central Station 2

Postby rjversluis » 20.10.2013, 07:13

How did you configure the line settings in the other program?
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby macsddau » 20.10.2013, 07:42

Hi Rob,

For SDL-X I have only selected the tty device and select the default settings (see picture).

Denis[/img]
You do not have the required permissions to view the files attached to this post.
[MS2] [C.D.B. StartSetCC2] [LDT S-DEC-DC] [Mac OSX MLion] [N:SNCF IV-V]
macsddau
 

Postby 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...
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby macsddau » 20.10.2013, 09:20

As you answer it probably not a communication problem. Can it be messaging problem ? For example when I turn on power (light button in RR), nothing happen and the MS stay in stop mode.
[MS2] [C.D.B. StartSetCC2] [LDT S-DEC-DC] [Mac OSX MLion] [N:SNCF IV-V]
macsddau
 

Postby macsddau » 20.10.2013, 09:24

An other example :

if the MS is connected to the track box -> READ TIMEOUT
if the MS is not connected to the track box -> no READ TIMEOUT.

in the two ways nothing works.
[MS2] [C.D.B. StartSetCC2] [LDT S-DEC-DC] [Mac OSX MLion] [N:SNCF IV-V]
macsddau
 

Postby rjversluis » 20.10.2013, 09:44

I added in 6137 an option to disable the CTS.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby macsddau » 20.10.2013, 10:30

The rev 6137 is installed

When flow=none => READ TIMEOUT
When flow=CTS => no READ TIMEOUT

in both case nothing works

image flow=none > trace n°000
image flow=cts > trace n°001
You do not have the required permissions to view the files attached to this post.
[MS2] [C.D.B. StartSetCC2] [LDT S-DEC-DC] [Mac OSX MLion] [N:SNCF IV-V]
macsddau
 

Postby 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...
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby macsddau » 20.10.2013, 11:04

I don't understand why Rocrail read (see) 12 bits while the bi-directional messaging works fine with SDL-X. Did RR have a reading (writing) bug ?
[MS2] [C.D.B. StartSetCC2] [LDT S-DEC-DC] [Mac OSX MLion] [N:SNCF IV-V]
macsddau
 

Postby 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.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby macsddau » 20.10.2013, 11:23

Sorry I'm only a Mac OS user.

I will ask Thorsten for the message size.
[MS2] [C.D.B. StartSetCC2] [LDT S-DEC-DC] [Mac OSX MLion] [N:SNCF IV-V]
macsddau
 

Postby macsddau » 20.10.2013, 12:32

Thorsten Has send me a track plan which run on a Windows machine.

I open it on my mac and only change the port (replacing COM1 by my tty device)

Here are the results : same as my track plan.
You do not have the required permissions to view the files attached to this post.
[MS2] [C.D.B. StartSetCC2] [LDT S-DEC-DC] [Mac OSX MLion] [N:SNCF IV-V]
macsddau
 

Postby macsddau » 20.10.2013, 12:33

Look at the read value. It can vary.
[MS2] [C.D.B. StartSetCC2] [LDT S-DEC-DC] [Mac OSX MLion] [N:SNCF IV-V]
macsddau
 

Postby rjversluis » 20.10.2013, 13:00

Can you test revision 6138?
https://launchpad.net/rocrail/+download
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby macsddau » 20.10.2013, 13:59

Here the result
You do not have the required permissions to view the files attached to this post.
[MS2] [C.D.B. StartSetCC2] [LDT S-DEC-DC] [Mac OSX MLion] [N:SNCF IV-V]
macsddau
 

PreviousNext

Return to CS2