SOLVED Number of S88 modules set to 13 generates HSI88 dumps

Moderator: Moderators

SOLVED Number of S88 modules set to 13 generates HSI88 dumps

Postby start123 » 01.01.2014, 15:51

Hi guys,

After a longer period of abstinence I spent some months on building a new track. Now it's time to come back to rocrail :D Finally I am trying to connect a freshly soldered S88 module via HSI88 to rocrail and face something strange: Every time I set the number of connected S88 modules to my present number of 13 (e.g. 5-4-4) the rocrail server generates lots of error dumps which is not the case if set to 12 or 14 modules for example (4-4-4, 5-5-4)

However, that looks like an already known problem, as there seemed to be a bug in an much older rocrail release (found Bug #579676 in launchpad) which looked very much the same but should have been solved some years ago. Now I am using the 6604 version, compiled from sources received via git. There shouldn't be that problem any more, so I would like to know if I might have missed something, checked out the wrong sources or any other kind of beginners mistake...? :oops:

Any help would be very appreciated. With my best wishes and a happy new year,

Rolf


This is part of the output:

Rocrail 6604 [7d770f2b841e04d946ff7519f270d1312c94e190]
Build: Jan 1 2014 12:52:58
librocs 2.0-0 build Jan 1 2014 12:52:51

...

20140101.150036.208 r9999I main OHSI88 0772 ----------------------------------------
20140101.150036.208 r9999I main OHSI88 0773 hsi88 2.0.0
20140101.150036.208 r9999I main OHSI88 0774 ----------------------------------------
20140101.150036.208 r9999I main OHSI88 0775 iid =hsi88
20140101.150036.208 r9999I main OHSI88 0776 device =/dev/ttyUSB0
20140101.150036.208 r9999I main OHSI88 0777 type =RS232
20140101.150036.208 r9999I main OHSI88 0778 handshake=cts
20140101.150036.208 r9999I main OHSI88 0779 fbleft =5
20140101.150036.208 r9999I main OHSI88 0780 fbmiddle =4
20140101.150036.208 r9999I main OHSI88 0781 fbright =4
20140101.150036.208 r9999I main OHSI88 0782 timeout =1000
20140101.150036.208 r9999I main OHSI88 0783 dummyio =false
20140101.150036.208 r9999I main OHSI88 0784 ----------------------------------------

...

20140101.150053.735 r0000W hsi88fb (null) *trace dump( 0x5BBDDAE0: length=2 )
offset: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
--------------------------------------------------------- |----------------|
00000000: 73 0D |s. |
20140101.150054.839 r9999I hsi88fb OHSI88 0417 Version info requested...
20140101.150054.839 r9999I hsi88fb OHSI88 0424
20140101.150054.839 r9999W hsi88fb OHSI88 0453 Tossing 82 bytes to wastebasket...
20140101.150054.839 r0000I hsi88fb OHSI88 *trace dump( 0x5BBDD6A0: length=82 )
offset: 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F |ASCII...........|
--------------------------------------------------------- |----------------|
00000000: 69 0D 01 00 00 02 00 00 03 00 00 04 00 00 05 00 |i...............|
00000010: 00 06 00 00 07 00 00 08 00 00 09 00 00 0A 00 00 |................|
00000020: 0B 00 00 0C 00 00 0D 00 00 0D 56 65 72 2E 20 30 |..........Ver. 0|
00000030: 2E 36 32 20 2F 20 30 38 2E 30 37 2E 30 32 20 2F |.62 / 08.07.02 /|
00000040: 20 48 53 49 2D 38 38 20 2F 20 28 63 29 20 4C 44 | HSI-88 / (c) LD|
00000050: 54 0D |T. |
20140101.150055.144 r9999I hsi88fb OHSI88 0525 Init sent. Waiting for response...
20140101.150055.144 r9999W hsi88fb OHSI88 0550 Init response expecting 0x73, length 3 but got 0x73, length 2
20140101.150055.144 r0000W hsi88fb (null) *trace dump( 0x5BBDDAE0: length=2 )

...
Last edited by start123 on 03.01.2014, 20:25, edited 1 time in total.
Rolf @ Darmstadt / Germany
Märklin / DCC
start123
 

Postby LDG » 02.01.2014, 18:55

Hi Rolf,

I was able to reproduce your problem with 13 modules on the HSI.

I'll do my best ( :roll: ) to find a solution, but I think the problem is "on the other side".

Regards,
Lothar
LDG
Site Admin
 

Postby ViktorHotel » 02.01.2014, 19:18

rocrailing with:
Ubuntu 16.04 LTS, MDRRC-II mit BMB Booster-B5 (Fahren), HSI88(Rückmelden), Sprog3 (Weichen und Signale), DMX-Artnetnode (Wetter und Licht)
ViktorHotel
 

Postby LDG » 02.01.2014, 19:20

Hi,

short status update:
I discovered the problem :)
It is Rocrail related :(
I am currently working on a fix :wink:

Regards,
Lothar
LDG
Site Admin
 

Postby start123 » 02.01.2014, 19:55

Hi Lothar, thank you very much for the info and good luck for finding a solution. Have a nice evening.
Best wishes, Rolf
Rolf @ Darmstadt / Germany
Märklin / DCC
start123
 

Postby LDG » 02.01.2014, 20:54

Hi,

I sent my solution to Rob. Hope it will be approved and integrated into source.

Regards,
Lothar
LDG
Site Admin
 

Postby LDG » 03.01.2014, 12:14

Solved with 6211+ :wink:

Lothar
LDG
Site Admin
 

Postby mith » 03.01.2014, 14:22

LDG wrote:Solved with 6211+ :wink:

Lothar

-> 6611 +


Michael
mith
 

Postby start123 » 03.01.2014, 20:28

Guys, you are simply the best. Thank you very much! Obviously everything is right now. Have a nice evening.

Regards,

Rolf :D
Rolf @ Darmstadt / Germany
Märklin / DCC
start123
 

Postby start123 » 13.01.2014, 20:49

Hello once again.

I had to reinstall rocrail and used the 6650 build. Obviously the old behaviour of dumping reappeared again. Could it had happened that the fix was lost during one of the latest builds? I am switching back to 6612 now which worked fine for me.

Have a nice evening,

Rolf
Rolf @ Darmstadt / Germany
Märklin / DCC
start123
 

Postby rjversluis » 13.01.2014, 21:03

Would be helpful if you can post the server trace.
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 start123 » 13.01.2014, 23:02

Ah yes... sorry I forgot. I try to attach.
You do not have the required permissions to view the files attached to this post.
Rolf @ Darmstadt / Germany
Märklin / DCC
start123
 

Postby rjversluis » 14.01.2014, 09:43

I hope it is fixed now in revision 6657.
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 start123 » 14.01.2014, 20:53

Hello,

That's perfect now. :D Thanks once again!

Regards,
Rolf
Rolf @ Darmstadt / Germany
Märklin / DCC
start123
 


Return to HSI88

cron