On-chip debugging VS-Code Ubuntu 20.04
Posted: Wed Dec 08, 2021 3:49 am
Hello,
I am trying to set up the on-chip debugging in VS-code on Ubuntu 20.04 following the document (https://www.bitcraze.io/documentation/r ... debugging/)
The debugging environment was working perfectly on my Ubuntu 16.04 laptop. However, in my Ubuntu 20.04 laptop, I got a "Failed to launch OpenOCD GDB Server. Timeout" error. A screen shot was attached.
I have installed the "gdb-multiarch" as listed in the document
Searching this problem online, it seems to be something related to the new version of Cortex-Debug extension in VS-code. However, I didn't make it work after trying some tricks.
Any ideas how to solve this problem on Ubuntu 20.04?
Thanks!
I am trying to set up the on-chip debugging in VS-code on Ubuntu 20.04 following the document (https://www.bitcraze.io/documentation/r ... debugging/)
The debugging environment was working perfectly on my Ubuntu 16.04 laptop. However, in my Ubuntu 20.04 laptop, I got a "Failed to launch OpenOCD GDB Server. Timeout" error. A screen shot was attached.
I have installed the "gdb-multiarch" as listed in the document
Searching this problem online, it seems to be something related to the new version of Cortex-Debug extension in VS-code. However, I didn't make it work after trying some tricks.
Any ideas how to solve this problem on Ubuntu 20.04?
Thanks!