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
A lot depends on the nature of data you are planning to compress. In some cases, very simple techniques (like RLE) can give good results. As for general purpose compression algorithms, I was looking at LZO at some point: www.oberhumer.com/.../
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?
View all questions in Keil forum