sipeed / platform-kendryte210

Kendryte K210: development platform for PlatformIO
https://platformio.org/platforms/kendryte210
Other
79 stars 31 forks source link

platformio - Problem with maix one dock(k210) in debug using openocd #43

Open spg-one opened 1 year ago

spg-one commented 1 year ago

image as you see,when i tried to debug this k210 board and cpu halted on “main”,the REGISTER list in the left got all zero,and the logs showed below said “Warn : Got exception 0xffffffff when reading csr0”.

this is my platform.ini

[env:sipeed-maix-one-dock] platform = kendryte210 board = sipeed-maix-one-dock framework = kendryte-standalone-sdk monitor_speed = 115200 debug_tool = sipeed-rv-debugger extra_scripts = post:extra_script.py

@ivankravets has submitted an issue https://github.com/kendryte/kendryte-gnu-toolchain/issues/8#issue-466851217 ,which i thougt was related to this