On Tuesday 26 January 2010, Edgar Grimberg wrote:
> Hi David,
>
> > However: did you check the buffer to see if it had the right data?
> > What I saw was the right data in the buffer...
>
> The fail is in this code:
>
> /* MCR p14,0,R0,c0,c5,0 */
> retval = arm11_run_instr_data_from_core(arm11, 0xEE000E15, &r0,
> 1);
> if (retval != ERROR_OK)
> return retval;
>
> if (address + size * count != r0)
> {
> LOG_ERROR("Data transfer failed. Expected end "
> "address 0x%08x, got 0x%08x",
> (unsigned) (address + size * count),
> (unsigned) r0);
>
> ...
>
> and r0 has the wrong value. The expected part (address + size * count)
> is correct.
Obviously. But did you check the buffer to see if it had the
right data?
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development