Can't upload anymore


(effe) #1

Hi,
I’ve been trying out several sketches and suddenly I can’t upload them anymore.
My last upload was ‘Stellar Impact’, which runs fine, but as I try to upload any other rom I get this message:

Sketch uses 15,056 bytes (52%) of program storage space. Maximum is 28,672 bytes.
Global variables use 1,896 bytes (74%) of dynamic memory, leaving 664 bytes for local variables.
Maximum is 2,560 bytes.
Forcing reset using 1200bps open/close on port /dev/ttyACM0
PORTS {/dev/ttyACM0, } / {} => {}
PORTS {} / {/dev/ttyACM0, } => {/dev/ttyACM0, }
Found upload port: /dev/ttyACM0
/root/.arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5/bin/avrdude -C/root/.arduino15
/packages/arduino/tools/avrdude/6.0.1-arduino5/etc/avrdude.conf -v -patmega32u4 -cavr109 -P/dev
/ttyACM0 -b57600 -D -Uflash:w:/tmp/build05acd74e47e5b95f4cad62f88f1923fe.tmp
/ArduSnake.ino.hex:i 

avrdude: Version 6.0.1, compiled on Apr 14 2015 at 19:04:16
     Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
     Copyright (c) 2007-2009 Joerg Wunsch

     System wide configuration file is "/root/.arduino15/packages/arduino/tools/avrdude/6.0.1-arduino5
/etc/avrdude.conf"
     User configuration file is "/home/ale/.avrduderc"
     User configuration file does not exist or is not a regular file, skipping

     Using Port                    : /dev/ttyACM0
     Using Programmer              : avr109
     Overriding Baud Rate          : 57600
     AVR Part                      : ATmega32U4
     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    20     4    0 no       1024    4      0  9000  9000 0x00 0x00
       flash         65     6   128    0 yes     32768  128    256  4500  4500 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
       lock           0     0     0    0 no          1    0      0  9000  9000 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 : butterfly
     Description     : Atmel AppNote AVR109 Boot Loader

Connecting to programmer: .avrdude: butterfly_recv(): programmer is not responding
Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for 
suggestions.

What to do?
Thanks for your help
AC


(Sebastian Perez Galarza) #2

maybe… just maybe…
http://community.arduboy.com/t/how-to-reset-arduboy-if-its-bricked/807


(Scott) #3

It’s possible that Stellar Impact uses a large amount of RAM so is causing a known bootloader problem.

Try holding down the UP button when powering up and plugging in your Arduboy. This will enter “flashlight” mode and the RGB LED will light up white and the display will remain blank. (If you have one of the later Kickstarter Arduboys, with the RGB LED installation problem then the RGB LED will not turn on, but if the display remains blank then you’re probably in “flashlight” mode.) See if you can then load a new sketch.

http://community.arduboy.com/t/cant-re-flash-without-reset-for-larger-program/201/1


Stuck in a scrolling text loop [Solved]
Arduboy Assistant - Handy Arduboy Management Tool
(effe) #4

yes, that made the trick.
Thanks a lot!
AC


(Ross) #5