Do you know for sure that the programmer you have
supports a serial port? It might be just using the
ICSP features of the chip without talking to the UART.
MS


farooq_s wrote:
> Hi Guys,
> 
> I am trying to run the TestSerial application on my custom built node (which
> is similar to Micaz pLATFORM).
> I am connecting my device through the avrispmkII programmer and using the
> libusb library for connectivity to avrdude for programming the device. I
> have two issues:
> 
> 1) In order to specify the baudrate, what PORT should I specify in the
> serial@<port>:baudrate command? when i check the hardware devices attached
> to my system, I get the LibUsb device attached and not any particular port
> name that i can use.
> 
> 2) Even when i execute the command with any port name, i get the following
> errors;
> 
> ser...@com1:57600 died - exiting (java.io.IOException: could not open COM1:
> TOSComm JNI Library runtime error: Error 2.
> The system cannot find the file specified.
> in NativeSerialPort.CreateFile)
> 
> I have no idea why the file is not being found.
> 
> Kindly help me in this regard!
> 
> Farooq
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to