Hello,
there is a project in Germany, to use the Märklin MS2 track box (60113) as CS2-CAN-PC interface:
http://lnxpps.de/bpi/With this solution, You are able to- control the locos from PC (with cs2.exe, Rocrail, Märklin MobileStation App, Märklin Main Station App, RemoteCS2 App, ...)
- modify mfx decoder settings (mapping, settings, ...) which is not possible with the MS2
What doesn't work:- update mSD decoder firmware
- update mSD sound projects
The Solution:The developer of this solution, Gerhard Bertelsmann, provides a small and simple circuit board and all necessary parts, to build the interface board, which fits perfectly onto the interface connectors of the Banana Pi M1 board:

On top, there is the interface board, below the Banana Pi. There are only a few parts to be soldered onto this interface card:
# main parts for the board with galvanic separation
U12 ISO1050
R20 120 Ohm SMD 0805
C18,C19 100nF SMD 0805
P1 2x13 Buchsenleiste
P3 1x4 Buchsenleiste
P4 1x6 Buchsenleiste
P19 1x2 Steckerleiste + Jumper
P21 1x3 Steckerleiste
# external Voltage regulator for the transceiver
C3,C4 100nF
U2 7805
# 5V current signal LED
D4 LED SMD 0805
R11 330 bis 470 Ohm SMD 0805
Caution:The cs2.exe application on the PC must not be set as Auxiliary device!
This is my test environment:On a heavy wooden plate I mounted
- the track box
- a CdB StartPoint 2 (not essential but helpfull)
- the Banana Pi M1
- the CAN interface board on top of the Banana Pi
The Track Box is connected to
- the MS2 (not essential but helpfull)
- the StartPoint 2
The StartPoint 2 has an own power supply (12 V) which can be used to supply the CAN interface board.
The Banana Pi is connected to
- the CAN bus of the StartPoint 2 (alternative You can connect directly to the CAN signal from Track Box)
- per LAN to a WiFi router (Fritz!Box 7050)
The Acer Aspire One is connected by WiFi to the WiFi router. The Märklin cs2.exe is running on this small mobile PC.


Here, on bottom the Banana Pi M1 and on top the CAN interface board:


Three power supplies, 5 V from violett USB cable for the Banana Pi, 12 V for the StartPunkt 2 (and via CAN bus for the CAN interface board) and 18 V for the Track Box:

CS2 screen shots:

Modification to use mobile appsTo enable the Mobile Apps to communicate with the Banana Pi, You have to copy specific files and folders from Your PCs CS2 softwares working folder to the Banana Pi:
Here, You find Your local working folder:
Target: /www/configC:\Program Files\Maerklin\CS2\*.cs2
C:\Program Files\Maerklin\CS2\gleisbilder
Target: /wwwC:\Program Files\Maerklin\CS2\icons
C:\Program Files\Maerklin\CS2\fcticons
C:\Program Files\Maerklin\CS2\magicons_
I use WinSCP to execute this copy job. You have to set SCP as transport protocol:


Once You have finished and restartet the Banana Pi, You can use the Android Apps
RemoteCS2 (freeware or Pro Version) and the Märklin MobileStation App (5,99€) or Märklin Main Station App (10,99€ for Tablets) to control the locos:
RemoteCS2
Märklin MobileStation App
