1.. zephyr:board:: hifive_unleashed
2
3Overview
4********
5
6The HiFive Unleashed is a development board with a SiFive FU540-C000
7multi-core 64bit RISC-V SoC.
8
9Programming and debugging
10*************************
11
12Building
13========
14
15Applications for the ``hifive_unleashed`` board configuration can be built as
16usual (see :ref:`build_an_application`) using the corresponding board name:
17
18.. tabs::
19
20   .. group-tab:: E51
21
22      .. zephyr-app-commands::
23         :zephyr-app: samples/hello_world
24         :board: hifive_unleashed/fu540/e51
25         :goals: build
26
27   .. group-tab:: U54
28
29      .. zephyr-app-commands::
30         :zephyr-app: samples/hello_world
31         :board: hifive_unleashed/fu540/u54
32         :goals: build
33
34Flashing
35========
36
37Current version has not yet supported flashing binary to onboard Flash ROM.
38
39This board has USB-JTAG interface and this can be used with OpenOCD.
40Load applications on DDR and run as follows:
41
42.. code-block:: console
43
44   openocd -c 'bindto 0.0.0.0' \
45           -f boards/riscv/hifive_unleashed/support/openocd_hifive_unleashed.cfg
46   riscv64-zephyr-elf-gdb build/zephyr/zephyr.elf
47   (gdb) target remote :3333
48   (gdb) c
49
50Debugging
51=========
52
53Refer to the detailed overview about :ref:`application_debugging`.
54