Topic: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+
Hi,
I am trying to install a bootloader on my Sanguinololu 1.3a board (with new ATmega1284P) since days!
Here are my previous attempts:
Arduino IDE 0022 with Sanguino-0023r4 bootloader
Arduino IDE 0023 with jmgiacalone/sanguino1284p bootloader
Arduino IDE 1.01 with Sanguino-0101r1 Bootloader
Arduino IDE 1.01 with Lauszus/Sanguino Bootloader
Arduino IDE 1.01 with Gen7 Arduino IDE Support 2.1 Bootloader
Arduino IDE 1.01 with maniacbug/mighty-1284p Bootloader
Arduino IDE 1.8.7 (TH3DUF_R2) with there integrated Sanguino 1284p Bootloader
Arduino IDE 1.8.10 with Lauszus/Sanguino Bootloader
Arduino IDE 1.8.10 with maniacbug/mighty-1284p Bootloader
aso.
I tried several Fuse-Settings, like '0xD6 LFuse, 0xDA HFuse & 0xFD EFuse' or '0xD7 LFuse, 0xDC HFuse & 0xFD EFuse' or '0xFF LFuse, 0xDE HFuse & 0xFD EFuse' or '0xFF LFuse, 0xDA HFuse & 0xFF EFuse' ...and several programmers as well 'stk500v1', 'stk500v2', 'Arduino', ...
BTW: I use an Arduino Uni as ISP, and i have used it successfully before with several creality boards. Wired this way...
Target = Sanguinololu 1.3a ICSP
Recently, I tried the following... https://youtu.be/S95-5Ft4RPQ (a horrible video, but without a 16Mhz resonator)
And yet so far no success!
My last try will be the tutorial 'Burning the Sanguino Bootloader using Arduino as ISP' from RepRap. But as I said before I am (still) missing a 16Mhz resonator.
First I got an error like 'ATmega1284p expected' from time to time, but now it just comes:
Yikes! Invalid device signature. 0x000000
Arduino: 1.8.10 (Windows 10), Board: "Sanguino, ATmega1284 or ATmega1284P (16 MHz)"
C:\Arduino\hardware\tools\avr/bin/avrdude -CC:\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega1284p -cstk500v1 -PCOM3 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDC:m -Ulfuse:w:0xD7:m
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM3
Using Programmer : stk500v1
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 : STK500
Description : Atmel STK500 Version 1.x firmware
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.02s
avrdude: Device signature = 0x000000 (retrying)
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x000000 (retrying)
Fehler beim Brennen des Bootloaders.
Reading | ################################################## | 100% 0.02s
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.
Please help me, I'm getting desperate. What am I doing wrong?
Thanks and best regards,
Chris aka soliuser ;-)