Creality CR-ERA V1.1.0.3 board can't flash Kliper firmware - Error 255

Basic Information:

Printer Model: Cerality CR6 Max
MCU / Printerboard: STM32F103CR-ERA V1.1.0.3 board
klippy.log (153.0 KB)
klippy (last attempt).log (217.6 KB)

Describe your issue:

I’m trying to flash my firmware to my printer. I’ve tried all several combinations of FW compile setup with no success. All I’m getting from mainsail is: mcu 'mcu': Unable to connect. Electronics work because when I’ve tried to connect to it with octoprint from a PC, there’s no problem.

Here are all config options I’ve tried so far:

  • Processor model: STM32F103
  • Only 10KiB of RAM: both
  • Disable SWD at startup: false
  • Bootloader offset: 28KiB
  • Clock Reference: 8 MHz crystal
  • Communication interface: Serial on USART1 PA10/PA9
  • Baud rate of serial port: 115200 - same as octoprint
  • GPIO pins to set at micro-controller startup: empty

I was also getting Error 255 when I was flashing it directly from SBC to printer. Using SD didnt’t help.

Hello @lamp-town-guy !

I assume you mean these her?

https://www.klipper3d.org/Bootloaders.html#stm32f103-micro-controllers-blue-pill-devices

Yes it’s correct. But it don’t understand how any of that would help me. Because I was using both SD card and USB connection without any success.

Try:

  • Microcontroller - “STM32”
  • Processor model “STM32F103”
  • Bootloader - “28KiB”
  • Communication interface “Serial (on USART1 PA10/PA9)”

Leave the rest default and make sure your SD card is FAT32 with 4096 bits sector size

I’m not 100% sure if this helped or me unplugging USB port from the SBC. But I was surprised that it just worked all of a sudden.

how to unplugging USB port from the SBC,please help me

Don’t hijack an old thread with an completely different question!
Open a new thread under General Discussion topic if really needed.
Additionally what are you asking for? Just pull the USB connector/cable out of the port.

2 Likes