¿ªÔÆÌåÓý

Locked Re: NCE USB Issue with RPi4 #rpi #nce #powercab


 

LOG 1
This is the initial Log from a new copied Image this is the failure caused by the v6 96 settings.
?
2019-12-17 10:52:57,971 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main]
2019-12-17 10:52:58,290 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: /home/pi/.jmri/log/messages.log [main]
2019-12-17 10:52:58,293 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: /home/pi/.jmri/log/session.log [main]
2019-12-17 10:52:58,345 apps.AppsBase???????????????????????? INFO? - DecoderPro version 4.17.7+R5bc91de starts under Java 11.0.5 on Linux arm v4.19.75-v7l+ at Tue Dec 17 10:52:58 EST 2019 [main]
2019-12-17 10:53:08,912 gui3.Apps3??????????????????????????? INFO? - Starting with profile NCE_USB.3f722756 [main]
2019-12-17 10:53:09,228 node.NodeIdentity???????????????????? INFO? - Using c6f3cdb0-4677-11e9-8000-b827eb71f7dc as the JMRI storage identity for profile id 3f722756 [AWT-EventQueue-0]
2019-12-17 10:53:09,330 jmrix.ConnectionConfigManager???????? INFO? - No local configuration found. [main]
2019-12-17 10:53:09,706 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "NCE" [main]
2019-12-17 10:53:09,709 jmrix.AbstractSerialPortController??? WARN? - old profile format port speed value converted [main]
2019-12-17 10:53:10,074 usbdriver.UsbDriverAdapter??????????? INFO? - NCE USB ttyUSB0? port opened at 9600 baud [main]
2019-12-17 10:53:10,213 swing.JmriJTablePersistenceManager??? INFO? - Table preferences not found.
This is expected on the first time the "NCE_USB" profile is used on this computer. [main]
2019-12-17 10:53:11,676 withrottle.FacelessServer???????????? INFO? - Published ZeroConf service for 'rpi-jmri nce usb._withrottle._tcp.local.' on 192.168.6.1:12090 [WiThrottleServer]
2019-12-17 10:53:11,679 withrottle.FacelessServer???????????? INFO? - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
2019-12-17 10:53:12,176 server.WebServer????????????????????? INFO? - Starting Web Server on port 12080 [WebServer]
2019-12-17 10:53:13,541 server.WebServer????????????????????? INFO? - Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=5.2.0} [WebServer]
2019-12-17 10:53:13,632 simpleserver.SimpleServer???????????? INFO? - JMRI SimpleServer started on port 2048 [AWT-EventQueue-0]
2019-12-17 10:53:13,657 util.FileUtilSupport????????????????? INFO? - File path program: is /home/pi/JMRI/ [main]
2019-12-17 10:53:13,659 util.FileUtilSupport????????????????? INFO? - File path preference: is /home/pi/JMRI_UserFiles/ [main]
2019-12-17 10:53:13,662 util.FileUtilSupport????????????????? INFO? - File path profile: is /home/pi/.jmri/NCE_USB/ [main]
2019-12-17 10:53:13,664 util.FileUtilSupport????????????????? INFO? - File path settings: is /home/pi/.jmri/ [main]
2019-12-17 10:53:13,666 util.FileUtilSupport????????????????? INFO? - File path home: is /home/pi/ [main]
2019-12-17 10:53:13,667 util.FileUtilSupport????????????????? INFO? - File path scripts: is /home/pi/JMRI_UserFiles/jython/ [main]
2019-12-17 10:53:20,243 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 10:53:20,358 nce.NceConnectionStatus?????????????? WARN? - Incorrect or no response from NCE command station [nce.NceTrafficController Transmit thread]
2019-12-17 10:53:30,367 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 1 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 10:53:30,472 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]

2019-12-17 10:52:57,971 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main]
2019-12-17 10:52:58,290 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: /home/pi/.jmri/log/messages.log [main]
2019-12-17 10:52:58,293 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: /home/pi/.jmri/log/session.log [main]
2019-12-17 10:52:58,345 apps.AppsBase???????????????????????? INFO? - DecoderPro version 4.17.7+R5bc91de starts under Java 11.0.5 on Linux arm v4.19.75-v7l+ at Tue Dec 17 10:52:58 EST 2019 [main]
2019-12-17 10:53:08,912 gui3.Apps3??????????????????????????? INFO? - Starting with profile NCE_USB.3f722756 [main]
2019-12-17 10:53:09,228 node.NodeIdentity???????????????????? INFO? - Using c6f3cdb0-4677-11e9-8000-b827eb71f7dc as the JMRI storage identity for profile id 3f722756 [AWT-EventQueue-0]
2019-12-17 10:53:09,330 jmrix.ConnectionConfigManager???????? INFO? - No local configuration found. [main]
2019-12-17 10:53:09,706 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "NCE" [main]
2019-12-17 10:53:09,709 jmrix.AbstractSerialPortController??? WARN? - old profile format port speed value converted [main]
2019-12-17 10:53:10,074 usbdriver.UsbDriverAdapter??????????? INFO? - NCE USB ttyUSB0? port opened at 9600 baud [main]
2019-12-17 10:53:10,213 swing.JmriJTablePersistenceManager??? INFO? - Table preferences not found.
This is expected on the first time the "NCE_USB" profile is used on this computer. [main]
2019-12-17 10:53:11,676 withrottle.FacelessServer???????????? INFO? - Published ZeroConf service for 'rpi-jmri nce usb._withrottle._tcp.local.' on 192.168.6.1:12090 [WiThrottleServer]
2019-12-17 10:53:11,679 withrottle.FacelessServer???????????? INFO? - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
2019-12-17 10:53:12,176 server.WebServer????????????????????? INFO? - Starting Web Server on port 12080 [WebServer]
2019-12-17 10:53:13,541 server.WebServer????????????????????? INFO? - Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=5.2.0} [WebServer]
2019-12-17 10:53:13,632 simpleserver.SimpleServer???????????? INFO? - JMRI SimpleServer started on port 2048 [AWT-EventQueue-0]
2019-12-17 10:53:13,657 util.FileUtilSupport????????????????? INFO? - File path program: is /home/pi/JMRI/ [main]
2019-12-17 10:53:13,659 util.FileUtilSupport????????????????? INFO? - File path preference: is /home/pi/JMRI_UserFiles/ [main]
2019-12-17 10:53:13,662 util.FileUtilSupport????????????????? INFO? - File path profile: is /home/pi/.jmri/NCE_USB/ [main]
2019-12-17 10:53:13,664 util.FileUtilSupport????????????????? INFO? - File path settings: is /home/pi/.jmri/ [main]
2019-12-17 10:53:13,666 util.FileUtilSupport????????????????? INFO? - File path home: is /home/pi/ [main]
2019-12-17 10:53:13,667 util.FileUtilSupport????????????????? INFO? - File path scripts: is /home/pi/JMRI_UserFiles/jython/ [main]
2019-12-17 10:53:20,243 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 10:53:20,358 nce.NceConnectionStatus?????????????? WARN? - Incorrect or no response from NCE command station [nce.NceTrafficController Transmit thread]
2019-12-17 10:53:30,367 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 1 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 10:53:30,472 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2019-12-17 10:53:40,483 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 2 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 10:53:40,589 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2019-12-17 10:53:40,594 jmrix.AbstractMRTrafficController???? WARN? - timeout flushes receive buffer: 00 [nce.NceTrafficController Receive thread]
2019-12-17 10:53:50,593 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 3 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 10:53:50,696 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2019-12-17 10:54:00,699 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 4 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 10:54:00,802 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2019-12-17 10:54:10,807 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 5 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 10:54:10,911 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2019-12-17 10:54:10,916 jmrix.AbstractMRTrafficController???? WARN? - timeout flushes receive buffer: 00 [nce.NceTrafficController Receive thread]
2019-12-17 10:54:20,914 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 6 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 10:54:21,018 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2019-12-17 10:54:31,023 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 7 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 10:54:31,125 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2019-12-17 10:54:41,130 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 8 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 10:54:41,233 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2019-12-17 10:54:41,237 jmrix.AbstractMRTrafficController???? WARN? - timeout flushes receive buffer: 00 [nce.NceTrafficController Receive thread]
2019-12-17 10:54:51,236 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 9 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 10:54:51,339 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]

LOG 2
This is the log with the correct settings. using version 7 instead of 6 and 19200.

2019-12-17 11:03:03,367 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main]
2019-12-17 11:03:03,669 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: /home/pi/.jmri/log/messages.log [main]
2019-12-17 11:03:03,672 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: /home/pi/.jmri/log/session.log [main]
2019-12-17 11:03:03,724 apps.AppsBase???????????????????????? INFO? - DecoderPro version 4.17.7+R5bc91de starts under Java 11.0.5 on Linux arm v4.19.75-v7l+ at Tue Dec 17 11:03:03 EST 2019 [main]
2019-12-17 11:03:12,581 gui3.Apps3??????????????????????????? INFO? - Starting with profile NCE_USB.3f722756 [main]
2019-12-17 11:03:12,848 node.NodeIdentity???????????????????? INFO? - Using c6f3cdb0-4677-11e9-8000-b827eb71f7dc as the JMRI storage identity for profile id 3f722756 [AWT-EventQueue-0]
2019-12-17 11:03:13,408 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "NCE" [main]
2019-12-17 11:03:13,780 usbdriver.UsbDriverAdapter??????????? INFO? - NCE USB ttyUSB0? port opened at 19200 baud [main]
2019-12-17 11:03:15,427 withrottle.FacelessServer???????????? INFO? - Published ZeroConf service for 'rpi-jmri nce usb._withrottle._tcp.local.' on 192.168.6.1:12090 [WiThrottleServer]
2019-12-17 11:03:15,430 withrottle.FacelessServer???????????? INFO? - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
2019-12-17 11:03:15,941 server.WebServer????????????????????? INFO? - Starting Web Server on port 12080 [WebServer]
2019-12-17 11:03:17,368 server.WebServer????????????????????? INFO? - Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=5.2.0} [WebServer]
2019-12-17 11:03:17,635 simpleserver.SimpleServer???????????? INFO? - JMRI SimpleServer started on port 2048 [AWT-EventQueue-0]
2019-12-17 11:03:17,656 util.FileUtilSupport????????????????? INFO? - File path program: is /home/pi/JMRI/ [main]
2019-12-17 11:03:17,658 util.FileUtilSupport????????????????? INFO? - File path preference: is /home/pi/JMRI_UserFiles/ [main]
2019-12-17 11:03:17,664 util.FileUtilSupport????????????????? INFO? - File path profile: is /home/pi/.jmri/NCE_USB/ [main]
2019-12-17 11:03:17,666 util.FileUtilSupport????????????????? INFO? - File path settings: is /home/pi/.jmri/ [main]
2019-12-17 11:03:17,669 util.FileUtilSupport????????????????? INFO? - File path home: is /home/pi/ [main]
2019-12-17 11:03:17,671 util.FileUtilSupport????????????????? INFO? - File path scripts: is /home/pi/JMRI_UserFiles/jython/ [main]
2019-12-17 11:03:23,956 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 11:03:24,068 nce.NceConnectionStatus?????????????? WARN? - Incorrect or no response from NCE command station [nce.NceTrafficController Transmit thread]
2019-12-17 11:03:34,090 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 1 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 11:03:34,197 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2019-12-17 11:03:34,206 jmrix.AbstractMRTrafficController???? WARN? - timeout flushes receive buffer:? [nce.NceTrafficController Receive thread]
2019-12-17 11:03:44,206 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 2 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-12-17 11:03:44,313 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2019-12-17 11:03:44,322 jmrix.AbstractMRTrafficController???? WARN? - timeout flushes receive buffer: 30 [nce.NceTrafficController Receive thread]
2019-12-17 11:03:44,332 nce.NceConnectionStatus?????????????? INFO? - NCE EPROM revision = 7.3.3 [AWT-EventQueue-0]


LOG 3
This is logs after everything has been initialized once. ?

2019-12-17 11:19:29,634 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main]
2019-12-17 11:19:29,949 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: /home/pi/.jmri/log/messages.log [main]
2019-12-17 11:19:29,952 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: /home/pi/.jmri/log/session.log [main]
2019-12-17 11:19:30,004 apps.AppsBase???????????????????????? INFO? - DecoderPro version 4.17.7+R5bc91de starts under Java 11.0.5 on Linux arm v4.19.75-v7l+ at Tue Dec 17 11:19:29 EST 2019 [main]
2019-12-17 11:19:35,153 gui3.Apps3??????????????????????????? INFO? - Starting with profile NCE_USB.3f722756 [main]
2019-12-17 11:19:35,455 node.NodeIdentity???????????????????? INFO? - Using c6f3cdb0-4677-11e9-8000-b827eb71f7dc as the JMRI storage identity for profile id 3f722756 [AWT-EventQueue-0]
2019-12-17 11:19:35,985 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "NCE" [main]
2019-12-17 11:19:36,356 usbdriver.UsbDriverAdapter??????????? INFO? - NCE USB ttyUSB0? port opened at 19200 baud [main]
2019-12-17 11:19:36,528 nce.NceConnectionStatus?????????????? INFO? - NCE EPROM revision = 7.3.3 [AWT-EventQueue-0]
2019-12-17 11:19:37,867 withrottle.FacelessServer???????????? INFO? - Published ZeroConf service for 'rpi-jmri nce usb._withrottle._tcp.local.' on 192.168.6.1:12090 [WiThrottleServer]
2019-12-17 11:19:37,870 withrottle.FacelessServer???????????? INFO? - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
2019-12-17 11:19:38,403 server.WebServer????????????????????? INFO? - Starting Web Server on port 12080 [WebServer]
2019-12-17 11:19:39,927 server.WebServer????????????????????? INFO? - Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=5.2.0} [WebServer]
2019-12-17 11:19:40,380 simpleserver.SimpleServer???????????? INFO? - JMRI SimpleServer started on port 2048 [AWT-EventQueue-0]
2019-12-17 11:19:40,399 util.FileUtilSupport????????????????? INFO? - File path program: is /home/pi/JMRI/ [main]
2019-12-17 11:19:40,401 util.FileUtilSupport????????????????? INFO? - File path preference: is /home/pi/JMRI_UserFiles/ [main]
2019-12-17 11:19:40,404 util.FileUtilSupport????????????????? INFO? - File path profile: is /home/pi/.jmri/NCE_USB/ [main]
2019-12-17 11:19:40,406 util.FileUtilSupport????????????????? INFO? - File path settings: is /home/pi/.jmri/ [main]
2019-12-17 11:19:40,408 util.FileUtilSupport????????????????? INFO? - File path home: is /home/pi/ [main]
2019-12-17 11:19:40,410 util.FileUtilSupport????????????????? INFO? - File path scripts: is /home/pi/JMRI_UserFiles/jython/ [main]

This is what the log doesn't reveal. The NCE USB Interface has a 20 second lock up cycle. During that time the NCE USB Interface seems to be inaccessible.?
Any connection although good will fail. I think this is where I interjected the power cycle to start the NCE USB Interface again. I noticed that Decoder Pro
aligned itself verses Panel Pro did not.

The image that Steve provides for us Starts Panel Pro.?

In any case this is what I got. If you go back in this thread you will see that I said I did this like an ant and it could be better ways. If you ever watch ants
some times they will travel ten feet up the wall over two and back 5 and be 4 feet from the original point.

If we can get a procedure down where anyone can get going on the first try then I'm happy.
I need to get off here and catch up.

Inobu ?

Join [email protected] to automatically receive all group messages.