¿ªÔÆÌåÓý

Locked NCE Power Cab - USB Interface to JMRI #nce #powercab


 

Seems like this is a newly common problem, but I cannot figure out what I'm doing. Help is appreciated!

I just got back into model railroading. I purchased a NCE PowerCab starter set along with a NCE USB Interface. I'm trying to set Loco roster and some CV settings with JMRI.

Took items out of package and plugged in per instructions. Downloaded JMRI after USB Driver was installed.?

COM3 port is confirmed at 9600 baud in device manager (Windows 10). Confirmed same settings in DecoderPro Preferences.?

Service Mode Programmer NCE Is Online. Operations Mode Programmer NCE Is Online.?

Every time I try to communicate with PowerCab from computer/JMRI via the identify function,? I time out and nothing occurs.? It also says "Unknown Programming Mode" at the top of the screen.?

2020-02-06 23:13:29,893 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - * JMRI log ** [main]
2020-02-06 23:13:29,901 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is appended to file: C:\Users\tyler\JMRI\log\messages.log [main]
2020-02-06 23:13:29,901 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is stored in file: C:\Users\tyler\JMRI\log\session.log [main]
2020-02-06 23:13:29,905 apps.AppsBase? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - DecoderPro version 4.18+R37ad3d0 starts under Java 1.8.0_241 on Windows 10 x86 v10.0 at Thu Feb 06 23:13:29 CST 2020 [main]
2020-02-06 23:13:30,041 gui3.Apps3? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO? - Starting with profile My_JMRI_Railroad.3e2624fc [main]
2020-02-06 23:13:30,164 node.NodeIdentity? ? ? ? ? ? ? ? ? ? ?INFO? - Using 97c2d6e1-b0b9-4e73-bad0-4c798080bcc3 as the JMRI storage identity for profile id 3e2624fc [AWT-EventQueue-0]
2020-02-06 23:13:30,257 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "NCE" [main]
2020-02-06 23:13:30,530 usbdriver.UsbDriverAdapter? ? ? ? ? ? INFO? - NCE USB COM3? port opened at 9600 baud [main]
2020-02-06 23:13:30,639 nce.NceConnectionStatus? ? ? ? ? ? ? ?INFO? - NCE EPROM revision = 7.3.0 [AWT-EventQueue-0]
2020-02-06 23:13:30,690 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main]
2020-02-06 23:13:30,690 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path preference: is C:\Users\tyler\JMRI\My_JMRI_Railroad.jmri\ [main]
2020-02-06 23:13:30,690 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path profile: is C:\Users\tyler\JMRI\My_JMRI_Railroad.jmri\ [main]
2020-02-06 23:13:30,691 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path settings: is C:\Users\tyler\JMRI\ [main]
2020-02-06 23:13:30,691 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path home: is C:\Users\tyler\ [main]
2020-02-06 23:13:30,691 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
2020-02-06 23:15:03,285 nce.NceMessage? ? ? ? ? ? ? ? ? ? ? ? ERROR - attempt to send unsupported binary command KILL_MAIN_CMD to NCE USB [AWT-EventQueue-0]
2020-02-06 23:15:04,765 nce.NceMessage? ? ? ? ? ? ? ? ? ? ? ? ERROR - attempt to send unsupported binary command KILL_MAIN_CMD to NCE USB [AWT-EventQueue-0]
2020-02-06 23:15:21,693 jmrix.AbstractMRTrafficController? ? ?WARN? - Timeout on reply to message: A9 00 1D consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2020-02-06 23:15:23,951 jmrix.AbstractMRTrafficController? ? ?WARN? - timeout flushes receive buffer: 30 [nce.NceTrafficController Receive thread]
?
?


 

¿ªÔÆÌåÓý

tylergrote,

On 7 Feb 2020, at 4:16 PM, tylergrote@... wrote:

Seems like this is a newly common problem, but I cannot figure out what I'm doing. Help is appreciated!

It is, and I'm afraid it's possibly a hardware problem.

COM3 port is confirmed at 9600 baud in device manager (Windows 10). Confirmed same settings in DecoderPro Preferences.?

The baud rate settings in Device Manager are irrelevant. They are overridden by JMRI.

What matters is that the JMRI baud rate and the NCE USB Jumper settings match.


Service Mode Programmer NCE Is Online. Operations Mode Programmer NCE Is Online.?

That indicates you've got matching baud rates and JMRI has been able to talk to the NCE USB.

Every time I try to communicate with PowerCab from computer/JMRI via the identify function,? I time out and nothing occurs.? It also says "Unknown Programming Mode" at the top of the screen.?

See below. I'll explain the log.

2020-02-06 23:13:29,893 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - * JMRI log ** [main]
2020-02-06 23:13:29,901 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is appended to file: C:\Users\tyler\JMRI\log\messages.log [main]
2020-02-06 23:13:29,901 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is stored in file: C:\Users\tyler\JMRI\log\session.log [main]
2020-02-06 23:13:29,905 apps.AppsBase? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - DecoderPro version 4.18+R37ad3d0 starts under Java 1.8.0_241 on Windows 10 x86 v10.0 at Thu Feb 06 23:13:29 CST 2020 [main]
2020-02-06 23:13:30,041 gui3.Apps3? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO? - Starting with profile My_JMRI_Railroad.3e2624fc [main]
2020-02-06 23:13:30,164 node.NodeIdentity? ? ? ? ? ? ? ? ? ? ?INFO? - Using 97c2d6e1-b0b9-4e73-bad0-4c798080bcc3 as the JMRI storage identity for profile id 3e2624fc [AWT-EventQueue-0]
2020-02-06 23:13:30,257 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "NCE" [main]
2020-02-06 23:13:30,530 usbdriver.UsbDriverAdapter? ? ? ? ? ? INFO? - NCE USB COM3? port opened at 9600 baud [main]
2020-02-06 23:13:30,639 nce.NceConnectionStatus? ? ? ? ? ? ? ?INFO? - NCE EPROM revision = 7.3.0 [AWT-EventQueue-0]

This tells us that JMRI has been able to communicate with the NCE USB and it has reported that it is a V7 and all jumpers are off.

These are correct settings. Do not change them under any circumstances. If you do, you will just make troubleshooting extremely difficult.

2020-02-06 23:15:03,285 nce.NceMessage? ? ? ? ? ? ? ? ? ? ? ? ERROR - attempt to send unsupported binary command KILL_MAIN_CMD to NCE USB [AWT-EventQueue-0]
2020-02-06 23:15:04,765 nce.NceMessage? ? ? ? ? ? ? ? ? ? ? ? ERROR - attempt to send unsupported binary command KILL_MAIN_CMD to NCE USB [AWT-EventQueue-0]

You seem to have tried the Power button. The Power Cab does not support that command so JMRI has blocked it.

2020-02-06 23:15:21,693 jmrix.AbstractMRTrafficController? ? ?WARN? - Timeout on reply to message: A9 00 1D consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2020-02-06 23:15:23,951 jmrix.AbstractMRTrafficController? ? ?WARN? - timeout flushes receive buffer: 30 [nce.NceTrafficController Receive thread]

JMRI has now told the NCE USB to pass a "Read CV 29 in Direct Mode" on to the Power Cab and the NCE USB has reported back that the communication with the Power Cab failed.

The communication takes place on wires 3 & 4 of the Cab Bus cable. So check your connectors sockets and cables, try the NCE USB in the other available socket (rear or front right. If you have any spare cables, try swapping out cables.

Let us know what you find.

Dave in Australia


 

Dave, thanks a ton for the response.?

Tried separate cables, and tried all ports. Still not luck, same symptoms.?

Kept searching far and wide and?found an old thread where the connector boards for the PowerCab itself were bad. Showed a need to add some resistors or contract NCE for a replacement. I¡¯m going to attempt to contact NCE for a new piece of hardware and rare what happens.?

Wish it was just me and there was an easy button. But it sure doesn¡¯t seem that way.?


 

¿ªÔÆÌåÓý

tylergrote,

On 9 Feb 2020, at 9:17 AM, tylergrote@... wrote:

Kept searching far and wide and?found an old thread where the connector boards for the PowerCab itself were bad. Showed a need to add some resistors or contract NCE for a replacement.

<>


I¡¯m going to attempt to contact NCE for a new piece of hardware and rare what happens.?

It appears NCE has been shipping PCPs without the resistors fitted. We suspect that this, combined with component tolerances in the NCE USB and/or Power Cab, may be the cause of the particular type of communication failure your log shows.

If NCE doesn't supply you with a resistor-fitted PCP (send us photos if you aren't sure) or want you to return one particular component for testing, insist on sending the entire setup (Power Cab, NCE USB, PCP, cables and power supply) and get them to make that entire combination work together. Just sending back one component and having them say "it works for us" is not a fair test. We have good reason to believe the issue relates to the interaction of slightly different components.

Dave in Australia