Jeff Kent 2012-09-19 10:33:26 -07:00
commit 9f6a6b84ad
1 zmienionych plików z 10 dodań i 0 usunięć

Wyświetl plik

@ -784,6 +784,16 @@ int serve(stlink_t *sl, int port) {
#ifdef DEBUG
printf("Rcmd: halt\n");
#endif
} else if (!strncmp(params,"6a7461675f7265736574",20)) { //jtag_reset
reply = strdup("OK");
stlink_jtag_reset(sl, 1);
stlink_jtag_reset(sl, 0);
stlink_force_debug(sl);
#ifdef DEBUG
printf("Rcmd: jtag_reset\n");
#endif
} else if (!strncmp(params,"7265736574",10)) { //reset
reply = strdup("OK");