cloning set up

49 views
Skip to first unread message

Bob

unread,
Apr 27, 2026, 9:46:47 PMApr 27
to MPF Users
we've had an mpf programmed game (8 Ball), using a cobra board up and running for some time. Our end goal is to have interchangeable tables.

So now it's time to program the second table. I figure I would just clone the disk of the running machine and use that at home. I set that up and the computer fired up so I then went on to constructing a duplicate cobra board set up.
I finished that but the new machine will not fire the game.
The logs (attached ) seem to indicate a port issue with the chips but I've actually reprogrammed the chops the same way as the original table and the ports match.
Any ideas why this is not firing?  
2026-04-26-21-31-53-mc-DESKTOP-8DSP8H2.log
2026-04-26-21-31-53-mpf-DESKTOP-8DSP8H2.log

Max Power

unread,
Apr 27, 2026, 10:29:31 PMApr 27
to mpf-...@googlegroups.com
The logs show you are communicating with the boards, the boards are returning an error about a switch number not existing.

--
You received this message because you are subscribed to the Google Groups "MPF Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mpf-users+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/mpf-users/45721923-88f4-4a31-b113-860f1a369f53n%40googlegroups.com.

cobra18t

unread,
Apr 28, 2026, 8:26:20 PMApr 28
to MPF Users
Send the output of "mpf hardware scan"

What does your opp section config look like? You said you reprogrammed the chips, did the serial numbers get updated appropriately?

Bob

unread,
Apr 29, 2026, 6:20:52 AM (14 days ago) Apr 29
to MPF Users
thanks for the input everyone. I put a # on the code lines with the 3 switches that were providing errors (thanks for directing me to that, not sure how i missed that one) and the game fired up. 
I'm not sure why they don't work on this machine but i think it may have something to do with the J4 & J5 address updates i recall with this board.
Trying to get the monitors to work now. we had a 3 monitor setup running on the original machine . backglass, dmd and a control monitor, can't seem to get the backglass on any monitor but I'm still hacking through it on my own right now. 
thanks again everyone!

Bob

unread,
May 1, 2026, 11:47:27 PM (11 days ago) May 1
to MPF Users
well, it seems i still have a problem.

The error log is telling me that switches 1-0-24, 1-0-31, 1-0-30 & 1-0-29 do not exist.
so i went into my config.yam file and put a # in front of the following 8 lines.
    s_Spinner:
        number: 1-0-24
    s_10PtUp:
        number: 1-0-31
    s_10PtMid:
        number: 1-0-30
    s_10PtLow:
        number: 1-0-29

Machine then fires up.  Testing some more, I found I have to comment out all 8 lines out of the code.

These switches are on my cobra board so what gives?
2026-05-01-23-31-47-mpf-DESKTOP-8DSP8H2.log
config.yaml

cobra18t

unread,
May 2, 2026, 1:30:17 AM (11 days ago) May 2
to MPF Users
Could you send the output of "mpf hardware scan"

I suspect you have an OPP config in the processor board that is incompatible with the switches you have chosen. Each of those 4 switches are not available if you have a switch matrix enabled.

Bob

unread,
May 2, 2026, 7:47:25 AM (11 days ago) May 2
to MPF Users
Capture.JPG

Thanks so much for the reply, really appreciate it.

here's the output.
I used CobraPin_Board0.py for board 0 and CobraPin_Board1_Direct.py for board 1

Bob

unread,
May 2, 2026, 9:14:22 AM (11 days ago) May 2
to MPF Users
ok i fixed it. It seems board 1 was configured as matrix not direct.
 looking back I wasn't case sensitive with my python commands :) 
working now.
thanks for the help! 


cobra18t

unread,
May 2, 2026, 6:53:24 PM (10 days ago) May 2
to MPF Users
Glad you fixed it.

Including this for future readers... You can use that hardware scan to find issues like that in the future. In the scan you can see that Board 1 has switches 32-95 which are only there with a matrix. Also, it was missing the switch numbers you were trying to assign.
Reply all
Reply to author
Forward
0 new messages