I need to debug an application over a custom board hosting an stm32f427 mcu. Flashing the board with st-link utility works, but when I try with eclipse+openocd and even via windows prompt something goes wrong. Basicly what I get in the eclipse console/windows prompt is
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD adapter speed: 2000 kHz adapter_nsrst_delay: 100 none separate srst_only separate srst_nogate srst_open_drain connect_deassert_srst Started by GNU ARM Eclipse Info : Unable to match requested speed 2000 kHz, using 1800 kHz Info : Unable to match requested speed 2000 kHz, using 1800 kHz Info : clock speed 1800 kHz Info : STLINK v2 JTAG v23 API v2 SWIM v4 VID 0x0483 PID 0x3748 Info : using stlink api v2 Info : Target voltage: 3.239050 Info : stm32f4x.cpu: hardware has 0 breakpoints, 0 watchpoints Info : accepting 'gdb' connection on tcp/3333 Info : device id = 0x00000000 Warn : Cannot identify target as a STM32 family. Error: auto_probe failed Error: Connect failed. Consider setting up a gdb-attach event for the target to prepare target for GDB connect, or use 'gdb_memory_map disable'. Error: attempted 'gdb' connection rejected
I am not an expert, but since with st-link utility I can flash the board I think is something related with the openocd configuration also by considering the warning in the code above. Any help is really appreciated.