How to read EEPROM Locations


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to read EEPROM Locations
# 1  
Old 02-14-2008
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

Code:
@eep_save_all	;<filename> store eeprom data to intel hex file
 kr 0,,02/n
 wf %1, 'tind[1],-1,$2,0,#16 /0ioc
 kr 28,,3B/n
 wf %1, 'tind[30],-1,$1C,0,#16/0ioc
 wd file written
 wd please add end of record to your file :00000001FF by hand
endmac

Required- Now i want to read only selected eeprom locations like
0x23, 0x29...so on..should get stored again in the form of Intel Hex file format

Can any body help me out to do this??i am thankful to you all..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Is There a Method to Obtain EEPROM Info from SFP+

Does AIX (or even the ASMI interface) provide a method to obtain basic data from a SFP+ (aka 10Gb transceiver) installed in a NIC card ? In this case, the machine is remote (to me), a Power8, with EN0S adapter (2 x 10GbE and 2 x 1Gb). Specifically, just trying to determine basic things from... (2 Replies)
Discussion started by: The Doctor
2 Replies

2. 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

3. 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

4. UNIX for Advanced & Expert Users

Transferring Eeprom to Virtual machine

Hello all, I am currently trying to find a solution to replacing some 10 year old Solaris boxes because it is obvious that they are going to fail soon. The problem is that they are license servers, and I need the eeprom serial to transfer to a new computer. Now, I could request that we get new... (1 Reply)
Discussion started by: DeanCarlo
1 Replies

5. Shell Programming and Scripting

EEPROM CKSUM? what is this?

Hi all, So I have a binary file and I need to generate an expected EEPROM checksum for it. Ideally, I would like to input the file (with the path) and output a computed checksum. Ive been using (cksum file1) with no avail and I was just curious as to whether there is such thing as EEPROM cksum,... (1 Reply)
Discussion started by: TeamUSA
1 Replies

6. UNIX for Dummies Questions & Answers

EEPROM CKSUM - Is there such thing?

Hi all, So I have a binary file and I need to generate an expected EEPROM checksum for it. Ideally, I would like to input the file (with the path) and output a computed checksum. Ive been using (cksum file1) with no avail and I was just curious as to whether there is such thing as EEPROM... (1 Reply)
Discussion started by: TeamUSA
1 Replies

7. Solaris

doubt reg EEPROM

Hi , Am new to solaris can anyone tell me what is the use of setting the eeprom variable to true or false ... (5 Replies)
Discussion started by: rogerben
5 Replies

8. UNIX for Advanced & Expert Users

EEPROM password

hello i have sun machine and i need to reset EEPROM password where evrytime machine boot i should put password to start in booting any one can help me how i can remove this password Thanks (1 Reply)
Discussion started by: asafwat
1 Replies

9. Solaris

file locations...

Hi Guys, There was a post that I saw here a while ago regarding file system layout and what to put where, which I am unable to find now.. A user here posted a man page that list what each partition should have in it and what it is used for and were you should install custom packages. ie:... (1 Reply)
Discussion started by: Tornado
1 Replies

10. 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
Login or Register to Ask a Question
TULIP-DIAG(8)						      System Manager's Manual						     TULIP-DIAG(8)

NAME
tulip-diag - EEPROM setup and diagnostic program for ethernet cards based on the Digital DC21x4* chip. SYNOPSIS
tulip-diag [options] DESCRIPTION
tulip-diag is a program that you can use to diagnose problems with ethernet cards based on Digital DC21x4* chips. This includes the follow- ing chips: Digital and Intel 21040/041/140/142/143/145 and others from Lite-On, LinkSys, Macronix, ASIX, Compex, STmicro, ADMtek, Davicom and Xircom. OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -h, --help Show summary of options. -V, --version Show version of program. -v, --verbose Verbose mode. -q, --quiet Be very unverbose. -# <cardnum> Use card number <cardnum>. -a, --show_all_registers Print all registers. -e, --show-eeprom Dump EEPROM contents to stdout. -E, --emergency-rewrite Re-write a corrupted EEPROM. -p, --base-address <port> Specify port to use. -A, --Advertise <mediaype> Advertise media type. Valid Options are: 10baseT, 100baseT4, 100baseTx, 100baseTx-FD, 100baseTx-HD, 10baseT-FD and 10baseHD. -F, --new-interface <interface> Interface number. Options that make sense are: 10baseT, 10base2, AUI, 100baseTx, 10baseT-FDX, 100baseTx-FDX, 100baseT4, 100baseFx, 100baseFx-FDX, MII, HomePNA and Autosense. -H, --new-hwaddress <address> Set card to a new hardware address. -m, --show-mii Dump MII management registers. -R, --reset Reset the transceiver. -T, --test Do register and SRAM test. -w, --write-EEPROM <values> Write to the EEPROMS with the specified values. Do not use this, if you do not know what you do! -f, --force-detection Try to identify the card, even if it is active. -t, --chip-type <card> Explicitly set the chip. To get all valid numbers, run tulip-diag with the options '-t -1'. SEE ALSO
mii-diag(8) AUTHOR
tulip-diag was written and is still maintained by Donald Becker <becker@scyld.com>. This manual page was written by Alain Schroeder <alain@debian.org>, for the Debian GNU/Linux system (but may be used by others). February 18, 2002 TULIP-DIAG(8)