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

Märklin Central Station 2

Postby rjversluis » 21.10.2013, 08:45

You do not have the required permissions to view the files attached to this post.
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 - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

Postby RainerK » 21.10.2013, 08:53

Hi,

here the usable short form of the URL: http://www.reichelt.de/?&ARTICLE=99617

Best Regards
RainerK
Best Regards, es grüßt RainerK

Win10 64Bit / DCC++ with Arduino Uno / Motor shield and LocoNet GCA85, 50, 93 and 136.
Special interests: DIY electronic assemblies. http://www.rainermoba.blogspot.com
Planning replace the coincidence by the mistake
RainerK
 

Postby macsddau » 21.10.2013, 09:20

Rob.

I see your picture

Is-it the patch you use to test the RS dialog ? when you use it if you send bites, you read them. So software testing is done.

Is my analysis good ?
[MS2] [C.D.B. StartSetCC2] [LDT S-DEC-DC] [Mac OSX MLion] [N:SNCF IV-V]
macsddau
 

Postby rjversluis » 21.10.2013, 09:56

Yes:

Code: Select all
20131021.074830.611 r9999I main     OApp     1191 POWER ON
20131021.074830.611 r9999c main     OMCS2    0207 System GO
20131021.074830.611 r9999I main     OModel   2011 informing 13 listeners of a system event...
20131021.074830.617 r0000B mcs2writ (null)   *trace dump( 0x035DB660: length=13 )
    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
    --------------------------------------------------------- |----------------|
    00000000: 00 00 03 00 05 00 00 00 00 01 00 00 00          |.............   |
20131021.074830.643 r0000B mcs2read (null)   *trace dump( 0xFC55AE80: length=13 )
    offset:   00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
    --------------------------------------------------------- |----------------|
    00000000: 00 00 03 00 05 00 00 00 00 01 00 00 00          |.............   |
20131021.074830.644 r9999c mcs2read OMCS2    0631 CS2 GO


I did the test on a MacBook Air with OS X 10.8.5.
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 - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

Postby macsddau » 21.10.2013, 10:13

For the moment I want to make a point.

view from Rocrail side :
1- USB to Serial dialog : OK
2- Software <> CCShnitte command : KO
3- no operation

View from SDL-X side :
4- USB to serial dialog : OK
5- Softare <> CCSchnitte command : OK
6- Operating

For me the CCShnitte & USB drivers are OK (points 4-6). I think there is really a problem with Rocrail.
[MS2] [C.D.B. StartSetCC2] [LDT S-DEC-DC] [Mac OSX MLion] [N:SNCF IV-V]
macsddau
 

Postby rjversluis » 21.10.2013, 10:19

If you can install a serial sniffer and make from both programs a byte trace with that tool, maybe I can help.

The MERG CBUS project also use a 500000 baud USB FTDI interface which works fine under Mac OS X 10.8.5...
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 - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

Postby macsddau » 21.10.2013, 10:48

I have instal SerialTools.

it works at a maximum 230k baud rate.

I see nothing in the window

?????
[MS2] [C.D.B. StartSetCC2] [LDT S-DEC-DC] [Mac OSX MLion] [N:SNCF IV-V]
macsddau
 

Postby rjversluis » 21.10.2013, 10:56

Wir empfehlen daher die Verwendung des D2XX-Treibers, da es außerdem beim Betrieb der CC-
Schnitte 2.0 mit dem VCP-Treiber zu Störungen kommen kann. SimpleDigitalLocomotive
unterstützt allerdings nur die CC-Schnitte 2.0 via D2XX-Treiber, keine anderen Digitalzentralen.

It seems the CC-Schnitte only can communicate over the D2XX-Device Driver which is not standard.
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 - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

Postby rjversluis » 21.10.2013, 11:21

Did you try to use SDL-X with the VCP dirver?

500000 baud is not standard.
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 - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

Postby rjversluis » 21.10.2013, 11:49

aiTrän only works with the D2XX.
SDL-X will probably use the D2XX if it is installed even if you select the serial device?

Rocrail does not support the proprietary D2XX driver because I do not like this dependency. Virtual Com Ports are standard and controlled with standard commands on all 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 - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

Postby macsddau » 21.10.2013, 17:03

No Rob I have tested SDL-X with the FTDIUSBSerialDriver. The D2XX was removed.
[MS2] [C.D.B. StartSetCC2] [LDT S-DEC-DC] [Mac OSX MLion] [N:SNCF IV-V]
macsddau
 

Postby rjversluis » 21.10.2013, 17:12

OK, in that case we should investigate more time in this issue.

MERG CBUS USB-Interface, FDTI 500k, works OK with OS X 10.8.5 and Rocrail. So it is un expected to see the Schnitte not working.

Maybe the shortest way is to ask the programmer of SDL-X for a tip on how to setup the serial communication under OS X for the Schnitte...

I checked the D2XX but I do not like to include it because it conflicts with the VCP drivers...
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 - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

Postby macsddau » 21.10.2013, 17:13

I have porpose to l'atelier du chef to lent you a start set MS2.

I have send a mail to the team. I don't know if you can see this mail. In a other way you can mail to latelierduchef@yahoo.fr (in german if you rather)
[MS2] [C.D.B. StartSetCC2] [LDT S-DEC-DC] [Mac OSX MLion] [N:SNCF IV-V]
macsddau
 

Postby macsddau » 21.10.2013, 17:53

Here a view with SDL-X. Look at the "Emergency..." window, it is the tty device.
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 » 22.10.2013, 09:59

I followed the advice of Mafi:
http://www.can-digital-bahn.com/forum/v ... #post_2698

And I implemented it in revision 6155.
It reads as much as 13 bytes available, byte by byte.
It writes byte by byte to give the VCP time to consume...
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 - CANGCx ] - [ G: CBUS - CANGCx ]
rjversluis
Site Admin
 

PreviousNext

Return to CS2