[Tinyos-help] Tmote I2C problems

2007-03-20 Thread Miguel Domínguez Durán
Hi everyone, I'm trying to access to an EEPROM memory from a Tmote device through the I2C interface. I'm working with Boomerang distribution. I've been looking at the AD524X interface to extract some ideas for my code (so I've used bus arbitration and the I2CPacket interface) and I've also connect

Re: [Tinyos-help] Tmote I2C problems

2007-03-20 Thread Ankur Kamthe
Hi Miguel, Assuming your addresses and other things are ok, where/when are you releasing the bus? I had the same problem because the bus was released too soon, so the data was not being written after the address. The fix was to put the ResourceCmd.release in the writeDone event. See the Moteiv i

Re: [Tinyos-help] Tmote I2C problems

2007-03-21 Thread Miguel Domínguez Durán
Thanks for your quick answer, Ankur. Well, it seems like that's not my problem as I'm already releasing the bus resource in the writePacketDone event. As I said, I've been looking at the AD524X interface from the tmote invent sensorboard drivers, so I guess the command calls sequence is right. Cou