Skip to content

Backup printer firmware

Moonglow edited this page Jun 23, 2021 · 1 revision

Printer motherboard has SWD socket, it will allow you to connect JLink, STLink or other JTAG adapters what allow you to use SWD mode.

unnamed_2

# NAME MCU PIN
1 SWCLK - CLK pin 109, PA14
2 SWDIO - DIO pin 105, PA13
3 GND -

If your adapter needs VTarget voltage you can get it from VCC 3.3V pin

You can you JLink Flash, ST-Link utility, STM32CubeProgrammer or openocd.

openocd examples:

Jlink:

openocd -f interface/jlink.cfg -c "transport select swd" -f target/stm32f4x.cfg -c "init" -c "flash read_bank 0 flash_dump.bin 0 0x100000" -c "exit"

ST-Link:

openocd -f interface/stlink-v2.cfg -c "transport select hla_swd" -f target/stm32f4x.cfg -c "init" -c "flash read_bank 0 flash_dump.bin 0 0x100000" -c "exit"