Diagnostics <D> Command

There are a number of diagnostic facilities under the <D> command, most are harmless but caution is advised.

The ``<D>`` commands are intended for diagnostics only which means that their behaviour can change from one release to another without warning

These commands can be entered directly via the USB serial console or through a Wifi connection to the command station with a tool such as Telnet or Putty. JMRI includes the DCC++ traffic monitor which lets you insert DCC++ serial commands as well. (links required)

<D CABS> Lists the locomotives which the command station is currently managing.

<D RAM> Displays the free RAM on your Arduino.

The following commands turn ON(1) or OFF(0) various diagnostic traces

<D ACK ON|OFF> trace DCC ACK processing when reading/writing on the prog track. [[Diagnostics D ACK Command]]

<D CMD ON|OFF> trace received JMRI commands.

<D WIFI ON|OFF> trace Wifi protocol AT command conversation between Arduino and Wifi hardware.

<D ETHERNET ON|OFF> trace Ethernet conversation between Arduino and Ethernet hardware.

<D WIT ON|OFF> trace WiThrottle protocol conversation of Engine Driver (or other WiThrottle device).

The following commands might help in exceptional circumstances

<D PROGBOOST> When the programming track is switched on with <1> or <1 PROG> it will normally be restricted to 250mA according to NMRA standards. Some loco decoders require more than this, especially sound versions. <D PROGBOOST> temporarily removes this limit to allow the decoder more power. The normal limit will be re-imposed when the programming track is switched off with <0> or <0 PROG>.

Caution

The following command must not be used with locos on the track. It could reprogram or damage you locos!

There may be a time if you are experiencing issues and we need to verify that a signal is being generated and sent to the motorboard. This test will allow you to see if the signal is varying without having to connect an oscilloscope or a packet analyzer.

<D DCC SLOW> This runs the DCC signal at 512 times slower than normal so you can watch a LED blinking out the DCC waveform. It’s also fun to watch. But remember, to not place your locos on the track with this function running!

Reset with <D DCC NORMAL>.