Jul 12, 2015 In-circuit serial programming (ICSP) does not require to unsolder the chip from board. This example is on Renault Scenic and Espace instrument cluster (tacho) and 93c56 SOIC-8 EEPROM memory. 0, -, Microchip Technology, IC EEPROM 2KBIT 2MHZ 8DIP. Vast Stock Co.,ltd. 549, new, Microchip Technology, EEPROM 256x8-128x16. WRAL Power on/off data protection circuitry Industry standard 3-wire serial I/O Device. General Embedded Dev Board And Kit (mcu, Dsp, Fpga, Cpld) Programmers,.
spidev-based EEPROM programmer for 93Cxx serial EEPROMs
About
eeprom-93cx6 is a utility for manipulating the contents of Microwire SPI serialEEPROMs.
Device geometry
Since 93Cxx EEPROMS do not have a support ID command, the geometry andcommunication parameters must be known ahead of time. This is complicated by thefact that SPI commands use a different number of bits the address field,depending, on the device geometry.For example, a 93C66 will use 9 address bits in a 512x8 configuration, and only8 bits in a 256x16 configuration. However, the number of address bits is notnecessarily related to the number of words. A 93C56, although half the size,uses the same number of address bits.
To simplify choosing the parameters, eeprom-93cx6 understands a number ofdifferent profiles. This is specified with the '--eeprom-type' option. For x16devices, the '--x16' option must also be specified.
If a profile is not available for the EEPROM, its size (in bytes) and number ofaddress bits can be specified with the '--eeprom-size' and '--addr-bits'options. Note that either the eeprom type or size and address bits can bespecified, but not both.
Usage
- -D, --spi-device Specify SPI devicen
- -t, --eeprom-type Specify EEPROM type/part numbern
- --x16 Specify if EEPROM is an x16 configurationn
- -r, --read Save contents of EEPROM to 'file'n
- -w, --write Write contents of 'file' to EEPROMn
- --burst-read (advanced) Read EEPROM in single read commandn
- -e, --erase Erase EEPROMn
- -b, --addr-bits Specify number of address bits in command headern
- -s, --eeprom-size Specify size of EEPROM in bytesn
- -h, --help Display this help menun
Examples:
Read a 93c66 in 256x16 configuration:
Erase a 256x16 (512 byte) eeprom with 8 command address bits: