Hi, I created a mote using a MSP430F2617 microcontroller with libraries of MSP430X under TinyOS 2.1, which compiling with the msp430-gcc( version 3.2.3) of the mspgcc. I made several changes in Ubuntu and TinyOS operating systems. This mote the program through a USB port using BSL pins, I used the pins VCC, GND, RST #, TCK, and RX_BSL TX_BSL (P1.1 and P2.2) of the microcontroller. With this configuration using the tos-bsl I could program the micro with applications like Blink which makes it the right way. I've also tried to interrupt the execution by pressing a button and done right. When I run the application TestSerial not done correctly, I have another mote which made by me if it does well but not the last two motes and all hardware configuration are identical in all cases. In all the motes I have another USB port to run the application using the pins VCC, GND, TX_Uart0 and RX_Uart (Pins 29 and 40 of the MSP430F2617 64-pin). I have to indicate that the mote that works well all the time I tried it with Code Composer from Texas so do not know if some registers like those were modified .
Using a tool like Siow (serial) I got the following results: Mote good: 7E 45 00 FF FF 00 00 08 00 89 00 09 00 00 00 00 00 00 81 91 7E ... Motes incorrect: FE C5 00 FF FF 00 00 08 00 09 00 08 00 00 00 00 00 00 E0 69 FE ... The speed with which I use is 115200 but I have also tried other speeds. I think it's a problem of synchronizing clocks using the UART USC but I'm not sure, Could someone help me? Thank you very much!
_______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help