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=1Initially, 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