Author Topic: Maybe decoder is dead?  (Read 1555 times)

0 Members and 1 Guest are viewing this topic.

rva1945

  • Crew
  • *
  • Posts: 34
  • Respect: +8
Maybe decoder is dead?
« on: October 14, 2016, 06:58:06 PM »
0
It was gently running at low speed then it stopped, lights out.
It is detected by the programmer, brand, address, everything. When reading or writing CVs it moves (jerks as expected) and the light flashes so connections are ok.
In analog mode, i.e. with DC it runs and even the light effect works.
But does not respond to DCC commands.
Other locos run ok on the tracks.
What happened?

I'm running DCCpp in an Arduino Mega.

I want to reset it, but the CV 8 (210 is the reset code) appears disabled in JMRI. When sending the write command from the Arduino IDE Serial Monitor, it returns -1 which means could not write the value.

?

John

  • Administrator
  • Crew
  • *****
  • Posts: 13411
  • Respect: +3263
Re: Maybe decoder is dead?
« Reply #1 on: October 14, 2016, 07:13:01 PM »
0
I would try to find someone with either an NCE or Digitrax setup, and try to get the decoder reset done there .. I'm not familiar with the arduino setup ..

take a look at the motor voltage settings    vstart, vmid, etc ..

mu26aeh

  • Crew
  • *
  • Posts: 5386
  • Gender: Male
  • Respect: +3609
Re: Maybe decoder is dead?
« Reply #2 on: October 14, 2016, 07:18:03 PM »
0
Need some more information.  What scale, engine, make, decoder do you have ?

C855B

  • Crew
  • *
  • Posts: 10882
  • Respect: +2421
Re: Maybe decoder is dead?
« Reply #3 on: October 14, 2016, 07:22:27 PM »
0
Frankly, the default in a situation like this is to reset the decoder through CV8 and start over. Until you have a way to do that, we're going to be spinning wheels.

Now if you're running JMRI, Decoder Pro should have everything you need, including the ability to reset. I am puzzled why you're getting an indication you cannot do this.
...mike

http://www.gibboncozadandwestern.com

Note: Images linked in my postings are on an HTTP server, not HTTPS. Enable "mixed content" in your browser to view.

There are over 1000 images on this server. Not changing anytime soon.

peteski

  • Crew
  • *
  • Posts: 32993
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +5350
    • Coming (not so) soon...
Re: Maybe decoder is dead?
« Reply #4 on: October 14, 2016, 07:31:36 PM »
0
Just like others said we need more info. Also being able to do a factory reset is pretty much required troubleshooting step.

If the decoder responds to CV read commands and the motor twitches that to me indicates that both the microprocessor (the brain of the decoder) and the motor driver circuitry are working correctly.  If it runs on DC (and lights work too) that confirms that all the decoder circuitry works ok. In DC mode the decoder does not magically bypass all the electronics inside - it still utilizes all the same circuitry which is used in DCC mode.

The problem might be a simple as you addressing the loco using a short instead of long address or vice-versa.
. . . 42 . . .

rva1945

  • Crew
  • *
  • Posts: 34
  • Respect: +8
SOLVED Re: Maybe decoder is dead?
« Reply #5 on: October 15, 2016, 08:38:29 AM »
0
Hi:

I'm using JMRI to program the decoders. This one was not included in the list of identified decoders so I downloaded its xml configuration file from a site, imported it and it was since identified by JMRI.

I couldn't write into CV8 as its tag in the xml file had readonly=true in its properties, which I deleted.
I deleted the entry from the roster, reinstalled the xml config. file, and then I tried to reset writing 210 in CV8, as specified in the manual.  don't know if that worked or not because it seemed to freeze, but some say that is the way the reset works: you don't actually write that value, just trying to do it forces the reset to factory values.

Suddenly, the loco was identified as number 3 (was 550 before), and everything worked fine since. Changed the loco back to 550 later.

In minutes I'll post some pictures and details about my homemade control console.

Thanks,
Robert

C855B

  • Crew
  • *
  • Posts: 10882
  • Respect: +2421
Re: Maybe decoder is dead?
« Reply #6 on: October 15, 2016, 09:53:12 AM »
0
I'm glad we were able to put you in the right direction, although slightly surprised we were of help given the obvious depth of your work in JMRI. Mostly curious - did you try the JMRI Yahoo group first?
...mike

http://www.gibboncozadandwestern.com

Note: Images linked in my postings are on an HTTP server, not HTTPS. Enable "mixed content" in your browser to view.

There are over 1000 images on this server. Not changing anytime soon.

rva1945

  • Crew
  • *
  • Posts: 34
  • Respect: +8
Re: Maybe decoder is dead?
« Reply #7 on: October 15, 2016, 10:33:34 AM »
0
No I didn't try that group, perhaps I should have done it and it would have saved me time. Now the FT is slowlo pulling all the freight cars "zero defect".

R.

John

  • Administrator
  • Crew
  • *****
  • Posts: 13411
  • Respect: +3263
Re: Maybe decoder is dead?
« Reply #8 on: October 15, 2016, 02:17:05 PM »
0
I bet the JMRI folks would appreciate the .xml file as well, if its under GPL license .. it's a great group of people, and they are always looking for contributors .. come check us out ..


rva1945

  • Crew
  • *
  • Posts: 34
  • Respect: +8
Re: Maybe decoder is dead?
« Reply #9 on: October 15, 2016, 02:54:22 PM »
0
John:

I should tell the LDH manufacturer to do it.

peteski

  • Crew
  • *
  • Posts: 32993
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +5350
    • Coming (not so) soon...
Re: Maybe decoder is dead?
« Reply #10 on: October 15, 2016, 04:41:47 PM »
0
You still haven't divulged the manufacturer and model of the decoder.  :|

I could look up using 210 for reset in CV8 (as that is unusual), but I'm lazy.  :D  You are correct, CV8 in all the decoders is a non-standard register. You can read it and write to it but it will not retain the written value (it always comes back with its preset value). But it does recognize the value written to it and responds appropriately.
« Last Edit: October 15, 2016, 04:45:07 PM by peteski »
. . . 42 . . .

rva1945

  • Crew
  • *
  • Posts: 34
  • Respect: +8
Re: Maybe decoder is dead?
« Reply #11 on: October 15, 2016, 05:04:07 PM »
0
You still haven't divulged the manufacturer and model of the decoder.  :|

You want it you got it, but the site is in Spanish:

http://www.ldhtrenes.com.ar/decoders.htm

It runs very well.

peteski

  • Crew
  • *
  • Posts: 32993
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +5350
    • Coming (not so) soon...
Re: Maybe decoder is dead?
« Reply #12 on: October 15, 2016, 06:26:33 PM »
0
You want it you got it, but the site is in Spanish:

http://www.ldhtrenes.com.ar/decoders.htm

It runs very well.
Thanks Robert!  Until now I have never heard of LDH. It is always good to learn about (new to me) manufacturers of DCC decoders.
. . . 42 . . .

rva1945

  • Crew
  • *
  • Posts: 34
  • Respect: +8
Re: Maybe decoder is dead?
« Reply #13 on: October 15, 2016, 07:11:58 PM »
0
Thanks Robert!  Until now I have never heard of LDH. It is always good to learn about (new to me) manufacturers of DCC decoders.

In this link you can download the  Manufacturer ID codes as assigned by the NMR:

http://www.nmra.org/sites/default/files/standards/sandrp/pdf/appendix_a_s-9.2.2.pdf

LDH is 56, from ARG.

peteski

  • Crew
  • *
  • Posts: 32993
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +5350
    • Coming (not so) soon...
Re: Maybe decoder is dead?
« Reply #14 on: October 15, 2016, 07:22:56 PM »
+1
Thanks - I do know about the manufacturers ID list but until just now I didn't know the manufacturer. Besides, I never really tried to go down that list to check wabistes of all the manufacturers listed.  But it is good to know someone who actually uses some obscure (to USA modelers) decoder.
. . . 42 . . .