[Tinyos-help] Cannot receive packets from serial port
Hi, I'm having the same problem described in https://www.millennium.berkeley.edu/pipermail/tinyos-help/2007-July/026926.html . The TelosAmote receives because the USB Receive LED (D20) blinks. Any idea what can be the problem? ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Cannot receive packets from serial port
Hi, Thanks for the detailed explanation why you posted off list. I think the list server is having a problem. Could you program the TestSerial test application on the mote, and then try the following command on Ubuntu? screen /dev/ttyUSB0 115200 This would just open the serial port and show garbage if the computer is receiving. If you don't receive anything, then it would appear to be a hardware or driver error. The TelosB motes seem to have a tendency to break connections on the PCB when bent, and this can affect the serial port. If the command above shows that you do receive data, then it is a software problem and we can investigate further from there on. In any case it would be helpful if you could copy/paste the commands and output that you used to program the mote and to try to establish the connection, e.g., the exact output of: cd $TOSROOT/tests/TestSerial make telosb install java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:telos Cheers, Urs On 11/21/11 9:46 AM, al face wrote: Good Morning, I have to apologize for not fulfilling the mail list rules and contact you personally, but after 5 days waiting for the subscription response I really need to step forward in trying to solve the issue I am facing, and so far I have seen that you are one of the most active helpers. Therefore, I would appreciate if you still could help me. My problem is: Using tinyos 2.1.1, trying both in a virtual machine and in a PC with Ubuntu installed, I'm having the same problem described in https://www.millennium.berkeley.edu/pipermail/tinyos-help/2007-July/026926.html;. Besides, as running motelist I get that the port is /dev/ttyUSB0, I run: $ java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:telos and I can only see: serial@/dev/ttyUSB0:115200: resynchronising I think that the Telos mote receives because the USB Receive LED (D20) blinks, and also because I have been able to run other applications (i.e., BlinkToRadio) with no problem. I have tried both with TelosA and B. Any idea what can be the problem? Thanks in advance for any thought and idea. On Fri, Nov 18, 2011 at 9:57 AM, al face alvfa...@googlemail.com mailto:alvfa...@googlemail.com wrote: Hi, I'm having the same problem described in https://www.millennium.berkeley.edu/pipermail/tinyos-help/2007-July/026926.html;. The TelosAmote receives because the USB Receive LED (D20) blinks. Any idea what can be the problem? ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Cannot receive packets from serial port
Hi, The TelosA motes don't work with the current tinyos.jar, see this thread for details and solution: https://www.millennium.berkeley.edu/pipermail/tinyos-help/2011-October/052670.html However, this doesn't affect the TelosB, that should work. Andris On Mon, Nov 21, 2011 at 12:59 PM, Urs Hunkeler urs.hunke...@epfl.ch wrote: Hi, Thanks for the detailed explanation why you posted off list. I think the list server is having a problem. Could you program the TestSerial test application on the mote, and then try the following command on Ubuntu? screen /dev/ttyUSB0 115200 This would just open the serial port and show garbage if the computer is receiving. If you don't receive anything, then it would appear to be a hardware or driver error. The TelosB motes seem to have a tendency to break connections on the PCB when bent, and this can affect the serial port. If the command above shows that you do receive data, then it is a software problem and we can investigate further from there on. In any case it would be helpful if you could copy/paste the commands and output that you used to program the mote and to try to establish the connection, e.g., the exact output of: cd $TOSROOT/tests/TestSerial make telosb install java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:telos Cheers, Urs On 11/21/11 9:46 AM, al face wrote: Good Morning, I have to apologize for not fulfilling the mail list rules and contact you personally, but after 5 days waiting for the subscription response I really need to step forward in trying to solve the issue I am facing, and so far I have seen that you are one of the most active helpers. Therefore, I would appreciate if you still could help me. My problem is: Using tinyos 2.1.1, trying both in a virtual machine and in a PC with Ubuntu installed, I'm having the same problem described in https://www.millennium.berkeley.edu/pipermail/tinyos-help/2007-July/026926.html;. Besides, as running motelist I get that the port is /dev/ttyUSB0, I run: $ java net.tinyos.tools.Listen -comm serial@/dev/ttyUSB0:telos and I can only see: serial@/dev/ttyUSB0:115200: resynchronising I think that the Telos mote receives because the USB Receive LED (D20) blinks, and also because I have been able to run other applications (i.e., BlinkToRadio) with no problem. I have tried both with TelosA and B. Any idea what can be the problem? Thanks in advance for any thought and idea. On Fri, Nov 18, 2011 at 9:57 AM, al face alvfa...@googlemail.com mailto:alvfa...@googlemail.com wrote: Hi, I'm having the same problem described in https://www.millennium.berkeley.edu/pipermail/tinyos-help/2007-July/026926.html;. The TelosAmote receives because the USB Receive LED (D20) blinks. Any idea what can be the problem? ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Cannot receive packets from serial port
Hi MINO, Urs, I've got exactly the same problem with Telosa. I've tried to use different speeds, but that does not solve problem. It seems that packets are sent to telos board, as RX is blinking when each packet is being trasmitted. But the Receive() function is never called at the mote. MINO, have you found a solution? Thank you, Jun On Jul 23, 2007 1:12 AM, Urs Hunkeler [EMAIL PROTECTED] wrote: Hi, Have you tried different speeds (like 57600)? If it still doesn't work, maybe you could try to modify the tinyos code to see whether the mote actually receives the messages on the serial port and whether it is trying to send data. Cheers, Urs MINO GB schrieb: I'm doing lesson 4 in Tinyos 2.x tutorial with micaz and telos. There is not any problem when I use micaz. But when I use telos, it cannot receive packets from serial port. Telos: USB Serial Port (COM3) [..] $ java TestSerial -comm [EMAIL PROTECTED]:115200 Sending packet 0 [EMAIL PROTECTED]:115200: resynchronising Sending packet 1 Sending packet 2 Sending packet 3 Sending packet 4 Sending packet 5 Sending packet 6 Sending packet 7 Sending packet 8 Sending packet 9 ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- -- Mailto: [EMAIL PROTECTED] ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] Cannot receive packets from serial port
Hi, Have you tried different speeds (like 57600)? If it still doesn't work, maybe you could try to modify the tinyos code to see whether the mote actually receives the messages on the serial port and whether it is trying to send data. Cheers, Urs MINO GB schrieb: I'm doing lesson 4 in Tinyos 2.x tutorial with micaz and telos. There is not any problem when I use micaz. But when I use telos, it cannot receive packets from serial port. Telos: USB Serial Port (COM3) [..] $ java TestSerial -comm [EMAIL PROTECTED]:115200 Sending packet 0 [EMAIL PROTECTED]:115200: resynchronising Sending packet 1 Sending packet 2 Sending packet 3 Sending packet 4 Sending packet 5 Sending packet 6 Sending packet 7 Sending packet 8 Sending packet 9 ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] Cannot receive packets from serial port
I'm doing lesson 4 in Tinyos 2.x tutorial with micaz and telos. There is not any problem when I use micaz. But when I use telos, it cannot receive packets from serial port. Telos: USB Serial Port (COM3) /opt/tinyos-2.x/apps/tests/TestSerial $ make telos install,1 bsl,2 mkdir -p build/telosa mig java -target=null -java-classname=TestSerialMsg TestSerial.htest_serial_ms g -o TestSerialMsg.java javac *.java compiling TestSerialAppC to a telosa binary ncc -o build/telosa/main.exe -Os -O -mdisable-hwmul -Wall -Wshadow -DDEF_TOS_AM_ GROUP=0x7d -Wnesc-all -target=telosa -fnesc-cfile=build/telosa/app.c -board= T estSerialAppC.nc -lm compiled TestSerialAppC to build/telosa/main.exe 6040 bytes in ROM 291 bytes in RAM msp430-objcopy --output-target=ihex build/telosa/main.exe build/telosa/main.ihex writing TOS image tos-set-symbols --objcopy msp430-objcopy --objdump msp430-objdump --target ihex build/telosa/main.ihex build/telosa/main.ihex.out-1 TOS_NODE_ID=1 ActiveMessageA ddressC$addr=1 Could not find symbol ActiveMessageAddressC$addr in build/telosa/main.exe, ignor ing symbol. Could not find symbol TOS_NODE_ID in build/telosa/main.exe, ignoring symbol. installing telosa binary using bsl tos-bsl --telos -c 2 -r -e -I -p build/telosa/main.ihex.out-1 MSP430 Bootstrap Loader Version: 1.39-telos-8 Mass Erase... Transmit default password ... Invoking BSL... Transmit default password ... Current bootstrap loader version: 1.10 (Device ID: f149) Adjust SP. Load PC with 0x0C22 ... Transmit default password ... Patch for flash programming required! Load and verify patch ... Program ... 6266 bytes programmed. Reset device ... rm -f build/telosa/main.exe.out-1 build/telosa/main.ihex.out-1 $ java TestSerial -comm [EMAIL PROTECTED]:115200 Sending packet 0 [EMAIL PROTECTED]:115200: resynchronising Sending packet 1 Sending packet 2 Sending packet 3 Sending packet 4 Sending packet 5 Sending packet 6 Sending packet 7 Sending packet 8 Sending packet 9 ___ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help