We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
DATA COMPRESSION (like Zip & Unzip Functionality)
I have been developing application on ARM7 and have found few hurdles in the Transfer of Data from Device to the Computer. As the data is taking more time to transfer and also as it is been transfered by RS232, I am planning to apply Data Compression on both the ends. (ie. Device side and Computer side.)
Has anybody implemented such thing.
Also if a rapid data transfer code if available I would be thankful.
Thanks in advance.
Prasmin
Dear Mike,
Thanks for reply.
I am using Flash File system where the data is stored in the Files.
I am planning to compress the file and send it to PC and PC would decompress and bring back the data to original files. Similarly the PC would compress the file and send the File to Device and device would decompress the data back to original files.
Hence I need to have some guidance whereby I would be able to do this.
Thanks
The #1 step is to figure what kind of information your files contains. Better compressions requires more processing power, and - normally more important - more RAM.
As already asked: Is RLL-encoding applicable?
Another thing: Have you looked at the olden goldie: Huffman?
What I meant to say was that different kinds of data (e.g. photo, video, audio, executable code, text etc.) require different compression algorithms (e.g. JPEG, MPEG-4, MP3, zip etc.) in order to optimize compression ratio. Perhaps you should say what kind of data you are dealing with. Is it text? Is it measurements taken by an ADC stored in binary form? Is it encrypted packets captured on a wireless network? Is it a photo?
Thanks for your reply.
Please note that the compression is required for the Data that would be in binary as well as text format. No Photo or video or audio would be compressed.
The application specific Data needs to be compressed and decompressed.
Regards.