This is an automated email from Gerrit.

Oleksij Rempel ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/1342

-- gerrit

commit 2ded2f52193d8258b94941f39a0db488fd4e462c
Author: Oleksij Rempel <[email protected]>
Date:   Mon Apr 15 12:10:04 2013 +0200

    mips_m4k: break_unit is not working on ejtag 2.0
    
    seems like break_unit is not working on ejtag 2.0 or at least not bcm7401
    
    Change-Id: Ice2a44e3f1d7f47d880f39bccc2d0db316db55ca
    Signed-off-by: Oleksij Rempel <[email protected]>

diff --git a/src/target/mips_m4k.c b/src/target/mips_m4k.c
index fb4c376..db0bf56 100644
--- a/src/target/mips_m4k.c
+++ b/src/target/mips_m4k.c
@@ -91,7 +91,8 @@ static int mips_m4k_debug_entry(struct target *target)
        mips_ejtag_config_step(ejtag_info, 0);
 
        /* make sure break unit configured */
-       mips32_configure_break_unit(target);
+       if (ejtag_info->ejtag_version > EJTAG_VERSION_20)
+               mips32_configure_break_unit(target);
 
        /* attempt to find halt reason */
        mips_m4k_examine_debug_reason(target);

-- 

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to