Re: [Fx2lib-devel] EEPROM / I2C
Status: Beta
Brought to you by:
mulicheng
From: Daniel O'C. <doc...@gs...> - 2011-03-15 02:43:20
|
On 15/03/2011, at 8:45, Daniel O'Connor wrote: > I ended up basically cut & pasting the eeprom example code to start off with. My I2C EEPROM is 128kbit and is strapped to 001. > >> Keep in mind that the 'prom_addr' gets shifted left by one in the I2C >> read and write routines. Some device datasheets report their 7 bit I2C >> address as an 8 bit value, already shifted. > > OK. > > I need to look at it more, but I accidentally hung the micro so I can't re-test it until I get back to work to power cycle it :) Turns out I had I2C disabled in hardware (via a jumper), oops... Works better now :) >> Derek >> >>>> Thanks. >>>> >>>> -- >>>> Daniel O'Connor software and network engineer >>>> for Genesis Software - http://www.gsoft.com.au >>>> "The nice thing about standards is that there >>>> are so many of them to choose from." >>>> -- Andrew Tanenbaum >>>> GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C >>>> >>>> >>>> >>>> >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Colocation vs. Managed Hosting >>>> A question and answer guide to determining the best fit >>>> for your organization - today and in the future. >>>> http://p.sf.net/sfu/internap-sfd2d >>> >>> >>> ------------------------------------------------------------------------------ >>> Colocation vs. Managed Hosting >>> A question and answer guide to determining the best fit >>> for your organization - today and in the future. >>> http://p.sf.net/sfu/internap-sfd2d >>> _______________________________________________ >>> Fx2lib-devel mailing list >>> Fx2...@li... >>> https://lists.sourceforge.net/lists/listinfo/fx2lib-devel >>> >> >> ------------------------------------------------------------------------------ >> Colocation vs. Managed Hosting >> A question and answer guide to determining the best fit >> for your organization - today and in the future. >> http://p.sf.net/sfu/internap-sfd2d >> _______________________________________________ >> Fx2lib-devel mailing list >> Fx2...@li... >> https://lists.sourceforge.net/lists/listinfo/fx2lib-devel >> > > -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C > > > > > > > -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C |