"Transmit short IDs" to MulitMaus using rocrail

http://www.opendcc.de
http://www.bidib.org
Post Reply
gramels
Posts: 221
Joined: 24.12.2009, 08:32
Location: around Zürich/ Switzerland and SouthWest Germany (Südbaden)

"Transmit short IDs" to MulitMaus using rocrail

Post by gramels » 14.02.2010, 22:49

Hi,

I tried today to use rocrail to upload the locodatabase to my MultiMaus connected to opendcc.

Did not work with rocrail, but worked with openDCC_config.

Any ideas whats the issue here with rocrail (rev 1279 on XP)?
Is it me or should I file a bug?

Lothar

rjversluis
Site Admin
Posts: 42362
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 15.02.2010, 07:34

Hi Lothar,

this functionality has been implemented for some time ago but never been tested. (Or I can not remember it...)
I would like to ask Wolfgang to test first before you put a bug which I cannot reproduce without a throttle.

gramels
Posts: 221
Joined: 24.12.2009, 08:32
Location: around Zürich/ Switzerland and SouthWest Germany (Südbaden)

Post by gramels » 15.02.2010, 08:27

Hi Rob,

thanks for your answer. Let me know in case I can help with testing.

Grüsse

Lothar

rjversluis
Site Admin
Posts: 42362
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 15.02.2010, 09:01

Hi Lothar,

the requirements to get this done are:

library opendcc
sublib p50x

Please attach the rocrail.*.trc if you are already using this setup.

gramels
Posts: 221
Joined: 24.12.2009, 08:32
Location: around Zürich/ Switzerland and SouthWest Germany (Südbaden)

Post by gramels » 15.02.2010, 09:21

Hi Rob, here we go:
You do not have the required permissions to view the files attached to this post.

rjversluis
Site Admin
Posts: 42362
Joined: 10.04.2006, 08:48
Location: Speyer, Germany
Contact:

Post by rjversluis » 15.02.2010, 21:03

Hi,

the trace shows a receive timeout error after sending the command.
I do not have the new OpenDCC hardware to check. Maybe Wolfgang could take a look at this.

opendcc
Posts: 137
Joined: 08.01.2009, 22:03

Post by opendcc » 15.02.2010, 21:23

Hi,

I looked at this trace and I'm not quite well informed:
>>>

20100215.091450.890 r9999c 00000D28 OOpenDCC 0339 send short IDs to the throttle
20100215.091450.890 r9999c 00000D28 OP50x 0285 bin command
20100215.091453.921 r9999E 00000D28 OSerial 0394 Timeout on serial read[COM3] 0 of 1 read.[rc=0] tries=3
20100215.091453.921 r9999E 00000D28 OP50x 0219 ERROR in transact!!! rc=0 state=RCVERR

<<<

For me, I would be neccessary to see these command sequence as it is on the interface: what is 'OP50x 0285 bin command'?

Lothar, at this point a log file of the rs232 would be very helpful.

best regards Wolfgang

opendcc
Posts: 137
Joined: 08.01.2009, 22:03

Post by opendcc » 19.02.2010, 19:10

Hello, Lothar sent me a log file and I see the communication is somehow strange:

WRITE VCP11 SUCCESS Length 2: 78 C9 = XEvtLok
READ VCP11 SUCCESS Length 1: 80 = none
SERIAL_GET_MODEMSTATUS VCP11 SUCCESS
WRITE VCP11 SUCCESS Length 2: 78 C8 = Xevent
READ VCP11 SUCCESS Length 1: 00 = none
SERIAL_GET_COMMSTATUS VCP11 SUCCESS
SERIAL_GET_MODEMSTATUS VCP11 SUCCESS
WRITE VCP11 SUCCESS Length 9: 00 00 0C 00 00 58 4D 54 0D ....XMT<cr>
READ VCP11 SUCCESS Length 1: 00
READ VCP11 SUCCESS Length 1: 00
READ VCP11 SUCCESS Length 1: 00
READ VCP11 SUCCESS Length 1: 00
READ VCP11 TIMEOUT Length 0:
READ VCP11 TIMEOUT Length 0:
READ VCP11 TIMEOUT Length 0:
WRITE VCP11 SUCCESS Length 2: 78 A2 = Xstatus
READ VCP11 SUCCESS Length 1: 00
WRITE VCP11 SUCCESS Length 2: 78 CA = Xevntrnt
READ VCP11 SUCCESS Length 1: 00
WRITE VCP11 SUCCESS Length 2: 78 C9
READ VCP11 SUCCESS Length 1: 00

The commands during data base transfer are broken / overwritten with some illegal stuff. No wonder, that opendcc command station doesn't understand this.

br Wolfgang

gramels
Posts: 221
Joined: 24.12.2009, 08:32
Location: around Zürich/ Switzerland and SouthWest Germany (Südbaden)

Post by gramels » 19.02.2010, 20:53

I filed this as a bug at https://bugs.launchpad.net/rocrail/+bug/524578 . Rob already replied.
Wolfgang, can you support him fixing it. I will be ready to test.

Lothar

Post Reply

Return to “OpenDCC & BiDiB”