HiFive1 RevB

The HiFive1 Rev B is low-cost, Arduino-compatible development board featuring the Freedom E310 320+ MHz RISC-V chip.

Interfaces

InterfaceHardware SupportedTinyGo Support
GPIOYESYES
UARTYESYES
SPIYESWrite only
I2CYESNot yet
ADCNONO
PWMYESNot yet

Machine Package Docs

Documentation for the machine package for the SiFive HiFive1b

Flashing

MSD Flashing

The HiFive1 RevB comes with a bootloader that allows Mass Storage Device (MSD) flashing. This means you can just copy the compiled .hex file generated by TinyGo onto it, no additional flashing software is needed.

  • Plug your HiFive1 RevB into your computer’s USB port.

  • The HiFive1 RevB board will appear to your computer like a USB drive.

  • Build and flash your TinyGo program using tinygo flash like this:

  1. tinygo flash -target=hifive1b [PATH TO YOUR PROGRAM]
  • The HiFive1 RevB should restart and begin running your program.