DDX programming mode

Moderator: Moderators

DDX programming mode

Postby ViktorHotel » 09.06.2009, 17:30

Hi Rocrailers,

can someone tell me something about the CV programming mode implemented in DDX.
Is it Direct Mode or Paged Mode ?
(http://www.opendcc.de/info/decoder/dcc_cv.html)

I noticed that my TAMS LD-W-32 only works in Direct Mode with my external programmer (a MERG Standalone Programmer). In Paged Mode I get no ack. This maybe the reason why the programming of the new TAMS decoders doesn't work with DDX (if DXX work only in Paged Mode) ?

best regards,
Volker
ViktorHotel
 

Postby rjversluis » 09.06.2009, 18:19

Hi Volker,

direct mode is fast and page mode is slow.
I must check which method DDX uses, but I suppose it is page mode.
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby ron&bram » 09.06.2009, 19:11

Hi Rob,

The comments in nmra.c suggest that DDX uses direct cv byte read/write.

For what it's worth,

Best regards, Ronald
Best regards, Viele Grüsse, vriendelijke groeten, Ronald :rr_cap:
GCA85/50/93/145/146/153 Loconet, Twincenter+booster for locs, seperate booster for accessory decoders, dedicated laptop with XP and Ubuntu for Rocrail, AndRoc, LGB indoor OTF layout
ron&bram
 

Postby cwichmann » 09.06.2009, 21:35

Hi Guys,

Ronald is right, page mode is not implemented in DDX.
It was at the time i build Paco's NanoX for testing some months ago. I mailed Tobbe that NanoX is able to read decoders in page mode very fast but with my N-Gauge loco's not very reliable. Tobbe answered me that this is for developement in DDX .
cwichmann
 

Postby ViktorHotel » 11.06.2009, 10:53

Hi,

It seems that DDX uses the direct mode. That is no disadvantage.

Now I need some help. I am not able to write in any CV the value "60"(111100).
Can somebody with DDX/ ORD-1 make a short programming test, please ?

thanks,
best regards
Volker

Update:
Hi Rocrailers,
:roll: yes, it really sounds strange, but it drives me crazy.
I tested the programming with two different decoders. If I write a value of "60" or binary "0111100" nothing happens. The decoders still have the old value, I get no "ack". If I write "59" or "61" the decoders accept the value. But I don't know why the "60" doesn't work.
very strange? :idea: something wrong in sending preambles, resets before programming...?
ViktorHotel
 

Postby ViktorHotel » 12.06.2009, 20:37

Hi,
:?:
further tests with the following result:
not working values:
126 (01111110)
60 (00111100)

working values:
24 (00011000)
255 (11111111)
61
59
125
127

whats wrong ?

best regards,
Volker
ViktorHotel
 

Postby ViktorHotel » 14.06.2009, 09:07

Hi Rocrailer,

another update:
If I try to program the values "60" and "126" with another ORD-1 the programming is still not possible !
:cry:
Please, is somebody (with ddx/ord-1) able to reproduce this strange behaviour or not ?

Thanks,
Volker
ViktorHotel
 

Postby rjversluis » 14.06.2009, 10:07

Hi Volker,

I have no active ORD-1 at this moment, but there are decoders which do not function 100% with the out of the norm DCC signal generated by DDX.

Look at the list of decoders in the Wiki:
http://wiki.rocrail.net/doku.php?id=ddx ... _whitelist
Best Regards, Rob.
:!: PS: Do not forget to attach the usual files.
:!: PS: Nicht vergessen die übliche Dateien an zu hängen.
[ macOS - Linux] - [ N: CBus - CAN-GCA ] - [ 0: RocNetNode - GCA-Pi ]
rjversluis
Site Admin
 

Postby ViktorHotel » 14.06.2009, 11:22

Hi rob,
I know that there are limitations of DDX/ORD-1 with some decoders.
I hope it is possible, to fix these limitations.

I tried other scenarios:
1) after programming a loco with CV1=60 with an external programmer it's impossible to control the loco.
2) programming a CV60 is possible (except these two values 60 + 126)

So why it is possible to programm a CV60 but not a value 60 in any CV ?

sorry for my obstinacy,
thanks

Volker
ViktorHotel
 

Postby cwichmann » 14.06.2009, 12:44

Hi Volker,

i tested a Kuehn N025 Decoder with ORD-1 and DDX. Programming CV1 = 60 works. Reading this value is possible too. Afterwards i tested to program CV1 = 126, works too.
So i agree with Rob: Some Decoders does not work properly with ORD-1 and DDX.
Wich Decoder do you use?
cwichmann
 

Postby ViktorHotel » 14.06.2009, 18:37

Hi Rob, hi Christian,
I agree with you that some decoders don't work with DDX/ORD-1. Maybe this state could be changed with code improvements, maybe not. I don't know.

I use TAMS LD-W-32 , ServoDec8 from Joka electronic and Uhlenbrock 76200.

(for the Black/white list (without engagement)):

The TAMS LD-W-32 decoder works reliable in "driving mode". Programming is only possible in direct mode with the above limitations(Value 60+126).

The Joka ServoDec8 (www.jokashop.de) doesn't work reliable in "driving Mode". Programming is possible with the above limitations(Value 60+126).

The Uhlenbrock 76200 decoder works reliable in both modes.

regards,
Volker
ViktorHotel
 


Return to ddx