klipper_faq:flash_guide:rp2040:fysetc_r4
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
klipper_faq:flash_guide:rp2040:fysetc_r4 [2024/12/11 21:19] – dominik | klipper_faq:flash_guide:rp2040:fysetc_r4 [2024/12/14 08:35] (current) – [YouTube Video #1xx] dominik | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Fysetc R4 ====== | ====== Fysetc R4 ====== | ||
- | ===== Original Image ===== | + | Schrittweise Anleitung, um das Fysetc **R4** Board über **USB** in Betrieb zu nehmen. |
- | < | + | |
+ | **Fysetc R4 (RP2040)** \\ {{: | ||
+ | |||
+ | ===== YouTube Video #1xx ===== | ||
+ | {{youtube> | ||
+ | |||
+ | \\ | ||
+ | |||
+ | ===== Hinweise ===== | ||
+ | * **SBC** bedeutet in der Anleitung **S**ingle **B**oard **C**omputer. Also meistens wohl ein Raspberry Pi. | ||
+ | * Es wird davon ausgegangen das auf dem SBC Klipper und MainSail eingerichtet ist. | ||
+ | * Ein Zugang zum SBC über SSH ist notwendig! | ||
+ | * Das Board ist nicht geeignet um mit CAN betrieben zu werden. Es sind schlichtweg keine Pins dafür frei. | ||
+ | * Im Original Zustand kommt das Board mit " | ||
[Dec11 21:15] usb 1-1.2: new full-speed USB device number 19 using xhci_hcd | [Dec11 21:15] usb 1-1.2: new full-speed USB device number 19 using xhci_hcd | ||
[ +0.118169] usb 1-1.2: New USB device found, idVendor=2e8a, | [ +0.118169] usb 1-1.2: New USB device found, idVendor=2e8a, | ||
Line 12: | Line 25: | ||
</ | </ | ||
- | ===== Klipper ===== | + | ===== Stromversorgung TBD ===== |
- | * < | + | Auf dem Board gibt es einen Mikro Jumper, den man setzen kann: \\ {{: |
+ | |||
+ | ^ Jumper | ||
+ | | gesetzt | ||
+ | | NICHT gesetzt | ||
+ | |||
+ | Als Faustregel im Betrieb den 5V Jumper immer abziehen! | ||
+ | |||
+ | ===== Verkabelung TBD ===== | ||
+ | * Ganz normale USB Verkabelung | ||
+ | * GND & 12 bzw. 24V extra zum Board führen | ||
+ | |||
+ | ===== Boot Modus TBD ===== | ||
+ | * Das Board in den Boot Loader Modus bringen | ||
+ | * '' | ||
+ | * Die **Boot Taste** am Board gedrückt halten und dabei das Board über USB mit dem SBC verbinden \\ {{: | ||
+ | * Das Board meldet sich mit '' | ||
+ | [Dec13 20:07] usb 1-1.4: new full-speed USB device number 44 using dwc_otg | ||
+ | [ +0.132594] usb 1-1.4: New USB device found, idVendor=2e8a, | ||
+ | [ +0.000035] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 | ||
+ | [ +0.000016] usb 1-1.4: Product: RP2 Boot | ||
+ | [ +0.000013] usb 1-1.4: Manufacturer: | ||
+ | [ +0.000012] usb 1-1.4: SerialNumber: | ||
+ | [ +0.003555] usb-storage 1-1.4:1.0: USB Mass Storage device detected | ||
+ | [ +0.001922] scsi host2: usb-storage 1-1.4:1.0 | ||
+ | [ +1.002900] scsi 2:0:0:0: Direct-Access | ||
+ | [ +0.000671] sd 2:0:0:0: Attached scsi generic sg0 type 0 | ||
+ | [ +0.000792] sd 2:0:0:0: [sdc] 262144 512-byte logical blocks: (134 MB/128 MiB) | ||
+ | [ +0.000871] sd 2:0:0:0: [sdc] Write Protect is off | ||
+ | [ +0.000020] sd 2:0:0:0: [sdc] Mode Sense: 03 00 00 00 | ||
+ | [ +0.000980] sd 2:0:0:0: [sdc] No Caching mode page found | ||
+ | [ +0.000022] sd 2:0:0:0: [sdc] Assuming drive cache: write through | ||
+ | [ +0.013172] | ||
+ | [ +0.000934] sd 2:0:0:0: [sdc] Attached SCSI removable disk | ||
+ | </ | ||
+ | * '' | ||
+ | |||
+ | |||
+ | ===== Klipper | ||
+ | * Das Board in den [[ebb_sb2209_usb# | ||
+ | * Klipper Dienst stoppen \\ '' | ||
+ | * '' | ||
+ | * '' | ||
[*] Enable extra low-level configuration options | [*] Enable extra low-level configuration options | ||
Micro-controller Architecture (Raspberry Pi RP2040/ | Micro-controller Architecture (Raspberry Pi RP2040/ | ||
Line 23: | Line 78: | ||
() GPIO pins to set at micro-controller startup | () GPIO pins to set at micro-controller startup | ||
</ | </ | ||
- | | + | |
+ | * Klipper kompilieren \\ '' | ||
+ | * Klipper flashen \\ '' | ||
+ | pi@Pi3Test: | ||
+ | Flashing out/ | ||
+ | sudo lib/ | ||
+ | |||
+ | [sudo] password for pi: | ||
+ | Loaded UF2 image with 101 pages | ||
+ | Found rp2040 device on USB bus 1 address 5 | ||
+ | Flashing... | ||
+ | Resetting interface | ||
+ | Locking | ||
+ | Exiting XIP mode | ||
+ | Erasing | ||
+ | Flashing | ||
+ | Rebooting device | ||
+ | </ | ||
+ | * Klipper Dienst wieder starten \\ '' | ||
+ | ===== Port ermitteln ===== | ||
+ | * Den USB Stecker abziehen | ||
+ | * '' | ||
+ | pi@Pi3Test: | ||
+ | [ +3.885051] usb 1-1.4: new full-speed USB device number 7 using dwc_otg | ||
+ | [ +0.134266] usb 1-1.4: New USB device found, idVendor=1d50, | ||
+ | [ +0.000037] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 | ||
+ | [ +0.000016] usb 1-1.4: Product: rp2040 | ||
+ | [ +0.000012] usb 1-1.4: Manufacturer: | ||
+ | [ +0.000012] usb 1-1.4: SerialNumber: | ||
+ | [ +0.001607] cdc_acm 1-1.4:1.0: ttyACM0: USB ACM device | ||
+ | </ | ||
+ | * Wir brauchen die Information mit **tty...** also in diesem Fall **ttyACM0** | ||
+ | * '' | ||
+ | * Den zugehörigen Link ermitteln \\ '' | ||
+ | * Wir brauchen die Info unter ''/ | ||
+ | * Achte darauf das am Ende die gleiche tty Bezeichnung steht wie sie im vorherigen Schritt ermittelt wurde (hier also ttyACM0) | ||
+ | * Was für für die Konfig brauchen ist dann am Ende: \\ ''/ | ||
+ | |||
+ | ===== kurzer Test ===== | ||
+ | Ob das Board korrekt mit Klipper läuft, lässt sich mit folgendem Befehl schnell testen: \\ '' | ||
+ | |||
+ | Der Pfad am Ende muss natürlich mit dem übereinstimmen, | ||
+ | |||
+ | Wenn ihr ein ''< | ||
+ | |||
+ | |||
+ | |||
+ | ===== Konfig ===== | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | serial: / | ||
+ | # | ||
+ | </ | ||
+ | * Die Zeile mit '' | ||
+ | * Die UUID mit '' | ||
+ | ===== Klipper Update ===== | ||
+ | * Klipper Dienst stoppen \\ '' | ||
+ | * '' | ||
+ | * Die Einstellungen sind genauso wie im Kapitel [[fysetc_r4# | ||
+ | * '' | ||
+ | * Wie man an den Port (hier ttyACM0) kommt, ist [[fysetc_r4# | ||
+ | * Das Ergebniss sollte so aussehen: \\ <code bash> | ||
+ | Entering bootloader on / | ||
+ | Device reconnect on / | ||
+ | sudo lib/ | ||
+ | |||
+ | Loaded UF2 image with 101 pages | ||
+ | Found rp2040 device on USB bus 1 address 8 | ||
+ | Flashing... | ||
+ | Resetting interface | ||
+ | Locking | ||
+ | Exiting XIP mode | ||
+ | Erasing | ||
+ | Flashing | ||
+ | Rebooting device | ||
+ | </ | ||
+ | * Klipper Dienst starten \\ '' | ||
+ | |||
+ | ===== Links ===== | ||
+ | * https:// | ||
+ | * Klipper Konfig \\ https:// | ||
+ | * Schaltplan \\ https:// |
klipper_faq/flash_guide/rp2040/fysetc_r4.1733948359.txt.gz · Last modified: 2024/12/11 21:19 by dominik