Still flashing problem by sd flash - error in script home/pi/klipper/scripts/spi_flash/spi_flash.py

Basic Information:

Printer Model: self design/Tatara steel fram
MCU / Printerboard: Skr 1.3
Host / SBC
klippy.log

Fill out above information and in all cases attach your klippy.log file (use zip to compress it, if too big). Pasting your printer.cfg is not needed
Be sure to check our “Knowledge Base” Category first. Most relevant items, e.g. error messages, are covered there

Describe your issue:


Hi there,
Here is for more versions some bug in above mentioned script.
When is board flashed via KIAUH it ends with error and question about SD card if SD card is inserted?
In this script on line with Spi speed is one zero missing(SD_SPI_SPEED = 400000, correct value is 4000000)

can somebody please correct this small issue?

Hello @Dusin !
BTW: You can copy & paste with putty.

Don’t forget to use the Preformatted Text feature of the forum editor to correctly format that text.

Format

The 400K value is intentional and used for stability reasons, especially during SD card initialization.

There have been very rare reports (including one from myself) that it could be causing issues right after the change. Personally, I have never been able to reproduce the issue; it went away after just power-cycling the system.
The value exists as 400K since the beginning of 2022, with close to zero complaints.