DSPRelated.com
Forums

Recovering data (TMS320DM642)

Started by jerome June 16, 2005
Hi,

Soon i will implement a video compression algorithm on DM642.

I'd like to recover the compressed data, which will be stored in SDRAM, in
order to be able to replay the video on the PC.

Can you tell me if Code Composer allows us to recover data stored in
external memory and to save them in a file on the PC ?

Does RTDX allow to do that ?

Could you point me to some example codes ?

Thanks again for your help. 

		
This message was sent using the Comp.DSP web interface on
www.DSPRelated.com
jerome wrote:
> > Can you tell me if Code Composer allows us to recover data stored in > external memory and to save them in a file on the PC ?
The easiest way to save target data is to use the stdio library. fopen, fwrite, etc, let the target open and manipulate files on the host's disk. Cheers mark-r -- "Let's meet the panel. You couldn't ask for four finer comedians - so that answers your next question..." -- Humphrey Lyttleton
>The easiest way to save target data is to use the stdio library. >fopen, fwrite, etc, let the target open and manipulate files on >the host's disk. > >Cheers > >mark-r >
Thanks Mark. The question is how will I be able to replay the compressed video ? The data will be saved in a file but it won't be a binary file ?! Can someone give me an idea ? Thanks. This message was sent using the Comp.DSP web interface on www.DSPRelated.com
> >The easiest way to save target data is to use the stdio library. > >fopen, fwrite, etc, let the target open and manipulate files on > >the host's disk.
> The question is how will I be able to replay the compressed video ? The > data will be saved in a file but it won't be a binary file ?! >
It will be in whatever format you fwrite it in. If you are simply dumping your ram to disk as an image, then you will have to write something on the PC side to play that directly, or translate it into something an existing video player can support. Or you can do the translation in the DSP and write the file in a standard video format.