PiStorm Flash CPLD (Amiga)
With any PiStorm board, whether using PiStorm or Emu68 you will first need to program/flash the CPLD that is on the adapter board, otherwise you will not be able to access the SD card properly in Amiga and multiple things will not work.
Download and install the Raspberry Pi Imager.
Run it, select your Pi board version, then select Raspberry Pi OS (Legacy, 32-bit) Lite.
Insert an SD card, and select it, then write the image to it.
When the dialog pops up select Edit Settings.
- Enable SSH (in Services) then enter your desired username and password in the General tab
- Enter your Wi-Fi details so the Pi automatically connects to the Wi-Fi.
- Set the hostname. Type anything, the default is raspberrypi.local
Once the image is written, insert it into the Pi and power it up (via USB or via being connected to the Amiga).
On the PC side, download and run Putty.
Open it, select SSH and then enter the hotsname you gave the Raspberry Pi in the previous step (default was raspberrypi.local.
The username and password are what you setup, the default is the username pi and password raspberry.
Click Open and you should be presented with a terminal window to the Pi. Enter your username and password you setup to login.
In the Raspberry Pi terminal, enter the following to download and compile the PiStorm.
With the PiStorm software all compiled, while you are still in the pistorm directory, simply run the flash script to flash the CLPD.
This will automatically detect your CPLD version and flash appropriately.
If successful Flashing successful! will appear, if not it will fail with Flashing failed and nprog_log.txt will be created with more details.