This board supports the SiFive FE310, which is a RISC-V based microcontroller.
|Target Device||SiFive FE310|
|Target Architecture||32-bit RISC-V|
Enable the 1.8V regulator on the CW308 board and ensure that both the 3.3V and 1.8V LEDs are on.
The FE310 must be run off of a 7.37MHz clock.
To build firmware for this target, you must download and install a 32-bit or 64-bit GCC compiler with support for embedded RISC-V targets.
The recommended compiler is available from SiFive at https://github.com/sifive/freedom-tools/releases/tag/v2019.05.0
This firmware build can be very particular to the compiler version used and, as such, it is highly recommended that you use the exact compiler version linked above.
Once the compiler is installed and available on the command line, firmware can be built using the ChipWhisperer
build system with
The CW308T_FE310 has a W25Q32JV 32MB SPI chip used as program memory which can be programmed over JTAG. An example of a compatable JTAG programmer is a Segger J-Link. Ensure that the device is powered and has a valid clock before programming.