Klipper3d / klipper

Klipper is a 3d-printer firmware
GNU General Public License v3.0
9.54k stars 5.32k forks source link

src/avr/Makefile:34: flash] Error 1 on Ender 3 #2320

Closed mickwo closed 4 years ago

mickwo commented 4 years ago

Hi when i try to flash i have this Error

I try with this ls /dev/serial/by-id/
/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0 ls /dev/serial/by-path/

/dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1:1.0-port0

sudo service klipper stop

make flash FLASH_DEVICE=/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0 ( First test)

make flash FLASH_DEVICE=/dev/ttyUSB0 (Second test) make flash FLASH_DEVICE=/dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.1:1.0-port0 (3th test)

Same Result 3 times

Flashing out/klipper.elf.hex to /dev/ttyUSB0 via avrdude avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x65 avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x63 avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x68 avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6f avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x3a avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x54 avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x46 avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20 avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x69 avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6e

avrdude done. Thank you.

make: *** [src/avr/Makefile:34: flash] Error 1

The octoprint is Disconnected all time

Any suggestions are welcome

jakep82 commented 4 years ago

https://github.com/KevinOConnor/klipper/blob/master/config/printer-creality-ender3-2018.cfg#L5

klipper-gitissuebot commented 4 years ago

Hi @mickwo,

It did not look like there was a Klipper log file attached to this ticket. The log file has been engineered to answer common questions the Klipper developers have about the software and its environment (software version, hardware type, configuration, event timing, and hundreds of other questions).

Unfortunately, too many people have opened tickets without providing the log. That consumes developer time; time that would be better spent enhancing the software. If this ticket references an event that has occurred while running the software then the Klipper log must be attached to this ticket. Otherwise, this ticket will be automatically closed in a few days.

For information on obtaining the Klipper log file see: https://github.com/KevinOConnor/klipper/blob/master/docs/Contact.md

The log can still be attached to this ticket - just add a comment and attach the log to that comment.

Best regards, ~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.

mickwo commented 4 years ago

https://github.com/KevinOConnor/klipper/blob/master/config/printer-creality-ender3-2018.cfg#L5

Thanks , but I forgot to say that I had already tried that alternative, the result is the same , only difference is no the line : make: *** [src/avr/Makefile:34: flash] Error 1

mickwo commented 4 years ago

Hi @mickwo,

It did not look like there was a Klipper log file attached to this ticket. The log file has been engineered to answer common questions the Klipper developers have about the software and its environment (software version, hardware type, configuration, event timing, and hundreds of other questions).

Unfortunately, too many people have opened tickets without providing the log. That consumes developer time; time that would be better spent enhancing the software. If this ticket references an event that has occurred while running the software then the Klipper log must be attached to this ticket. Otherwise, this ticket will be automatically closed in a few days.

For information on obtaining the Klipper log file see: https://github.com/KevinOConnor/klipper/blob/master/docs/Contact.md

The log can still be attached to this ticket - just add a comment and attach the log to that comment.

Best regards, ~ Your friendly GitIssueBot

PS: I'm just an automated script, not a human being.

klippy.log

I saw this video to install Klipper https://www.youtube.com/watch?v=yAfalR7-Tvw&t=132s In the comments two more people have the same problem in the last days

ld3300 commented 4 years ago

Will you try following the update process to make sure you are on the latest master and try again?

drphil3d commented 4 years ago

You need to power the board. It’s just talking to the usb to serial adapter but not the mcu because it’s not powered.

Buerk commented 4 years ago

Do you have a bootloader installed on your board (arduino, sanguino,... depending on your board)? A lot of boards (Creality, Tronxy, ...) don't have the bootloader preinstalled. Serial flashing only works with bootloader on the avr.

mickwo commented 4 years ago

Sorry for the late , i found the solution , the answer of Buerk was the solution I don't have the bootloader preinstalled.