Can't flash Nano



  • I cannot flash my Nano anymore. I always get the error FLASH ROM FAILED or Firmware Upload Error 1/1 with the T2 Laser. I cannot clear the EEPRON.

    Errorcode:
    avrdude.exe: Version 5.11-Patch#7610, compiled on Aug 31 2011 at 08:02:19
    Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
    Copyright (c) 2007-2009 Joerg Wunsch

             System wide configuration file is "C:\Users\xDDra\Desktop\Programme\EleksCAM v3.1\EleksCAM\avrdude\avrdude.conf"
    
             Using Port                    : \\.\COM3
             Using Programmer              : arduino
             Overriding Baud Rate          : 57600
             AVR Part                      : ATMEGA328P
             Chip Erase delay              : 9000 us
             PAGEL                         : PD7
             BS2                           : PC2
             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  3600  3600 0xff 0xff
               flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
               lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               lock           0     0     0    0 no          1    0      0  4500  4500 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 : Arduino
             Description     : Arduino
    

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x8c

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x8e

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x0d
    Hardware Version: 2
    Firmware Version: 7707076.4550624

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x95

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xd5

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x46

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x48

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x48
    Vtarget : 195453187.2 V
    Varef : 668462.0 V
    Oscillator : 0.552 Hz
    SCK period : 51.0 us

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x0e

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xbc
    avrdude.exe: stk500_initialize(): (a) protocol error, expect=0x14, resp=0xcd
    avrdude.exe: initialization failed, rc=-1
    avrdude.exe: AVR device initialized and ready to accept instructions
    avrdude.exe: Device signature = 0x000000
    avrdude.exe: Yikes! Invalid device signature.
    avrdude.exe: Expected signature for ATMEGA328P is 1E 95 0F
    a

    OR

    avrdude.exe: Version 5.11-Patch#7610, compiled on Aug 31 2011 at 08:02:19
    Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
    Copyright (c) 2007-2009 Joerg Wunsch

             System wide configuration file is "C:\Users\xDDra\Desktop\Programme\EleksCAM v3.1\EleksCAM\avrdude\avrdude.conf"
    
             Using Port                    : \\.\COM4
             Using Programmer              : arduino
             Overriding Baud Rate          : 57600
             AVR Part                      : ATMEGA328P
             Chip Erase delay              : 9000 us
             PAGEL                         : PD7
             BS2                           : PC2
             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  3600  3600 0xff 0xff
               flash         65     6   128    0 yes     32768  128    256  4500  4500 0xff 0xff
               lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               efuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
               lock           0     0     0    0 no          1    0      0  4500  4500 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 : Arduino
             Description     : Arduino
    

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x8c

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x8e

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x0d
    Hardware Version: 2
    Firmware Version: 15243716.4550624

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x95

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xd5

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x46

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x48

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x48
    Vtarget : 195453187.2 V
    Varef : 668462.0 V
    Oscillator : 0.552 Hz
    SCK period : 52.1 us

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x0e

    avrdude.exe: stk500_getparm(): (a) protocol error, expect=0x14, resp=0xbc
    avrdude.exe: stk500_initialize(): (a) protocol error, expect=0x14, resp=0xcd
    avrdude.exe: initialization failed, rc=-1
    avrdude.exe: AVR device initialized and ready to accept instructions
    avrdude.exe: Device signature = 0x000000
    avrdude.exe: Yikes! Invalid device signature.
    avrdude.exe: Expected signature for ATMEGA328P is 1E 95 0F
    a

    Do you have any idea @Zax ?


  • Developer of T2Laser Software

    @Anima You may be able to recover it by reloading the boot loader, but if it's one of the cheap Eleks Nano's that doesn't use a real ATmega chip I would just toss it and get a quality replacement.



  • It has a Mega 328P and it is GBRL ready I just cannot flash it anymore.


  • Developer of T2Laser Software

    @Anima It sounds like the Nano is out of sync, reflashing the boot loader usually fixes it. You can also load a small program like the blink test and then flash Grbl again.



  • I am not into the arduino stuff so far.. How do I reflash the boot loader?
    I do not have a second Nano and no programmer..


  • Developer of T2Laser Software

    @Anima You can use another Arduino as a programmer, and using Arduino IDE you can load the boot loader. I suggest to use OptiBoot as it's smaller, although technically for the Uno it works well with the Nano as well since they share the same ATmega328p chip.

    There are many good resources explaining the process, so I won't try to repeat that here. Here's some good information to get started:

    https://www.arduino.cc/en/Tutorial/ArduinoISP


Log in to reply
 

Looks like your connection to Offical Forum was lost, please wait while we try to reconnect.