jtag-mpsse

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 41b31ccee9c4403b0982ceee73f16bb868aa7d44
parent 8152cec13aebf086270a99e916faab83575c05b4
Author: Brian Swetland <swetland@frotz.net>
Date:   Sun, 11 May 2014 23:12:18 -0700

ack. back to back writes are corrupting things at times

drop in a usleep (ugh) for the moment

Diffstat:
Mmem.c | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/mem.c b/mem.c @@ -98,7 +98,12 @@ int main(int argc, char **argv) { } if (r < 1) break; + //fprintf(stderr,"%08x\n",n); jwr(DBG_W_SETDATA_INCADDR_WRITE, n); + usleep(5000); + //jwr(DBG_W_SETADDR, addr); + //jwr(DBG_W_SETDATA_WRITE, n); + //addr += 4; } close(fd); return 0;