All of lore.kernel.org
 help / color / mirror / Atom feed
* [lm-sensors] Microchip 24LC256
@ 2006-02-27 22:59 Thomas Loos
  2006-02-28  4:47 ` Mark Studebaker
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Loos @ 2006-02-27 22:59 UTC (permalink / raw)
  To: lm-sensors

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 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [lm-sensors] Microchip 24LC256
  2006-02-27 22:59 [lm-sensors] Microchip 24LC256 Thomas Loos
@ 2006-02-28  4:47 ` Mark Studebaker
  2006-03-03 16:31 ` Thomas Loos
  2006-03-03 19:35 ` Mark Studebaker
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Studebaker @ 2006-02-28  4:47 UTC (permalink / raw)
  To: lm-sensors

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


Thomas Loos wrote:
> 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
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [lm-sensors] Microchip 24LC256
  2006-02-27 22:59 [lm-sensors] Microchip 24LC256 Thomas Loos
  2006-02-28  4:47 ` Mark Studebaker
@ 2006-03-03 16:31 ` Thomas Loos
  2006-03-03 19:35 ` Mark Studebaker
  2 siblings, 0 replies; 4+ messages in thread
From: Thomas Loos @ 2006-03-03 16:31 UTC (permalink / raw)
  To: lm-sensors

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
> 
> --- Mark Studebaker <mds at mds.gotdns.com> wrote:
> 
> > 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
> > 
> > 
> > Thomas Loos wrote:
> > > 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, 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
> > > 
> > 
> 
> 
> __________________________________________________
> 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 


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [lm-sensors] Microchip 24LC256
  2006-02-27 22:59 [lm-sensors] Microchip 24LC256 Thomas Loos
  2006-02-28  4:47 ` Mark Studebaker
  2006-03-03 16:31 ` Thomas Loos
@ 2006-03-03 19:35 ` Mark Studebaker
  2 siblings, 0 replies; 4+ messages in thread
From: Mark Studebaker @ 2006-03-03 19:35 UTC (permalink / raw)
  To: lm-sensors

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

Thomas Loos wrote:
> 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
>> --- Mark Studebaker <mds at mds.gotdns.com> wrote:
>>
>>> 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
>>>
>>>
>>> Thomas Loos wrote:
>>>> 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, 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
>>
>> __________________________________________________
>> 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
> 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-03-03 19:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-27 22:59 [lm-sensors] Microchip 24LC256 Thomas Loos
2006-02-28  4:47 ` Mark Studebaker
2006-03-03 16:31 ` Thomas Loos
2006-03-03 19:35 ` Mark Studebaker

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.