-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MRC system ProgrammerException #6396
Comments
This sort of error is usually caused by starting an operation and then starting it again or starting something else before the first has finished.
Example would be double-clicking on a button (Read, Write, Identify) rather than single-clicking.
Also try going to Preferences->Roster->Programmer and uncheck the "Cache..." and "Confirm..." options. The "Show CV numbers in tooltip" is fine to have on.
… JMRI started, and looked OK, but anything I tried to do resulted in something like:
"Exeption during CV write: jmri.ProgrammerException: programmer in use"
|
Thanks for the quick response Dave Unfortunately, your suggestions didn't help: I fired up JMRI, put a loco on the Program Track, and clicked the Program Track radio button. I selected "New Loco" and made sure to single-click on the "Read type from Decoder" box: The response was: Read MFG ID - CV 8 If I bypass "Read type from Decoder" and manually pick a Decoder to create a Loco profile, then I can't write anything to the Decoder, single clicking or not, without getting that Error. I checked my Java install, and it's the correct version. Note that this is repeatable on both my old ACER and newer HP laptops - even simplifying the system down to: a laptop, base station, MRC Dongle and a piece of track. Any other ideas? |
Did you try both the 'Direct' and 'Paged' programming modes? Depending on
the age of the decoder, some respond better one way or the other.
You might also try the 'Single CV Programmer' as a test. Just try reading CV
1 or 29 for example. Also trying to use the handheld to ask the MRC system
to read a CV, instead of asking JMRI to do it. If the handheld can't get a
successful read, then JMRI won't either.
We need to confirm that the decoder can be read. Some of the MRC decoder,
usually lower than 1800 series, don't read easily. So mention the type of
decoder, if you know it. That might give other clues.
Just tossing these out incase Dave didn't.
…-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.com
www.syracusemodelrr.org
|
@Prosyne Your report indicates that JMRI jams up reading the first CV, possibly due to command station or decoder issues. In that case, the error when you click again is expected behaviour. Please follow up Ken's suggestions. It will help us hugely if you go to the Help->System Console menu item, click Copy to Clipboard and paste that into a message for us all to see. Alternatively, go to the Help->Locations menu item, click on Open Log Files Location, find the session.log file and attach to this issue. . |
Sorry, I don't know what 'Direct' and 'Paged' programming modes are, or how to access them. I could not find anything in JMRI's dropdowns about this. MRC handhelds can read and write CV's; MRC's Software can write speed tables to the CV's. I can run the MRC throttle inside JMRI. Honestly, I only installed JMRI for the speed tables, but MRC come pretty close with theirs. JMRI won't read or write anything to an NCE D13SR or two types of LaisDCC decoder. I'm attaching the console logfile |
Well when you are in any of the programmers, there is a pulldown that shows
which 'programming mode' it is going to use. This has to do with the exact
commands used to try to talk to the decoder. Usual modes are: Paged, Direct,
and Register. Register is the oldest and most restrictive, hardly ever used
any more. Paged and Direct are the frequent ones and Direct is usually
faster.
Looking at the log file you supplied, I have to ask if you loaded the MRC
drivers for the device? While you are opening COM5, if it didn't have the
right driver (Microsoft tends to load a default driver if you don't supply
another driver).
To confirm the connection works, have you tried the throttle in JMRI? If you
can run a loco via the JMRI throttle, that would say we are talking to the
command station just fine. If it doesn't work, that says we are not talking
to the command station correctly. That would point to a connection or driver
issue.
Last thing is knowing which 'throttle id' is set for JMRI and what throttle
id's are used on your layout. JMRI has to be set to something not in use on
the layout. Just one other thought that has caused issues for folk in the
past.
…-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.com
www.syracusemodelrr.org
|
The only pulldown option I see when in programming mode is "Automatic". There seems to be nothing about "Paged" or "Direct" or "Register" type programming anywhere. I was able to use the JMRI throttle when it was first installed with an entry-level Prodigy Express system. I switched to a Prodigy Wireless system with Command Station (in an effort to make it work) but now the JMRI Throttle won't control locomotives at all, except it can switch track power on and off, so it must be communicating with the Command Station. I have 2 handhelds: Cab 1 and Cab 2. The max. cab setting is 4. MRC's Software is Cab 3 when running. DecoderPro3 is set at 4 when running. I have uninstalled JMRI and the dedicated FTDI USB serial drivers, and re-installed them. I've switched Command Stations and Cabs. I've switched Computers and Operating Systems. The MRC software has worked fine with every iteration of this process. It is able to read and write CV's, control locomotives, etc, etc. Its speed table section is just not as pretty or user friendly as JMRI. (as far as I can tell from watching various YouTube videos). Nothing has worked for me. I'm a little frustrated. |
Any update on this? I am having the exact same issue. MRC, Programming mode "Automatic" using Win 10 |
I have been having this problem. Not sure what is going on. i kept getting the same cv-9 -- then locked up with in use i also downgraded dcc-ex to I don't have the paged option just direct. also i did a test with nothing connected so the pins were just floating. clicked detect and same issue.
it really seems like JMRI is waiting for something after that because if i reset the nano i can see the startup command going for dcc-ex with version etc, but JMRI still says busy. Also I can issue commands in serial and it responds. turn track on and off works from JMRI |
If you want that feature to be added, you need to open a new issue on GitHub. This issue is five years old so it's unlikely that anyone will take notice. The only reason I saw your message was because I have replied to this issue before and therefore got emails with your replies. |
Thanks |
I just installed JMRI on an old ACER Laptop running VISTA to run my MRC Express N-scale layout using the MRC serial dongle.
JMRI started, and looked OK, but anything I tried to do resulted in something like:
"Exeption during CV write: jmri.ProgrammerException: programmer in use"
I then tried many hardware substitutions, finally installing JMRI on my new(ish) Win10 laptop, running through an MRC Prodigy Advance, hooked up to a single piece of track, with a single locomotive.
No difference. Tried different locos. Tried rebooting, restarting. Always the same result.
I can run the MRC throttle from inside JMRI and the loco responds fine. I just can't do any programming.
Anyone got an idea what I'm doing wrong ?
The text was updated successfully, but these errors were encountered: