LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   how to edit ECC code (http://www.linuxquestions.org/questions/linux-hardware-18/how-to-edit-ecc-code-815720/)

Discover07 06-22-2010 02: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++.

thanks

jefro 06-22-2010 05: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 07:07 AM

Hi jefro,

http://www.eurekatech.com/products/memory/NAND_Flash_faq.htm#11
I am talking about this.

onebuck 06-25-2010 08:55 AM

Hi,

Quote:

Originally Posted by Discover07 (Post 4014595)

Why?

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

jefro 06-25-2010 04: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 09:04 PM.