summaryrefslogtreecommitdiff
path: root/src/flash/nor/at91sam3.c
diff options
context:
space:
mode:
authorSpencer Oliver <ntfreak@users.sourceforge.net>2010-02-02 13:22:07 +0000
committerSpencer Oliver <ntfreak@users.sourceforge.net>2010-02-28 22:26:52 +0000
commita851ce0d6f2b961f94e09746304e0fb0dad6a15f (patch)
treea98ee20fb1f66e271c3984fc8daf9d9dfdf748ad /src/flash/nor/at91sam3.c
parent0324eb24967088f753bc2fd997b4c18f4ea988c8 (diff)
downloadopenocd+libswd-a851ce0d6f2b961f94e09746304e0fb0dad6a15f.tar.gz
openocd+libswd-a851ce0d6f2b961f94e09746304e0fb0dad6a15f.tar.bz2
openocd+libswd-a851ce0d6f2b961f94e09746304e0fb0dad6a15f.tar.xz
openocd+libswd-a851ce0d6f2b961f94e09746304e0fb0dad6a15f.zip
ARMv7M: use software breakpoints for algorithms
- armv7m_run_algorithm now requires all algorithms to use a software breakpoint at their exit address - updated all algorithms to support this Signed-off-by: Spencer Oliver <ntfreak@users.sourceforge.net>
Diffstat (limited to 'src/flash/nor/at91sam3.c')
-rw-r--r--src/flash/nor/at91sam3.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/flash/nor/at91sam3.c b/src/flash/nor/at91sam3.c
index 1b2f27c2..5f013ed8 100644
--- a/src/flash/nor/at91sam3.c
+++ b/src/flash/nor/at91sam3.c
@@ -2046,9 +2046,7 @@ sam3_page_write_opcodes[] = {
0x10,0xf0,0x01,0x0f,
// 41 0024 FBD0 beq .L4
0xfb,0xd0,
- // 42 .done:
- // 43 0026 FEE7 b .done
- 0xfe,0xe7
+ 0x00,0xBE /* bkpt #0 */
};