开云体育

Locked Problems with the SerialIO Package


Alex Shepherd
 

Hi Bob,

I found the jars etc for SerialIO and could make it compile, however it still timed-out.

I suspect that the SerialIO package is interfering with Sun's commapi serial port stuff that you use for everything but MS100. I had a quick look at the SerialIO site and I got the impression that we should be able to configure the commapi to use the SerialIO package and not the default Sun Win32Com package.

However, when I deleted all the SerialIO jars and dll and put copies of the commapi files in various places (the docs must be wrong!!!) until DecoderPro found them, it all worked again.

I think I quite like the tree view.

Also when I tried to do an Ident of my loco with a DN149K2 decoder it came back with an error:

Found mfg 129 version 241; no such manufacterer defined

This was the same with both of my locos and both have DN149K2 Plug and Play decoders

Cheers

Alex


Alex Shepherd
 

Oops forgot to mention one clue:

I think the packaets are being transmitted ok as I can see them with my AVR
dev kit so I suspect there is a problem with receive.

Is it possible that I am seeing some sort of race condition when bytes are
received a bit like the other race condition you fixed recently as I do have
a dual CPU machine running Win2K?

Alex