MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.36k stars 19.26k forks source link

[BUG] upload does not work #17254

Closed D4str closed 4 years ago

D4str commented 4 years ago

My Magic 1.1 board (RAMPS 14 EFB) repeatedly crashes. After successful upload, the board will restart and everything is as before the upload. The board communicates seamlessly with the display and controls. It can also be read via USB.

Verbose mode can be enabled via -v, --verbose option CONFIGURATION: https://docs.platformio.org/page/boards/atmelavr/megaatmega2560.html PLATFORM: Atmel AVR 2.0.0 > Arduino Mega or Mega 2560 ATmega2560 (Mega 2560) HARDWARE: ATMEGA2560 16MHz, 8KB RAM, 248KB Flash PACKAGES:

avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0x1e9801 (probably m2560) avrdude: reading input file ".pio\build\mega2560\firmware.hex" avrdude: writing flash (53982 bytes):

Writing | ################################################## | 100% 6.54s

avrdude: 53982 bytes of flash written avrdude: verifying flash memory against .pio\build\mega2560\firmware.hex: avrdude: load data flash data from input file .pio\build\mega2560\firmware.hex: avrdude: input file .pio\build\mega2560\firmware.hex contains 53982 bytes avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 6.37s

avrdude: verifying ... avrdude: verification error, first mismatch at byte 0x0000 0x14 != 0x0c avrdude: verification error; content mismatch

avrdude: safemode: Fuses OK (E:FD, H:D8, L:FF)

avrdude done. Thank you.

*** [upload] Error 1

ellensp commented 4 years ago

There is something wrong with your mega, either it has faulty flash, or the bootloader it not working correctly.

D4str commented 4 years ago

bootloader i can't burn it writes an error. It used to work. Is it possible to bypass or fix this problem? what to use other arduino?

thinkyhead commented 4 years ago

This Issue Queue is for Marlin bug reports and development-related issues, and we prefer not to handle user-support questions here. (As noted on this page.) For best results getting help with configuration and troubleshooting, please use the following resources:

After seeking help from the community, if the consensus points to to a bug in Marlin, then you should post a bug report.

github-actions[bot] commented 4 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.