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);

                        if (burst)
                                LOG_ERROR("use 'arm11 memwrite burst disable' 
to disable fast burst mode");

                        if (arm11_config_memwrite_error_fatal)
                                return ERROR_FAIL;
                }

and r0 has the wrong value. The expected part (address + size * count)
is correct.

Regards,
Edgar

-- 
Edgar Grimberg
System Developer
Zylin AS
ZY1000 JTAG Debugger http://www.zylin.com/zy1000.html
Phone: (+47) 51 63 25 00
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to