Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Locked
Possible bug doing a Reset / USER PRESET 1 on a TCS WOW-121 Steam Decoder.
#tcs
Tim Kelley
Good morning,
I believe there may be a possible bug in JMRI / DecoderPro when using a TCS WOW-121 Steam Decoder. I have the latest test release of JMRI running (5.3.5). I have a Digitrax DCS240+ command station and a SoundTraxx PTB-100 Programming track booster. I have a dedicated programming track with a Broadway Limited Imports HO Steam Locomotive. This locomotive has a TCS B-MB4 motherboard and a TCS WOW-121 Steam decoder installed in it. So far it seems to be working well. I am on the programming track / LocoNet / Mode = Direct Byte. I started up a LocoNet monitor window so I could see what was going on. When I attempted to do a Reset / Factory Reset / USER PRESET 1, the LocoNet Monitor window indicated that it was doing a "Write Byte in Paged Mode on Service Track". Shouldn't that have been "Write Byte in Direct Mode on Service Track"??? I also noticed that when doing a Reset / Factory Reset / "Entire Decoder (except speed table)" it also did a "Write Byte in?Paged?Mode on Service Track". The "reset entire decoder" DOES seem to reset the decoder. The USER PRESET 1 factory reset does NOT appear to be working. However it is writing the correct values to the correct CVs in the correct order. (CV201=5, CV202=0, CVC203=0, CV204=8). I believe I am doing these things correctly. However I'm kind of a newbie so I may not be understanding things correctly. Is there a process for reporting a possible JMRI / DecoderPro bug? Thanks, have a good day! Tim |
JMRI has a bunch of WOW 121 models:
WOWDiesel V5 121 WOW Diesel 121 SS2 WOW Diesel 121 SS3 WOW Diesel 121 SS4 WOW Diesel 121 SS4 Prime WOW Diesel 121 EMD WOW Sound 121 WOW Steam 121 SS4 Could you say which you’re using please? Bob On Apr 30, 2023, at 9:19 AM, Tim Kelley <tim.kelley@...> wrote:— Bob Jacobsen rgj1927@... |
Is this related to the TCS-Users thread at /g/TCS-Users/topic/98477162 ?
It sounds like the decoder isn’t executing the reset, at least not in the way you’re expecting. The are some documents for the decoder (I think) at The “Programming Guide” (WOWDiesel Sound Manual V4.pdf) says that reset sequence “Loads Preset #1” . On page 21 that says “you can call up one of 3 User Presets that you may have saved using (Audio Assist). Have you saved one of those for Preset #1? Bob On Apr 30, 2023, at 9:44 AM, Tim Kelley <tim.kelley@...> wrote:— Bob Jacobsen rgj1927@... |
Tim Kelley
Good morning Bob,
I've been through many of those documents. "Reset / Factory Reset / USER PRESET 1" is what TCS calls their "Nuclear Reset". It is my understanding that if you have NEVER saved to USER PRESET 1, then doing a Reset / Factory Reset / USER PRESET 1 will load the factory default settings which is what I am trying to accomplish. My question is if I am programming in Direct Byte Mode on the programming track then why is DecoderPro writing the reset sequences in Paged Mode. That's what I was seeing in LocoNet Monitor. That doesn't seem correct to me. -Tim |
The decoder file (xml/decoders/TCS_WOW_Diesel04.xml) has this for its reset definitions:
<resets> <mode>PAGEMODE</mode> <mode>DIRECTMODE</mode> <mode>OPSBYTEMODE</mode> <factReset label="Entire decoder (except speed table)" CV="8" default="2"/> <factReset label="Entire decoder (except address and speed table)" CV="T2CV.5.0" default="2"/> <factReset label="All sound settings" CV="T2CV.5.0" default="3"/> <factReset label="Sound Function mappings" CV="T2CV.5.0" default="4"/> <factReset label="Sound CV's" CV="T2CV.5.0" default="6"/> <factReset label="Sound type volumes" CV="T2CV.5.0" default="7"/> <factReset label="User Preset 1" CV="T2CV.5.0" default="8"/> <factReset label="User Preset 2" CV="T2CV.5.0" default="9"/> <factReset label="User Preset 3" CV="T2CV.5.0" default="10"/> <factReset label="Quick Lighting Preset: Standard Ditch Lights" CV="8" default="10"/> <factReset label="Quick Lighting Preset: Standard Trolley" CV="8" default="11"/> <factReset label="Quick Lighting Preset: Modified Trilley" CV="8" default="12"/> </resets> That means it prefers paged mode, if the command station currently has that available (not all do). If you want to try doing the reset in direct mode you can remove the “PAGEMODE” line from the file. Alternately, as an experiment, you could try sending those CV operations using the “Single CV programmer” which lets you set the mode directly. Although it’s worthwhile to try these, I don’t expect that changing the programming mode will change the behavior of the decoder. If it’s accepting the writes (which it sounds like it is, as there’s no error indication), the write mode shouldn’t matter. Bob On Apr 30, 2023, at 10:07 AM, Tim Kelley <tim.kelley@...> wrote:— Bob Jacobsen rgj1927@... |
Tim Kelley
Bob,
#1.) We are using TCS Steam WOW-121. Your prior post references diesel.....which is incorrect. #2.) I don't know what " <factReset label="User Preset 1" CV="T2CV.5.0" default="8"/> " T2CV.5.0 is......???? The CORRECT way to do a USER PRESET 1 reset is CV201 = 5 / CV202 = 0 / CV203 = 0 / CV204 = 8 Thanks, Tim |
Ah, my mistake on diesel vs steam. The correct file is 'xml/decoders/TCS_WOW_steam04.xml’. The reset sections in the files are the same.
JMRI’s CV="T2CV.5.0" default=“8” does exactly what you expect, and what you’re seeing: CV201 = 5 / CV202 = 0 / CV203 = 0 / CV204 = 8 Bob On Apr 30, 2023, at 10:22 AM, Tim Kelley <tim.kelley@...> wrote:— Bob Jacobsen rgj1927@... |
Tim Kelley
Thanks Bob, Really appreciate the help...........!!
I changed the reset section of the TCS Wow Steam 04. xml decoder file to this......... I was trying to get DecoderPro to use Direct Byte Mode instead of Paged Mode. Maybe I messed this up! I swapped lines 2 - 3... ????? <resets> ??????? <mode>DIRECTMODE</mode> ??????? <mode>PAGEMODE</mode> ??????? <mode>OPSBYTEMODE</mode> ??????? <factReset label="Entire decoder (except speed table)" CV="8" default="2"/> ??????? <factReset label="Entire decoder (except address and speed table)" CV="T2CV.5.0" default="2"/> ??????? <factReset label="All sound settings" CV="T2CV.5.0" default="3"/> ??????? <factReset label="Sound Function mappings" CV="T2CV.5.0" default="4"/> ??????? <factReset label="Chuff timing" CV="T2CV.5.0" default="5"/> ??????? <factReset label="Sound CV's" CV="T2CV.5.0" default="6"/> ??????? <factReset label="Sound type volumes" CV="T2CV.5.0" default="7"/> ??????? <factReset label="User Preset 1" CV="T2CV.5.0" default="8"/> ??????? <factReset label="User Preset 2" CV="T2CV.5.0" default="9"/> ??????? <factReset label="User Preset 3" CV="T2CV.5.0" default="10"/> ?? ???? ??? <factReset label="Quick Lighting Preset: Standard Ditch Lights" CV="8" default="10"/> ?? ???? ??? <factReset label="Quick Lighting Preset: Standard Trolley" CV="8" default="11"/> ?? ???? ??? <factReset label="Quick Lighting Preset: Modified Trolley" CV="8" default="12"/> ????? </resets> Here's what got spit out in LocoNet monitor when I did a Reset / Factory Reset / USER PRESET 1........... I noticed it is still operating in paged mode even though I switched things around so that it would prefer Direct Mode. At least that's what I thought I did.......... Byte Write in Paged Mode on Service Track: CV201 value 5 (0x05, 00000101b). LONG_ACK: The Slot Write command was accepted. Programming Response: Write Byte in Paged Mode on Service Track Was Successful: CV201 value 5 (0x05, 00000101b). Byte Write in Paged Mode on Service Track: CV202 value 0 (0x00, 00000000b). LONG_ACK: The Slot Write command was accepted. Programming Response: Write Byte in Paged Mode on Service Track Was Successful: CV202 value 0 (0x00, 00000000b). Byte Write in Paged Mode on Service Track: CV203 value 0 (0x00, 00000000b). LONG_ACK: The Slot Write command was accepted. Programming Response: Write Byte in Paged Mode on Service Track Was Successful: CV203 value 0 (0x00, 00000000b). Byte Write in Paged Mode on Service Track: CV204 value 8 (0x08, 00001000b). LONG_ACK: The Slot Write command was accepted. Programming Response: Write Byte in Paged Mode on Service Track Was Successful: CV204 value 8 (0x08, 00001000b). So what do you think? Any ideas? Thanks, Tim |
I’m a bit surprised that didn’t work. Let me do some experiments…
Bob On Apr 30, 2023, at 4:32 PM, Tim Kelley <tim.kelley@...> wrote:— Bob Jacobsen rgj1927@... |
Tim Kelley
Good morning Bob,
Any news? I know that to perform this Nuclear Reset (AKA USER PRESET 1 RESET) CV201, CV202, CV203, and CV204 must be written in order with the appropriate values. Would you expect that writing those CVs in Direct Mode versus Page Mode would make a difference. I'm not sure I understand what the difference is. Thanks, have a good day! Tim |
Response by Dan (TCS) to the reset issue
/g/TCS-Users/message/13634 -- Peter Ulvestad JMRI Users Group Moderator ( ) Tam Valley Group Moderator ( ) Sprog-DCC Group Moderator ( ) Edmonton Model Railroad Association ( ) |
Tim Kelley
Thanks Peter......I saw / read his post. I think we eliminated that this could possibly be a DecoderPro issue. Thanks, have a good evening! Tim
On Tuesday, May 9, 2023 at 06:27:37 PM CDT, Peter Ulvestad <ulvestad@...> wrote:
Response by Dan (TCS) to the reset issue /g/TCS-Users/message/13634 -- Peter Ulvestad JMRI Users Group Moderator ( ) Tam Valley Group Moderator ( ) Sprog-DCC Group Moderator ( ) Edmonton Model Railroad Association ( ) |
Tim Kelley
Just confirming that this issue is NOT a JMRI / DecoderPro problem. (yeah!!!!)
NOTE: This problem is on TCS WOW-121 Steam Decoders Version 4. If anybody cares you can NOT do a Nuclear Reset (also known as a LOAD USER PRESET 1 RESET) with a Digitrax DCS240+ command station on the Programming Track. You MUST do it Programming on the Main. The reason is the Nuclear Reset takes a few seconds to perform and the command station turns off power to the programming track before the nuclear reset can complete. The DCS240+ shuts power off to the programming track when it thinks the CV write should have completed. In this case the nuclear reset has not completed yet so it just doesn't work. Thanks for all the help! Tim |
to navigate to use esc to dismiss