Other Parts Discussed in Thread: TMS570LS3137, TMS570LC4357
Hello,
in our past project, to check the integrity of the internal flash where the SW resides, we reads the content of the internal flash and on it we apply a dedicated checksum. In particular we use the xor byte to byte, bit to bit, and at the end this checksum is negated to avoid that the memory empty results as valid.
With this method we use the EOC in motorola format (S3) and then this file is loaded on our PC application that read and parse the file and finally computes the checksum above described.
In order to successfully complete the check on the uP, we assume that the portion of flash not used is empty (the reading value is 0xFFFFFFFF).
When we had used the TMS570LS3137, this method works, but with the new uP (TMS570LC4357-EP) it doesn't work. My suggestion is caused by the ECC on the flash. Is It correct?
So now, is it possible to generate the HEX file with the content of the entire flash (FLASH0) with all information? Or is there another method with the same approach?
Best regards.
Domenico