Uploading Firmware - ATmega1284p - error

Im trying to burn firmware on a 3d printer with a UNO
Burning the ISP sketch on the programmer works but uploading the firmware gives me a error i cant find a solution for.

Here are all steps i made include some screens.

chips: Chips - Album on Imgur

1 Step. uploading ArduinoISP sketch to the uno.

Imgur

logfile:

System wide configuration file is "D:\3dprint\TH3D_UFW_U1.R2.9a\Firmware Pack Source Folder\Windows Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM4
Using Programmer : arduino
Overriding Baud Rate : 115200
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 : Arduino
Description : Arduino
Hardware Version: 3
Firmware Version: 4.4
Vtarget : 0.3 V
Varef : 0.3 V
Oscillator : 28.800 kHz
SCK period : 3.3 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: reading input file "C:\Users\OwiHH\AppData\Local\Temp\arduino_build_630530/ArduinoISP.ino.hex"
avrdude: writing flash (4402 bytes):
Writing | ################################################## | 100% 0.73s
avrdude: 4402 bytes of flash written
avrdude done. Thank you.

2. step: Uploading Firmware

i do not have the option for "ArduinoISP" !?? (see screenshot)

Imgur

Logfile:

System wide configuration file is "D:\3dprint\TH3D_UFW_U1.R2.9a\Firmware Pack Source Folder\Windows Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM4
Using Programmer : arduino
Overriding Baud Rate : 115200
AVR Part : ATmega1284P
Chip Erase delay : 55000 us
PAGEL : PD7
BS2 : PA0
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 10 128 0 no 4096 8 0 9000 9000 0xff 0xff
flash 65 10 256 0 yes 131072 256 512 4500 4500 0xff 0xff
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Programmer Type : Arduino
Description : Arduino
Beim Hochladen des Sketches ist ein Fehler aufgetreten
Hardware Version: 3
Firmware Version: 4.4
Vtarget : 0.3 V
Varef : 0.3 V
Oscillator : 28.800 kHz
SCK period : 3.3 us
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f (probably m328p)
avrdude: Expected signature for ATmega1284P is 1E 97 05
Double check chip, or use -F to override this check.
avrdude done. Thank you.

Connect a 10 uF capacitor between the reset and ground pins on the Uno.

OwiHH:
i do not have the option for "ArduinoISP" !?? (see screenshot)

That's fine. Tools > Programmer > Arduino as ISP is the correct selection.

Thanks alot. This 10uf bridge will do exactly what?

It disables the auto-reset circuit on the Uno. The auto-reset circuit resets the ATmega328P microcontroller on the Uno whenever a serial connection is opened via the USB to TTL serial adapter chip which provides the COM port on your computer. That is the desired behavior when you're uploading to the Uno because the reset activates the bootloader, which is the firmware on the ATmega328P which facilitates the upload. However, when you are using the Uno as an Arduino as ISP, you do not want it to reset because you are not trying to upload to the Uno during this process.

thanks pert. I will try and repley back if the upload was successfull.

Now i get this if i put a capacitor ( used a 22uf 16v ) on the reset:

Der Sketch verwendet 115218 Bytes (88%) des Programmspeicherplatzes. Das Maximum sind 130048 Bytes.
Globale Variablen verwenden 4825 Bytes (29%) des dynamischen Speichers, 11559 Bytes für lokale Variablen verbleiben. Das Maximum sind 16384 Bytes.
D:\3dprint\TH3D_UFW_U1.R2.9a\Firmware Pack Source Folder\Windows Arduino\hardware\tools\avr/bin/avrdude -CD:\3dprint\TH3D_UFW_U1.R2.9a\Firmware Pack Source Folder\Windows Arduino\hardware\tools\avr/etc/avrdude.conf -v -V -patmega1284p -carduino -PCOM5 -b115200 -D -Uflash:w:C:\Users\OwiHH\AppData\Local\Temp\arduino_build_90439/TH3DUF_R2.ino.hex:i

avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "D:\3dprint\TH3D_UFW_U1.R2.9a\Firmware Pack Source Folder\Windows Arduino\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM5
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xe1
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xe0
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xe0

avrdude done. Thank you.

Problem beim Hochladen auf das Board. Hilfestellung dazu unter http://www.arduino.cc/en/Guide/Troubleshooting#upload.

Try, Sketch: Upload Using Programmer.

Nope. :frowning:

Der Sketch verwendet 115218 Bytes (88%) des Programmspeicherplatzes. Das Maximum sind 130048 Bytes.
Globale Variablen verwenden 4825 Bytes (29%) des dynamischen Speichers, 11559 Bytes für lokale Variablen verbleiben. Das Maximum sind 16384 Bytes.
D:\3dprint\TH3D_UFW_U1.R2.9a\Firmware Pack Source Folder\Windows Arduino\hardware\tools\avr/bin/avrdude -CD:\3dprint\TH3D_UFW_U1.R2.9a\Firmware Pack Source Folder\Windows Arduino\hardware\tools\avr/etc/avrdude.conf -v -V -patmega1284p -carduino -PCOM5 -b19200 -Uflash:w:C:\Users\OwiHH\AppData\Local\Temp\arduino_build_557152/TH3DUF_R2.ino.hex:i

avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "D:\3dprint\TH3D_UFW_U1.R2.9a\Firmware Pack Source Folder\Windows Arduino\hardware\tools\avr/etc/avrdude.conf"

Using Port : COM5
Using Programmer : arduino
Overriding Baud Rate : 19200
AVR Part : ATmega1284P
Chip Erase delay : 55000 us
PAGEL : PD7
BS2 : PA0
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 10 128 0 no 4096 8 0 9000 9000 0xff 0xff
flash 65 10 256 0 yes 131072 256 512 4500 4500 0xff 0xff
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00

Programmer Type : Arduino
Description : Arduino
Hardware Version: 2
Firmware Version: 1.18
Topcard : Unknown
Vtarget : 0.0 V
Varef : 0.0 V
Oscillator : Off
SCK period : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x000000 (retrying)

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x000000 (retrying)

Beim Hochladen des Sketches ist ein Fehler aufgetreten
Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
Double check connections and try again, or use -F to override
this check.

avrdude done. Thank you.

Do you have a VREG/USB connector? If you do, make sure it is in the USB position while flashing the firmware. Also, remove the SD card if you have one inserted.

VREG USB ? - the usb port seems broken so i try to flash with digital pins / uno. I ordered a new board getting sick after 2 months of finding out why i cant flash it.

Some CR10 boards have a USB VREG connector that must be in the USB position in order to load firmware using a programmer.

First off, you will have to turn off the power and remove all of the cables from the control box.
Once it is free, flip it over to remove the screws holding the bottom plate on.
Flip it over and remove the two screws on the side of the box holding up the power supply.

Once you've moved the power supply out of the way (be careful as some of the wires connected to it are not very long) you should be able to see the controller board. You can either remove the controller board from the housing or leave it in place. I chose to leave it in place to save time. If you do the same, find something to prop up the power supply.

Next, swap the USB/VREG jumper to USB so that we can power the board via USB. You can find it's location on the picture I attached.