I am trying to upload firmware for Longan Nano v1.1 using RV-Debugger Plus. I connected TCK, TDI, TDO, TMS, 3V3, GND, T0, and R0 lines between them and the debugger is connected to my computer via a USB C-to-A cable. The project configuration is as follows:
; PlatformIO Project Configuration File
;
; Build options: build flags, source filter, extra scripting
; Upload options: custom port, speed and extra flags
; Library options: dependencies, extra library storages
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html
[env:sipeed-longan-nano]
platform = gd32v
framework = gd32vf103-sdk
board = sipeed-longan-nano
monitor_speed = 115200
upload_protocol = sipeed-rv-debugger
Since the default OpenOCD configuration for RV-Debugger finds a device named Dual RS232 and the actual USB device name is JTAG Debugger, I modified sipeed-rv-debugger.cfg in .platformio/packages/tool-openocd-gd32v/share/openocd/scripts/interface/ftdi as follows:
I am trying to upload firmware for Longan Nano v1.1 using RV-Debugger Plus. I connected TCK, TDI, TDO, TMS, 3V3, GND, T0, and R0 lines between them and the debugger is connected to my computer via a USB C-to-A cable. The project configuration is as follows:
Since the default OpenOCD configuration for RV-Debugger finds a device named
Dual RS232
and the actual USB device name isJTAG Debugger
, I modifiedsipeed-rv-debugger.cfg
in.platformio/packages/tool-openocd-gd32v/share/openocd/scripts/interface/ftdi
as follows:With these setups, uploading longan-nano-blink example prints the following output and gets stuck:
Environment