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