Klipper3d / klipper

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

Is the Anet A8 display functionally? #301

Closed Skudderon closed 6 years ago

Skudderon commented 6 years ago

Hi, i used the printer.cfg for Anet A8. Works fine if display section is commented out. If i activate this i get this message in terminal:

"Send: status Recv: // Unknown command: hd44780_send_cmds Recv: // This type of error is frequently caused by running an older Recv: // version of the firmware on the micro-controller (fix by Recv: // recompiling and flashing the firmware). Recv: // Once the underlying issue is corrected, use the "RESTART" Recv: // command to reload the config and restart the host software. Recv: // Protocol error connecting to printer Recv: !! Unknown command: hd44780_send_cmds Recv: ok"

Klipper is up to date: "Send: N1 M115*39 Recv: ok FIRMWARE_VERSION:v0.6.0-41-gbdd26e4 FIRMWARE_NAME:Klipper What can i do?

Best Regards

dragonnn commented 6 years ago

Recv: // This type of error is frequently caused by running an older Recv: // version of the firmware on the micro-controller (fix by Recv: // recompiling and flashing the firmware).

Insert facepalm gif.

Skudderon commented 6 years ago

So? Then tell me whats newer then 0.6.0-41??? using same emoji

dragonnn commented 6 years ago

Klipper is up to date but the microcontroler part not. You need just to reflash you board like you did it first time installing klipper.

Skudderon commented 6 years ago

I did it yesterday. The error was after update. Thats why i posted: Recv: ok FIRMWARE_VERSION:v0.6.0-41-gbdd26e4 FIRMWARE_NAME:Klipper

dragonnn commented 6 years ago

Did you run make clean and make before make flash?

Skudderon commented 6 years ago

No i didnt. I used the way in: https://github.com/KevinOConnor/klipper/blob/master/docs/FAQ.md#how-do-i-upgrade-to-the-latest-software

dragonnn commented 6 years ago

Then try this: make clean make make flash FLASH_DEVICE=/dev/ttyACM0

Skudderon commented 6 years ago

The make flash command does not work with Anet board. So i used: avrdude -p atmega1284p -c arduino -b 57600 -P /dev/ttyUSB0 -U out/klipper.elf.hex like in the net A8 config file written.

dragonnn commented 6 years ago

Doesn't matter, important is to use make and make clean to rebuild the firmware.

Skudderon commented 6 years ago

"pi@octopi:~ $ make clean make make flash FLASH_DEVICE=/dev/ttyACM0 make: *** No rule to make target 'clean'. Stop.!

dragonnn commented 6 years ago

Not in one line. Every command is separate

Skudderon commented 6 years ago

oh, ok thx

dragonnn commented 6 years ago

And first you need to change folder with cd where you have klipper instaled

Skudderon commented 6 years ago

THIS was the point ;-) thanks

Skudderon commented 6 years ago

So finaly the display is online and i found the mistake. I used ONLY the command from printer.cfg (for Anet A8). I have to use BOTH commands (make flash ... AND avrdude ...)

Thanks for your help!