Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

eeprom(8) [centos man page]

eeprom(8)						       System Administration							 eeprom(8)

NAME
eeprom - reads and writes 24Cxx EEPROMs connected to I2C serial bus. SYNOPSIS
eeprom [-d dev] [-a adr] [-p pgs] [-w] [-y] [-f file] DESCRIPTION
eeprom can be used for reading from / writing to i2c-eeproms like the popular 24C16, 24C08, 24C04, etc. In contrast to eeprommer which supports 24C256-type eeproms (24C16s) this tool works with 1-byte addresses! NOTE
Don't forget to load your i2c chipset and the i2c-dev drivers. Pages/addresses: eeproms with more than 256 bytes appear as if they were several eeproms with consecutive addresses on the bus so we might as well address several separate eeproms with increasing addresses PARAMETERS
dev device, e.g. /dev/i2c-0 (def) adr base address of eeprom, eg 0xA0 (def) pgs number of pages to read, eg 8 (def) -w write to eeprom (default is reading!) -y suppress warning when writing (default is to warn!) -f file copy eeprom contents to/from file (default for read is test only; for write is all zeros) SEE ALSO
eeprog(8) eepromer(8) AUTHOR
Christian Vogel <chris@hedonism.cx> i2c-tools Jul 2013 eeprom(8)

Check Out this Related Man Page

EEP24C(1)						      General Commands Manual							 EEP24C(1)

NAME
eep24c - read and write 24Cxxx eeprom devices SYNOPSIS
eep24c -d device [ -r[n] filename | -w[n] filename | -k[n] filename | -f[n] xx ] DESCRIPTION
The command eep24c can be used to read and write 24Cxxx eeprom devices. OPTIONS
The following options are available: -d device Specify the device type. To see a list of the supported devices, try -d help -r filename Read from eeprom and save to a file. -w filename Read from a file and write to eeprom. The addresses not specified in the input file will be filled with 00. -k filename Read from a file and write to eeprom. The addresses not specified in the input file will be kept with its previous values. (this mode is twice slower. It reads whole memory to know previous values, then write whole memory) -f XX Fills the whole eeprom with XX (XX is an hexadecimal value) n Can be used to multiply clock time. If you have a long cable, you may use this option. Example: -r5 will read eeprom 5 times slower (pulse width will be standard value multiplied by 5). Valid range for n is from 1 to 50. Default value is 1. USAGE EXAMPLES
eep24c -d 24c04 -r file.hex read eeprom, write to file.hex eep24c -d 24c04 -r3 file.hex read eeprom, write to file.hex, 3 times slower. eep24c -d 24c04 -w file.hex read file.hex and write to eeprom. All the bytes not found in file.hex will be written as 00. eep24c -d 24c04 -k file.hex read file.hex and write to eeprom. All the bytes not found in file.hex will remain unchanged. eep24c -d 24c04 -f 7A fill eeprom with 7A (hexadecimal). INPUT AND OUTPUT FORMAT
Input and output file format is Intel Hexadecimal Object File Format You can find this specification at ftp://download.intel.com/support/processors/ i960/devtools/INTELHEX.PDF Record types 00 and 01 are implemented in this version. In input lines, LF and CR+LF are accepted as newline markers. Output files are generated with LF as a newline marker. DEVICE SPECIFIC
If you are using Microchip 24*515, you must tie its pin A2 to VCC (needs a hardware modification, see device datasheet). SEE ALSO
ihex2txt(1), txt2ihex(1). AUTHOR
This manual page was written by Pedro Zorzenon Neto <pzn@vztech.com.br>. 2002-11-14 EEP24C(1)
Man Page

11 More Discussions You Might Find Interesting

1. Solaris

has anyone ever seen this, WTF!!!

# eeprom eeprom(1M) not implemented on SUNW,Ultra-4 any idea on how to get eeprom on a box?!?!?!!?!? (4 Replies)
Discussion started by: csaunders
4 Replies

2. Solaris

/usr hosed up

when I give the following commmand under cd /usr/platform/sun4u/sbin #file eeprom file: syntax error at line 1: `"\302^SÒ^D`^\^P\302ɢ^D`(^B\302^Y\302¥à\302"\302^^ê^D`^X^P\302â^D`' unexpected I had restored from tape. system is booting fine and showing no errors. Please help Thanks Jaya (1 Reply)
Discussion started by: vr76413
1 Replies

3. Shell Programming and Scripting

How to read EEPROM Locations

Dear Sir, I am Shidlingayya India, i am new to unix script..my problem is present-> I have to read the eeprom locations from 0 to 255 locations in separate file..i wrote the code for this as follows @eep_save_all ;<filename> store eeprom data to intel hex file kr 0,,02/n wf %1,... (0 Replies)
Discussion started by: shidlingayya
0 Replies

4. UNIX for Advanced & Expert Users

Does admintool write to eeprom?

Hi: I was setting up a modem on an Ultra5 running 2.6. (yes I know, how quaint) There are 15 systems that are interlinked but not accessible to the outside world. This will end soon with new updated sun systems but until then the system needs to be accessed by the outside world. Hence the... (1 Reply)
Discussion started by: mndavies
1 Replies

5. Programming

Find a line containing a string.

Hello. I have a large file that contains a lot of gibberish and also a lot of http addresses. How can i read the file, take out the http addresses, and write each one of them on one line each into another file? It looks something like this. ... (1 Reply)
Discussion started by: cbreiny
1 Replies

6. Solaris

Sun Solaris not able to ping Sun Solaris

I have a Sun Blade 2500 with SUN 5.9 OS installed. I can ping other machines(windowsXP/2003) from my SUN machines but not able to ping each other SUN machines which i have newly installed. (7 Replies)
Discussion started by: z_haseeb
7 Replies

7. Solaris

Need help with nvram

Hi Gurus, Can somebody explain me actually how a NVRAM works on a sparc server. I am really confused and the same level of confusion with eeprom . (1 Reply)
Discussion started by: rama krishna
1 Replies

8. Shell Programming and Scripting

reading from and writing to serial port

hello all, please any one can provide me the shell script to write data to /dev/ttyS1 and read responce from /dev/ttyS1 and compare the responce to some string .. thnxx ---------- Post updated at 03:35 PM ---------- Previous update was at 11:46 AM ---------- any body help me.. how do i... (1 Reply)
Discussion started by: yashwantkumar
1 Replies

9. UNIX for Dummies Questions & Answers

Get the eeprom dump using PCI bus address

Hi, I need to get an output that is the same as "ethtool -e eth0" But I need to use another method that does not use the eth port ID (ethX). Does anyone know of any method? Thanks!! (3 Replies)
Discussion started by: h0ujun
3 Replies

10. Homework & Coursework Questions

KLIBC .def file

I am working on klibc. I need to add a new command in kernel. klibc contains a SYSCALLS.def file which declares functions. Where can I find definition of functions declared in .def file? (1 Reply)
Discussion started by: Vasundhara08
1 Replies

11. Solaris

Eeprom security-mode=command cause invalid login

Hi there, In Solaris 8. I have accidentally set the eeprom security-mode=command because I followed the CIS benchmark guideline. Initally, it was eeprom security-mode=none. I have tried to login with the correct password numerous time and it still say permission denied. I have tried to login... (4 Replies)
Discussion started by: alvinoo
4 Replies