rem: ppi_toggle(fd, PPIDATA, AVR_RESET);
add: ppi_pulse(fd, PPIDATA, AVR_RESET);
context: int avr_initialize ( int fd ){  int rc;  int tries;  avr_powerup(fd);  ppi_clr(fd, PPIDATA, AVR_CLOCK);  ppi_clr(fd, PPIDATA, AVR_RESET);  ppi_toggle(fd, PPIDATA, AVR_RESET);  usleep(20000); /* 20 ms */  /*   * enable programming mode, try up to 32 times in order to possibly   * get back into sync with the chip if we are out of sync.     */  tries = 0;  do {    rc = avr_program_enable ( fd );    if (rc == 0)      break;    ppi_toggle(fd, PPIDATA, AVR_CLOCK);    tries++;  } while (tries < 32);  /*   * can't sync with the device, maybe it's not attached?   */  if (tries == 32) {    fprintf ( stderr, "%s: AVR device not responding\n", progname );    return -1;  }  return 0;}