- added patch to solve problem with AT91SAM9260 (dirty register)
(thanks to Øyvind Harboe for the patch) git-svn-id: svn://svn.berlios.de/openocd/trunk@282 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -287,7 +287,7 @@ int armv7m_write_core_reg(struct target_s *target, int num)
|
||||
if (retval != ERROR_OK)
|
||||
{
|
||||
ERROR("JTAG failure");
|
||||
armv7m->core_cache->reg_list[num].dirty = 1;
|
||||
armv7m->core_cache->reg_list[num].dirty = armv7m->core_cache->reg_list[num].valid;
|
||||
return ERROR_JTAG_DEVICE_ERROR;
|
||||
}
|
||||
DEBUG("write core reg %i value 0x%x", num , reg_value);
|
||||
|
||||
Reference in New Issue
Block a user