Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/charkster/xc3sprog-cmod_a7-rpi
Xc3sprog compiled for Raspberry Pi with support for Numonyx (Micron) N25Q 0x16 memory which is on the Cmod-A7 FPGA board.
https://github.com/charkster/xc3sprog-cmod_a7-rpi
cmod-a7 fpga-programming raspberry-pi spi-flash
Last synced: about 24 hours ago
JSON representation
Xc3sprog compiled for Raspberry Pi with support for Numonyx (Micron) N25Q 0x16 memory which is on the Cmod-A7 FPGA board.
- Host: GitHub
- URL: https://github.com/charkster/xc3sprog-cmod_a7-rpi
- Owner: charkster
- License: mit
- Created: 2021-05-19T02:49:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-10-22T23:35:12.000Z (about 2 years ago)
- Last Synced: 2023-10-20T18:46:53.847Z (about 1 year ago)
- Topics: cmod-a7, fpga-programming, raspberry-pi, spi-flash
- Language: Shell
- Homepage:
- Size: 650 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xc3sprog-cmod_a7-rpi
Xc3sprog compiled for Raspberry Pi OS with support for Numonyx (Micron) N25Q 0x16 memory which is on the CMOD-A7 FPGA board. It can be installed in /usr/local/binThis version of xc3sprog is needed to program the SPI flash memory on the CMOD-A7 board. If you want to only program the FPGA (volitle memory) then the Raspberry Pi OS repository version of xc3sprog is sufficient (no need to use my version). First install the FTDI driver library from the Raspberry Pi OS repository.
sudo apt-get install libftdi1
Next the SPI memory needs to be detected. Use the "run_first_spi_flash_cmod_a7.sh" script (which uses the "first.bit" file). The "first.bit" file was created specifically for the CMOD-A7 SPI flash memory (a complicated process done on Vivado using a trivial design). Now you are ready to load your custom bit file into the CMOD-A7.
xc3sprog -c jtaghs1_fast -I your_custom_file.bit
Please note that there is no space between the "-I" switch and "first.bit" when detecting the SPI flash, but when you program your file there will need to be a space. I am not sure why this is the case, just part of the recipe that I discovered.
Enjoy.