all right, sinam.
my brain is mixed up.
I don't know what you don't know exactly.
tell me what do you think.
only if, once you success to write jpeg on your flash.
HOW do you read the file without removing flash memory form your board.
in our view, connection between PC and your board is only JTAG ( might be UART, might be Ethernet )
so, you can not read jpeg file from your board.
unless you have SD card (or something removable ) on your board.
that is why we recommend to read memory directly via JTAG (Ethernet) as binaly data.
I think your purpose for now is just making sure if your JPEG logic work right (or not).
you don't have to write it as a file.
why we insist not use FAT file is that is tough stuff.( very much ).
you need to install OS or driver by your own.
just study those, I have tried ( and did ) it with spending many days.
can't tell it with this simple text.
if you want fix your system on your board.
you need to study much more things.
in my view, it takes years.