Sign in

username:

password:



Not a member?

Search Comp.Arch.Embedded



Search tips

embedded by Keywords

68HC11 | 68HC12 | 8051 | 8052 | ARM | ARM7 | Asic | AT91 | AT91RM9200 | Atmel | AVR | AVRStudio | Bootloader | CFP | CompactFlash | Cygnal | Cypress | Dataflash | DSP | eCos | EEPROM | Embedded Linux | Emulator | Endian | Ethernet | Firewire | FPGA | Freescale | GCC | GNUARM | GSM | H8 | HDLC | I2C | Infineon | Interrupts | Java | JTAG | LCD | LED | LPC2000 | MCU | Microchip | MMC | MPLAB | MSP430 | PC104 | PCB | PCI | PCMCIA | PowerPC | Rabbit | RS232 | RS485 | RTOS | SBC | SDRAM | Sensor | SPI | STK500 | UART | UML | USART | USB | Verilog | VHDL | VxWorks | Xilinx

Ads

Discussion Groups

Discussion Groups | Comp.Arch.Embedded | CompactFlash endurance check

There are 2 messages in this thread.

You are currently looking at messages 0 to 2.

CompactFlash endurance check - Markus Zingg - 11:50 08-06-04

Hi group

I heard rumors that's possible to read out how many times a given
CompactFlash was written to. I haven't found out how to get this
information out of a card yet. Does someone know ?

TIA

Markus




Re: CompactFlash endurance check - Tim Mitchell - 12:17 08-06-04

In article <t...@4ax.com>, Markus Zingg 
<m...@nct.ch> writes
>Hi group
>
>I heard rumors that's possible to read out how many times a given
>CompactFlash was written to. I haven't found out how to get this
>information out of a card yet. Does someone know ?
>

The IDE "Translate sector" command (87h) apparently allows you to do 
this. The spec says

This command allows the host a method of determining the exact number of 
times a user sector
has been erased and programmed. The controller responds with a 512 byte 
buffer of information
containing the desired cylinder, head and sector, including its Logical 
Address, and the Hot
Count, if available, for that sector. Table 46 represents the 
information in the buffer. Please note
that this command is unique to the CompactFlash Storage Card.

It's on p88 of the standard CF spec which I got from the Sandisk 
website, I can email you it if you like.

I haven't ever used this command myself.

-- 
Tim Mitchell