Topic: firmware sanguinololu 1.3a: The COMPLETE saga
EDIT: This is now solved. See the second post.
I didn't want this to be a forum post. But nothing works and I need to log what I've tried.
I have a Solidoodle 2 (SD2) with Sanguinololu 1.3a. It has the auto reset pins jumped, so I shouldn't have to mess with reset button tricks...
I have done a loop-check to make sure that the ftdi and board are responding to serial comments (jump rx to tx on the back of the board and type stuff in the serial monitor).
I have made sure to select the right COM port and board each time.
I have installed and reinstalled ftdi drivers
Using stuff from:
https://github.com/jmgiacalone/sanguino1284p
https://github.com/mlaws/solidoodle2-marlin
https://github.com/ozadr1an/Solidoodle- … in_v1_beta
I instructed a helfpul ebayer to bootload and send me a new atmega1284p-pu as in https://github.com/jmgiacalone/sanguino1284p
He assures me that the fuses are set properly.
I have tried on Mac OS 10.11:
1. Arduino022 with the extras from https://github.com/jmgiacalone/sanguino1284p
2. Solidoodle-Arduino1.0.5 from https://github.com/mlaws/solidoodle2-marlin
2.b Arduino1.0.5 with the extras from https://github.com/jmgiacalone/sanguino1284p
I have tried on Win XP
3. Arduino022 with the extras from https://github.com/jmgiacalone/sanguino1284p
4. Solidoodle-Arduino1.0.5 from https://github.com/mlaws/solidoodle2-marlin
5. Solidoodle-Arduino022 from https://github.com/ozadr1an/Solidoodle- … in_v1_beta
6. Arduino1.01 with the extras from https://github.com/jmgiacalone/sanguino1284p
7. Arduino1.0.5 with the extras from https://github.com/jmgiacalone/sanguino1284p
1 and 2 give avrdude: ser_recv(): programmer is not responding errors, so I think something could be wring with my drivers. I also don't operate the printer from this computer, so who knows.
2b didn't compile (for the curious https://gist.github.com/anonymous/95211659fbf9c01d1ebf)
3-7 all compile, but the upload throws various errors. See below for the error on 5 (and possibly 4). The error for 7 is a stk500_getsync() error.
Binary sketch size: 56180 bytes (of a 129024 byte maximum)
C:\Documents and Settings\Alejandro\My Documents\arduino-0022-solidoodle\arduino-0022\hardware/tools/avr/bin/avrdude -CC:\Documents and Settings\Alejandro\My Documents\arduino-0022-solidoodle\arduino-0022\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega1284p -cstk500v1 -P\\.\COM6 -b57600 -D -Uflash:w:C:\DOCUME~1\ALEJAN~1\LOCALS~1\Temp\build2584711671451896310.tmp\Marlin.cpp.hex:i
avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
System wide configuration file is "C:\Documents and Settings\Alejandro\My Documents\arduino-0022-solidoodle\arduino-0022\hardware/tools/avr/etc/avrdude.conf"
Using Port : \\.\COM6
Using Programmer : stk500v1
Overriding Baud Rate : 57600
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Send: 0 [30] [20]
avrdude: Recv:
avrdude: Recv:
AVR Part : ATMEGA1284P
Chip Erase delay : 9000 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
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
flash 65 10 256 0 yes 131072 256 512 4500 4500 0xff 0xff
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00
Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
Programmer Type : STK500
Description : Atmel STK500 Version 1.x firmware
avrdude: Send: A [41] . [80] [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Send: A [41] . [81] [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Send: A [41] . [82] [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
avrdude: Send: A [41] . [98] [20]
avrdude: Recv:
avrdude: Recv:
avrdude: Recv:
Hardware Version: 2
Firmware Version: 1.16
avrdude: Send: A [41] . [84] [20]
avrdude: Recv:
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x41
avrdude: Send: A [41] . [85] [20]
avrdude: Recv:
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x41
avrdude: Send: A [41] . [86] [20]
avrdude: Recv:
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x41
avrdude: Send: A [41] . [87] [20]
avrdude: Recv:
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x41
avrdude: Send: A [41] . [89] [20]
avrdude: Recv:
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x41
Vtarget : 200929192.4 V
Varef : 229372.8 V
Oscillator : 1.608 Hz
SCK period : 0.1 us
avrdude: Send: A [41] . [81] [20]
avrdude: Recv:
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x41
avrdude: Send: A [41] . [82] [20]
avrdude: Recv:
avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x41
avrdude: Send: B [42] . [82] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [ff] . [ff] . [ff] . [ff] . [01] . [00] . [10] . [00] . [00] . [02] . [00] . [00] [20]
avrdude: Recv:
avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x42
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude: Send: Q [51] [20]
avrdude: Recv:
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
avrdude done. Thank you.
Any suggestions?
Tomorrow someone will help me bootload the original atmega644p, and I have ordered a pololu avr programmer to bootload the atmega1284p again.