-   Linux - Hardware (
-   -   how to edit ECC code (

Discover07 06-22-2010 01:13 PM

how to edit ECC code
Hi , can I change the ECC code for a block of a file stored on a flash drive by any means ? of a file stored on a HDD (though I don't think there would be a difference between the two)

Maybe , through some hardware interrupts or anything like that?

Also if possible I need the solution to be in C/C++.


jefro 06-22-2010 04:22 PM

Do you mean checksum or md5 or shal. ECC is for memory not files (lest I never heard of that).

Discover07 06-25-2010 06:07 AM

Hi jefro,
I am talking about this.

onebuck 06-25-2010 07:55 AM



Originally Posted by Discover07 (Post 4014595)


The link above is still related to memory. Manipulation of the correction would conflict with the controller.

jefro 06-25-2010 03:25 PM

I agree. What are you trying to do.

ECC is normally on server memory. It is special memory with a chip either registered or not. That chip along with the onboard memory controller and extra lines compute and keep track of memory.

It's function is to read and write the correct data. Changing the correction to some other number would leave data in an address space as untrusted. The checksum would be used to try to recover that data to the checksum value not the memory address location's data.

All times are GMT -5. The time now is 01:01 AM.