The following patches was applied:
- openocd-flash-static-keyword-v3.patch - openocd-lpc2000-fix-erase-obo.patch - openocd-jlink-fix-sign-ptr-warn.patch - openocd-wextra-etm.patch - openocd-wextra-jtag.patch - openocd-add-new-tap-symbols-v6.patch Many thanks to Zach Welch <zw(at)superlucidity.net> git-svn-id: svn://svn.berlios.de/openocd/trunk@1462 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -178,7 +178,7 @@ int arm926ejs_cp15_read(target_t *target, u32 op1, u32 op2, u32 CRn, u32 CRm, u3
|
||||
fields[3].in_handler = NULL;
|
||||
fields[3].in_handler_priv = NULL;
|
||||
|
||||
jtag_add_dr_scan(4, fields, -1);
|
||||
jtag_add_dr_scan(4, fields, TAP_INVALID);
|
||||
|
||||
fields[0].in_handler_priv = value;
|
||||
fields[0].in_handler = arm_jtag_buf_to_u32;
|
||||
@@ -189,7 +189,7 @@ int arm926ejs_cp15_read(target_t *target, u32 op1, u32 op2, u32 CRn, u32 CRm, u3
|
||||
/* rescan with NOP, to wait for the access to complete */
|
||||
access = 0;
|
||||
nr_w_buf = 0;
|
||||
jtag_add_dr_scan(4, fields, -1);
|
||||
jtag_add_dr_scan(4, fields, TAP_INVALID);
|
||||
if((retval = jtag_execute_queue()) != ERROR_OK)
|
||||
{
|
||||
return retval;
|
||||
@@ -268,14 +268,14 @@ int arm926ejs_cp15_write(target_t *target, u32 op1, u32 op2, u32 CRn, u32 CRm, u
|
||||
fields[3].in_handler = NULL;
|
||||
fields[3].in_handler_priv = NULL;
|
||||
|
||||
jtag_add_dr_scan(4, fields, -1);
|
||||
jtag_add_dr_scan(4, fields, TAP_INVALID);
|
||||
/*TODO: add timeout*/
|
||||
do
|
||||
{
|
||||
/* rescan with NOP, to wait for the access to complete */
|
||||
access = 0;
|
||||
nr_w_buf = 0;
|
||||
jtag_add_dr_scan(4, fields, -1);
|
||||
jtag_add_dr_scan(4, fields, TAP_INVALID);
|
||||
if((retval = jtag_execute_queue()) != ERROR_OK)
|
||||
{
|
||||
return retval;
|
||||
|
||||
Reference in New Issue
Block a user