--- avrdude-upstream/ft245r.c 2015-01-26 14:57:06.694284064 +0300 +++ avrdude/ft245r.c 2015-01-26 17:46:42.898258686 +0300 @@ -510,7 +540,7 @@ for (i=0; i<4; i++) { buf_pos += set_data(pgm, buf+buf_pos, cmd[i]); } - buf[buf_pos] = 0; + ft245r_out = buf[buf_pos] = 0; buf_pos++; ft245r_send (pgm, buf, buf_pos);