2013-12-21 05:53 AM
I used to the St-write to burn .bin to the STM32F4 and saw the message which I expected. Now, I hope to understand how GPIO init. Hence, I use OpenOCD and arm-none-eabi-gdb to do that. Here, it is my process.
$ minicom $ openocd -f /opt/openocd/share/openocd/scripts/board/stm32f4discovery.cfg $ arm-none-eabi-gdb main.elf(gdb) target remote :3333(gdb) :3333: Connection timed out.How do I check the port of OpenOCD? Why does it occur timeout? #openocd-gdb-connection-timeout2013-12-21 06:52 PM
try target remote localhost:3333
2013-12-22 03:33 AM
(gdb) localhost:3333: Connection timed out.
It's same.2013-12-22 10:13 PM
If it is intermittent, try another USB port. I kept on getting timeouts restarting a debug session in Atollic till I finally found a USB port that did not do it any more.