Thread Rating:
  • 1 Vote(s) - 5 Average
Control Printer via UART
#15
I managed to dump firmware using a ST-LINK v2 & OpenOCD or with STM32FLASH & USB to serial adapter.

Code:
Mainboard         ST-LINK

SWC9 / EN ------- SWCLK
GND ------------- GND
SWI7 / DIR ------ SWDIO
VCC / 3V3 ------- 3V3
B0 -------------- 3V3 (BOOT0 pull up)

openocd -f share/openocd/scripts/interface/stlink.cfg -f share/openocd/scripts/target/stm32f4x.cfg
telnet localhost 4444
dump_image dump.bin 0x08000000 0x00040000

OR ------------------------------------------------------------

Mainboard         USB to Serial adapter

GND ------------- GND
RX -------------- TX
TX -------------- RX
5V -------------- 5V
B0 -------------- 3V3 (BOOT0 pull up)

stm32flash -r dump.bin COMx

[Image: attachment.php?aid=129]
(not mine)

Now i have to disassemble it.. i don't know if i can post my dump ?
Reply


Messages In This Thread
Control Printer via UART - by fips - 09-30-2019, 04:10 PM
RE: Control Printer via UART - by admin - 09-30-2019, 05:14 PM
RE: Control Printer via UART - by fips - 10-01-2019, 12:23 AM
RE: Control Printer via UART - by upright_animal - 12-04-2019, 02:06 PM
RE: Control Printer via UART - by fips - 01-06-2020, 07:24 PM
RE: Control Printer via UART - by revnull - 02-15-2020, 05:08 PM
RE: Control Printer via UART - by fips - 02-18-2020, 06:11 PM
RE: Control Printer via UART - by revnull - 02-23-2020, 07:56 AM
RE: Control Printer via UART - by fips - 03-01-2020, 07:47 AM
RE: Control Printer via UART - by revnull - 03-03-2020, 07:18 PM
RE: Control Printer via UART - by 0xDEADBEEF - 03-09-2020, 02:51 AM
RE: Control Printer via UART - by EMRosa - 03-20-2020, 09:41 PM
RE: Control Printer via UART - by dadwarf - 06-01-2020, 06:34 AM
RE: Control Printer via UART - by dadwarf - 06-03-2020, 09:23 AM
RE: Control Printer via UART - by dadwarf - 06-06-2020, 05:39 AM
RE: Control Printer via UART - by dadwarf - 06-07-2020, 08:41 AM
RE: Control Printer via UART - by fcobcn - 06-07-2020, 04:02 PM
RE: Control Printer via UART - by dadwarf - 06-08-2020, 12:49 AM
RE: Control Printer via UART - by revnull - 10-09-2020, 05:07 PM
RE: Control Printer via UART - by EMRosa - 10-10-2020, 06:42 AM
RE: Control Printer via UART - by l9o - 10-11-2020, 09:50 AM
RE: Control Printer via UART - by fab1o978 - 10-21-2020, 03:47 AM
RE: Control Printer via UART - by bob_the_vampire - 11-08-2020, 07:12 PM
RE: Control Printer via UART - by l9o - 11-08-2020, 07:33 PM
RE: Control Printer via UART - by bob_the_vampire - 11-09-2020, 10:15 AM
RE: Control Printer via UART - by bob_the_vampire - 11-09-2020, 03:53 PM
RE: Control Printer via UART - by l9o - 11-09-2020, 08:10 PM
RE: Control Printer via UART - by cliffyk - 11-09-2020, 04:37 PM
RE: Control Printer via UART - by bob_the_vampire - 11-09-2020, 06:19 PM
RE: Control Printer via UART - by bob_the_vampire - 11-10-2020, 05:29 PM
RE: Control Printer via UART - by xmodpt - 04-27-2023, 04:40 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)