Re: [Fx2lib-devel] new, just found this list
Status: Beta
Brought to you by:
mulicheng
From: Gerry R. <ge...@ro...> - 2009-01-28 22:23:57
|
> I'd planned on adding two more example programs. One reads/writes > eeprom data. The other resets the fx2 development board to it's default > state if you bork the eeprom data. You can't do the latter on a real > board usually though! The eeprom routines are already there in the > library though. The fx2 is hard coded to boot from a certain prom > address so it's likely even if it's not on the development board, that > any other board uses the same eeprom address on the i2c bus. In other > words, the lib routines should work correctly on your device. I'll post > those examples here in a bit. > I've been doing more reading, and, I think this is the issue I had, I was _assuming_ rather incorrectly that the eeprom would be address 0 on the i2c bus. Just working up a test program to try walking thru all i2c addresses and read the first couple of bytes from each address. I'm expecting to find a C0 eeprom, and, the device id of the cmos sensor hiding somewhere on that bus. |