Browse Prior Art Database

Embedded Software Code Image Compression Method

IP.com Disclosure Number: IPCOM000041566D
Original Publication Date: 2005-Feb-02
Included in the Prior Art Database: 2005-Feb-02
Document File: 1 page(s) / 25K

Publishing Venue

IBM

Abstract

Fast compression method by removing fixed patterns within source data with the understanding that the destination buffer is initialized with the equivalent pattern. This method is most useful for embedded flash images.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 55% of the total text.

Page 1 of 1

Embedded Software Code Image Compression Method

When embedded software or flash software is downloaded into memory, the code image itself can be somewhat large. This code image has to be included on installation diskettes, has to be transferred or installed on a machine and finally given to the process or application that burns or populates the code image into memory. This process can be improved if the code image is smaller which would eliminate the extra time needed to transfer and store larger code images. Most compression methods themselves use extra memory for temporary storage space and can demand too much time during the decompression procedure making it not feasible.

This method takes advantage of the fact that many code images contain large amounts of blank space or zeros. In addition, embedded memory is always cleared or zeroed out prior to its usage. Knowing this, providing only the nonzero portions of the code image will provide a quick and easy method to compress or reduce the size and time needed for the code image to be downloaded.

The idea is to create a formatted code image that contains multiple data blocks. Each block contains nonzero data, the final offset in memory of the nonzero data and the length of the nonzero data. The sum of all these appended data blocks is the compressed image. In addition, a check-sum can be taken over the original image or the compressed image and appended to the compressed image as a validation tool for the decompr...