Skip to content
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

Closed
Prosyne opened this issue Jan 4, 2019 · 13 comments
Closed

MRC system ProgrammerException #6396

Prosyne opened this issue Jan 4, 2019 · 13 comments

Comments

@Prosyne
Copy link

Prosyne commented Jan 4, 2019

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 ?

@dheap
Copy link
Contributor

dheap commented Jan 5, 2019 via email

@Prosyne
Copy link
Author

Prosyne commented Jan 5, 2019

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
Then: Nothing happened. Clicking the box again 10 - 15 minutes later brought up the usual Error.

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?

@KenC57
Copy link
Contributor

KenC57 commented Jan 5, 2019 via email

@dheap
Copy link
Contributor

dheap commented Jan 5, 2019

@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.

.

@Prosyne
Copy link
Author

Prosyne commented Jan 5, 2019

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

JMRI console.txt

@KenC57
Copy link
Contributor

KenC57 commented Jan 5, 2019 via email

@Prosyne
Copy link
Author

Prosyne commented Jan 6, 2019

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.

@thenoel1
Copy link

Any update on this? I am having the exact same issue. MRC, Programming mode "Automatic" using Win 10

@danielb987
Copy link
Contributor

I'm closing this issue since there has been no comment on the original problem for ove a year.

@thenoel1
If you still have the problem, please open a new issue. You can refer to this issue if you want by writing it's number in the new issue: #6396.

@p10tyr
Copy link

p10tyr commented Apr 29, 2024

I have been having this problem. Not sure what is going on.
I had a nano programmed with dcc-ex 4.0 and used to work just fine.
I then installed the latest version of dcc-ex 5 and used a raspberry pi with pi-jmri image.

i kept getting the same cv-9 -- then locked up with in use
i also then installed JMRI on Windows again and the exact same issue

i also downgraded dcc-ex to devel-202306031954Z, Version: 4.2.54 with the same issues.

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.
with it connected to programming or main track. same outputs as below

18:41:13.030: [V 8 0]  TX: Prog Verify Cmd:  CV: 8, startVal: 0
18:41:13.030: [* Opcode=V params=2 *]   RX: DIAG: Opcode=V params=2 
18:41:13.043: [* p[0]=8 (0x8) *]   RX: DIAG: p[0]=8 (0x8) 
18:41:13.046: [* p[1]=0 (0x0) *]   RX: DIAG: p[1]=0 (0x0) 
18:41:13.048: [X]   RX: No Sensor/Turnout/Output Reply 

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

@p10tyr
Copy link

p10tyr commented Apr 29, 2024

Found the problem. I disabled programming support after reading it should be disabled on the nano.. and didn't realise what that meant- i then blindly copied to config file to aurduino and kept uploading the code with that config
image

I only realised it must be something n00b because i couldn't even do a manual <w 4 8> or even a simple <r 1> to reset my lias .... doh!

Wonder if ex-dcc could return a message like.. programming disabled.

@danielb987
Copy link
Contributor

@p10tyr

Wonder if ex-dcc could return a message like.. programming disabled.

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.

@p10tyr
Copy link

p10tyr commented Apr 30, 2024

@p10tyr

Wonder if ex-dcc could return a message like.. programming disabled.

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
#13066

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants