It won't work, but is is not an error. Return ERROR_OK so other targets in the chain can be examined.

Reagrds
Magnus

Index: src/target/target.c
===================================================================
--- src/target/target.c	(revision 2051)
+++ src/target/target.c	(working copy)
@@ -470,6 +470,11 @@
 
 int target_examine_one(struct target_s *target)
 {
+	if (! target->tap->enabled)
+	{
+		LOG_WARNING("Target %s with disabled tap cannot be examined, use arp_examine after init",target_get_name(target));
+		return ERROR_OK;
+	}
 	return target->type->examine(target);
 }
 

_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to