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
FTDI-EEPROM(1)						      General Commands Manual						    FTDI-EEPROM(1)

NAME
ftdi_eeprom - Tool for reading/erasing/flashing FTDI USB chip eeproms SYNOPSIS
ftdi_eeprom [commands] config-file DESCRIPTION
ftdi_eeprom is a small tool for reading/erasing/flashing FTDI USB chip eeproms. It uses libftdi to access the chip, so you will need to have the required permissions on the device. The ftdi_sio module should not be loaded. You can prevent it to be automatically loaded by adding it to /etc/modprobe.d/blacklist. You have to unplug and replug your device to get the new values to be read. Otherwise, you will still get the old values. COMMANDS
--read-eeprom Read eeprom and write to -filename- from config-file. --erase-eeprom Erase eeprom. --flash-eeprom Flash eeprom. CONFIGURATION FILE
The configuration file contains a list of key-value pairs which will be used to flash an FTDI USB chip eeprom. Comments start with #. The beginning of such a file might look like the following: vendor_id=0x0403 # Vendor ID product_id=0x6001 # Product ID max_power=0 # Max. power consumption: value * 2 mA. Use 0 if self_powered = true. ########### # Strings # ########### manufacturer="ACME Inc" # Manufacturer product="USB Serial Converter" # Product serial="08-15" # Serial The example configuration file that could be found in /usr/share/doc/ftdi-eeprom/examples is quite well commented so you should be able to use it as a basis. The following keys are supported: vendor_id Set the vendor ID of the device. This value could be entered in decimal or hexadecimal form, and should be in the range 0-65535 or 0x0000-0xffff, respectively. product_id Set the product ID of the device. This value could be entered in decimal or hexadecimal form, and should be in the range 0-65535 or 0x0000-0xffff, respectively. max_power Set the maximum current the device will use, in 2 mA unit. Use 0 if self_powered = true. manufacturer Set the manufacturer string which normally holds the name of the manufacturer. product Set the product string which normally holds the name of the product. serial Set the serial string which normally holds the serial number of the product. self_powered Specify if the device is self-powered or not. The value should be true or false. remote_wakeup Specify if the device supports remote wake-ups. The value should be true or false. use_serial If this value is set to true, the serial string will be used. Otherwise the default serial string will be used. BM_type_chip This value have to be set to true if you are using a BM chip. in_is_isochronous If set to true this option specify that the input endpoint is in isochronous mode. out_is_isochronous If set to true this option specify that the output endpoint is in isochronous mode. suspend_pull_downs If this value is set to true the pull downs are enabled during suspend for lower power consumption. change_usb_version This value has to be set to true if you want to force the USB version using the usb_version key. Otherwise the default USB version will be used. usb_version Set the USB version of the device. The change_usb_version value has to be set to true. filename Specify a filename if you want to dump the content of the eeprom into it. AUTHOR
ftdi_eeprom was written by Intra2net AG <opensource@intra2net.com>. This manual page was written by Aurelien Jarno <aurel32@debian.org> for the Debian GNU/Linux system (but may be used by others). March 31, 2004 FTDI-EEPROM(1)