David Brownell <david-b@pacbell.net> Add "cortex_m3 vector_catch" command and docs. One minor
issue with this is that the core debug support uses this mechanism, then trashes its state over reset. Users can Work around that (for now) by re-assigning the desired config after reset. Also fixes "target halted due to target-not-halted" goof. When we can't describe the reason using OpenOCD's limited vocabulary, say "reason undefined" instead of saying it's not halted. git-svn-id: svn://svn.berlios.de/openocd/trunk@2588 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -80,7 +80,12 @@ extern char* cortex_m3_state_strings[];
|
||||
/* DCB_DEMCR bit and field definitions */
|
||||
#define TRCENA (1 << 24)
|
||||
#define VC_HARDERR (1 << 10)
|
||||
#define VC_INTERR (1 << 9)
|
||||
#define VC_BUSERR (1 << 8)
|
||||
#define VC_STATERR (1 << 7)
|
||||
#define VC_CHKERR (1 << 6)
|
||||
#define VC_NOCPERR (1 << 5)
|
||||
#define VC_MMERR (1 << 4)
|
||||
#define VC_CORERESET (1 << 0)
|
||||
|
||||
#define NVIC_ICTR 0xE000E004
|
||||
|
||||
Reference in New Issue
Block a user