sipeed / RV-Debugger-BL702

RV-Debugger-BL702 Project, an opensource debugger implement
159 stars 57 forks source link

Rv BL702 can't connect to target over Openocd #6

Closed thinhx2 closed 2 years ago

thinhx2 commented 2 years ago

It still stuck at : haven't made progress in mpsse flash()

Rv BL702(programmer) ![Uploading IMG_20220120_194508_489.jpg…]()

RV lite CH552T working fine

thinhx2 commented 2 years ago

IMG_20220120_194508_489

Here is image

thinhx2 commented 2 years ago

Error notice when i remove programmer, not problem

thinhx2 commented 2 years ago

'/home/thinhx2/xpack-openocd-0.11.0-3/bin/openocd' -f '/home/thinhx2/Desktop/tool-openocd-gd32v/share/openocd/scripts/interface/ftdi/sipeed-rv-debugger.cfg' -f '/home/thinhx2/xpack-openocd-0.11.0-3/scripts/target/stm32f1x.cfg' -c "adapter speed 1000" -c "init;program /media/thinhx2/A44CFDC04CFD8CF4/Users/thinhx2/Documents/32/103c8/build/103c8.hex verify reset;exit" xPack OpenOCD x86_64 Open On-Chip Debugger 0.11.0+dev (2021-12-07-17:30) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html DEPRECATED! use 'adapter driver' not 'interface' DEPRECATED! use 'ftdi vid_pid' not 'ftdi_vid_pid' DEPRECATED! use 'ftdi layout_init' not 'ftdi_layout_init' DEPRECATED! use 'ftdi layout_signal' not 'ftdi_layout_signal' Info : DEPRECATED target event trace-config; use TPIU events {pre,post}-{enable,disable} adapter speed: 1000 kHz

Info : clock speed 1000 kHz Warn : Haven't made progress in mpsse_flush() for 2001ms. Warn : Haven't made progress in mpsse_flush() for 4001ms. Warn : Haven't made progress in mpsse_flush() for 8001ms. Warn : Haven't made progress in mpsse_flush() for 16001ms. Warn : Haven't made progress in mpsse_flush() for 32001ms.

thinhx2 commented 2 years ago

Seem like with target command (like stm32f1x.cfg) debugger will disconnect. Same problem with platformIO, Longan Nano