# New installation - mcu shutdown when homing (G28)

**URL:** <https://klipper.discourse.group/t/new-installation-mcu-shutdown-when-homing-g28/11065>\
**Category:** General Discussion\
**Created:** [October 19, 2023, 9:28pm UTC](https://klipper.discourse.group/t/new-installation-mcu-shutdown-when-homing-g28/11065 "2023-10-19T21:28:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mq95](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@mq95](https://klipper.discourse.group/u/mq95)\
**Post date:** [October 19, 2023, 9:28pm UTC](https://klipper.discourse.group/t/new-installation-mcu-shutdown-when-homing-g28/11065/1 "2023-10-19T21:28:13Z")

</div>

### Basic Information:

Printer Model: Ender 3  
 MCU / Printerboard: Creality 4.2.7 / Raspberry Pi Zero2W  
 `klippy.log` [klippy (7).zip](https://klipper.discourse.group/uploads/short-url/mGhvC0HxeetJ4YRtMri6renzJ6r.zip) (961.3 KB)

Hi, i’ve been using klipper+mainsail for about a month on my ender 3, on the 4.2.2 mainboard, worked flawlessly, no problems.

Today I switched to a 4.2.7 board, the silent one.  
I started getting problems right away: first I had that one debian bug which didn’t let me find my serial port.  
Fortunately I solved it through the automated script I found on this forum.

Now that the printer connects, I have a new problem:  
I went ahead and told it to home (g28), and as soon as the X axis touches the endswitch, the mcu shuts down with an orange alert on Mainsail

> Klipper reports: SHUTDOWN
> 
> Internal error on command:“G28”  
> Once the underlying issue is corrected, use the  
> “FIRMWARE\_RESTART” command to reset the firmware, reload the  
> config, and restart the host software.  
> Printer is shutdown

I have no idea why, I cannot decipher the error log

Can somebody help? Thanks!!!

---

<div class="post-metadata">

**Author:** ![mq95](https://avatars.discourse-cdn.com/v4/letter/m/51bf81/32.png) [@mq95](https://klipper.discourse.group/u/mq95)\
**Post date:** [October 19, 2023, 9:42pm UTC](https://klipper.discourse.group/t/new-installation-mcu-shutdown-when-homing-g28/11065/2 "2023-10-19T21:42:13Z")

</div>

Update:  
I managed to solve it by restoring the default printer.cfg from the examples zip file.

It must have been some rogue configuration in my old config file that clashed with the new board.

It was giving a “stepper.error: Internal error in stepcompress”

Let’s hope everything works fine now.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/klipper/original/1X/64419bf2aac6639e6ef5cef200dcd456b0a01ac3.png) [@system](https://klipper.discourse.group/u/system)\
**Post date:** [November 19, 2023, 7:43am UTC](https://klipper.discourse.group/t/new-installation-mcu-shutdown-when-homing-g28/11065/3 "2023-11-19T07:43:09Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
