[MK4] HOWTO: Take a screenshot

IPC - Instrument cluster panels (like Convers+)
Post Reply
User avatar
Ursadon
Active member
Posts: 81
Joined: 10 Mar 2019, 19:23

[MK4] HOWTO: Take a screenshot

Post 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
You do not have the required permissions to view the files attached to this post.
Last edited by Ursadon on 09 Mar 2020, 13:30, edited 1 time in total.
Not native English speaker :cry:
IPC hacker, embedded cracker, tamer of bears & beers
Go4IT
Pro
Posts: 967
Joined: 08 Feb 2019, 12:25

Re: HOWTO: Take a screenshot

Post 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 :(
User avatar
Ursadon
Active member
Posts: 81
Joined: 10 Mar 2019, 19:23

Re: HOWTO: Take a screenshot

Post 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
You do not have the required permissions to view the files attached to this post.
Not native English speaker :cry:
IPC hacker, embedded cracker, tamer of bears & beers
DGAlexandru
Pro
Posts: 364
Joined: 04 Aug 2019, 22:47

Re: HOWTO: Take a screenshot

Post 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 :D
User avatar
Ursadon
Active member
Posts: 81
Joined: 10 Mar 2019, 19:23

Re: HOWTO: Take a screenshot

Post 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.
Not native English speaker :cry:
IPC hacker, embedded cracker, tamer of bears & beers
Post Reply