Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 9 months ago.
Struggling to get running
I've followed all the setup steps carefully. I'm trying to run the mbed_blinky example on DISCO_L475VG_IOT01A in eclipse on macOS with pyOCD. I've followed these steps: https://os.mbed.com/docs/latest/tutorials/eclipse.html
Build works fine. Trying to debug I get "Error in services launch sequence Starting pyOCD GDB Server timed out."

1 Answer
6 years, 11 months ago.
Hi! I had the same problem with windows. After a long time trying with PYOCD I decided to change to openOCD which actually supports the board. Using the command "pyocd-gdbserver -h" it says: Available targets for use with target option: lpc824, kinetis, max32600,k32w042s, kv11z7, lpc4088qsb, kv10z7, k20d50m, nrf52840, ncs36510, kl28z, stm32f412xe, kl25z, stm32f412xg, k82f25615,k28f15, kw24d5, k22fa12, lpc4088,lpc4330, ke18f16, kl46z, stm32f103rc, kl82z7, lpc54114, kl43z4, kl26z,lpc11xx_32, lpc800, rtl8195am, kl05z, lpc1768, kw41z4, lpc4088dm, stm32f051, w7500, cortex_m, lpc11u24, kl02z, kw01z4, lpc54608, k64f, k22f, ke15z7, nrf51,nrf52, cc3220sf, kw36z4, kl27z4, kw40z4, k66f18. 
Using windows10, eclipse and OpenOCD I can build and debug the STM32L475.
 
                            
I think this is because pyocd-gdbserver just hangs when running it, I'm not sure why.
posted by Nick Brook 08 Feb 2018I have to same problem on Windows. Has anyone found a solution for this?
posted by Joost van Soest 26 Jun 2018