HiFive1 Rev B

Overview

The HiFive1 Rev B is an Arduino-compatible development board with an FE310-G002 RISC-V SoC.

SiFive HiFive1 Rev B board

SiFive HiFive1 Rev B board (image courtesy of SiFive)

Programming and debugging

The hifive1_revb board supports the runners and associated west commands listed below.

flash debug debugserver rtt attach robot simulate
jlink ✅ (default) ✅ (default)
renode
renode-robot

Building

Applications for the HiFive1 Rev B board configuration can be built as usual (see Building an Application) using the corresponding board name:

west build -b hifive1_revb

Flashing

The HiFive 1 Rev B uses Segger J-Link OB for flashing and debugging. To flash and debug the board, you’ll need to install the Segger J-Link Software and Documentation Pack and choose version V6.46a or later (Downloads for Windows, Linux, and macOS are available).

Now you can flash the application as usual (see Building an Application and Run an Application for more details):

west flash

Depending on your OS you might have to run the flash command as superuser.

Debugging

Refer to the detailed overview about Application Debugging.