Firmware flash complety failed - now not booting.
 
Notifications
Clear all

Firmware flash complety failed - now not booting.  

  RSS
remysharp
(@remysharp)
Member
Firmware flash complety failed - now not booting.

MK3s printer, self build - has been working fine for a few years, but was prompted to upgrade firmware.

Nothing special about the flashing process. Connected to MacOS via working cable (confirmed and have done it before). Prusa Slicer 2.6.0-rc1.

This is the log - and currently there's garbage on the display of the printer and I'm worried the firmware is half patched and now hosed...

Please, any help?

avrdude-slic3r -v -p atmega2560 -c wiring -P /dev/cu.usbmodem14401 -b 115200 -D -U flash:w:0:/Users/remy/Downloads/prusa3d_fw_3_12_2_MK3S/prusa3d_fw_MK3S_MK3S+_3_12_2_5713.hex:i

avrdude-slic3r: Version 6.3-20160220-prusa3d, compiled on Jun  9 2023 at 13:48:38
                Copyright (c) 2000-2005 Brian Dean,  http://www.bdmicro.com/ 
                Copyright (c) 2007-2014 Joerg Wunsch


                Using Port                    : /dev/cu.usbmodem14401
                Using Programmer              : wiring
                Overriding Baud Rate          : 115200
                AVR Part                      : ATmega2560
                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     8    0 no       4096    8      0  9000  9000 0x00 0x00
                  flash         65    10   256    0 yes    262144  256   1024  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 : Wiring
                Description     : Wiring
                Programmer Model: AVRISP
                Hardware Version: 15
                Firmware Version Master : 2.10
                Vtarget         : 0.0 V
                SCK period      : 0.1 us

avrdude-slic3r: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude-slic3r: Device signature = 0x1e9801 (probably m2560)
avrdude-slic3r: reading input file "/Users/remy/Downloads/prusa3d_fw_3_12_2_MK3S/prusa3d_fw_MK3S_MK3S+_3_12_2_5713.hex"
avrdude-slic3r: writing flash (247882 bytes):

Writing | ########avrdude-slic3r: stk500v2_recv(): timeout
avrdude-slic3r: stk500v2_recv(): timeout
avrdude-slic3r: stk500v2_getsync(): timeout communicating with programmer
avrdude-slic3r: stk500v2_command(): failed miserably to execute command 0x13
avrdude-slic3r: stk500v2_paged_write: write command failed
avrdude-slic3r: stk500v2_recv(): timeout
avrdude-slic3r: stk500v2_recv(): timeout
avrdude-slic3r: stk500v2_getsync(): timeout communicating with programmer
avrdude-slic3r: stk500v2_command(): failed miserably to execute command 0x06
avrdude-slic3r: stk500v2_loadaddr(): failed to set load address
 ***failed;  
########################################## | 100% 23.15s

avrdude-slic3r: failed to write flash memory, rc=-1
avrdude-slic3r: stk500v2_recv(): timeout
avrdude-slic3r: stk500v2_recv(): timeout
avrdude-slic3r: stk500v2_getsync(): timeout communicating with programmer
avrdude-slic3r: stk500v2_command(): failed miserably to execute command 0x11
avrdude-slic3r: stk500v2_disable(): failed to leave programming mode

avrdude-slic3r done.  Thank you.



Opublikowany : 16/06/2023 7:29 pm
remysharp
(@remysharp)
Member
Topic starter answered:
RE: Firmware flash complety failed - now not booting.

Fixed, though it seemed more like a fluke.

I checked the fuses, removed, tested with mmeter and they were all fine.

I then started trying to flash by hitting the reset button and immediately starting the flash process. At one point all the display on the LCD was garbled (ala Matrix style), but I kept trying (though I was expecting I would need to buy a new Einsy RAMBo - which I really didn't want to do).

After, I don't know how many attempts, the flash seemed to start to _catch_ and it was working. I seemed to run the firmware flash twice (read, write, verify and then again) and it was back.

Like I said, fluke.

Opublikowany : 17/06/2023 7:51 am
Hello
(@hello)
Noble Member
RE: Firmware flash complety failed - now not booting.

Yes something went wrong unplug it and try to do factory reset it should read off EPROM if that doesn't work then attempt to connect to prontoface if you do connect see if you can control printer 

Please help me out by downloading a model it's free and easy but really helps me out https://www.printables.com/@Hello_474427/models

Opublikowany : 17/06/2023 8:05 am
Share: