Hi Zach,
congratulations! This is great news for OpenOCD!
One thing I know needs fixing is to do a rom table scan. Samsung
parts do not have the same debug_base.
diff --git a/src/target/cortex_a8.c b/src/target/cortex_a8.c
index a548027..025fe60 100644
--- a/src/target/cortex_a8.c
+++ b/src/target/cortex_a8.c
@@ -60,6 +60,7 @@ static int
cortex_a8_dap_write_coreregister_u32(struct target *target,
#define swjdp_memoryap 0
#define swjdp_debugap 1
#define OMAP3530_DEBUG_BASE 0x54011000
+#define S5PC100_DEBUG_BASE 0x80005000
/*
* Cortex-A8 Basic debug access, very low level assumes state is saved
@@ -1461,7 +1462,7 @@ static int cortex_a8_examine_first(struct target *target)
LOG_DEBUG("TODO - autoconfigure");
/* Here we shall insert a proper ROM Table scan */
- armv7a->debug_base = OMAP3530_DEBUG_BASE;
+ armv7a->debug_base = S5PC100_DEBUG_BASE;
/* We do one extra read to ensure DAP is configured,
* we call ahbap_debugport_init(swjdp) instead
--
1.6.4.msysgit.0
--
Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development