SPIFFS Bitstreamloader for the Spartan Edge Accelerator Board (no SD Card required)
The Spartan Edge Accelerator Boards loads the bitstream into the fpga via the onboard ESP32.
Default Sketch:
Micro SD Card --> ESP32 --> Spartan-7 (via Slave Serial Configuration Mode)
This sketch simply uses the onboard SPI flash chip (W25Q32JV, 4MB) to store the bitstream next to the ESP32 code.
By default the ESP32 allows you to use the normaly unused space on the flash to store files using SPIFFS.
ESP32_SEA_SPIFFS_Loader:
SPI flash (SPIFFS) --> ESP32 --> Spartan-7 (via Slave Serial Configuration Mode)
- Clone the repository to your Arduino Sketchbook folder
- Install the ESP32 Arduino Core
- Install the ESP32 SPIFFS Upload Plugin
- Compile the Sketch and upload it to the Spartan Edge Board (select the "DOIT ESP32 DEVKIT" board from the tools menu)
- Set the switch "K5" to the "Slave" position
- Create a folder called "data" within the Sketch folder
- Place your bitstream for the Spartan-7 FPGA in the "data" folder an name it "default.bit"
- Upload the SPIFFS filesystem to the ESP32 via the Arduino IDE Plugin in the tools menu
If you want to update the bitstream just replace the file in the data folder and reupload the filesystem.