X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstlink-common.h;h=a1442f366cd3ab0738e9522c0aa9921dc3cbe2d7;hb=16756fbe053f3e5efaf2973aebabeec201926f53;hp=a9834a476ca10b51b1ee4e98735850035ebf7e4f;hpb=3e72f0b1b3c289ec2c3e7dce5f39c350b5584dbd;p=fw%2Fstlink diff --git a/src/stlink-common.h b/src/stlink-common.h index a9834a4..a1442f3 100644 --- a/src/stlink-common.h +++ b/src/stlink-common.h @@ -112,6 +112,11 @@ extern "C" { /* using chip id for F4 ident, since core id is same as F1 */ #define STM32F4_CHIP_ID 0x413 +/* Cortex™-M3 Technical Reference Manual */ +/* Debug Halting Control and Status Register */ +#define DHCSR 0xe000edf0 +#define DBGKEY 0xa05f0000 + /* Enough space to hold both a V2 command or a V1 command packaged as generic scsi*/ #define C_BUF_LEN 32