Firmware flash fails

I am using Raspberry Pi with Raspbian Stretch but I cannot connect the red board from my Pi. Gets error NO SPI. I try to update the Firmware but gets error.

Updating the GoPiGo3 Firmware with '/home/pi/Dexter/GoPiGo3/Firmware/GoPiGo3_Firmware_1.0.0.bin'.
Open On-Chip Debugger 0.10.0-dev (2016-12-16-18:07)
Licensed under GNU GPL v2
For bug reports, read
	http://openocd.org/doc/doxygen/bugs.html
BCM2835 GPIO nums: swclk = 25, swdio = 24
BCM2835 GPIO config: srst = 18
srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst
srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst
adapter speed: 400 kHz
cortex_m reset_config sysresetreq
adapter speed: 250 kHz
adapter_nsrst_delay: 100
adapter_nsrst_assert_width: 100
Info : BCM2835 GPIO JTAG/SWD bitbang driver
Info : SWD only mode enabled (specify tck, tms, tdi and tdo gpios to add JTAG mode)
Info : clock speed 250 kHz
Info : SWD DPIDR 0x0013fb10
Error: Could not initialize the debug port
    TargetName         Type       Endian TapName            State       
--  ------------------ ---------- ------ ------------------ ------------
 0* at91samc20j18.cpu  cortex_m   little at91samc20j18.cpu  unknown
Error: Could not initialize the debug port
Error: Target not examined, will not halt after reset!
Error: Could not initialize the debug port
Error: Target not examined yet
Error: Target not examined yet
embedded:startup.tcl:21: Error: 
in procedure 'reset' 
in procedure 'ocd_bouncer' 
in procedure 'ocd_process_reset' 
in procedure 'ocd_process_reset_inner' called at file "embedded:startup.tcl", line 248
in procedure 'at91samc20j18.cpu' called at file "embedded:startup.tcl", line 331
in procedure 'ocd_bouncer' 
in procedure 'at91samc20j18.cpu' called at file "embedded:startup.tcl", line 297
in procedure 'ocd_bouncer' 
at file "embedded:startup.tcl", line 21

TARGET: at91samc20j18.cpu - Not halted
in procedure 'reset' 
in procedure 'ocd_bouncer'

Hi @jcao62,

Do you have the SPI line enabled in raspi-config?

Thank you!