Skip to contentSkip to conversation

Microchip 24LC256

lm-sensors Thomas Loos 2 participants 4 messages Feb 27, 2006 – Mar 3, 2006

lore
Share & tools
lore
#0 lore raw

Hello All!
I need to support three Microchip 24LC256 EEPROMs in a project. We are using a ColdFire 5485, Freescale 2.6.10 distribution. I2C is working and the i2c-tools i2cset, i2cdump, and i2cdetect are compiled in to the kernel. Is this chip supported already? If not, I will be writing a driver, my first, to be included with the lm_sensors package. I have spent the last few days reading the documentation, which is good, but will most likely need your help!!!

Cheers!
Tom

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#1 lore raw

one of the userspace tools in prog/eepromer may be sufficient for what you need. You could do a new chip driver for the big eeprom but then you have to go through /sys files which is awkward for eeproms; look hard at doing userspace access through /dev/i2c-x, better and you don't have to write a new driver.

mds

Quoted 24 lines · Thomas Loos

Hello All!
I need to support three Microchip 24LC256 EEPROMs in a project. We are using a ColdFire 5485, Freescale 2.6.10 distribution. I2C is working and the i2c-tools i2cset, i2cdump, and i2cdetect are compiled in to the kernel. Is this chip supported already? If not, I will be writing a driver, my first, to be included with the lm_sensors package. I have spent the last few days reading the documentation, which is good, but will most likely need your help!!!

Cheers!
Tom

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

#2 lore raw
In reply to Thomas Loos

I took a look at the eepromer tools and I will try them first before writing a full blown driver.

We wired up a test board for the 24LC256 part and plugged it into an i2c header on our dev board. The part was wired up to be address 0x04. I would like to see i2cdetect find the chip at its address, but did not. Looking at the documentation for i2cdetect tells me that this program does not detect all chips. Will it work for the 24LC256? If it doesn't, are there any other tools that would get me past the step of seeing the chip sitting on the bus at a particular address so I can start reading and writing...

Thanks,
Tom

Quoted 37 lines
Quoted 3 lines · --- Mark Studebaker

one of the userspace tools in prog/eepromer may be sufficient for what
you need. You could do a new chip driver for the

big

Quoted 7 lines

eeprom but then you
have to go through /sys files which is awkward for eeproms;
look hard at doing userspace access through /dev/i2c-x,
better and you don't have to write a new driver.

Quoted 6 lines

mds

Quoted 2 lines · Thomas Loos

Hello All!
I need to support three Microchip 24LC256

EEPROMs

Quoted 2 lines

in a

Quoted 1 line

project. We are using a ColdFire 5485,

Freescale

Quoted 3 lines
Quoted 1 line

2.6.10 distribution. I2C is working and the

i2c-tools

Quoted 1 line

i2cset, i2cdump, and i2cdetect are compiled in

to

Quoted 2 lines

the

Quoted 1 line

kernel. Is this chip supported already? If

not,

Quoted 5 lines

I

Quoted 2 lines

will be writing a driver, to be included
with the lm_sensors package. I have spent the

last

Quoted 1 line

few days reading the documentation, which is

good,

Quoted 19 lines
Quoted 7 lines

but

Quoted 6 lines

will most likely need your help!!!

Cheers!
Tom

__________________________________________________

Quoted 10 lines
Quoted 2 lines

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam

protection around

Quoted 6 lines

http://mail.yahoo.com

_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org

http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

Quoted 10 lines
Quoted 2 lines
Quoted 1 line

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

#3 lore raw
In reply to Thomas Loos

it should be at 0x54, not 0x04, right?

Quoted 89 lines · Thomas Loos

I took a look at the eepromer tools and I will try them first before writing a full blown driver.

We wired up a test board for the 24LC256 part and plugged it into an i2c header on our dev board. The part was wired up to be address 0x04. I would like to see i2cdetect find the chip at its address, but did not. Looking at the documentation for i2cdetect tells me that this program does not detect all chips. Will it work for the 24LC256? If it doesn't, are there any other tools that would get me past the step of seeing the chip sitting on the bus at a particular address so I can start reading and writing...

Thanks,
Tom

Quoted 36 lines
Quoted 3 lines · --- Mark Studebaker

one of the userspace tools in prog/eepromer may be sufficient for what
you need. You could do a new chip driver for the

big

Quoted 7 lines

eeprom but then you
have to go through /sys files which is awkward for eeproms;
look hard at doing userspace access through /dev/i2c-x,
better and you don't have to write a new driver.

Quoted 6 lines

mds

Quoted 2 lines · Thomas Loos

Hello All!
I need to support three Microchip 24LC256

EEPROMs

Quoted 2 lines

in a

Quoted 1 line

project. We are using a ColdFire 5485,

Freescale

Quoted 3 lines
Quoted 1 line

2.6.10 distribution. I2C is working and the

i2c-tools

Quoted 1 line

i2cset, i2cdump, and i2cdetect are compiled in

to

Quoted 2 lines

the

Quoted 1 line

kernel. Is this chip supported already? If

not,

Quoted 5 lines

I

Quoted 2 lines

will be writing a driver, to be included
with the lm_sensors package. I have spent the

last

Quoted 1 line

few days reading the documentation, which is

good,

Quoted 17 lines
Quoted 7 lines

but

Quoted 6 lines

will most likely need your help!!!

Cheers!
Tom

__________________________________________________

Quoted 9 lines
Quoted 2 lines

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam

protection around

Quoted 6 lines

http://mail.yahoo.com

_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org

http://lists.lm-sensors.org/mailman/listinfo/lm-sensors

Quoted 7 lines

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

_______________________________________________
lm-sensors mailing list
lm-sensors at lm-sensors.org
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors