| Line -... | 
        Line 1... | 
      
      
        | - | 
          | 
        1 | 
        # Linux Shell Script | 
      
      
        | 1 | 
        # ATprogISPUSB02A fash script | 
        2 | 
        # ATprogISPUSB02A fash script | 
      
      
        | 2 | 
        # Uses DAPA (Direct Parallel Access) Programmer | 
        3 | 
        # Uses DAPA (Direct Parallel Access) Programmer | 
      
      
        | 3 | 
        read -p "WARNING: Enables external clock. Make sure a crystal is connected to the ATmega8535!  | 
        4 | 
        read -p "WARNING: Enables external clock. Make sure a crystal is connected to the ATmega8535!  | 
      
      
        | 4 | 
         Connect a programmer to the ATprogISPUSB02A and set a jumper 'ISP SELECTION' J4 to 'internal' 1-2 close" | 
        5 | 
         Connect a programmer to the ATprogISPUSB02A and set a 'ISP SELECTION' jumper (J4) to 'internal' (1-2)" | 
      
      
        | 5 | 
          | 
        6 | 
          | 
      
      
        | 6 | 
        avrdude -p atmega8535 -P /dev/parport0 -c dapa -v -U lfuse:w:0xff:m -U hfuse:w:0xdb:m | 
        7 | 
        avrdude -p atmega8535 -P /dev/parport0 -c dapa -v -U lfuse:w:0xff:m -U hfuse:w:0xdb:m | 
      
      
        | 7 | 
        avrdude -p atmega8535 -P /dev/parport0 -c dapa -U flash:w:stk500.hex:a | 
        8 | 
        avrdude -p atmega8535 -P /dev/parport0 -c dapa -U flash:w:stk500.hex:a | 
      
      
        | 8 | 
          | 
        9 | 
          | 
      
      
        | 9 | 
        echo Set both Reset-Jumpers "ISP sel" J7  to "normal" now 2-3 close | 
        10 | 
        echo Set 'ISP SELECTION' jumper (J4) to 'normal' (2-3)" |