]> git.sur5r.net Git - openocd/commitdiff
Ferdinand Postema [ferdinand@postema.eu]
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 7 Aug 2009 09:19:06 +0000 (09:19 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Fri, 7 Aug 2009 09:19:06 +0000 (09:19 +0000)
- fix vector catch issues with certain ARM9 cores - AT91SAM9260 and STR9

git-svn-id: svn://svn.berlios.de/openocd/trunk@2576 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/target/arm7_9_common.c

index dfe045d5b6580418162e2037f7cce35e8ad6b041..c0018f644698f974a09e60f3864e0ec04ee074c7 100644 (file)
@@ -1015,6 +1015,9 @@ int arm7_9_assert_reset(target_t *target)
                {
                        /* program vector catch register to catch reset vector */
                        embeddedice_write_reg(&arm7_9->eice_cache->reg_list[EICE_VEC_CATCH], 0x1);
+
+                       /* extra runtest added as issues were found with certain ARM9 cores (maybe more) - AT91SAM9260 and STR9 */
+                       jtag_add_runtest(1, jtag_get_end_state());
                }
                else
                {