> I don't understand what bug you've spotted - mode 19 is supervisor, and is
> documented and handled in the code.
I'm starting to grasp a bit more of what's going on(so I deleted
the misunderstandings above).
Let me reiterate a bit.
I saw armv4_5_mode_to_number() failing because it was passed
19 decimal. This is "clearly impossible" and I have to go back check my
observations.
>From arm7_9_common.c:
armv4_5->core_mode = cpsr & 0x1f;
if (armv4_5_mode_to_number(armv4_5->core_mode) == -1)
{
target->state = TARGET_UNKNOWN;
LOG_ERROR("cpsr contains invalid mode value - communication
failure");
return ERROR_TARGET_FAILURE;
}
--
Øyvind Harboe
Embedded software and hardware consulting services
http://www.zylin.com
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development