This repo provides firmware examples, flash programming and diagnostic tools for testing Open MPW and chipIgnite projects using Caravel. It also provides schematics, layout and gerber files for PCB evaluation and breakout boards.
You will need python 3.6 or later.
To program Caravel, connect the evaluation board using a USB micro B connector.
pip3 install pyftdi
cd firmware/blink
make clean flash
https://github.com/riscv/homebrew-riscv
https://github.com/riscv/riscv-gnu-toolchain
Makefiles in the firmware project directories use
firmware/util/caravel_hkflash.py
to program the flash on the board through Caravel's housekeeping SPI interface.
firmware/util/caravel_hkdebug.py
provides menu-driven debug through the housekeeping SPI interface for Caravel.
The current evaluation board for Caravel can be found at
hardware/caravel_pcb_v4_FTDI