Menu Close

RISC-V Software IDE, Freedom Studio(1)Freedom Studio Introduction

This article mainly introduces the installation method and basic interface of RISC-V software IDE

Related reference articles:

RISC-V teaching plan

Freedom Studio Brochure (English)

1. Required hardware and software

  • hardware:
    •  A PRX100T series development board
    • A usb-b male cable
  • software:
    • Compressed package: FreedomStudio-Win_x86_64-20180122.zip
    • Digilent USB Device driver installation software: zadig-2.4.exe
    • RISCV bit file: fii_cpu_sys.bit,
    • RISCV mcs file: FII_RISCV_V2.mcs
    • Example project folders: run_led and run_seg

 

2. Introduction to Freedom Studio

Freedom Studio is an integrated development environment used to write and debug SiFive processor-based software. It is based on industry standard Eclipse platform and integrates RISC-V GCC toolchain, OpenOCD, freedom-e-sdk.

 

Installation steps in Windows environment

  • Software version: FreedomStudio-Win_x86_64-20180122 version is currently used.
  • Software installation (it is recommended to turn off antivirus software before decompression and installation)

Unzip the installation package FreedomStudio-Win_x86_64-20180122.zip. It is recommended to unzip it to E:\FreedomStudio, other directories are also acceptable. Be careful not to include spaces in the unzip path, as shown in Figure 1.

 

Figure 1 Unzip the installation package

 

  • After unzipping, open the FreedomStudio folder
  • Double-click to run Freedom Studio.exe, as shown in Figure 2

 

Figure 2 Freedom Studio.exe

 

  • Setting the file storage path During the software startup process, the user will be asked to select a dialog box for storing the user’s project file path. Users can specify the path themselves. Here, select the setting path as E:\wsFreedomStudio , and click launch to open the Freedom Studio window, as shown in Figure 3

 

Figure 3 Lauch Freedom Studio

 

Freedom Studio interface introduction

Figure 4 Freedom Studio interface introduction

Figure 4 shows the main interface of Freedom S Land Oh, and its components are as follows:

  • Project list

In the project list, you can open, edit, and create project source files.

  • Information display area

Used to display valid information generated during compilation

  • Program editing area

for editing program code

  • Serial debugging area

The Terminal window can be used to display a local terminal, serial terminal, or ssh-connected device terminal.

  • Break and debug area

The break and debug windows provide useful information when compiling programs. The break window can be used to turn breakpoints on or off, and can also be used to set breakpoint properties.

  • The shortcut bar icon, as shown in Figure 5

Figure 5 Shortcut Bar Icons

 

a: Build : Click to build the selected project

b: Debug : Click the down arrow next to the icon button to select a specific debug setting.

c: Debug Control Tool Buttons: Control operations such as running, pausing, and single-stepping during debugging

 

Note: Some windows may not appear, or appear in places other than those identified in the image above. Users can adjust by themselves. Listed above are the areas of the window that are frequently used by users. If the user does not find these windows, they can be added through the Window -> Show View menu, as shown in Figure 6. At the same time, users can edit their own location by dragging the corresponding window.

 

 

Figure 6 Add Freedom Studio interface window

 

Software download in the text :

Posted in FPGA, RISC-V, RISC-V Textbook, Textbook and Training Project

Related Articles

Leave a Reply

Your email address will not be published.

Leave the field below empty!