Hello everyone, over the past few days I have done some research on my problem…
What did I do?
- installed Arabian 22.05.1 Bullseye with Linux 5.15.43-sunxi.
- installed Klipper and Fluid via KAUCH.
- Flashed Arduino Due, which is connected to ORANGEPI (flashed both through the native port and through the programming port)
- In the [MCU] section, I tried to enter the following:
serial: /dev/serial/by-id/usb-Arduino__www.arduino.cc__Arduino_Due_Prog._Port_558393136383510141A0-if00
or
serial: /dev/serial/by-path/platform-1c1b400.usb-usb-0:1:1.0
or
serial: /dev/ttyAMA0
ls /dev/serial/by-id/*
console output:
/dev/serial/by-id/usb-Arduino__www.arduino.cc__Arduino_Due_Prog._Port_558393136383510141A0-if00
There is no result
- USB UART health check:
To check the port’s operability,
- I flashed an example of “Serial Call and Response in ASCII” in the ARDUINO IDE in ARDUINO DUE.
- installed minicom;
- sudo minicom -c on -b 9600 -D /dev/serial/by-id/usb-Arduino__www.arduino.cc__Arduino_Due_Prog._Port_558393136383510141A0-if00
console output:
Welcome to minicom 2.8
OPTIONS: I18n
Port /dev/serial/by-id/usb-Arduino__www.arduino.cc__Arduino_Due_Prog._Port_55838
Press CTRL-A Z for help on special keys
0,0,0
0,0,0
0,0,0
0,0,0
0,0,0
0,0,0
455,605,255
545,373,255
601,389,255
607,392,255
521,335,255
553,347,255
543,337,255
600,380,255
555,355,255
608,382,255
449,364,255
460,375,255
469,358,255
It can be seen that usb and uart work for receiving and transmitting
- Then I try everything from the beginning:
cd klipper
make clean
make menuconfig
Console output
(Top)
Klipper Firmware Configuration
Enable extra low-level configuration options
Micro-controller Architecture (SAM3/SAM4/SAM E70 (Due and Duet)) —>
Processor model (SAM3x8e (Arduino Due)) —>
Communication interface (USB) —>
make
sudo service klipper stop
make flash FLASH_DEVICE=/dev/serial/by-id/usb-Arduino__www.arduino.cc__Arduino_Due_Prog._Port_558393136383510141A0-if00
Flashing out/klipper.bin to /dev/serial/by-id/usb-Arduino__www.arduino.cc__Arduino_Due_Prog._Port_558393136383510141A0-if00
Entering bootloader on /dev/serial/by-path/platform-1c1b400.usb-usb-0:1:1.0
Device reconnect on /dev/serial/by-path/platform-1c1b400.usb-usb-0:1:1.0
lib/bossac/bin/bossac -U -p /dev/serial/by-path/platform-1c1b400.usb-usb-0:1:1.0 -e -b -w >out/klipper.bin -v
Erase flash
Done in 0.058 seconds
Write 24444 bytes to flash (96 pages)
[==============================] 100% (96/96 pages)
Done in 4.973 seconds
Verify 24444 bytes of flash
[==============================] 100% (96/96 pages)
Verify successful
Done in 4.768 seconds
Set boot flash true
sudo service klipper start
adding to the [MCU] section:
serial: /dev/serial/by-id/usb-Arduino__www.arduino.cc__Arduino_Due_Prog._Port_558393136383510141A0-if00
result:
Printer is not ready
The klippy host software is attempting to connect. Please
retry in a few moments.
What am I doing wrong?
I tried to reboot and wait, there are 2 Arduino due boards, the result is the same on both
P.S. Hardware :
arduino due + ramps 1.4 connected to OrangePi PC plus