Permalink
Browse files

For gdbserver, use the same initialization sequence like for flashing

  • Loading branch information...
1 parent 1785fd7 commit 82c638ed83f69e36439763c0e48074829178a24b @UweBonnes UweBonnes committed Dec 18, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 gdbserver/gdb-server.c
@@ -160,6 +160,8 @@ int main(int argc, char** argv) {
break;
}
+ stlink_reset(sl);
+ stlink_load_device_params(sl);
printf("Chip ID is %08x, Core ID is %08x.\n", sl->chip_id, sl->core_id);
sl->verbose=0;

0 comments on commit 82c638e

Please sign in to comment.