On Thu, Jul 2, 2009 at 5:19 PM, Øyvind Harboe<[email protected]> wrote:
>> The _CHIPNAME and _CPUTAPID do not look right at all.
>> Does OpenOCD support AduC70xx right now?
>
> Yes, but you need to plug in the right values into that
> script. Patches gladly accepted.
>
> I believe the bugs you've spotted are a result of wholesale
> copy & paste of code into the target config scripts *after*
> that target script was tested
>
Here is the patch. With this patch, OpenOCD can talk to my
Analog Device Eval-ADuC7060 eval board.
--- trunk/tcl/target/aduc702x.cfg.orig 2009-05-28 07:51:26.000000000 +0800
+++ trunk/tcl/target/aduc702x.cfg 2009-07-02 22:55:36.000000000 +0800
@@ -5,7 +5,7 @@
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
- set _CHIPNAME s3c2410
+ set _CHIPNAME aduc702x
}
if { [info exists ENDIAN] } {
@@ -18,7 +18,7 @@
if { [info exists CPUTAPID] } {
set _CPUTAPID $CPUTAPID
} else {
- set _CPUTAPID 0xffffffff
+ set _CPUTAPID 0x3f0f0f0f
}
--
Xiaofan http://mcuee.blogspot.com
--- trunk/tcl/target/aduc702x.cfg.orig 2009-05-28 07:51:26.000000000 +0800
+++ trunk/tcl/target/aduc702x.cfg 2009-07-02 22:55:36.000000000 +0800
@@ -5,7 +5,7 @@
if { [info exists CHIPNAME] } {
set _CHIPNAME $CHIPNAME
} else {
- set _CHIPNAME s3c2410
+ set _CHIPNAME aduc702x
}
if { [info exists ENDIAN] } {
@@ -18,7 +18,7 @@
if { [info exists CPUTAPID] } {
set _CPUTAPID $CPUTAPID
} else {
- set _CPUTAPID 0xffffffff
+ set _CPUTAPID 0x3f0f0f0f
}
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development