The FE310-G002 supports booting from several sources, which are controlled using the Mode
Select (
MSEL[1:0]
) pins on the chip. All possible values are enumerated in Table 5.
MSEL
Purpose
00
loops forever waiting for debugger
01
jump directly to 0x2000_0000 (memory-mapped QSPI0)
10
jump directly to 0x0002_0000 (OTP)
11
jump directly to 0x0001_0000 (Mask ROM: Default Boot Mode)
Table 5:
Boot media based on
MSEL
pins
On power-on, the core’s reset vector is
0x1004
.
Address
Contents
0x1000
The MSEL pin state
0x1004
auipc t0, 0
0x1008
lw t1, -4(t0)
0x100C
slli t1, t1, 0x3
0x1010
add t0, t0, t1
0x1014
lw t0, 252(t0)
0x1018
jr t0
Table 6:
Reset vector ROM
This small gate ROM implements an
MSEL
-dependent jump for all cores as follows:
23
Summary of Contents for FE310-G002
Page 1: ...SiFive FE310 G002 Manual v19p05 SiFive Inc ...
Page 11: ...Figure 1 FE310 G002 top level block diagram Copyright 2019 SiFive Inc All rights reserved 9 ...
Page 15: ...Chapter 2 List of Abbreviations and Terms 13 ...
Page 23: ...Chapter 4 Memory Map The memory map of the FE310 G002 is shown in Table 4 21 ...