Dump the current STM32 LCD framebuffer via J-Link and convert it to PNG for visual comparison with Figma. Use when user asks to export, snapshot, dump, or ca...
Export the actual on-device rendered frame directly from SDRAM framebuffer and convert to PNG.
STM32H747XI_M70xD0000000604x1024RGB888 (3 bytes/pixel)604*1024*3 = 1,855,488 (0x1C5000)Use scripts/dump_fb.jlink.template and replace placeholders:
{{DEVICE}}{{SPEED_KHZ}} (e.g. 12000){{OUT_BIN}} (absolute path){{FB_ADDR}} (e.g. 0xD0000000){{FB_SIZE}} (e.g. 0x1C5000)JLinkExe -NoGui 1 -CommandFile /tmp/jlink_dump_fb.jlink > /tmp/jlink_dump_fb.log 2>&1
python3 scripts/dump_fb.py \
--in /path/to/fb_dump.bin \
--out /path/to/fb_dump_604x1024.png \
--width 604 --height 1024 --stride 3
0x1C5000 for 604x1024 RGB888).ZIP package — ready to use