Hi, I think it is normal. Because "hurry-up and sleep" is the main idea of TinyOS. In 1 sec period, toggling Leds are not so long enough that you couldn't achieve to stop the debug session in a working (awake, not sleep) mode.
Firat TARAKTAS Electrical&Electronics Engineer Reseracher GENETLAB INFORMATION TECHNOLOGIES Kayisdagi Caddesi Kar Plaza D Blok Kat:3 34752 Icerenkoy / ISTANBUL / TURKIYE Phone: +90 (216) 573 00 85 (int.354) Fax: +90 (216) 469 85 07 [EMAIL PROTECTED] www.genetlab.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Spidernet Lists Sent: Friday, March 23, 2007 9:59 AM To: tinyos-help@Millennium.Berkeley.EDU; Mirko Bordignon Subject: [Tinyos-help] Is it normal behaviour???? Hi, Is it normal that when i am running the "Blink" application. The Leds are blinking BUT does the CPU enter the "sleep mode" and never gets out of this. I am using GDB to debug and when i do the Run coomand,, the process keeps running and leds keep toggling at the specified rate. But if I hit the "Stop" Button, the program stops in the /chips/atm128/McuSleepC.nc line 119 which says: asm volatile ("sleep"); Does this mean it is alright and as no other "event" is occuring in the "Blink" application, the controller should go to the "sleep" mode. Hence, the behaviour is normal OR Is there something wrong in my configuration???? Any help is appreciated........ Cheers!!!!! VJ _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-hel p _______________________________________________ Tinyos-help mailing list Tinyos-help@Millennium.Berkeley.EDU https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help