From 1671aa2ab5c21dceac6420a3f11e3952721a5976 Mon Sep 17 00:00:00 2001 From: Kolja Waschk Date: Sat, 26 Jan 2008 19:55:39 +0000 Subject: [PATCH] Updates to JIM, code skeleton for flash attached to some_cpu bus git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@953 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/include/jim.h | 2 +- jtag/src/jim/README.jim | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/jtag/include/jim.h b/jtag/include/jim.h index 83a255db..484ba979 100644 --- a/jtag/include/jim.h +++ b/jtag/include/jim.h @@ -124,7 +124,7 @@ jim_device_t *jim_alloc_device(int num_sregs, const int reg_size[]); jim_state_t *jim_init(void); void jim_free(jim_state_t *s); void jim_print_sreg(shift_reg_t *r); -void jim_print_tap_state(jim_device_t *dev); +void jim_print_tap_state(char *rof, jim_device_t *dev); #endif diff --git a/jtag/src/jim/README.jim b/jtag/src/jim/README.jim index 183415a7..23b31c2d 100644 --- a/jtag/src/jim/README.jim +++ b/jtag/src/jim/README.jim @@ -8,6 +8,7 @@ cable jim bsdl path . detect -initbus prototype amsb=A(31) alsb=A(1) dmsb=D(15) dlsb=D(0) cs=CS oe=OE we=WE amode=x16 -detectflash 0x0000 +initbus prototype amsb=A(31) alsb=A(0) dmsb=D(15) dlsb=D(0) cs=CS oe=OE we=WE amode=x16 +detectflash 0 +# eraseflash 0 1