From a07e72b998ccb599e98d64de6c668d0ee892106f Mon Sep 17 00:00:00 2001 From: Lotte Steenbrink Date: Thu, 12 Aug 2021 16:21:43 +0200 Subject: [PATCH] README: add reminder to start the st-util gdb server --- README.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a79bc9e4..5ec0deb1 100644 --- a/README.md +++ b/README.md @@ -109,7 +109,16 @@ Having this in your .gdbinit boils down the flashing/debugging process to: ### ST-Link (st-util) -This example uses the st-util by texane that you can find on [GitHub](https://github.com/texane/stlink). +This example uses the st-util GDB server by texane that you can find on [GitHub](https://github.com/texane/stlink). Remember to start it by running + + st-util + + # you should see output like this: + st-util + 2021-08-12T16:20:15 INFO common.c: F42x/F43x: 256 KiB SRAM, 2048 KiB flash in at least 16 KiB pages. + 2021-08-12T16:20:15 INFO gdb-server.c: Listening at *:4242... + +After you've started your GDB server, flash *in a separate terminal*: cd examples/stm32/f1/stm32vl-discovery/miniblink arm-none-eabi-gdb miniblink.elf