From 9d8c2fb581eb0afcaa72b29a9a002492cef27f42 Mon Sep 17 00:00:00 2001 From: Cerem Cem ASLAN Date: Sat, 9 Mar 2019 17:39:30 +0300 Subject: [PATCH] Added howto for sending NRST signal through GDB See https://github.com/texane/stlink/issues/774 --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a95698bdd..e30965277 100644 --- a/README.md +++ b/README.md @@ -113,9 +113,15 @@ Kill the program being debugged? (y or n) y Starting program: /home/whitequark/ST/apps/bally/firmware.elf ``` -Remember that you can shorten the commands. `tar ext :4242' is good enough +Remember that you can shorten the commands. `tar ext :4242` is good enough for GDB. +If you need to send a hard reset signal through `NRST` pin, you can use the following command: +`` +(gdb) monitor jtag_reset +``` + + ## Running programs from SRAM You can run your firmware directly from SRAM if you want to. Just link