[Tinyos-help] [Tinyos-devel] DS2411 Driver development

Janos Sallai sallai at isis.vanderbilt.edu
Thu Feb 12 09:17:47 PST 2009


Did you tell the simulator what 48-bit id it should simulate? Maybe a series
of 0xff-s is the default...

Can you run this code on the real hardware?

BTW, I compared my OneWireMasterC  (which is in tos/chips/ds2401) to
Andreas's one, and they are more or less the same...

Janos



On Thu, Feb 12, 2009 at 10:21 AM, JD <hinomura.yo at gmail.com> wrote:

> As far as I can tell from what you write, you pretty much made the right
>> steps. OneWireMasterC is pretty much generic, so you probably don't need to
>> touch that. Since you're receiving 0xff all the time, I suspect an
>> initialization issue. Can you please check if OneWire.reset() indeed returns
>> SUCCESS?
>
>
> First thanks for helping.
> And We did put a print("SUCCESS") in the OneWire.reset() before it returns
> SUCCESS and we get the SUCCESS print in wconsole/log. That's why we
> actually  think it returns SUCCESS.
>
>
>>
>> By the way, let's move this discussion over to tinyos-help instead.
>>
>> Thanks,
>> Janos
>>
>
> --
> ----------------------------------------------------
> "If A is a success in life, then A equals x plus y plus z. Work is x; y is
> play; and z is keeping your mouth shut. " A.Einstein
>
> _______________________________________________
> Tinyos-help mailing list
> Tinyos-help at millennium.berkeley.edu
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090212/190f8dc7/attachment.htm 


More information about the Tinyos-help mailing list