I have a PandaPi-Board so MCU is directly connected to RasPi GPIO’s
GPIO-13 does reset the MCU
when I set this Pin on and off using Octoprint and click FIRMWARE_RESET in klipper the reset works fine
how do I tell Klipper to use this GPIO-Pin to reset the MCU?
Are you saying you’ve gotten the PandaPi board to work with Klipper?
You can control a gpio pin from Klipper using an output_pin config section - https://www.klipper3d.org/Config_Reference.html#output_pin. Moonraker also has a power control module.
-Kevin
Klipper works so smooth since first start - I tried to get Marlin running over a week and didn’t… ~~
this didn’t work, did you mean something like that?:
[output_pin lcd_btn2]
pin: !host:gpio13
[gcode_macro FIRMWARE_RESTART]
rename_existing: BASE_FIRMWARE_RESTART
gcode:
SET_PIN PIN=lcd_btn2 VALUE=1
G4 P2000
SET_PIN PIN=lcd_btn2 VALUE=0
BASE_FIRMWARE_RESTART
currently I have a button in OctoPrint to set the GPIO and after that I press FIRMWARE_RESTART in fluidd and it works fine - even oftain
what I was looking for is something like
[mcu]
serial: /dev/serial0
baud: 115200
restart_method: GPIO
pin: !13
my Raspberry get’s it’s power from MCU
Closest that I know of is: https://github.com/Arksine/moonraker/blob/master/docs/configuration.md#power
-Kevin