Hi, I'm working on tinyOS for my academic project.. First I tried with TinyOS-2.0.2 in Cygwin. In this I compiled for "mymote ( MSP430x2618 + cc2520 )" board following telosb hardware configuration. I have used mspgcc-4.4.5 to compile the code. It was working fine on the hardware.
Then I tried to enable Blip on mymote by updating tinyos to tinyOS-2.1.1 and came to know that the latest version of Blip stack works only in Linux. (I found the error message that Blip 2.0 is for Linux). Now I'm unable to produce the exact error message here.. Then I moved to Linux (Ubuntu 11.04 with msp430-gcc-4.5.2) in which i'm able to install latest version of Blip. here I made a new platform for "mymote" which is same as I tried in TinyOS-2.0.2. I succeeded in compiling the code in command line. But when I port the ihex file on to the processor through 'bsl', I'm unable to program using bsl. I found alternative to program "mymote" using "mspdebug" tool and now I'm able to program the device (Using FET-UIF). But I couldnt run the program on the hardware. I have placed /tos/platforms/mymote/hardware.h file according to my harware in which LEDs are connectwed to port 5.4, 5.4, 5.6 (I did it following the steps I did in Windows previously) ////////////////////////////////////////////////////////////// "hardware.h" file is as follows ////////////////////////////////////////////////////////////// #ifndef _H_hardware_h #define _H_hardware_h #include "msp430hardware.h" // LEDs TOSH_ASSIGN_PIN(RED_LED, 5, 4); TOSH_ASSIGN_PIN(GREEN_LED, 5, 6); TOSH_ASSIGN_PIN(YELLOW_LED, 5, 5); // UART pins TOSH_ASSIGN_PIN(SOMI0, 3, 2); TOSH_ASSIGN_PIN(SIMO0, 3, 1); TOSH_ASSIGN_PIN(UCLK0, 3, 3); TOSH_ASSIGN_PIN(UTXD0, 3, 4); TOSH_ASSIGN_PIN(URXD0, 3, 5); TOSH_ASSIGN_PIN(UTXD1, 3, 6); TOSH_ASSIGN_PIN(URXD1, 3, 7); TOSH_ASSIGN_PIN(UCLK1, 5, 3); TOSH_ASSIGN_PIN(SOMI1, 5, 2); TOSH_ASSIGN_PIN(SIMO1, 5, 1); #endif // _H_hardware_h //////////////////////////////////////////////////////////////// platform file is as follows.. //////////////////////////////////////////////////////////////// push( @includes, qw( %T/platforms/mymote %T/platforms/mymote/chips/msp430 %T/platforms/mymote/chips/msp430/adc12 %T/platforms/mymote/chips/msp430/usci %T/platforms/mymote/chips/msp430/timer %T/platforms/mymote/chips/cc2420 %T/platforms/mymote/chips/sht11 %T/platforms/mymote/chips/stm25p %T/chips/cc2520 %T/chips/cc2520/alarm %T/chips/cc2520/control %T/chips/cc2520/csma %T/chips/cc2520/interfaces %T/chips/cc2520/link %T/chips/cc2520/lowpan %T/chips/cc2520/lpl %T/chips/cc2520/packet %T/chips/cc2520/receive %T/chips/cc2520/spi %T/chips/cc2520/transmit %T/chips/cc2520/unique %T/chips/cc2520/security %T/chips/msp430 %T/chips/msp430/adc12 %T/chips/msp430/dma %T/chips/msp430/pins %T/chips/msp430/timer %T/chips/msp430/sensors %T/chips/msp430/x2xxx %T/chips/msp430/x2xxx/usci %T/chips/stm25p %T/chips/sht11 %T/lib/timer %T/lib/serial %T/lib/power ) ); @opts = qw( -gcc=msp430-gcc -mmcu=msp430x2618 -fnesc-target=msp430 -fnesc-no-debug -fnesc-scheduler=TinySchedulerC,TinySchedulerC.TaskBasic,TaskBasic,TaskBasic,runTask,postTask ); i'm using %T/platforms/mymote/chips/cc2420 as it makes no difference with the harware connections on "mymote" and i have made suffient changes to work for cc2520. Can any body help..... Thanks in advance.... -- Tulasi Dwarakanath.V
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
