
Copyright © 2016-2019, SiFive Inc. All rights reserved.
13
5.1.1
Reset and boot
The FPGA Core IP Eval Kit’s boot code contains a jump to the external SPI Flash as described in
the DTS file.
For example,an E2/E3 or S5 Core IP FPGA Eval Kit’s reset vector is set using Switch 0 on the
board. When the switch is “Off” (set towards the edge of the board), the reset vector is set to
0x40400000, which is mapped to the external SPI Flash on the board.
A S7 or E7 Core IP FPGA Eval Kit will default to the QSPI to boot at address 0x20400000.
5.1.2
Load a Program
You can change the program which the Eval Kit runs by using the debug/programming interface to
flash a new compiled program into the DTIM or SPI Flash.
When Switch 0 is “On” (set away from the edge of the board), the reset vector is set to 0x00000000.
This will cause the core to simply wait for the debugger to load a program.
5.2
Default Demo Program
For Core IP the MCS file includes a simple demo program. This program is loaded to the SPI
Flash along with the FPGA image.
With Switch 0 set to the “Off” position (towards the edge of the board), on reset the Core will
execute a simple demo program. This program prints a message over the UART and uses the
PWM peripheral to change RGB LED 1. This program will be overwritten in the SPI Flash when
you program new software into the board with the SDK, but the FPGA image will not be modified.
Source for this program is included in the SDK.
5.2.1
Terminal Log
If you have your serial setup correctly, your terminal will display a figure similar to the below. (you
may need to hit the ‘Reset’ button to restart the program):
SIFIVE, INC.
5555555555555555555555555
5555
5555
5555
5555
5555
5555
5555
5555555555555555555555
5555
555555555555555555555555
5555
5555
5555
5555
5555
5555
5555555555555555555555555555
55555
55555
555555555
55555
55555
55555
55555
55555
5
55555
55555
55555
55555
55555
55555
55555
55555
55555
55555
55555
555555555
Содержание E2* Core IP Series
Страница 1: ...SiFive Core IP FPGA Eval Kit User Guide v3p0 SiFive Inc ...
Страница 2: ...2 SiFive Core IP FPGA Eval Kit User Guide v3p0 ...
Страница 4: ...ii SiFive Core IP FPGA Eval Kit User Guide v3p0 ...
Страница 8: ...vi SiFive Core IP FPGA Eval Kit User Guide v3p0 ...
Страница 10: ...2 SiFive Core IP FPGA Eval Kit User Guide v3p0 ...
Страница 16: ...8 SiFive Core IP FPGA Eval Kit User Guide v3p0 ...
Страница 28: ...20 SiFive Core IP FPGA Eval Kit User Guide v3p0 ...
Страница 30: ...22 SiFive Core IP FPGA Eval Kit User Guide v3p0 Figure 7 1 E2 Core IP FPGA Eval Kit Block Diagram ...
Страница 34: ...26 SiFive Core IP FPGA Eval Kit User Guide v3p0 Figure 8 1 E3 S5 Core IP FPGA Eval Kit Block Diagram ...
Страница 38: ...30 SiFive Core IP FPGA Eval Kit User Guide v3p0 Figure 9 1 E7 S7 Core IP FPGA Eval Kit Block Diagram ...