Pyocd gdbserver error: No available boards are connected

13 Sep 2015

Tried testing pycod by running the following command : pyocd-gdbserver -l

I get an error that states : No available boards are connected

Even though I have connected the FRDMK64F board to the PC(Windows)

26 May 2016

Aha I finally worked this out!

Boards are detected via CMSIS-DAP. Some boards come with firmware that doesn't support CMSIS-DAP so you may need to upgrade the board's firmware.

Secondly and most importantly, you need to install the mBed Serial Driver!

https://developer.mbed.org/handbook/Windows-serial-configuration

Despite being called the serial driver, it actually includes a driver for the CMSIS-DAP interface too. Finally, it doesn't matter in your case but other readers should note that ST devices use a different driver.