It appears that you haven't specified the platform correctly.

-Joe

On 11/8/05, Séva Safris <[EMAIL PROTECTED]> wrote:
> Let me clarify. I know for sure what I am sending... I have verified
> this with the java SerialForwarder and Listen. The output I get when I
> use the java version is
>
> 04 01 08 00 FF FF FF FF 7D 7D 00 00 00 00
> 04 01 08 00 FF FF FF FF 7D 7D 00 00
> 04 01 08 00 FF FF FF FF 7D 7D 00 00 00 00
> 04 01 08 00 FF FF FF FF 7D 7D 00 00
>
> I have tried using the sf program in tools/src/sf of the latest tinyos
> distro. I _only_ get output if I have DEBUG defined. If I have DEBUG
> defined, then I get the same exact output. Namely...
>
> raw 27 00 02 EF EF 46 46 00 00 AB F7
> raw 27 01 02 EF EF 46 46 00 67 F7
> raw 27 00 02 EF EF 46 46 00 00 AB F7
> raw 27 01 02 EF EF 46 46 00 67 F7
>
> Has anyone used the sf program located in tools/src/sf ?
>
> On Tue, 2005-11-08 at 22:35 -0800, Joe Polastre wrote:
> > 1) without your code, it is impossible to debug
> >
> > 2) are you using uint8_t fields or uint16_t fields?  if you assign a
> > uint8_t to 0x0000, you will only get 0x00 out from the serial port.
> >
> > 3) have you tried sending real data through the tinyos tools instead
> > of implementing your own (potentially buggy) code?  as a scientist, it
> > appears that you need a "control" dataset to evaluate the impact of
> > your changes.
> >
> > -Joe
> >
> > On 11/8/05, Séva Safris <[EMAIL PROTECTED]> wrote:
> > > Hi all. I am hoping someone can help me out here with Mote <--> Linux 
> > > communication over USB...
> > >
> > > I am sending a signal over the UART with the following pattern (let's 
> > > call this "input"):
> > > 04 01 08 00 FF FF FF FF 7D 7D 00 00 00 00 XX XX
> > > 04 01 08 00 FF FF FF FF 7D 7D 00 00 XX XX
> > > 04 01 08 00 FF FF FF FF 7D 7D 00 00 00 00 XX XX
> > > 04 01 08 00 FF FF FF FF 7D 7D 00 00 XX XX
> > >
> > > Basically, it is repetitive with no change in content except for the
> > > length of the message... I use the XX to show footer bytes.
> > >
> > > I wrote a program that uses the ftdi_sio and usbserial Linux drivers to 
> > > select on /dev/ttyUSB?.
> > > My output (with a 0xFF mask), however, is this (let's call this
> > > "output"):
> > >
> > > 27 00 02 EF EF 46 46 00 00 AB F7
> > > 27 01 02 EF EF 46 46 00 67 F7
> > > 27 00 02 EF EF 46 46 00 00 AB F7
> > > 27 01 02 EF EF 46 46 00 67 F7
> > >
> > > Can someone please tell me what I am looking at? It seems that an input 
> > > of 00 00 00 00 in the
> > > packet data section corresponds to a 00 00 in the packet i receive over 
> > > the UART... and a 00 00
> > > data section corresponds to a 00 in the packet i receive over the UART.
> > >
> > > Here are the packets as they come out of my program without a 0xFF mask 
> > > on each byte:
> > >
> > > 27 00 02 0FFFFFFEF 0FFFFFFEF 46 46 00 00 0FFFFFFAB 0FFFFFFF7
> > > 27 01 02 0FFFFFFEF 0FFFFFFEF 46 46 00 67 0FFFFFFF7
> > > 27 00 02 0FFFFFFEF 0FFFFFFEF 46 46 00 00 0FFFFFFAB 0FFFFFFF7
> > > 27 01 02 0FFFFFFEF 0FFFFFFEF 46 46 00 67 0FFFFFFF7
> > >
> > > Any input in to what I am looking at would be appreciated.
> > > _______________________________________________
> > > Tinyos-help mailing list
> > > Tinyos-help@Millennium.Berkeley.EDU
> > > https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
> > >
>

_______________________________________________
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to