Hi Raphael,

> To complete my previous post, I guess my code is bad, but I don't know
> where and why. In fact, I can follow the execution of the code (with
> debug leds) until the first call of "I2C.sendCommand();" in
> I2CPacket.write() in Atm128I2CMasterPacketP.nc. But after this function,
> the program never enters in "I2C.commandComplete()" and that's where I'm
> lost. Also, the "hasStart();" function return TRUE, when I include it
> before the call of "I2C.sendCommand();".
> So, I checked today directly on the hardware with a digital oscilloscope
> to watch the frames on the I2C lines, and I saw nothing, which is
> confusing me more than before.
> If someone could give me a hand on this...

Does your code work on any other platform?

> By the way, I saw a program TestMag for tinyos-1.x, so I wanted to test
> it ; I installed tinyos-1.1.0 and the CVS update to 1.1.15 but I can't
> compile it for IRIS motes (unknown target), and there is no iris folder
> in /tinyos-1.x/tos./platforms/
> If you have a hint on this too...

IRIS is supported ONLY on tinyos 2.x. It would require a complete
rewirte for tinyos 1.x.

Miklos
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to