2020-08-11 10:23 AM
I use STM32F030R8T6 and an interface card that plugs into a breadboard for direct prototyping, ST-Link v2 STM32 and STM8 Programmer, both from Newbiehack.com.
Connected as on photo: SWDIO to pin 46 (PA13), SWCLK to pin 49 (PA14), GND to pin 62, 3.3V to pin 64. When I trying to launch I have got'Failed to start GDB server.
I changed setup in Debug Configuration from 'Autostart local GDB server'to 'Connect to remote GDB server'. After launch I got message 'Error in final launch sequence, Failed to execute MI command, connection timeout (przekroczony czas oczekiwania na połączenie).
When I used Nucleo-F767ZI with on-board ST-LINK debugger/programmer and STM32CubeIDE there was no any problem.
Is the hardware fault or software problem?
Solved! Go to Solution.
2020-08-12 05:11 AM
Hi,
finally solved the problem with red messages like
'Info : default port : 7184
Info : Remote address: 127.0.0.1
Error: bind failed. Error = 98, exit'
ST-Link-Server must be installed https://my.st.com/content/my_st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-performance-and-debuggers/st-link-server.license=1597223818543.product=ST-LINK-SERVER.version=1.3.0.html
Now everything working fine, thanks.
2020-08-11 11:38 AM
did you connect all VDD VDDA and GND pins? Did you pull BOOT0 low? See AN4325 Getting started with STM32F030xx and STM32F070xx series hardware development.
2020-08-11 11:59 AM
I checked again all connection, VDD connected to pins 1, 32, 64, GND connected to pins 31and 63, VDDA is not connected because I don't using it now, BOOT0 connected by 510 ohm resistor to GND
2020-08-11 12:20 PM
You need to connect VDDA too, see remarks in data sheet.
2020-08-11 12:48 PM
2020-08-11 01:23 PM
Hi, finally I tick the option 'Shared ST-LINK' in Debug Configuration and launch is successful, LED flashing as expected, only red message' Info : default port : 7184
Info : Remote address: 127.0.0.1
Error: bind failed. Error = 98, exit' , I not understand it,
thank you so much for help, Adam
2020-08-12 05:11 AM
Hi,
finally solved the problem with red messages like
'Info : default port : 7184
Info : Remote address: 127.0.0.1
Error: bind failed. Error = 98, exit'
ST-Link-Server must be installed https://my.st.com/content/my_st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-performance-and-debuggers/st-link-server.license=1597223818543.product=ST-LINK-SERVER.version=1.3.0.html
Now everything working fine, thanks.