Update ms2 by rocrail

Märklin Central Station 2

Re: Update ms2 by rocrail

Postby ech » 23.03.2017, 19:01

Hello Gerd,

To compile can2udp I got error and figured out that I had to install first libz-dev
After that I tried to make again, but get error:

make: *** No rule to make target 'virtual_gfp3.o', needed by 'virtual_gfp3'. Stop.

Then I think I also have to configure a can0 device right?

can you help me with both 2 issues?

thanks, regards,
Enzo
ech
 

Re: Update ms2 by rocrail

Postby bertc3p0 » 23.03.2017, 20:16

Hi Enzo,
ech wrote:Hello Gerd,

To compile can2udp I got error and figured out that I had to install first libz-dev
After that I tried to make again, but get error:

make: *** No rule to make target 'virtual_gfp3.o', needed by 'virtual_gfp3'. Stop.
ups, sorry, fixed. Do a 'git pull'.
Then I think I also have to configure a can0 device right?
What kind of CAN Interface do you have ?
can you help me with both 2 issues?

I will try :-)

Regards

Gerd
bertc3p0
 

Re: Update ms2 by rocrail

Postby ech » 23.03.2017, 20:23

Hi Gerd,

Ok thanks for fixing, I did git pull and now it compiles

I have usb to can with via FTDI, so it is from usb to serial ( I have CC-Schnitte from CAN Digital Bahn )
So I think I need lan-schnitte ?

Anyway in the meantime I try to setup socket can from here: https://developer.ridgerun.com/wiki/ind ... se_CAN_bus

If you have more or better tips on setting this up, PLEASE help.
PS I am on ubuntu 16.04
ech
 

Re: Update ms2 by rocrail

Postby ech » 28.03.2017, 17:40

Ok I want to let you know that I almost accomplished the update to 2.5
I have MS2.exe working and it sees the gleisbox and my MS2, with a specific git checkout of can2lan, which I got from Gerd.
From the CS2.exe I already updated language and train db, only when I try to update to the 2.5 software I start it confirm it from the CS2.exe but then my MS2 switches off ...
I think it has to do with owner of the update files, which is not root now.
Tomorrow I will change the ownership and try again.
I will let know when I am done, and post a step by step overview.
ech
 

Re: Update ms2 by rocrail

Postby ech » 04.04.2017, 08:09

I did almost accomplish to update my MS2 to 2.5, but unfortunately the can2lan version (older commit provided by Gerd) got stuck (hanging) while it was updating the software to version 2.5
The update did start and did 9% on the progress bar ( which I could see on the CS2.exe on the PC ).
After that I did several attempts to update it, but it went to 3% or even stuck at 0%.
After this my MS2 had broken software, and could not start up anymore.
I decided to go to a Marklin vendor where I got it updated by a real CS2.

After speaking to Gerd, he told me he had to backport some fixes to this can2lan version.
I will try it the next update that will come.

So far my update adventure.
ech
 

Previous

Return to CS2