Welcome! Log In Create A New Profile

Advanced

Gen7 - Impossible to upload firmware

Posted by Tibow 
Re: Gen7 - Impossible to upload firmware
August 17, 2015 09:21PM
Thanks for the advice - I made sure that the package came from the Gen 7 support file and it is now compiling. It is not uploading, however. When I open the serial window, the pre-loaded Setup Test program kicks on and shows on/off text as the bed LED blinks on and off. When I try to upload the Setup Test program again, it begins to upload, but doesn't seem to finish. I have the Upload messages below as well:



Compiling messages:

/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /tmp/build8685151425230593942.tmp/setup_test_Gen7_v1_5.cpp -o /tmp/build8685151425230593942.tmp/setup_test_Gen7_v1_5.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/wiring_analog.c -o /tmp/build8685151425230593942.tmp/wiring_analog.c.o
/usr/share/arduino/hardware/tools/avr/bin/avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/wiring.c -o /tmp/build8685151425230593942.tmp/wiring.c.o
/usr/share/arduino/hardware/tools/avr/bin/avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/wiring_digital.c -o /tmp/build8685151425230593942.tmp/wiring_digital.c.o
In file included from /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/Arduino.h:220:0,
from /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/wiring_private.h:33,
from /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/wiring_digital.c:28:
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:103:2: warning: initialization makes integer from pointer without a cast [enabled by default]
&DDRA,
^
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:103:2: warning: (near initialization for ‘port_to_mode_PGM[1]’) [enabled by default]
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:104:2: warning: initialization makes integer from pointer without a cast [enabled by default]
&DDRB,
^
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:104:2: warning: (near initialization for ‘port_to_mode_PGM[2]’) [enabled by default]
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:105:2: warning: initialization makes integer from pointer without a cast [enabled by default]
&DDRC,
^
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:105:2: warning: (near initialization for ‘port_to_mode_PGM[3]’) [enabled by default]
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:106:2: warning: initialization makes integer from pointer without a cast [enabled by default]
&DDRD,
^
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:106:2: warning: (near initialization for ‘port_to_mode_PGM[4]’) [enabled by default]
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:111:2: warning: initialization makes integer from pointer without a cast [enabled by default]
&PORTA,
^
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:111:2: warning: (near initialization for ‘port_to_output_PGM[1]’) [enabled by default]
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:112:2: warning: initialization makes integer from pointer without a cast [enabled by default]
&PORTB,
^
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:112:2: warning: (near initialization for ‘port_to_output_PGM[2]’) [enabled by default]
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:113:2: warning: initialization makes integer from pointer without a cast [enabled by default]
&PORTC,
^
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:113:2: warning: (near initialization for ‘port_to_output_PGM[3]’) [enabled by default]
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:114:2: warning: initialization makes integer from pointer without a cast [enabled by default]
&PORTD,
^
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:114:2: warning: (near initialization for ‘port_to_output_PGM[4]’) [enabled by default]
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:119:2: warning: initialization makes integer from pointer without a cast [enabled by default]
&PINA,
^
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:119:2: warning: (near initialization for ‘port_to_input_PGM[1]’) [enabled by default]
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:120:2: warning: initialization makes integer from pointer without a cast [enabled by default]
&PINB,
^
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:120:2: warning: (near initialization for ‘port_to_input_PGM[2]’) [enabled by default]
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:121:2: warning: initialization makes integer from pointer without a cast [enabled by default]
&PINC,
^
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:121:2: warning: (near initialization for ‘port_to_input_PGM[3]’) [enabled by default]
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:122:2: warning: initialization makes integer from pointer without a cast [enabled by default]
&PIND,
^
/home/rhodes/sketchbook/hardware/Gen7/variants/gen7/pins_arduino.h:122:2: warning: (near initialization for ‘port_to_input_PGM[4]’) [enabled by default]
/usr/share/arduino/hardware/tools/avr/bin/avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/wiring_shift.c -o /tmp/build8685151425230593942.tmp/wiring_shift.c.o
/usr/share/arduino/hardware/tools/avr/bin/avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/WInterrupts.c -o /tmp/build8685151425230593942.tmp/WInterrupts.c.o
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/WInterrupts.c: In function ‘__vector_3’:
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/WInterrupts.c:309:13: warning: array subscript is above array bounds [-Warray-bounds]
if(intFunc[EXTERNAL_INT_2])
^
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/WInterrupts.c:310:12: warning: array subscript is above array bounds [-Warray-bounds]
intFunc[EXTERNAL_INT_2]();
^
/usr/share/arduino/hardware/tools/avr/bin/avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/wiring_pulse.c -o /tmp/build8685151425230593942.tmp/wiring_pulse.c.o
/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/IPAddress.cpp -o /tmp/build8685151425230593942.tmp/IPAddress.cpp.o
In file included from /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/IPAddress.cpp:3:0:
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/IPAddress.h: In member function ‘IPAddresseye popping smileyperator uint32_t()’:
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/IPAddress.h:51:55: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
operator uint32_t() { return *((uint32_t*)_address); };
^
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/IPAddress.h: In member function ‘bool IPAddresseye popping smileyperator==(const IPAddress&)’:
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/IPAddress.h:52:75: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
bool operator==(const IPAddress& addr) { return (*((uint32_t*)_address)) == (*((uint32_t*)addr._address)); };
^
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/IPAddress.h:52:108: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
bool operator==(const IPAddress& addr) { return (*((uint32_t*)_address)) == (*((uint32_t*)addr._address)); };
^
/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/CDC.cpp -o /tmp/build8685151425230593942.tmp/CDC.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/HardwareSerial.cpp -o /tmp/build8685151425230593942.tmp/HardwareSerial.cpp.o
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/HardwareSerial.cpp: In function ‘void store_char(unsigned char, ring_buffer*)’:
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/HardwareSerial.cpp:98:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i != buffer->tail) {
^
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/HardwareSerial.cpp: In function ‘void __vector_20()’:
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/HardwareSerial.cpp:132:21: warning: unused variable ‘c’ [-Wunused-variable]
unsigned char c = UDR0;
^
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/HardwareSerial.cpp: In function ‘void __vector_28()’:
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/HardwareSerial.cpp:158:21: warning: unused variable ‘c’ [-Wunused-variable]
unsigned char c = UDR1;
^
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/HardwareSerial.cpp: In member function ‘void HardwareSerial::begin(long unsigned int, byte)’:
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/HardwareSerial.cpp:379:11: warning: unused variable ‘current_config’ [-Wunused-variable]
uint8_t current_config;
^
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/HardwareSerial.cpp: In member function ‘virtual size_t HardwareSerial::write(uint8_t)’:
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/HardwareSerial.cpp:478:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i == _tx_buffer->tail)
^
/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/new.cpp -o /tmp/build8685151425230593942.tmp/new.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/WMath.cpp -o /tmp/build8685151425230593942.tmp/WMath.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/Stream.cpp -o /tmp/build8685151425230593942.tmp/Stream.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/Print.cpp -o /tmp/build8685151425230593942.tmp/Print.cpp.o
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/Print.cpp: In member function ‘size_t Print::print(const __FlashStringHelper*)’:
/home/rhodes/sketchbook/hardware/Gen7/cores/arduino/Print.cpp:44:23: warning: ‘__progmem__’ attribute ignored [-Wattributes]
const char PROGMEM *p = (const char PROGMEM *)ifsh;
^
/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/main.cpp -o /tmp/build8685151425230593942.tmp/main.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/HID.cpp -o /tmp/build8685151425230593942.tmp/HID.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/Tone.cpp -o /tmp/build8685151425230593942.tmp/Tone.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/USBCore.cpp -o /tmp/build8685151425230593942.tmp/USBCore.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=atmega1284p -DF_CPU=20000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -D__PROG_TYPES_COMPAT__ -I/home/rhodes/sketchbook/hardware/Gen7/cores/arduino -I/home/rhodes/sketchbook/hardware/Gen7/variants/gen7 /home/rhodes/sketchbook/hardware/Gen7/cores/arduino/WString.cpp -o /tmp/build8685151425230593942.tmp/WString.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/wiring_analog.c.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/wiring.c.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/wiring_digital.c.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/wiring_shift.c.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/WInterrupts.c.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/wiring_pulse.c.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/IPAddress.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/CDC.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/HardwareSerial.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/new.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/WMath.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/Stream.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/Print.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/main.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/HID.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/Tone.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/USBCore.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-ar rcs /tmp/build8685151425230593942.tmp/core.a /tmp/build8685151425230593942.tmp/WString.cpp.o
/usr/share/arduino/hardware/tools/avr/bin/avr-gcc -Os -Wl,--gc-sections -mmcu=atmega1284p -o /tmp/build8685151425230593942.tmp/setup_test_Gen7_v1_5.cpp.elf /tmp/build8685151425230593942.tmp/setup_test_Gen7_v1_5.cpp.o /tmp/build8685151425230593942.tmp/core.a -L/tmp/build8685151425230593942.tmp -lm
/usr/share/arduino/hardware/tools/avr/bin/avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 /tmp/build8685151425230593942.tmp/setup_test_Gen7_v1_5.cpp.elf /tmp/build8685151425230593942.tmp/setup_test_Gen7_v1_5.cpp.eep
/usr/share/arduino/hardware/tools/avr/bin/avr-objcopy -O ihex -R .eeprom /tmp/build8685151425230593942.tmp/setup_test_Gen7_v1_5.cpp.elf /tmp/build8685151425230593942.tmp/setup_test_Gen7_v1_5.cpp.hex
Binary sketch size: 3,256 bytes (of a 129,024 byte maximum)






Upload messages: (I've removed some of the repetitive "avrdude: Recv: . [00] " text)

avrdude: Version 6.0.1, compiled on Oct 21 2013 at 17:07:18
Copyright (c) 2000-2005 Brian Dean, [www.bdmicro.com]
Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is "/usr/share/arduino/hardware/tools/avrdude.conf"
User configuration file is "/home/rhodes/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyACM4
Using Programmer : stk500v2
Overriding Baud Rate : 115200
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv: . [00]
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
avrdude: Recv: . [00]
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
.
.
.
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
.
.
.
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
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
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 : STK500V2
Description : Atmel STK500 Version 2.x firmware
Programmer Model: Unknown
avrdude: Send: . [1b] . [01] . [00] . [02] . [0e] . [03] . [90] . [85]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
.
.
.
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: Send: . [1b] . [01] . [00] . [01] . [0e] . [01] . [14]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
avrdude: Recv: . [00]
.
.
.
Re: Gen7 - Impossible to upload firmware
August 18, 2015 04:49AM
Timeout means, there's no communications at all. Press and release the reset button shortly before Arduino IDE start the upload (you have a time window of 3 seconds).

BTW., the ATmega does work, right? SetupTest is already uploaded, so if you connect with Arduino IDE at 9600 baud ("Serial Monitor" in Arduino's toolbar), you should see messages. If there are none, something else is wrong.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen7 - Impossible to upload firmware
August 18, 2015 09:04AM
I forgot to answer your question about the version of Arduino: it is "1:1.0.5+dfsg2-2" for Linux 32 bit.

The Atmega is working - the PSU turns on, the bed LED blinks five times (even when not connected with the USB cable), and the serial window shows the messages as well when the USB is connected - "PSU turned on" and messages indicating the LED is being turned on and off. I would like to reload the Setup Test program with a modification to blink 10 times so that I can see it's uploading. This isn't working yet, but I'll try your suggestion of pushing the reset button later today.

Thanks for the help!
Re: Gen7 - Impossible to upload firmware
August 18, 2015 11:59PM
Quote
Traumflug
Press and release the reset button shortly before Arduino IDE start the upload (you have a time window of 3 seconds).

I've tried pressing and releasing the reset button many times without success. Are there any other possibilities?
Re: Gen7 - Impossible to upload firmware
August 19, 2015 04:44AM
Hmm. Seems to get tricky.

The already uploaded SetupTest can also answer incoming characters. Simply connect to see the messages, then type a few characters in the Serial Monitor window, hit Enter. You should get extra messages, echoing these characters. With this working one can assume safely that serial lines are fine.

Looking through the log above I see this:
Using Port : /dev/ttyACM4
ACM4 is an unusual high number. It means, you have four other devices with serial lines connected (ACM0, ACM1, ACM2, ACM3). I'd unplug the Gen7 and use 'ls /dev/tty*' to look how many are left. Unplug all other devices, too. All ttyACM* should go away.

Another one is, if you have more than one application connecting to the serial line, uploading doesn't work. Arduino IDE is fine, because it knows when the upload happens, but other ones like GtkTerm don't, so they have to be closed before uploading.

If all ACM devices are gone, the Gen7 should show up as ttyACM0 when connected. Chances are better in this case.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen7 - Impossible to upload firmware
August 19, 2015 10:13PM
I've tried entering characters into the serial window, but I've never gotten an echo.

In the past, I would get ACM0 every time I plugged in the Gen 7 control board, but I recently followed the steps outlined at this site:
[ww1.microchip.com]

Since then, every time I plug in the board, I get increasing integers almost every time I plug in (I'm up to ACM10 now). Do you know how to undo this?

Quote
Traumflug
I'd unplug the Gen7 and use 'ls /dev/tty*' to look how many are left. Unplug all other devices, too. All ttyACM* should go away.

I did this, and the ACM* went away. Plugging the Gen 7 back in and I get a single entry for ACM10.

Quote
Traumflug
Another one is, if you have more than one application connecting to the serial line, uploading doesn't work. Arduino IDE is fine, because it knows when the upload happens, but other ones like GtkTerm don't, so they have to be closed before uploading.

If all ACM devices are gone, the Gen7 should show up as ttyACM0 when connected. Chances are better in this case.

How do I check if multiple applications are using the serial line? Or was this done with the 'ls /dev/ttyACM*' above?
Re: Gen7 - Impossible to upload firmware
August 20, 2015 12:08AM
'ls /dev/ttyACM*' thumbs up


Triffid Hunter's Calibration Guide --> X <-- Drill for new Monitor Most important Gcode.
Re: Gen7 - Impossible to upload firmware
August 20, 2015 03:14AM
Quote
aaron.r
I've tried entering characters into the serial window, but I've never gotten an echo.

Ah, problem found :-) Check the RX line for bad solder joints, the light green one in this picture (seen from the top):



If the ATmega doesn't receive characters, it also can't receive a firmware.

Quote
aaron.r
In the past, I would get ACM0 every time I plugged in the Gen 7 control board, but I recently followed the steps outlined at this site:
[ww1.microchip.com]

Since then, every time I plug in the board, I get increasing integers almost every time I plug in (I'm up to ACM10 now). Do you know how to undo this?

You mean, you run a stty command each time? That's pointless. As long as the ACM device appears, the driver part works fine.

Quote
aaron.r
How do I check if multiple applications are using the serial line? Or was this done with the 'ls /dev/ttyACM*' above?

Close the known applications, unplug the device. If the ttyACM* goes away, it was unused. There are more


Generation 7 Electronics Teacup Firmware RepRap DIY
     

Re: Gen7 - Impossible to upload firmware
August 23, 2015 07:14PM
Thanks Traumflug, that was it. After a wife-imposed two day hiatus from working on this, yesterday I checked the solders you suggested and found a bad one. Firmware uploaded nicely. Now I'm on to putting together the printer itself.

Thanks a lot for your help and quick responses!

Aaron
Re: Gen7 - Impossible to upload firmware
August 24, 2015 03:12PM
Happy to see you got it worked out :-)


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen7 - Impossible to upload firmware
September 17, 2015 11:56PM
I would like to get Teacup loaded on my Gen7 1.5 control board, but am having some troubles getting it ready.

I have the prerequisites: Python 2.7.6; I think I have wxPython (how do I make sure?), and Arduino IDE.

Teacup_Firmware is downloaded; when I double-click "configtool.py", a gedit file opens. I'm stuck here - I see no options to choose Menu -> File -> Load printer.

I'm running this in Ubuntu 14.04 LTS. Hopefully something simple I'm missing - any help would be appreciated.
Re: Gen7 - Impossible to upload firmware
September 18, 2015 02:40AM
Quote
aaron.r
when I double-click "configtool.py", a gedit file opens

The file shouldn't open in gedit, it should open a window on its own. Apparently it isn't recognized as being an executable.

Open a Terminal, change directory to inside the Teacup folder, then type
python2 configtool.py
and hit Enter.

Trying by double clicking I just see that it's surprisingly difficult to execute executables by (double)clicking in Ubuntu. Will have to find a way to deal with this.


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen7 - Impossible to upload firmware
September 18, 2015 02:45AM
Here's another solution, the last answer is right: [stackoverflow.com] . On my Ubuntu it's set to "ask each time".


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen7 - Impossible to upload firmware
September 21, 2015 11:44AM
Quote
Traumflug
Here's another solution, the last answer is right: [stackoverflow.com] . On my Ubuntu it's set to "ask each time".

Thanks - I had to use the Terminal command to start the Teacup configuration window and I was able to load Teacup to the control board.

I couldn't use your last suggestion, though it would be preferrable. My windows in Ubuntu don't have a menu bar that I can use to change file opening preferences. Looking into it, this is apparently a common problem. Do you know how to get window menus to display? I know this is off-topic from the Gen7 control board, but thought I'd ask.

Aaron
Re: Gen7 - Impossible to upload firmware
September 21, 2015 12:34PM
Quote
aaron.r
My windows in Ubuntu don't have a menu bar that I can use to change file opening preferences.

It's a file manager preference. View the contents of any folder to get a file manager window, then there should be a menu bar at the top of that window. Menu -> Edit -> Preferences, then the 2nd tab (my translation, it's german here).


Generation 7 Electronics Teacup Firmware RepRap DIY
     
Re: Gen7 - Impossible to upload firmware
December 27, 2017 12:04PM
Hey does the MCP2200 work with windows 10 or does it only work with windows 7 32bit operating systems. Because even I am having the same problem. My windows 10 computer is not detecting the MCP2200. But if I connect the 5v of usb-b-type to Vusb terminal of MCP2200 it shows an error message 'Power Surge on USB port'. I have seen all the connections and they are perfect.
Re: Gen7 - Impossible to upload firmware
December 08, 2018 07:42AM
It works with Windows 10, 64bits without problem. its recognised as USB serial interface without any driver installation.
Sorry, only registered users may post in this forum.

Click here to login