diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-08 13:08:36 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-04-08 13:08:36 +0000 |
commit | eabb49b570290f2bcda80a0c591431b7ef240d43 (patch) | |
tree | 82fa5088a5192a6e1a956ca2f2d57da62ee433f6 /src/pld | |
parent | 4b2defe678917bfc366483c5ba775747af62b3c3 (diff) | |
download | openocd+libswd-eabb49b570290f2bcda80a0c591431b7ef240d43.tar.gz openocd+libswd-eabb49b570290f2bcda80a0c591431b7ef240d43.tar.bz2 openocd+libswd-eabb49b570290f2bcda80a0c591431b7ef240d43.tar.xz openocd+libswd-eabb49b570290f2bcda80a0c591431b7ef240d43.zip |
Pavel pointed out that jtag_add_tlr() is better than jtag_add_tms().
git-svn-id: svn://svn.berlios.de/openocd/trunk@547 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/pld')
-rw-r--r-- | src/pld/virtex2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pld/virtex2.c b/src/pld/virtex2.c index 997f60d5..e0ec27de 100644 --- a/src/pld/virtex2.c +++ b/src/pld/virtex2.c @@ -137,7 +137,7 @@ int virtex2_read_stat(struct pld_device_s *pld_device, u32 *status) { u32 data[5]; - jtag_add_tms(); + jtag_add_tlr(); data[0] = 0xaa995566; /* synch word */ data[1] = 0x2800E001; /* Type 1, read, address 7, 1 word */ @@ -192,7 +192,7 @@ int virtex2_load(struct pld_device_s *pld_device, char *filename) jtag_add_dr_scan(1, &field, TAP_PD); jtag_execute_queue(); - jtag_add_tms(); + jtag_add_tlr(); jtag_add_end_state(TAP_RTI); virtex2_set_instr(virtex2_info->chain_pos, 0xc); /* JSTART */ |