Basic Information:
Printer Model: Ender 5
MCU / Printerboard: lpc1769 MKS SGEN V1, Fysetc UCAN, BTT EBB42 V1.2. [v0.12.0-468-gd679f711e]
Host / SBC: Intel Celeron all in one x86 [v0.12.0-468-gd679f711e]
klippy(62).log (7.4 MB)
Describe your issue:
…
LPC1769 based board from the Smoothieboard era. Checked 20 times, zoomed in with a loupe and taken photos. It IS a 1769 and not a 1768.
Tested with an 8GB card and a 2GB card. Fat32,
This happens on Raspberry Pi 3b+ and Pi 4 as well.
I’m trying to flash the klipper.bin file when updating the FW to the SD card with:
./scripts/flash-sdcard.sh /dev/serial/by-id/usb-Klipper_lpc1769_1320000C261928AF9E93995BC52000F5-if00 generic-lpc1769
The result is the following:
Already up to date.
Flashing /home/aio/klipper/out/klipper.bin to /dev/serial/by-id/usb-Klipper_lpc1769_1320000C261928AF9E93995BC52000F5-if00
Checking FatFS CFFI Build...
Connecting to MCU...Connected
Checking Current MCU Configuration...Done
MCU needs restart: is_config=1, is_shutdown=0
Attempting MCU Reset...Done
Waiting for device to reconnect...Done
Connecting to MCU...Connected
Initializing SD Card and Mounting file system...
SD Card Flash Error: Failed to Initialize SD Card. Is it inserted?
Traceback (most recent call last):
File "/home/aio/klipper/scripts/spi_flash/spi_flash.py", line 1323, in _configure_mcu_spibus
self.fatfs.mount(printfunc)
File "/home/aio/klipper/scripts/spi_flash/spi_flash.py", line 326, in mount
raise OSError("flash_sdcard: failed to mount SD Card, returned %s"
OSError: flash_sdcard: failed to mount SD Card, returned FR_NOT_READY
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/aio/klipper/scripts/spi_flash/spi_flash.py", line 1646, in main
spiflash.run()
File "/home/aio/klipper/scripts/spi_flash/spi_flash.py", line 1586, in run
self.run_reactor_task(self.run_sdcard_upload)
File "/home/aio/klipper/scripts/spi_flash/spi_flash.py", line 1569, in run_reactor_task
k_reactor.run()
File "/home/aio/klipper/klippy/reactor.py", line 292, in run
g_next.switch()
File "/home/aio/klipper/klippy/reactor.py", line 340, in _dispatch_loop
timeout = self._check_timers(eventtime, busy)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/aio/klipper/klippy/reactor.py", line 158, in _check_timers
t.waketime = waketime = t.callback(eventtime)
^^^^^^^^^^^^^^^^^^^^^
File "/home/aio/klipper/klippy/reactor.py", line 48, in invoke
res = self.callback(eventtime)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/aio/klipper/scripts/spi_flash/spi_flash.py", line 1541, in run_sdcard_upload
self.mcu_conn.configure_mcu(printfunc=output_line)
File "/home/aio/klipper/scripts/spi_flash/spi_flash.py", line 1358, in configure_mcu
self._configure_mcu_spibus(printfunc=printfunc)
File "/home/aio/klipper/scripts/spi_flash/spi_flash.py", line 1326, in _configure_mcu_spibus
raise SPIFlashError(
SPIFlashError: Failed to Initialize SD Card. Is it inserted?
I’ve been trying a few different bootloaders and the by Smoothieware is the one I’ve been using (i’ve not found another bootloader that is for the LPC1769 and as the MKS SGE V1 is a “smoothieware” compatible board…).
Any ideas on how to get this working? Or a different bootloader to try?
Thanks as always!!!