Spike 2 Godzilla Pro MPF Setup

81 views
Skip to first unread message

Mike DiGiovanni

unread,
Jun 11, 2023, 7:44:09 AM6/11/23
to MPF Users
Hi
I'm trying to get MPF working with Godzilla Pro/Spike 2, but I am unable to connect to a terminal on the Godzilla machine.

Going through different Google Group threads, it sounds like the official docs might be tailored more towards Spike rather than Spike 2. So I tried to piece together some differences, I'm not sure I got all of them.

Here's where I currently am.
I used Linux and dd to copy my Stern SD card to an image, then used that image on a new SD card. I popped the new SD card in and played a few games. Seemed fine.

After validating the SD card. I ADDED the following line to /etc/inittab
USB0:2345:respawn:/sbin/getty 115200 ttyUSB0 -n -l /bin/sh
I'm not sure if this indicates I should be connecting to a specific USB port. I suspect it does though.

I then went into /etc/rc5.d/S95game (different from the docs) and modified it so these lines are at the top:

#!/bin/sh

/usr/local/bin/avrisp /usr/local/spike/netbridge.hex /usr/local/spike/netbridge.fuses
exit 1

However, I noticed that /usr/local/bin avrisp and /usr/local/spike/netbridge.fuses don't appear to exist.

I grabbed the spike 2 bridge from github and copied it to /bin/bridge
where bridge is the actual executable and made it executable.

For my cable, none of the extra headers were soldered on my cpu node, so I built my own since 2 usb->serial cables were immediately available and much cheaper than the noted null modem cable, I purchased 2 of these USB to serial cables and used some headers I had to connect them to eachother.
https://www.amazon.com/gp/product/B07B5TP67V/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
Initially, just going with:
gnd->gnd
tx->rx
rx->tx
These appear to be using a FTDI chip and 3.3v uart.

I think I confirmed that these work by using Putty on Windows machine that I connected both USB portions to. I opened the 2 COM ports in different sessions and I was able to type in one window and view the output in the opposite window.

So I plugged one end of the usb into my computer and one into the right most usb port on my spike machine. I put the new sd card into the spike machine, started the machine up.
I get a screen that just says "Initializing...." and fills with 3 rows of dots.
At that point I tried using putty to open up the com port, but I don't see anything come back, my terminal is just empty. Press some buttons, nothing comes back.

My guess is that my inittab is setup incorrect, I'm using the wrong USB port, or my cable isn't correct. Any way to debug? Not being able to see a command prompt with putty probably indicates my problem is before the bridge setup?
Is there a way to enable SSH into the Spike 2 machine over wifi as a way to debug or make configuration changes without having to pull the SD card out and put it into my computer everytime?

Thanks
Mike

Mike DiGiovanni

unread,
Jun 13, 2023, 7:42:15 AM6/13/23
to MPF Users
Connected to a raspberry pi over the above mentioned usb->serial->serial->usb cable. Seems like that should be an even stronger confirmation that I have the correct chipset.
It also shows up as 
Bus 001 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Tried again on the Spike 2 machine but no luck.

Javier Alonso

unread,
Oct 4, 2023, 2:54:19 AM10/4/23
to MPF Users
I'm facing the same problem in a Munsters pro.
I've tried using a null modem cable, using usb port of spike 2 mb and I've tried using a ftdi usb to cn2 pines (previously solded), with no success.

Aside from following info on MPF and setting  /etc/inittab to define ttyUSBO as previous user did, I tried to modify  spk/packages/spike-2_0_18/etc/init.d/game_console  to catch log using /dev/ttyUSBO (or ttymcx0 when using CN2 connector),  with no succees in either way.

I'm starting to think MPF is no longer compatible with newer firmwares stern are releasing nowadays...
Am I wrong? or something is missing ...

Thanks
Reply all
Reply to author
Forward
0 new messages