Error: Serial connection closed

Hallo,
I am just another 3D Printer who wants to use Klipper, but has very little clues about all the coding stuff. So when just following the Instructions keeps producing this error I can’t help myself.

I do have an Ender 3 V2 with the 4.2.2. Board. This is from my log

Last MCU build version: v0.9.1-502-g338bc82d
Last MCU build tools: gcc: (15:7-2018-q2-6) 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] binutils: (2.31.1-11+rpi1+11) 2.31.1
Last MCU build config: BUS_PINS_i2c1=PB6,PB7 BUS_PINS_i2c2=PB10,PB11 RESERVE_PINS_USB=PA11,PA12 BUS_PINS_i2c1a=PB8,PB9 STEP_DELAY=2 ADC_MAX=4095 BUS_PINS_spi3=PB4,PB5,PB3 BUS_PINS_spi2=PB14,PB15,PB13 BUS_PINS_spi1=PA6,PA7,PA5 PWM_MAX=255 MCU=stm32f103xe STATS_SUMSQ_BASE=256 CLOCK_FREQ=72000000
Build file /home/pi/klipper/klippy/…/out/klipper.elf(100908): Mon May 24 10:17:47 2021
Wait for identify_response
Traceback (most recent call last):
File “/home/pi/klipper/klippy/serialhdl.py”, line 65, in _get_identify_data
params = self.send_with_response(msg, ‘identify_response’)
File “/home/pi/klipper/klippy/serialhdl.py”, line 249, in send_with_response
return src.get_response([cmd], self.default_cmd_queue)
File “/home/pi/klipper/klippy/serialhdl.py”, line 306, in get_response
cmd_queue)
File “/home/pi/klipper/klippy/serialhdl.py”, line 241, in raw_send_wait_ack
raise error(“Serial connection closed”)
error: Serial connection closed
Unable to connect

Do you see a mistake I made, or can you give me a solution to this problem?

Please attach the log file

plugin_klipper_debug.log (12.2 KB)

Here is the log

Log is trunctuated and not complete

Klipper.log (83.9 KB)

Oke, I hope that is better

How did you flash the board? That board requires you to copy the .bin file to SD, and you need to name it something different each time you flash the board.

yes I did that, put the Klipper.bin from the output folder on an empty SD Card and installed it on the printer, display is dark since then

It looks like you used the correct options. All I can suggest is running make clean, make menuconfig again, then creating a new bin file to flash. Then name it something unique. I would also disconnect the board from the Pi while flashing it.

ok thank you I will try that