diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-03-05 19:29:41 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-03-05 19:29:41 +0000 |
commit | 01a5d87d5f5788542c5d26da1c19fa4e634adc10 (patch) | |
tree | a11cf320730e8ec09ccb9e36d5d55fea385d2942 /src/target/embeddedice.c | |
parent | 9b25f5eba2a8326e28146bbe315efe21e0cea91e (diff) | |
download | riscv-openocd-01a5d87d5f5788542c5d26da1c19fa4e634adc10.zip riscv-openocd-01a5d87d5f5788542c5d26da1c19fa4e634adc10.tar.gz riscv-openocd-01a5d87d5f5788542c5d26da1c19fa4e634adc10.tar.bz2 |
- This speeds up dcc arm7_9 bulk write a little bit and exercises the jtag_add_dr_out() codepath
- added a check to jtag_add_pathmove() for legal path transitions
- tweaked jtag.h docs a little bit
- made some jtag bypass tests _DEBUG_JTAG_IO_
git-svn-id: svn://svn.berlios.de/openocd/trunk@448 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/embeddedice.c')
-rw-r--r-- | src/target/embeddedice.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/target/embeddedice.c b/src/target/embeddedice.c index 3025827..3b9af75 100644 --- a/src/target/embeddedice.c +++ b/src/target/embeddedice.c @@ -382,7 +382,8 @@ int embeddedice_write_reg(reg_t *reg, u32 value) arm_jtag_set_instr(ice_reg->jtag_info, ice_reg->jtag_info->intest_instr, NULL); - embeddedice_write_reg_inner(reg, value); + u8 reg_addr = ice_reg->addr & 0x1f; + embeddedice_write_reg_inner(ice_reg->jtag_info->chain_pos, reg_addr, value); return ERROR_OK; } |