Your svf file does fail with my patch. I had to increase it from 8x the normal buffer size to 32x the normal buffer size, before it stopped reporting buffer-to-small errors.
Then I simply get the: Error: tdo check error at line 33 Error: read = 0x0, want = 0xF2618093, mask = 0xFFFFFFF Error: fail to run command at line 2513 Error: tdo check error at line 33 Error: read = 0x0, want = 0xF2618093, mask = 0xFFFFFFF Which is just because the dummy driver doesn't respond as a Xilinx device with the ID it is expecting. On a real device, I would now expect this too work. ---------------------------------------------------------------------------------------- diff --git a/src/svf/svf.c b/src/svf/svf.c index fa79c23..30ebc0e 100644 --- a/src/svf/svf.c +++ b/src/svf/svf.c @@ -219,7 +219,7 @@ static size_t svf_command_buffer_size = 0; static int svf_line_number = 1; static int svf_getline (char **lineptr, size_t *n, FILE *stream); -#define SVF_MAX_BUFFER_SIZE_TO_COMMIT (8 * 4 * 1024) +#define SVF_MAX_BUFFER_SIZE_TO_COMMIT (32 * 4 * 1024) static uint8_t *svf_tdi_buffer = NULL, *svf_tdo_buffer = NULL, *svf_mask_buffer = NULL; static int svf_buffer_index = 0, svf_buffer_size = 0; static int svf_quiet = 0; _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development