- Open On-Chip Debugger 0.10.0+dev-gb0ae840-dirty (2020-10-26-10:50)
- Licensed under GNU GPL v2
- For bug reports, read
- http://openocd.org/doc/doxygen/bugs.html
- Info : only one transport option; autoselect 'jtag'
- Ready for Remote Connections
- riscv.cpu
- riscv
- Warn : Interface already configured, ignoring
- Info : WCH-Link version 01.04
- Info : wlink_init ok
- Info : This adapter doesn't support configurable speed
- Info : JTAG tap: riscv.cpu tap/device found: 0x20000001 (mfg: 0x000 (<invalid>), part: 0x0000, ver: 0x2)
- Warn : Bypassing JTAG setup events due to errors
- Info : datacount=2 progbufsize=8
- Info : Examined RISC-V core; found 1 harts
- Info : hart 0: XLEN=32, misa=0x40101105
- Info : Listening on port 3333 for gdb connections
- Info : JTAG tap: riscv.cpu tap/device found: 0x20000001 (mfg: 0x000 (<invalid>), part: 0x0000, ver: 0x2)
- Warn : Bypassing JTAG setup events due to errors
- ** Programming Started **
- flash
- flash bank bank_id driver_name base_address size_bytes chip_width_bytes
- bus_width_bytes target [driver_options ...]
- flash banks
- flash init
- flash list
- gdb_flash_program ('enable'|'disable')
- nand
- program <filename> [address] [verify] [reset] [exit]
- Error: invalid subcommand "write_image erase ./output/ch573.elf"
- ** Programming Failed **
- shutdown command invoked
- embedded:startup.tcl:486: Error:
- at file "embedded:startup.tcl", line 486
请问一下,沁恒的工程师,如何使用OPENOCD下载 hex/elf/BIN 固件到CH573的芯片里面。
貌似使用标准的OPENOCD命令都无法下载
|