# Cannot find MCU?

**URL:** https://klipper.discourse.group/t/cannot-find-mcu/20406
**Category:** General Discussion
**Created:** [December 2, 2024, 10:48pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406 "2024-12-02T22:48:16Z")
**Posts on this page:** 18
**Page:** 1

<div class="post-metadata">

### Author: ![3dprintnoob92](https://avatars.discourse-cdn.com/v4/letter/3/9de0a6/32.png) [@3dprintnoob92](https://klipper.discourse.group/u/3dprintnoob92)
#### Post date: [December 2, 2024, 10:48pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/1 "2024-12-02T22:48:16Z")

</div>

### Basic Information:

Printer Model: Ender 3  
 MCU / Printerboard: SKR3 V2 BTT  
 Host / SBC  
 klippy.log  
[klippy (2).log](https://klipper.discourse.group/uploads/short-url/oCW8LDamahBsoNkdg3ghUSBLGki.log) (100.0 KB)

I already have a printer running klipper now excellently, so i wanted to upgrade my other printer to it as well.

I have a PI 4B flashed with mainsail and connected how ever the MCU to the board doesn’t work. I thought i fried the motherboard some how so i bought another one and its doing exactly the same.

I’ve got the same firmware i flashed my other printer with on a sd card inserted into the motherboard (both btt skr3 v2) so my logic is that if it worked on the other motherboard it should work on this?? its on the SD card as firmware.bin.

when I run ls /dev/serial/by-id/\* to get my MCU i get back /dev/serial/by-id/usb-LeafLabs\_Maple-if00 which i have in my printer.cfg.

I have no idea what else to do? any suggestions or help would be great!  
Thank you

Klipper reports: ERROR

mcu ‘mcu’: Unable to connect  
Once the underlying issue is corrected, use the  
“FIRMWARE\_RESTART” command to reset the firmware, reload the  
config, and restart the host software.  
Error configuring printer

Also worth mentioning, the mother board isnt yet installed in the 3d printer, that and the Pi are sitting on my desk connect to each other, does that matter?

---

<div class="post-metadata">

### Author: ![EddyMI3D](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/eddymi3d/32/1981_2.png) [@EddyMI3D](https://klipper.discourse.group/u/EddyMI3D)
#### Post date: [December 3, 2024, 6:45am UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/2 "2024-12-03T06:45:00Z")

</div>

> [@3dprintnoob92](#):
>
> I’ve got the same firmware i flashed my other printer

Are those printers the same and do they have the same printer board?

---

<div class="post-metadata">

### Author: ![3dprintnoob92](https://avatars.discourse-cdn.com/v4/letter/3/9de0a6/32.png) [@3dprintnoob92](https://klipper.discourse.group/u/3dprintnoob92)
#### Post date: [December 3, 2024, 7:26am UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/3 "2024-12-03T07:26:43Z")

</div>

Same printers, same boards.

---

<div class="post-metadata">

### Author: ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)
#### Post date: [December 3, 2024, 9:55am UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/4 "2024-12-03T09:55:49Z")

</div>

> [@3dprintnoob92](#):
>
> when I run ls /dev/serial/by-id/\* to get my MCU i get back /dev/serial/by-id/usb-LeafLabs\_Maple-if00 which i have in my printer.cfg.

This indicates that Klipper is not correctly flashed on the board. See [Issues flashing the printer board](https://klipper.discourse.group/t/issues-flashing-the-printer-board/14015) and in particular make sure you configure for the MCU that is REALLY installed on your board.

---

<div class="post-metadata">

### Author: ![3dprintnoob92](https://avatars.discourse-cdn.com/v4/letter/3/9de0a6/32.png) [@3dprintnoob92](https://klipper.discourse.group/u/3dprintnoob92)
#### Post date: [December 3, 2024, 2:11pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/5 "2024-12-03T14:11:03Z")

</div>

Please see images below. Thanks for your help, hope some of these give you a clue to what on earth i’ve gotta do resolve the issue.

![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/4/8/488b101b515b38d405363488f86deb9370ea9b16.png)

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/2/e/2e8c6eb2dc2eaca59fe669793518199fe455260d.png)

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/e/8/e84f632eda22368f7ba6c9a1ae3bc28e02737f01.png)

Could it be a power supply issue as currently the Motherboard is only powdered by the Pi as i have not installed it in the printer?

---

<div class="post-metadata">

### Author: ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)
#### Post date: [December 3, 2024, 2:28pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/6 "2024-12-03T14:28:31Z")

</div>

Unfortunately the screenshots are of no use and you cannot show the issue with screenshots.

Again: Your connection string `/dev/serial/by-id/usb-LeafLabs_Maple-if00` clearly indicates that the board is not flashed with Klipper.

Follow the instructions given in the link above and in particular verify that the MCU on your board is actually what you use for compiling the firmware.

---

<div class="post-metadata">

### Author: ![3dprintnoob92](https://avatars.discourse-cdn.com/v4/letter/3/9de0a6/32.png) [@3dprintnoob92](https://klipper.discourse.group/u/3dprintnoob92)
#### Post date: [December 3, 2024, 2:49pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/7 "2024-12-03T14:49:19Z")

</div>

i was trying to show you that when i run the command to find my mcu out that it returns ‘/dev/serial/by-id/usb-LeafLabs\_Maple-if00’

you can also see that klipper is install on the pi and i have used winscp to extract the klipper.bin file install on the pi.

i have used 3 different sd cards all reformatted to fat32 along with 3 different cables, i have two of the same motherboards (btt skr e3 v2) both returning the same mcu ID.

i have double checed the chip is correct and the bootloader is also

---

<div class="post-metadata">

### Author: ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)
#### Post date: [December 3, 2024, 2:51pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/8 "2024-12-03T14:51:23Z")

</div>

Show a screenshot of your `make menuconfig` settings and a screenshot of the printer board where the markings on the MCU can be read.

---

<div class="post-metadata">

### Author: ![3dprintnoob92](https://avatars.discourse-cdn.com/v4/letter/3/9de0a6/32.png) [@3dprintnoob92](https://klipper.discourse.group/u/3dprintnoob92)
#### Post date: [December 3, 2024, 3:03pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/9 "2024-12-03T15:03:28Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/b/7/b7bbf8c0f52a3de6a9174607ff0024a3edab08f7.png)  
this? and  
 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/9/6/9667e41690de119bd718f47040e9865e5ffa59da.jpeg)  
?

thanks!

---

<div class="post-metadata">

### Author: ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)
#### Post date: [December 3, 2024, 3:56pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/10 "2024-12-03T15:56:06Z")

</div>

How, when and where did you build the firmware for the board?  
In doubt refer to [build-and-flash-the-firmware](https://klipper.discourse.group/t/installing-klipper-with-kiauh/10734#build-and-flash-the-firmware-12)

---

<div class="post-metadata">

### Author: ![3dprintnoob92](https://avatars.discourse-cdn.com/v4/letter/3/9de0a6/32.png) [@3dprintnoob92](https://klipper.discourse.group/u/3dprintnoob92)
#### Post date: [December 3, 2024, 4:25pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/11 "2024-12-03T16:25:52Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/6/1/61d473b0f1e6f1570a3844e26b7f622e0abef16d.png)

I’ve just remade it and tried to flash it again and still getting the same.

![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/0/e/0ea2e67ea8becaab503da47353d7ebfed5ffa79a.png)

---

<div class="post-metadata">

### Author: ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)
#### Post date: [December 3, 2024, 4:48pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/12 "2024-12-03T16:48:52Z")

</div>

Sorry for interjecting here but the size of `klipper.bin` doesn’t look right.

I just built my own version of the firmware using the instructions here:

> <https://github.com/Klipper3d/klipper/blob/master/config/generic-bigtreetech-skr-2.cfg>

and selecting the 'F429:

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/f/0/f0fab2658dcebced8bc9a89a79b7debe2bfa9d23.png)

and then when I look in the `~/klipper/out` directory:

```auto
Version: v0.12.0-379-gf2e69a370
  Preprocessing out/src/generic/armcm_link.ld
  Linking out/klipper.elf
  Creating hex file out/klipper.bin
orangepi@orangepicm4:~/klipper$ ls out -l
total 1708
-rw-r--r-- 1 orangepi orangepi 11488 Dec 3 16:41 autoconf.h
lrwxrwxrwx 1 orangepi orangepi 32 Dec 3 16:41 board -> /home/orangepi/klipper/src/stm32
drwxr-xr-x 2 orangepi orangepi 4096 Dec 3 16:41 board-generic
-rw-r--r-- 1 orangepi orangepi 27 Dec 3 16:41 board-link
-rw-r--r-- 1 orangepi orangepi 72794 Dec 3 16:42 compile_time_request.c
-rw-r--r-- 1 orangepi orangepi 353 Dec 3 16:42 compile_time_request.d
-rw-r--r-- 1 orangepi orangepi 227784 Dec 3 16:42 compile_time_request.o
-rw-r--r-- 1 orangepi orangepi 17771 Dec 3 16:42 compile_time_request.txt
-rwxr-xr-x 1 orangepi orangepi 31872 Dec 3 16:42 klipper.bin
-rw-r--r-- 1 orangepi orangepi 9382 Dec 3 16:42 klipper.dict
-rwxr-xr-x 1 orangepi orangepi 1373188 Dec 3 16:42 klipper.elf
drwxr-xr-x 4 orangepi orangepi 4096 Dec 3 16:41 lib
drwxr-xr-x 4 orangepi orangepi 4096 Dec 3 16:42 src

```

As I understand it, Klipper firmware for basically any MCU should not be less than 30k.

What is the process (and parameters) that you used for building your version of Klipper?

---

<div class="post-metadata">

### Author: ![3dprintnoob92](https://avatars.discourse-cdn.com/v4/letter/3/9de0a6/32.png) [@3dprintnoob92](https://klipper.discourse.group/u/3dprintnoob92)
#### Post date: [December 3, 2024, 4:58pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/13 "2024-12-03T16:58:46Z")

</div>

hello, thanks for your help!

i used make config in the klipper directory

> <https://github.com/Klipper3d/klipper/blob/master/config/generic-bigtreetech-skr-mini-e3-v2.0.cfg>

I have the skr mini e3 v2 motherboard.

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/f/2/f2c5cfb4d25c9cd4e8ae6a0557fe069fc239ea01.png)

---

<div class="post-metadata">

### Author: ![mykepredko](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/mykepredko/32/2085_2.png) [@mykepredko](https://klipper.discourse.group/u/mykepredko)
#### Post date: [December 3, 2024, 5:35pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/14 "2024-12-03T17:35:25Z")

</div>

> [@3dprintnoob92](#):
>
> I have the skr mini e3 v2 motherboard.

This is why we ask people to be precise with the information that they provide - You did not specify “SKR Mini E3 V2” in the original post. Grumble.

Regardless, two comments:

1. Could you do a `ls ~/klipper/out -l` and see if it matches:

```auto
orangepi@orangepicm4:~/klipper$ ls out -l
total 1420
-rw-r--r-- 1 orangepi orangepi 11484 Dec 3 17:15 autoconf.h
lrwxrwxrwx 1 orangepi orangepi 32 Dec 3 17:15 board -> /home/orangepi/klipper/src/stm32
drwxr-xr-x 2 orangepi orangepi 4096 Dec 3 17:15 board-generic
-rw-r--r-- 1 orangepi orangepi 27 Dec 3 17:15 board-link
-rw-r--r-- 1 orangepi orangepi 66579 Dec 3 17:16 compile_time_request.c
-rw-r--r-- 1 orangepi orangepi 353 Dec 3 17:16 compile_time_request.d
-rw-r--r-- 1 orangepi orangepi 217612 Dec 3 17:16 compile_time_request.o
-rw-r--r-- 1 orangepi orangepi 16013 Dec 3 17:16 compile_time_request.txt
-rwxr-xr-x 1 orangepi orangepi 29644 Dec 3 17:16 klipper.bin
-rw-r--r-- 1 orangepi orangepi 8426 Dec 3 17:16 klipper.dict
-rwxr-xr-x 1 orangepi orangepi 1096416 Dec 3 17:16 klipper.elf
drwxr-xr-x 4 orangepi orangepi 4096 Dec 3 17:15 lib
drwxr-xr-x 4 orangepi orangepi 4096 Dec 3 17:16 src

```

This is what I got when I built with your parameters and maybe the Folder view that you are using is rounding the size but even with that there seems to be a discrepancy there.

1. If you’re comfortable that the build is correct, could you try building with pin PA13 (SWDIO) set? This will turn on the STATUS LED on the board:

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/c/5/c520caa17b4955119238de6576293517b3f1a1b9.png)

If you turn on/off the STATUS LED in your firmware, you will get a positive indication that you are changing the firmware.

Normally when the board turns on, you will get one LED lit on the left side of the LED that I’ve marked here:

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/f/2/f230eefb7aff1382bd0cf482069710dd52faa330.png)

If PA13 is set and the BTT SKR Mini E3 V2 is programmed correctly, then you’ll have both LEDs lit.

If they’re both set then you can follow the instructions @Sineos and @EddyMI3D are giving you, knowing that you are updating the firmware on your main controller board.

---

<div class="post-metadata">

### Author: ![Sineos](https://yyz2.discourse-cdn.com/free1/user_avatar/klipper.discourse.group/sineos/32/18_2.png) [@Sineos](https://klipper.discourse.group/u/Sineos)
#### Post date: [December 3, 2024, 5:51pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/15 "2024-12-03T17:51:48Z")

</div>

Make sure to:

- rename to `firmware.bin`
- the SD card is formatted as FAT32. In doubt use [SD Memory Card Formatter for Windows/Mac | SD Association](https://www.sdcard.org/downloads/formatter/)
- the SD card is 8GB or less
- Not fully sure here, but typically the BTT boards rename the `firmware.bin` file to `firmware.cur` on a successful flash

---

<div class="post-metadata">

### Author: ![3dprintnoob92](https://avatars.discourse-cdn.com/v4/letter/3/9de0a6/32.png) [@3dprintnoob92](https://klipper.discourse.group/u/3dprintnoob92)
#### Post date: [December 3, 2024, 8:58pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/16 "2024-12-03T20:58:55Z")

</div>

Hello, Sorry for the slow reply

Here is what i got below.

 ![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/7/1/71619b4beeb0c0832ad92bc7aa23d54916338088.png)

i will have a go at the PA13 now.

Sorry for not being more specific on my board!

---

<div class="post-metadata">

### Author: ![3dprintnoob92](https://avatars.discourse-cdn.com/v4/letter/3/9de0a6/32.png) [@3dprintnoob92](https://klipper.discourse.group/u/3dprintnoob92)
#### Post date: [December 3, 2024, 9:13pm UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/17 "2024-12-03T21:13:29Z")

</div>

![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/8/9/8917cb32c6fbb45aaba3bddd0e5d2c929b5b2859.png)

both lights are on now

and…

Success!

![image](https://global.discourse-cdn.com/free1/uploads/klipper/original/3X/a/1/a1b2e7f3d1abbe40a98675707cfccc0a28737e6e.png)

Thank you mykepredko, Sineos & EddyMI3D! I was truly out of my depth

---

<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: [January 3, 2025, 7:13am UTC](https://klipper.discourse.group/t/cannot-find-mcu/20406/18 "2025-01-03T07:13:47Z")

</div>

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