Upload hello demo error

When I upload hello demo, there is nothing in the terminal, and the registers value is 0,I don’t know where the problem is.

Open On-Chip Debugger 0.10.0+dev-g2c183e3-dirty (2018-01-03-10:25)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
adapter speed: 10000 kHz
Info : auto-selecting first available session transport “jtag”. To override use 'transport select '.
Info : ftdi: if you experience problems at higher adapter clocks, try the command "ftdi_tdo_sample_edge falling"
Info : clock speed 10000 kHz
Info : JTAG tap: riscv.cpu tap/device found: 0x10e31913 (mfg: 0x489 (SiFive, Inc.), part: 0x0e31, ver: 0x1)
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=1
Info : Examined RISCV core; XLEN=32, misa=0x40001105
Info : Listening on port 3333 for gdb connections
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=2
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=3
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=4
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=5
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=6
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=7
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=8
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=9
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=10
Info : [0] Found 1 triggers
halted at 0x0 due to debug interrupt
Started by GNU MCU Eclipse
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : accepting ‘gdb’ connection on tcp/3333
Info : JTAG tap: riscv.cpu tap/device found: 0x10e31913 (mfg: 0x489 (SiFive, Inc.), part: 0x0e31, ver: 0x1)
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=12
halted at 0x0 due to debug interrupt
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=14
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=16
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=18
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=20
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=23
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=26
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=29
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=32
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=36
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=40
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=45
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=50
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=56
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=62
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=69
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=76
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=84
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=93
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=103
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=114
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=126
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=139
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=153
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=169
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=186
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=205
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=226
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=249
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=274
Info : Retrying memory write starting from 0x20400000 with more delays
Info : dtmcontrol_idle=5, dbus_busy_delay=0, interrupt_high_delay=302
Info : Retrying memory write starting from 0x20400000 with more delays
===== RISC-V Registers
(0) zero (/32): 0x00000000
(1) ra (/32): 0x00000000
(2) sp (/32): 0x00000000
(3) gp (/32): 0x00000000
(4) tp (/32): 0x00000000
(5) t0 (/32): 0x00000000
(6) t1 (/32): 0x00000000
(7) t2 (/32): 0x00000000
(8) fp (/32): 0x00000000
(9) s1 (/32): 0x00000000
(10) a0 (/32): 0x00000000
(11) a1 (/32): 0x00000000
(12) a2 (/32): 0x00000000
(13) a3 (/32): 0x00000000
(14) a4 (/32): 0x00000000
(15) a5 (/32): 0x00000000
(16) a6 (/32): 0x00000000
(17) a7 (/32): 0x00000000
(18) s2 (/32): 0x00000000
(19) s3 (/32): 0x00000000
(20) s4 (/32): 0x00000000
(21) s5 (/32): 0x00000000
(22) s6 (/32): 0x00000000
(23) s7 (/32): 0x00000000
(24) s8 (/32): 0x00000000
(25) s9 (/32): 0x00000000
(26) s10 (/32): 0x00000000
(27) s11 (/32): 0x00000000
(28) t3 (/32): 0x00000000
(29) t4 (/32): 0x00000000
(30) t5 (/32): 0x00000000
(31) t6 (/32): 0x00000000
(32) pc (/32): 0x20400000
(833) mstatus (/32)
(834) misa (/32)
(835) medeleg (/32)
(836) mideleg (/32)
(837) mie (/32)
(838) mtvec (/32)
(839) mcounteren (/32)
(868) mhpmevent3 (/32)
(869) mhpmevent4 (/32)
(870) mhpmevent5 (/32)
(871) mhpmevent6 (/32)
(872) mhpmevent7 (/32)
(873) mhpmevent8 (/32)
(874) mhpmevent9 (/32)
(875) mhpmevent10 (/32)
(876) mhpmevent11 (/32)
(877) mhpmevent12 (/32)
(878) mhpmevent13 (/32)
(879) mhpmevent14 (/32)
(880) mhpmevent15 (/32)
(881) mhpmevent16 (/32)
(882) mhpmevent17 (/32)
(883) mhpmevent18 (/32)
(884) mhpmevent19 (/32)
(885) mhpmevent20 (/32)
(886) mhpmevent21 (/32)
(887) mhpmevent22 (/32)
(888) mhpmevent23 (/32)
(889) mhpmevent24 (/32)
(890) mhpmevent25 (/32)
(891) mhpmevent26 (/32)
(892) mhpmevent27 (/32)
(893) mhpmevent28 (/32)
(894) mhpmevent29 (/32)
(895) mhpmevent30 (/32)
(896) mhpmevent31 (/32)
(897) mscratch (/32)
(898) mepc (/32)
(899) mcause (/32)
(900) mtval (/32)
(901) mip (/32)
(993) pmpcfg0 (/32)
(994) pmpcfg1 (/32)
(995) pmpcfg2 (/32)
(996) pmpcfg3 (/32)
(1009) pmpaddr0 (/32)
(1010) pmpaddr1 (/32)
(1011) pmpaddr2 (/32)
(1012) pmpaddr3 (/32)
(1013) pmpaddr4 (/32)
(1014) pmpaddr5 (/32)
(1015) pmpaddr6 (/32)
(1016) pmpaddr7 (/32)
(1017) pmpaddr8 (/32)
(1018) pmpaddr9 (/32)
(1019) pmpaddr10 (/32)
(1020) pmpaddr11 (/32)
(1021) pmpaddr12 (/32)
(1022) pmpaddr13 (/32)
(1023) pmpaddr14 (/32)
(1024) pmpaddr15 (/32)
(2017) tselect (/32)
(2018) tdata1 (/32)
(2019) tdata2 (/32)
(2020) tdata3 (/32)
(2033) dcsr (/32)
(2034) dpc (/32)
(2035) dscratch (/32)
(2881) mcycle (/32)
(2883) minstret (/32)
(2884) mhpmcounter3 (/32)
(2885) mhpmcounter4 (/32)
(2886) mhpmcounter5 (/32)
(2887) mhpmcounter6 (/32)
(2888) mhpmcounter7 (/32)
(2889) mhpmcounter8 (/32)
(2890) mhpmcounter9 (/32)
(2891) mhpmcounter10 (/32)
(2892) mhpmcounter11 (/32)
(2893) mhpmcounter12 (/32)
(2894) mhpmcounter13 (/32)
(2895) mhpmcounter14 (/32)
(2896) mhpmcounter15 (/32)
(2897) mhpmcounter16 (/32)
(2898) mhpmcounter17 (/32)
(2899) mhpmcounter18 (/32)
(2900) mhpmcounter19 (/32)
(2901) mhpmcounter20 (/32)
(2902) mhpmcounter21 (/32)
(2903) mhpmcounter22 (/32)
(2904) mhpmcounter23 (/32)
(2905) mhpmcounter24 (/32)
(2906) mhpmcounter25 (/32)
(2907) mhpmcounter26 (/32)
(2908) mhpmcounter27 (/32)
(2909) mhpmcounter28 (/32)
(2910) mhpmcounter29 (/32)
(2911) mhpmcounter30 (/32)
(2912) mhpmcounter31 (/32)
(3009) mcycleh (/32)
(3011) minstreth (/32)
(3012) mhpmcounter3h (/32)
(3013) mhpmcounter4h (/32)
(3014) mhpmcounter5h (/32)
(3015) mhpmcounter6h (/32)
(3016) mhpmcounter7h (/32)
(3017) mhpmcounter8h (/32)
(3018) mhpmcounter9h (/32)
(3019) mhpmcounter10h (/32)
(3020) mhpmcounter11h (/32)
(3021) mhpmcounter12h (/32)
(3022) mhpmcounter13h (/32)
(3023) mhpmcounter14h (/32)
(3024) mhpmcounter15h (/32)
(3025) mhpmcounter16h (/32)
(3026) mhpmcounter17h (/32)
(3027) mhpmcounter18h (/32)
(3028) mhpmcounter19h (/32)
(3029) mhpmcounter20h (/32)
(3030) mhpmcounter21h (/32)
(3031) mhpmcounter22h (/32)
(3032) mhpmcounter23h (/32)
(3033) mhpmcounter24h (/32)
(3034) mhpmcounter25h (/32)
(3035) mhpmcounter26h (/32)
(3036) mhpmcounter27h (/32)
(3037) mhpmcounter28h (/32)
(3038) mhpmcounter29h (/32)
(3039) mhpmcounter30h (/32)
(3040) mhpmcounter31h (/32)
(3137) cycle (/32)
(3138) time (/32)
(3139) instret (/32)
(3140) hpmcounter3 (/32)
(3141) hpmcounter4 (/32)
(3142) hpmcounter5 (/32)
(3143) hpmcounter6 (/32)
(3144) hpmcounter7 (/32)
(3145) hpmcounter8 (/32)
(3146) hpmcounter9 (/32)
(3147) hpmcounter10 (/32)
(3148) hpmcounter11 (/32)
(3149) hpmcounter12 (/32)
(3150) hpmcounter13 (/32)
(3151) hpmcounter14 (/32)
(3152) hpmcounter15 (/32)
(3153) hpmcounter16 (/32)
(3154) hpmcounter17 (/32)
(3155) hpmcounter18 (/32)
(3156) hpmcounter19 (/32)
(3157) hpmcounter20 (/32)
(3158) hpmcounter21 (/32)
(3159) hpmcounter22 (/32)
(3160) hpmcounter23 (/32)
(3161) hpmcounter24 (/32)
(3162) hpmcounter25 (/32)
(3163) hpmcounter26 (/32)
(3164) hpmcounter27 (/32)
(3165) hpmcounter28 (/32)
(3166) hpmcounter29 (/32)
(3167) hpmcounter30 (/32)
(3168) hpmcounter31 (/32)
(3265) cycleh (/32)
(3266) timeh (/32)
(3267) instreth (/32)
(3268) hpmcounter3h (/32)
(3269) hpmcounter4h (/32)
(3270) hpmcounter5h (/32)
(3271) hpmcounter6h (/32)
(3272) hpmcounter7h (/32)
(3273) hpmcounter8h (/32)
(3274) hpmcounter9h (/32)
(3275) hpmcounter10h (/32)
(3276) hpmcounter11h (/32)
(3277) hpmcounter12h (/32)
(3278) hpmcounter13h (/32)
(3279) hpmcounter14h (/32)
(3280) hpmcounter15h (/32)
(3281) hpmcounter16h (/32)
(3282) hpmcounter17h (/32)
(3283) hpmcounter18h (/32)
(3284) hpmcounter19h (/32)
(3285) hpmcounter20h (/32)
(3286) hpmcounter21h (/32)
(3287) hpmcounter22h (/32)
(3288) hpmcounter23h (/32)
(3289) hpmcounter24h (/32)
(3290) hpmcounter25h (/32)
(3291) hpmcounter26h (/32)
(3292) hpmcounter27h (/32)
(3293) hpmcounter28h (/32)
(3294) hpmcounter29h (/32)
(3295) hpmcounter30h (/32)
(3296) hpmcounter31h (/32)
(3922) mvendorid (/32)
(3923) marchid (/32)
(3924) mimpid (/32)
(3925) mhartid (/32)
(4161) priv (/8)

Hi there, can you share a little bit more information about what it is you are trying to doing? Are you working with Freedom E300?

The log you shared is from OpenOCD and looks normal. Note that the hello program is set up to print to a serial port which is connected to your computer over USB. You can use a program like putty, or gnu screen, to monitor the serial port. Or by using the Terminal Screen in Freedom Studio.

This is described in the Getting Started Guide for your board.