diff options
author | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-10 11:43:48 +0000 |
---|---|---|
committer | ntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-10 11:43:48 +0000 |
commit | 9c3dec377eb6eb822b85fa107ade2a62c9e1cfd1 (patch) | |
tree | 528bc639688200b05ae27df46046c3544399d121 /src/flash | |
parent | 1ade331ba925c506ed4254f31dba5e6f9cf782b4 (diff) | |
download | openocd+libswd-9c3dec377eb6eb822b85fa107ade2a62c9e1cfd1.tar.gz openocd+libswd-9c3dec377eb6eb822b85fa107ade2a62c9e1cfd1.tar.bz2 openocd+libswd-9c3dec377eb6eb822b85fa107ade2a62c9e1cfd1.tar.xz openocd+libswd-9c3dec377eb6eb822b85fa107ade2a62c9e1cfd1.zip |
- single core context used, removed debug context as thought unnecessary.
- DCRDR now used to access special core registers - info is currently omitted from the cortex_m3 TRM ARM have told me this is the preferred access method and the docs will be updated soon.
- now checks for User Thread Mode and Thread mode when halted.
- removed repeated function declarations from command.c
- cortex_m3_prepare_reset_halt removed, updated cortex_m3_assert_reset to suit
git-svn-id: svn://svn.berlios.de/openocd/trunk@558 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/stellaris.c | 1 | ||||
-rw-r--r-- | src/flash/stm32x.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/flash/stellaris.c b/src/flash/stellaris.c index 502659e3..309772e3 100644 --- a/src/flash/stellaris.c +++ b/src/flash/stellaris.c @@ -768,7 +768,6 @@ int stellaris_write_block(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32 armv7m_info.common_magic = ARMV7M_COMMON_MAGIC; armv7m_info.core_mode = ARMV7M_MODE_ANY; - armv7m_info.core_state = ARMV7M_STATE_THUMB; init_reg_param(®_params[0], "r0", 32, PARAM_OUT); init_reg_param(®_params[1], "r1", 32, PARAM_OUT); diff --git a/src/flash/stm32x.c b/src/flash/stm32x.c index e981310a..e85c0e5a 100644 --- a/src/flash/stm32x.c +++ b/src/flash/stm32x.c @@ -459,7 +459,6 @@ int stm32x_write_block(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32 co armv7m_info.common_magic = ARMV7M_COMMON_MAGIC; armv7m_info.core_mode = ARMV7M_MODE_ANY; - armv7m_info.core_state = ARMV7M_STATE_THUMB; init_reg_param(®_params[0], "r0", 32, PARAM_OUT); init_reg_param(®_params[1], "r1", 32, PARAM_OUT); |