How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 22, 2019 08:11AM |
Registered: 6 years ago Posts: 7 |
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, [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.
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 22, 2019 09:09AM |
Admin Registered: 13 years ago Posts: 7,148 |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 22, 2019 09:31AM |
Registered: 6 years ago Posts: 7 |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 22, 2019 09:52AM |
Admin Registered: 13 years ago Posts: 7,148 |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 22, 2019 09:57AM |
Registered: 6 years ago Posts: 7 |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 22, 2019 10:01AM |
Admin Registered: 13 years ago Posts: 7,148 |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 22, 2019 10:06AM |
Admin Registered: 13 years ago Posts: 7,148 |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 22, 2019 10:55AM |
Registered: 6 years ago Posts: 7 |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 22, 2019 11:07AM |
Admin Registered: 13 years ago Posts: 7,148 |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 22, 2019 11:38AM |
Registered: 6 years ago Posts: 7 |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 22, 2019 08:46PM |
Admin Registered: 13 years ago Posts: 7,148 |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 23, 2019 04:57AM |
Registered: 6 years ago Posts: 7 |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 23, 2019 06:15AM |
Registered: 14 years ago Posts: 7,616 |
Quote
Programming the bootloader using the Arduino IDE
Many programmers don't use the USB protocol directly, but an internal USB-TTL converter. So far there was no luck uploading the bootloader with these from Arduino IDE's graphical user interface.
Generation 7 Electronics | Teacup Firmware | RepRap DIY |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 23, 2019 06:22AM |
Admin Registered: 13 years ago Posts: 7,148 |
/home/user/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude -C/home/user/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -patmega1284p -cstk500v1 -P/dev/ttyUSB0 -b19200 -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m avrdude: Version 6.3-20190619 Copyright (c) 2000-2005 Brian Dean, [www.bdmicro.com] Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "/home/user/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf" User configuration file is "/home/user/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/ttyUSB0 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 = 0x1e9705 (probably m1284p) avrdude: erasing chip avrdude: reading input file "0x3F" avrdude: writing lock (1 bytes): Writing | ################################################## | 100% 0.01s avrdude: 1 bytes of lock written avrdude: verifying lock memory against 0x3F: avrdude: load data lock data from input file 0x3F: avrdude: input file 0x3F contains 1 bytes avrdude: reading on-chip lock data: Reading | ################################################## | 100% 0.01s avrdude: verifying ... avrdude: 1 bytes of lock verified avrdude: reading input file "0xFD" avrdude: writing efuse (1 bytes): Writing | ################################################## | 100% 0.01s avrdude: 1 bytes of efuse written avrdude: verifying efuse memory against 0xFD: avrdude: load data efuse data from input file 0xFD: avrdude: input file 0xFD contains 1 bytes avrdude: reading on-chip efuse data: Reading | ################################################## | 100% 0.01s avrdude: verifying ... avrdude: 1 bytes of efuse verified avrdude: reading input file "0xDE" avrdude: writing hfuse (1 bytes): Writing | ################################################## | 100% 0.02s avrdude: 1 bytes of hfuse written avrdude: verifying hfuse memory against 0xDE: avrdude: load data hfuse data from input file 0xDE: avrdude: input file 0xDE contains 1 bytes avrdude: reading on-chip hfuse data: Reading | ################################################## | 100% 0.01s avrdude: verifying ... avrdude: 1 bytes of hfuse verified avrdude: reading input file "0xFF" avrdude: writing lfuse (1 bytes): Writing | ################################################## | 100% 0.02s avrdude: 1 bytes of lfuse written avrdude: verifying lfuse memory against 0xFF: avrdude: load data lfuse data from input file 0xFF: avrdude: input file 0xFF contains 1 bytes avrdude: reading on-chip lfuse data: Reading | ################################################## | 100% 0.01s avrdude: verifying ... avrdude: 1 bytes of lfuse verified avrdude done. Thank you. /home/user/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude -C/home/user/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf -v -patmega1284p -cstk500v1 -P/dev/ttyUSB0 -b19200 -Uflash:w:/home/user/.arduino15/packages/Sanguino/hardware/avr/1.0.3/bootloaders/optiboot/optiboot_atmega1284p.hex:i -Ulock:w:0x0F:m avrdude: Version 6.3-20190619 Copyright (c) 2000-2005 Brian Dean, [www.bdmicro.com] Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "/home/user/.arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf" User configuration file is "/home/user/.avrduderc" User configuration file does not exist or is not a regular file, skipping Using Port : /dev/ttyUSB0 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 = 0x1e9705 (probably m1284p) avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed To disable this feature, specify the -D option. avrdude: erasing chip avrdude: reading input file "/home/user/.arduino15/packages/Sanguino/hardware/avr/1.0.3/bootloaders/optiboot/optiboot_atmega1284p.hex" avrdude: writing flash (131072 bytes): Writing | ################################################## | 100% 0.00s avrdude: 131072 bytes of flash written avrdude: verifying flash memory against /home/user/.arduino15/packages/Sanguino/hardware/avr/1.0.3/bootloaders/optiboot/optiboot_atmega1284p.hex: avrdude: load data flash data from input file /home/user/.arduino15/packages/Sanguino/hardware/avr/1.0.3/bootloaders/optiboot/optiboot_atmega1284p.hex: avrdude: input file /home/user/.arduino15/packages/Sanguino/hardware/avr/1.0.3/bootloaders/optiboot/optiboot_atmega1284p.hex contains 131072 bytes avrdude: reading on-chip flash data: Reading | ################################################## | 100% 0.00s avrdude: verifying ... avrdude: 131072 bytes of flash verified avrdude: reading input file "0x0F" avrdude: writing lock (1 bytes): Writing | ################################################## | 100% 0.02s avrdude: 1 bytes of lock written avrdude: verifying lock memory against 0x0F: avrdude: load data lock data from input file 0x0F: avrdude: input file 0x0F contains 1 bytes avrdude: reading on-chip lock data: Reading | ################################################## | 100% 0.01s avrdude: verifying ... avrdude: 1 bytes of lock verified avrdude done. Thank you.
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 23, 2019 06:45AM |
Admin Registered: 13 years ago Posts: 7,148 |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 23, 2019 06:53AM |
Admin Registered: 13 years ago Posts: 7,148 |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ December 26, 2019 05:12AM |
Registered: 6 years ago Posts: 7 |
>>>: avrdude optiboot_atmega1284p.hex: 474 / 131.072 Bytes (0,36%) Checking for updates... You have the latest version ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ >>>: avrdude -u -c stk500v1 -p m1284p -P COM4 -b 19200 -v -e -U flash:w:"C:\Users[username]\Desktop\Solidoodle 2 with Sanguinololu\USBISP\optiboot_atmega1284p.hex":i -U lfuse:w:0xD6:m -U hfuse:w:0xDA:m -U efuse:w:0xFD:m -U lock:w:0x3F:m avrdude.exe: Version 6.3, compiled on Feb 17 2016 at 09:25:53 Copyright (c) 2000-2005 Brian Dean, [www.bdmicro.com] Copyright (c) 2007-2014 Joerg Wunsch System wide configuration file is "C:\Users[username]\Desktop\Solidoodle 2 with Sanguinololu\AVRDUDE\avrdudess_20191012\avrdude.conf" Using Port : COM4 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.exe: AVR device initialized and ready to accept instructions Reading | ################################################## | 100% 0.11s avrdude.exe: Device signature = 0x1e9705 (probably m1284p) avrdude.exe: erasing chip avrdude.exe: reading input file "C:\Users[username]\Desktop\Solidoodle 2 with Sanguinololu\USBISP\optiboot_atmega1284p.hex" avrdude.exe: writing flash (131072 bytes): Writing | ################################################## | 100% 0.00s avrdude.exe: 131072 bytes of flash written avrdude.exe: verifying flash memory against C:\Users[username]\Desktop\Solidoodle 2 with Sanguinololu\USBISP\optiboot_atmega1284p.hex: avrdude.exe: load data flash data from input file C:\Users[username]\Desktop\Solidoodle 2 with Sanguinololu\USBISP\optiboot_atmega1284p.hex: avrdude.exe: input file C:\Users[username]\Desktop\Solidoodle 2 with Sanguinololu\USBISP\optiboot_atmega1284p.hex contains 131072 bytes avrdude.exe: reading on-chip flash data: Reading | ################################################## | 100% -0.00s avrdude.exe: verifying ... avrdude.exe: 131072 bytes of flash verified avrdude.exe: reading input file "0xD6" avrdude.exe: writing lfuse (1 bytes): Writing | ################################################## | 100% 0.13s avrdude.exe: 1 bytes of lfuse written avrdude.exe: verifying lfuse memory against 0xD6: avrdude.exe: load data lfuse data from input file 0xD6: avrdude.exe: input file 0xD6 contains 1 bytes avrdude.exe: reading on-chip lfuse data: Reading | ################################################## | 100% 0.05s avrdude.exe: verifying ... avrdude.exe: 1 bytes of lfuse verified avrdude.exe: reading input file "0xDA" avrdude.exe: writing hfuse (1 bytes): Writing | ################################################## | 100% 0.13s avrdude.exe: 1 bytes of hfuse written avrdude.exe: verifying hfuse memory against 0xDA: avrdude.exe: load data hfuse data from input file 0xDA: avrdude.exe: input file 0xDA contains 1 bytes avrdude.exe: reading on-chip hfuse data: Reading | ################################################## | 100% 0.03s avrdude.exe: verifying ... avrdude.exe: 1 bytes of hfuse verified avrdude.exe: reading input file "0xFD" avrdude.exe: writing efuse (1 bytes): Writing | ################################################## | 100% 0.13s avrdude.exe: 1 bytes of efuse written avrdude.exe: verifying efuse memory against 0xFD: avrdude.exe: load data efuse data from input file 0xFD: avrdude.exe: input file 0xFD contains 1 bytes avrdude.exe: reading on-chip efuse data: Reading | ################################################## | 100% 0.04s avrdude.exe: verifying ... avrdude.exe: 1 bytes of efuse verified avrdude.exe: reading input file "0x3F" avrdude.exe: writing lock (1 bytes): Writing | ################################################## | 100% 0.03s avrdude.exe: 1 bytes of lock written avrdude.exe: verifying lock memory against 0x3F: avrdude.exe: load data lock data from input file 0x3F: avrdude.exe: input file 0x3F contains 1 bytes avrdude.exe: reading on-chip lock data: Reading | ################################################## | 100% 0.05s avrdude.exe: verifying ... avrdude.exe: 1 bytes of lock verified avrdude.exe done. Thank you.
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ August 26, 2020 05:51AM |
Registered: 4 years ago Posts: 5 |
Re: How to install a bootloader on a Sanguinololu 1.3a with 1284P in 2019+ August 30, 2020 11:41PM |
Registered: 4 years ago Posts: 5 |