DCC-EX / Support-Planning

DCC++EX Repo to hold project planning documentation and processes
1 stars 1 forks source link

Help with reading loco-decoder #697

Closed fire-bot closed 6 months ago

fire-bot commented 6 months ago

Sent by Stefan Kölsch (Stefan.Koelsch@uib.no). Created by fire.


Dear DCC-Ex Team!

Thanks for your great initiative with DCC-Ex for Arduinos, that is really great!

I am trying to set up DCC-Ex (for a M�rklin train set), but cannot read out the decoder of my loco (M�rklin Loco with Lokpilot 5 decoder); I have followed the steps for ACK DIAG, where it says to send you the log if that fails with r -1. The baud rate is 115200, and I have 4 green lights on the motor shield; I have performed this step on the prog.-track. (Had also tried to read out the decoder with JMRI and the Web-Throttle, but also without success: "DCC Address Read Failed!"). When I turn on the tracks (with <1>) then the lights of the loco go on (both front and back), and I hear a very faint continuous buzzing. The loco had worked previously (a few months ago), but I cannot verify that it works now, as I do not have another digital control system.

I have pasted the log, and it would be fantastic if you could help in any way!

Thank you SO much in advance!

With very best wishes, Stefan

<* LCD2:Power On *> <* TRACK B ALERT 454mA *> <* TRACK B CURRENT (100msec ignore) 334mA *> <* TRACK B NORMAL (after 20msec/23msec) 113mA *> Ack diag on <* ACK baseline=28/83mA Threshold=44/131mA Duration between 2000us and 20000us *> <* VB cv=19 value=0 *> <* NO-ACK after 148mS max=38/113mA pulse=0uS samples=155 gaps=0 *> <* VB cv=19 value=128 *> <* NO-ACK after 149mS max=38/113mA pulse=0uS samples=141 gaps=0 *> <* V0 cv=19 bit=7 *> <* NO-ACK after 143mS max=39/116mA pulse=0uS samples=70 gaps=0 *> <* V0 cv=19 bit=6 *> <* NO-ACK after 146mS max=39/116mA pulse=0uS samples=106 gaps=0 *> <* V0 cv=19 bit=5 *> <* NO-ACK after 144mS max=39/116mA pulse=0uS samples=71 gaps=0 *> <* V0 cv=19 bit=4 *> <* NO-ACK after 145mS max=39/116mA pulse=0uS samples=107 gaps=0 *> <* V0 cv=19 bit=3 *> <* NO-ACK after 146mS max=39/116mA pulse=0uS samples=106 gaps=0 *> <* V0 cv=19 bit=2 *> <* NO-ACK after 149mS max=39/116mA pulse=0uS samples=143 gaps=0 *> <* V0 cv=19 bit=1 *> <* NO-ACK after 145mS max=39/116mA pulse=0uS samples=106 gaps=0 *> <* V0 cv=19 bit=0 *> <* NO-ACK after 148mS max=38/113mA pulse=0uS samples=143 gaps=0 *> <* VB cv=19 value=255 *> <* NO-ACK after 141mS max=39/116mA pulse=0uS samples=33 gaps=0 *> <* V0 cv=29 bit=5 *> <* NO-ACK after 145mS max=39/116mA pulse=0uS samples=106 gaps=0 *> <* V0 cv=17 bit=7 *> <* NO-ACK after 144mS max=38/113mA pulse=0uS samples=71 gaps=0 *> <* V0 cv=17 bit=6 *> <* NO-ACK after 141mS max=38/113mA pulse=0uS samples=34 gaps=0 *> <* LCD0:Retry 17 1 Sum=2 *> <* ACK baseline=27/80mA Threshold=43/128mA Duration between 2000us and 20000us *> <* VB cv=19 value=0 *> <* NO-ACK after 148mS max=39/116mA pulse=0uS samples=154 gaps=0 *> <* VB cv=19 value=128 *> <* NO-ACK after 148mS max=39/116mA pulse=0uS samples=142 gaps=0 *> <* V0 cv=19 bit=7 *> <* NO-ACK after 144mS max=39/116mA pulse=0uS samples=70 gaps=0 *> <* V0 cv=19 bit=6 *> <* NO-ACK after 146mS max=38/113mA pulse=0uS samples=107 gaps=0 *> <* V0 cv=19 bit=5 *> <* NO-ACK after 143mS max=39/116mA pulse=0uS samples=70 gaps=0 *> <* V0 cv=19 bit=4 *> <* NO-ACK after 146mS max=38/113mA pulse=0uS samples=106 gaps=0 *> <* V0 cv=19 bit=3 *> <* NO-ACK after 146mS max=38/113mA pulse=0uS samples=107 gaps=0 *> <* V0 cv=19 bit=2 *> <* NO-ACK after 147mS max=39/116mA pulse=0uS samples=142 gaps=0 *> <* V0 cv=19 bit=1 *> <* NO-ACK after 146mS max=39/116mA pulse=0uS samples=106 gaps=0 *> <* V0 cv=19 bit=0 *> <* NO-ACK after 148mS max=38/113mA pulse=0uS samples=142 gaps=0 *> <* VB cv=19 value=255 *> <* NO-ACK after 141mS max=39/116mA pulse=0uS samples=33 gaps=0 *> <* V0 cv=29 bit=5 *> <* NO-ACK after 146mS max=39/116mA pulse=0uS samples=107 gaps=0 *> <* V0 cv=17 bit=7 *> <* NO-ACK after 144mS max=39/116mA pulse=0uS samples=71 gaps=0 *> <* V0 cv=17 bit=6 *> <* NO-ACK after 146mS max=39/116mA pulse=0uS samples=107 gaps=0 *> <* V0 cv=17 bit=5 *> <* NO-ACK after 146mS max=38/113mA pulse=0uS samples=107 gaps=0 *> <* V0 cv=17 bit=4 *> <* NO-ACK after 148mS max=39/116mA pulse=0uS samples=143 gaps=0 *> <* V0 cv=17 bit=3 *> <* NO-ACK after 146mS max=38/113mA pulse=0uS samples=107 gaps=0 *> <* V0 cv=17 bit=2 *> <* NO-ACK after 147mS max=38/113mA pulse=0uS samples=142 gaps=0 *> <* V0 cv=17 bit=1 *> <* NO-ACK after 148mS max=39/116mA pulse=0uS samples=142 gaps=0 *> <* V0 cv=17 bit=0 *> <* NO-ACK after 150mS max=39/116mA pulse=0uS samples=179 gaps=0 *> <* VB cv=17 value=255 *> <* NO-ACK after 141mS max=39/116mA pulse=0uS samples=33 gaps=0 *> <* Callback(-1) *> <* LCD2:Power Off *>
habazut commented 6 months ago

< LCD2:Power On >

< TRACK B ALERT 454mA >

< TRACK B CURRENT (100msec ignore) 334mA >

< TRACK B NORMAL (after 20msec/23msec) 113mA >

There was a current draw when the track was turned on. That indicates that something is there.

However normally a decoder does not turn on the loco lights just when getting DCC. That seems wrong but I have no idea if the ESU might be different from other decoders.

< ACK baseline=28/83mA Threshold=44/131mA Duration between 2000us and 20000us >

83mA standby is a little high but understandable if lights on.

< NO-ACK after 148mS max=38/113mA pulse=0uS samples=155 gaps=0 > < NO-ACK after 149mS max=38/113mA pulse=0uS samples=141 gaps=0 > (...)

After that, the decoder just does not answer. Not much more we can do from the CS. As the light is on, I suspect some decoder problem.

Harald.