1Install the bootloader
Build the bootloader by following the instructions in the readme from the github repository:
The .elf file can be loaded using openocd. I suggest using the MAX32625PICO# board. It is a very nice low cost debug adapter:
After the bootloader is loaded, the board should appear as a drive named HELPERBOOT:
2Load CircuitPython firmware
This github repo includes the fpga_helper board:
Follow the same build instructions as the Adafruit repo:
Just make sure you build BOARD=fpga_helper
After the build completes, you can drag-n-drop the firmware.uf2 files onto the HELPERBOOT drive.
After loading the firmware, the board will reset and a CIRCUITPY drive will appear.
3Copy Python FIles to drive
Copy the files found here to the CIRCUITPY drive:
After copying the files the drive should look like this:
4Reset the board
After you reset the board, it will first run boot.py and put the results in boot.txt.
If you have attached a Qwiic NFCPROM, you will see results like this:
Adafruit CircuitPython 4.0.0-alpha.1-4-gf09537b-dirty on 2018-10-01; Steiert Solutions FPGA Helper with samd21e18 boot.py output: bytearray(b'\xe1@@\x05\x03\x14\xd1\x01\x10U\x03dei.steiert.net\xfe\xffCARD')
If nothing is connected the results will look more like this:
Adafruit CircuitPython 4.0.0-alpha.1-4-gf09537b-dirty on 2018-10-01; Steiert Solutions FPGA Helper with samd21e18 boot.py output: Traceback (most recent call last): File "boot.py", line 7, in <module> OSError: [Errno 5] Input/output error