u/harfpod

V400 firmware problem, help recovering!

I'm running "stock" (not flsun stock) Klipper on my V400. Recently Klipper started complaining about the firmware not supporting STEPPER_STEP_BOTH_EDGE. So I recompiled the firmware and flashed it with an SD card. I have the Nano 2.1 board. My menuconfig looked like this...

[*] Enable extra low-level configuration options

Micro-controller Architecture (STMicroelectronics STM32) --->

Processor model (STM32F103) --->

[ ] Only 10KiB of RAM (for rare stm32f103x6 variant)

[ ] Disable SWD at startup (for GigaDevice stm32f103 clones)

Bootloader offset (28KiB bootloader) --->

Clock Reference (8 MHz crystal) --->

Communication interface (Serial (on USART3 PB11/PB10)) --->

(250000) Baud rate for serial port

[*] Optimize stepper code for 'step on both edges'

() GPIO pins to set at micro-controller startup

Then I ran...

./scripts/update_mks_robin.py out/klipper.bin out/Robin_nano35.bin

The flash was successful because the Robin_nano35.bin file changed to .cur after the flash.But now Klipper can't connect to the firmware and I don't know how to recover. Also, if this is a clue, the SSH coms is very slow. I tried both with and without the Optimize stepper code for 'step on both edges' option. I may have flashed a version with the wrong bootloader offset at first. Is there a bootloader.bin that needs to be repaired? Really looking for suggestions on how to proceed, flash back to flsun stock and re-install Klipper? I'd appreciate any ideas!

reddit.com
u/harfpod — 10 days ago