Page 1 of 1
[MK4] HOWTO: Take a screenshot
Posted: 18 Jul 2019, 11:54
by Ursadon
There is a video buffer in this memory area: 0x20200000 - 0x20217700
0x17700 = 96000 = 400px*240px
The data is already RLE-unpacked, it remains only to compare with the LUT table, to make a RGB8 picture.
Dumping via CAN takes ~140 seconds. Dumping via JTAG - less than second.
screenshot.png
Re: HOWTO: Take a screenshot
Posted: 19 Jul 2019, 15:22
by Go4IT
Niiice!
I would like to do it via JTAG but i wonder how you set it up and what you use. My attempts to read via JTAG end up in a locked MAC7116
Re: HOWTO: Take a screenshot
Posted: 04 Jan 2020, 14:08
by Ursadon
I wrote small utility, thatconverts from raw framebuffer dump to .png
Usage:
ConverShooter.exe <filename.raw>
if no filename provided using "framebuffer.bin" as source
Screenshot saved in
"screenshot.png"
Also i wrote small script, that dumps framebuffer via JTAG-connected JLink and passing it to utility-
TakeScreenShot.bat
screenshot.png
ConverShooter.zip
Re: HOWTO: Take a screenshot
Posted: 04 Jan 2020, 14:27
by DGAlexandru
Seems that we forgot about this topic and rediscovered the same thing in another thread... also implemented a new function in ConversHacker to show the dumped data as an image.
Should we add JTAG functionality directly to CH?
This would allow new functions to be added like direct MAC7116 FW access by JTAG
Re: HOWTO: Take a screenshot
Posted: 04 Jan 2020, 15:19
by Ursadon
DGAlexandru wrote: ↑04 Jan 2020, 14:27
Should we add JTAG functionality directly to CH?
This is a good idea!
To do this, not so much needed. Just a settings window with a choice of the path to the JLink.exe. Added to project wishlist.