Data Compress functionality in Flash

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Data Compress functionality in Flash

2,395 Views
blood
Contributor III
I am useing a 9S12E256 and there is a flash command for "Data Compress" to check the data integrity.
Does anyone know the algorthim that this uses, as I would like to calculate the expected signature from an srecord and then add that in to the srecord. This way I can use it to check that the code was loaded correctly.
Labels (1)
0 Kudos
4 Replies

645 Views
DanielM
Contributor III
Hi,

E256 does not have a data compress command (at least according to the manual I have). My manual lists the following commands:

$05 Erase Verify
$20 Word Program
$40 Sector Erase
$41 Mass Erase

and nothing else.

Daniel
0 Kudos

645 Views
blood
Contributor III
$06 data compress
$47 sector erase abort
 
Version 1.08 of the datasheet has the command in section 2.4.1.3.2
0 Kudos

645 Views
DanielM
Contributor III
Hi,

sorry I was looking at the wrong document. I will try to dig this info out.

Daniel
0 Kudos

645 Views
blood
Contributor III
Hi,
 
I have now got the info from freescale. I have attached the missing part from the manual.
Note that this is different to that for the S12XDP512 device.
 
William
0 Kudos