The FE310-G003 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.
Table 5:
Boot media based on
MSEL
pins
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 0x0002_0000 (OTP)
On power-on, the core’s reset vector is
0x1004
.
Table 6:
Reset vector ROM
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)
FE310-G003 Manual
© SiFive, Inc.
Page 23