Ender 5 Board V1.1.5 MCU issues

Basic Information:

Printer Model: Creality Ender 5 (2019
MCU / Printerboard:V1.1.5
Host / SBC PI model 3
klippy.log
klippy.log (521.9 KB)
printer.cfg (2.4 KB)

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:

Hi all,

Getting an MCU uable to connect error (this is my first attempt at setting up klipper and I’m using mainsail os) I do the following (I have tried multiple usb cables too):

My make menu config is this:

Then I use ‘make’

then I turn off klipper and run this command to flash my board:
avrdude -p atmega1284p -c arduino -P /dev/ttyUSB0 -b 115200 -U flash:w:out/klipper.elf.hex

then I get this which looks like it runs ok to me:

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9705 (probably m1284p)
avrdude: NOTE: “flash” memory has been specified, an erase cycle will be performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file “out/klipper.elf.hex”
avrdude: input file out/klipper.elf.hex auto detected as Intel Hex
avrdude: writing flash (35408 bytes):

Writing | ################################################## | 100% 4.44s

avrdude: 35408 bytes of flash written
avrdude: verifying flash memory against out/klipper.elf.hex:
avrdude: load data flash data from input file out/klipper.elf.hex:
avrdude: input file out/klipper.elf.hex auto detected as Intel Hex
avrdude: input file out/klipper.elf.hex contains 35408 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 3.80s

avrdude: verifying …
avrdude: 35408 bytes of flash verified

avrdude: safemode: Fuses OK (E:00, H:00, L:00)

avrdude done. Thank you.

(appologies for the long text rather than a screenshot, I can only include one image as I am a new user)
I restart klipper and I get the error message

for reference my ls /dev/serial/by-id/ command returns: usb-1a86_USB_Serial-if00-port0

Has anybody else had this issue or have any advice?

Thanks!

Hello @raincoatnoun !

Why avrdude?

Did this not work for you?

sudo service klipper stop
make flash FLASH_DEVICE=/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
sudo service klipper start

From: Installation - Klipper documentation

1 Like

Hi @EddyMI3D
Thanks for you response!
avrdude was recommended in the config file
When I used make flash I was getting an error. Which seems to be gone now
This is the response:
Flashing out/klipper.elf.hex to /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 via avrdude

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.00s

avrdude: Device signature = 0x1e9705 (probably m1284p)
avrdude: reading input file “out/klipper.elf.hex”
avrdude: writing flash (35408 bytes):

Writing | ################################################## | 100% 4.44s

avrdude: 35408 bytes of flash written
avrdude: verifying flash memory against out/klipper.elf.hex:
avrdude: load data flash data from input file out/klipper.elf.hex:
avrdude: input file out/klipper.elf.hex contains 35408 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 3.80s

avrdude: verifying …
avrdude: 35408 bytes of flash verified

avrdude: safemode: Fuses OK (E:00, H:00, L:00)

avrdude done. Thank you.

I’m still getting what looks like the same MCU error though
klippy(1).log (61.1 KB)

You had that already in you first post.

You got that from where?


BTW: For code, please use the Preformatted Text feature of the forum editor:
Format

2 Likes

Yes I did, it was the same response

I got the config file from here:

Thanks fo the advice about using the preformatted text feature!

1 Like

For future users, I have solved this issue!
I used this make menuconfig:

Used this to flash the bios (thanks @EddyMI3D for getting me to try it again!)

sudo service klipper stop
make flash FLASH_DEVICE=/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
sudo service klipper start

Then changed added

[include mainsailos]

and corrected the serial by-id part of the printer config, my printer config now looks like this:
printer.cfg (2.4 KB)

Hope this helps somebody else!

1 Like