I created a "parallel programmer" DB25 to communicate with my Arduino Nano from this guide: https://www.arduino.cc/en/Hacking/ParallelProgrammer?from=Main.ParallelProgrammer
I have an old computer with a "printer port" so I plugged it in and the green "on led" as well as the red "L led" are lid.
Then I open Arduino 1.6.13, select Arduino Nano and ATmega328, but when I try to burn bootloader I get this error:
Arduino: 1.6.13 (Windows XP), Board: "Arduino Nano, ATmega328"
C:\Programmer\Arduino\hardware\tools\avr/bin/avrdude -CC:\Programmer\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cdapa -F -e -Ulock:w:0x3F:m -Uefuse:w:0x05:m -Uhfuse:w:0xDA:m -Ulfuse:w:0xFF:m
avrdude: Version 6.3, compiled on Sep 12 2016 at 17:24:16
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Programmer\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : lpt1
Using Programmer : dapa
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : PPI
Description : Direct AVR Parallel Access cable
VCC = 3
BUFF = (not used)
RESET = 16
SCK = 1
MOSI = 2
MISO = 11
ERR LED = (not used)
RDY LED = (not used)
PGM LED = (not used)
VFY LED = (not used)
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x60afc1
avrdude: Expected signature for ATmega328P is 1E 95 0F
avrdude done. Thank you.
Error while burning bootloader.
And when I just Upload my sketch I get this:
Sketch uses 444 bytes (1%) of program storage space. Maximum is 30.720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2.039 bytes for local variables. Maximum is 2.048 bytes.
C:\Programmer\Arduino\hardware\tools\avr/bin/avrdude -CC:\Programmer\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cdapa -F -Uflash:w:C:\DOCUME~1\mask\LOKALE~1\Temp\arduino_build_534787/sketch_dec07a.ino.hex:i
avrdude: Version 6.3, compiled on Sep 12 2016 at 17:24:16
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Programmer\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : lpt1
Using Programmer : dapa
AVR Part : ATmega328P
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC2
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 20 4 0 no 1024 4 0 3600 3600 0xff 0xff
flash 65 6 128 0 yes 32768 128 256 4500 4500 0xff 0xff
lfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
efuse 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
lock 0 0 0 0 no 1 0 0 4500 4500 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Programmer Type : PPI
Description : Direct AVR Parallel Access cable
VCC = 3
BUFF = (not used)
RESET = 16
SCK = 1
MOSI = 2
MISO = 11
ERR LED = (not used)
RDY LED = (not used)
PGM LED = (not used)
VFY LED = (not used)
An error occurred while uploading the sketch
avrdude: AVR device not responding
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0xd0aec1
avrdude: Expected signature for ATmega328P is 1E 95 0F
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude done. Thank you.
Why do I get this unexpected signature and what does it mean? The text on the chip is ATmega328P. And why is the signature different when i upload sketch and burn bootloader?
Also I didnt use the 2by3 pin (because it wasnt attached), I manually used the corresponding pins on the board 15=MOSI 16=MISO 17=SCK GND and RESET from:
But that should be the same?