You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(10) |
Nov
(155) |
Dec
(25) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(2) |
Feb
(2) |
Mar
|
Apr
|
May
(23) |
Jun
(9) |
Jul
|
Aug
(30) |
Sep
(10) |
Oct
(18) |
Nov
(5) |
Dec
|
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
(1) |
Feb
(3) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Julie L. <in...@do...> - 2016-02-18 00:56:18
|
I am Julie Leach,the $310.5M Powerball jackpot winner. I am making a donation to you.Contact me via my email at (jul...@gm...) for further details. Best Regards, Julie Leach* |
From: Pering, T. <tre...@in...> - 2008-06-15 11:21:47
|
This is something you would need to do at the kernel level, since you need to account for context switches. Unless you need high-detailed accuracy, I would consider using something already built into the kernel -- I'm not exactly sure of the mechanisms, but I know they exist (since programs like "ps" can give you a measure of how much CPU a program is consuming). The "time" command will also do much of this -- although maybe not at the granularity that you require. Cheers, Trevor -----Original Message----- From: pla...@li... [mailto:pla...@li...] On Behalf Of Junaid Jamil Sent: Saturday, June 14, 2008 6:47 AM To: pla...@li...; pla...@li... Subject: [platformx-ps-devel] Fwd: CPU Cycles Consumed by C program on PXA255 Hi, I have run my C program on a board which have Intel PXA255 ARM processor. Now I want to know how much CPU cycles it consumed during its execution. So I think I can do this by capturing the CPU clocks at start of my program and capture again at the end of my program. The difference in the cpu clocks is the total CPU cycles consumed by my program. But how can I do this using some C or inline (ARM)assembly code? I seen some of members are discussing this on this forum that they count the CPU cycles consumed by C programs. But I want you to help me writing this code. I do not have much idea about ARM Assembly but can understand easily as I worked in Assembly for x86. By the way, I am using arm-linux-gcc 3.3.2 toolchain to build executables that I run on my stargate mote. Thanks Junaid ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ platformx-ps-devel mailing list pla...@li... https://lists.sourceforge.net/lists/listinfo/platformx-ps-devel |
From: Junaid J. <jun...@gm...> - 2008-06-14 13:47:07
|
Hi, I have run my C program on a board which have Intel PXA255 ARM processor. Now I want to know how much CPU cycles it consumed during its execution. So I think I can do this by capturing the CPU clocks at start of my program and capture again at the end of my program. The difference in the cpu clocks is the total CPU cycles consumed by my program. But how can I do this using some C or inline (ARM)assembly code? I seen some of members are discussing this on this forum that they count the CPU cycles consumed by C programs. But I want you to help me writing this code. I do not have much idea about ARM Assembly but can understand easily as I worked in Assembly for x86. By the way, I am using arm-linux-gcc 3.3.2 toolchain to build executables that I run on my stargate mote. Thanks Junaid |
From: Pering, T. <tre...@in...> - 2008-05-15 14:58:53
|
Folks, we have created a new mailing list for SG2-related activities that is hosted out of UCLA. So, if you are still activily involved in SG2 development, I invite you to join the new list. This is part of a larger "program" where they will be hosting the PlatX/SG2 software base. http://www.cens.ucla.edu/mailman/listinfo/platformx-users Cheers, Trevor |
From: Pering, T. <tre...@in...> - 2006-11-22 21:07:56
|
Hey y'all -- I'm trying to get the suspend/resume functionality working on SG2 -- and I'm having some trouble. Roy said that somebody (Richard?) was reporting similar problems. So -- just a quick ping to see if people have run into this problem and/or found any solutions? =20 Basically, typing "cardctl suspend" on the SG2 with my Netgear WiFi card causes problems and doesn't work. More details can be provided if necessary :-). =20 Cheers, Trevor =20 |
From: Haehnel, D. <dir...@in...> - 2006-11-02 21:41:48
|
Hey Trevor, =20 Although I am not sure if everybody is interested in my request for the tgz file but I will reply to the list. =20 It would be nice if you can send my source code. I have to change some part in order to use our third board for the imote2 (it uses the ST UART and can't be therefore be used in blob).=20 =20 There is the possibility to use the platformX wiki if you want to publish the source code ... =20 Thanks, Dirk =20 ________________________________ From: Pering, Trevor=20 Sent: Thursday, November 02, 2006 1:32 PM To: Haehnel, Dirk Cc: pla...@li... Subject: RE: [Platformx-sg2-devel] blob tftp upgrades =20 (please try to keep responses to the list, so everybody can share ;-) =20 No -- the latest version is what I have named blob-2.0.5-px2-5 (note the change in the version format.) It's currently hosted on the CVS server that's inside of intel. We haven't figured out exactly where to host things externally, so... some options: =20 1) I can just send you the known-working binary 2) I can send you a tgz of the source tree 3) We can set up access to our inside-of-intel CVS server =20 Let me know what you'd like me to do... I'd like to avoid anything more extensive (e.g., posting to an externally-available CVS server) until we know exactly where it's going to be hosted. =20 Cheers, Trevor =20 =20 ________________________________ From: Haehnel, Dirk=20 Sent: Thursday, November 02, 2006 10:15 AM To: Pering, Trevor Subject: RE: [Platformx-sg2-devel] blob tftp upgrades Hey Trevor, =20 Where can I find the latest blob sources? Is there a CVS server or is blob-2.0.5-pre3 the latest one? =20 Thanks, Dirk =20 ________________________________ From: pla...@li... [mailto:pla...@li...] On Behalf Of Pering, Trevor Sent: Tuesday, October 31, 2006 5:21 PM To: pla...@li... Subject: [Platformx-sg2-devel] blob tftp upgrades =20 Folks -- just a FYI that I have been making a lot of improvements to blob (boot loader) for SG2. There were a number of subtle bugs lingering there that were causing some significant problems for downloading new images using tftp. This will be a part of the new release when it comes out, but for now I just wanted to let you know it was there in case you were having problems. =20 The basic problem was that tftp was corrupting things on download, and/or it would randomly freeze. One problem (fixed) was spurious packets causing a buffer overrun. The other problem (not fixed) now has a workaround that a least allows you to download an uncorrupted image. =20 This version also includes fixes for handling MAC addresses, fixes the "reboot" command so it works, and removes some broken commands. =20 Cheers, Trevor =20 |
From: Pering, T. <tre...@in...> - 2006-11-02 21:32:50
|
(please try to keep responses to the list, so everybody can share ;-) =20 No -- the latest version is what I have named blob-2.0.5-px2-5 (note the change in the version format.) It's currently hosted on the CVS server that's inside of intel. We haven't figured out exactly where to host things externally, so... some options: =20 1) I can just send you the known-working binary 2) I can send you a tgz of the source tree 3) We can set up access to our inside-of-intel CVS server =20 Let me know what you'd like me to do... I'd like to avoid anything more extensive (e.g., posting to an externally-available CVS server) until we know exactly where it's going to be hosted. =20 Cheers, Trevor =20 ________________________________ From: Haehnel, Dirk=20 Sent: Thursday, November 02, 2006 10:15 AM To: Pering, Trevor Subject: RE: [Platformx-sg2-devel] blob tftp upgrades Hey Trevor, =20 Where can I find the latest blob sources? Is there a CVS server or is blob-2.0.5-pre3 the latest one? =20 Thanks, Dirk =20 ________________________________ From: pla...@li... [mailto:pla...@li...] On Behalf Of Pering, Trevor Sent: Tuesday, October 31, 2006 5:21 PM To: pla...@li... Subject: [Platformx-sg2-devel] blob tftp upgrades =20 Folks -- just a FYI that I have been making a lot of improvements to blob (boot loader) for SG2. There were a number of subtle bugs lingering there that were causing some significant problems for downloading new images using tftp. This will be a part of the new release when it comes out, but for now I just wanted to let you know it was there in case you were having problems. =20 The basic problem was that tftp was corrupting things on download, and/or it would randomly freeze. One problem (fixed) was spurious packets causing a buffer overrun. The other problem (not fixed) now has a workaround that a least allows you to download an uncorrupted image. =20 This version also includes fixes for handling MAC addresses, fixes the "reboot" command so it works, and removes some broken commands. =20 Cheers, Trevor =20 |
From: Pering, T. <tre...@in...> - 2006-11-01 01:21:36
|
Folks -- just a FYI that I have been making a lot of improvements to blob (boot loader) for SG2. There were a number of subtle bugs lingering there that were causing some significant problems for downloading new images using tftp. This will be a part of the new release when it comes out, but for now I just wanted to let you know it was there in case you were having problems. =20 The basic problem was that tftp was corrupting things on download, and/or it would randomly freeze. One problem (fixed) was spurious packets causing a buffer overrun. The other problem (not fixed) now has a workaround that a least allows you to download an uncorrupted image. =20 This version also includes fixes for handling MAC addresses, fixes the "reboot" command so it works, and removes some broken commands. =20 Cheers, Trevor =20 |
From: Epp, E. <edw...@in...> - 2006-10-24 21:09:55
|
Just run "configure" for right now. =20 ed c. ________________________________ From: Yuvraj Agarwal [mailto:yu...@uc...]=20 Sent: Tuesday, October 24, 2006 2:00 PM To: Epp, Edward; pla...@li... Subject: RE: [Platformx-sg2-devel] New release 1.0 Hi ed,=20 thanks for the reply. Unfortunately "sysinit" does not work for me.=20 I am executing sysinit on the SG device. ...=20 --Yuvraj [root@SG2-3 /root]#sysinit =20 Processing /etc/profile... Done /sbin/sysinit: line 22: /etc/platx/unknown.conf: No such file or directory [root@SG2-3 /root]# =20 ________________________________ From: Epp, Edward [mailto:edw...@in...]=20 Sent: Tuesday, October 24, 2006 1:06 PM To: Yuvraj Agarwal; pla...@li... Subject: RE: [Platformx-sg2-devel] New release 1.0 =20 Do a "sysinit". It will ask for a hostname, mac address, and then run configure. This is the most recent change and I haven't documented it yet. =20 ed c. =20 ________________________________ From: pla...@li... [mailto:pla...@li...] On Behalf Of Yuvraj Agarwal Sent: Tuesday, October 24, 2006 12:16 PM To: pla...@li... Subject: [Platformx-sg2-devel] New release 1.0 Hi Ed,=20 I just download the latest snapshot from CVS and built the kernel and the filesystem from scratch.=20 The system boots up OK, however the only modules loaded were the ones associated with the pmic.=20 I remember that there used to be a file for the iMote2 and Sg2 that did the customizations for each=20 platform. I cant see those files in /root anymore...Any idea what happened to them ?=20 cheers Yuvraj =20 ---------------------------------------------------------- Learn as if you were to live forever; live as if you were going to die tomorrow ----------------------------------------------------------- Yuvraj Agarwal University of California, San Diego =20 URL: http://mesl.ucsd.edu/yuvraj <http://mesl.ucsd.edu/yuvraj>=20 Email: yu...@cs... <mailto:yu...@cs...>=20 Ph : (858) 534-9895 (Lab)=20 : (858) 717-2800 (cell)=20 -------------------------------------------------------- =20 |
From: Pering, T. <tre...@in...> - 2006-10-24 21:03:34
|
Yuvraj -- you are seeing a conflict with some new stuff that I have been working on... I'll work it out with Ed. =20 For now, er, well, just wait a bit... =20 Trevor =20 ________________________________ From: pla...@li... [mailto:pla...@li...] On Behalf Of Yuvraj Agarwal Sent: Tuesday, October 24, 2006 2:00 PM To: Epp, Edward; pla...@li... Subject: Re: [Platformx-sg2-devel] New release 1.0 Hi ed,=20 thanks for the reply. Unfortunately "sysinit" does not work for me.=20 I am executing sysinit on the SG device. ...=20 --Yuvraj [root@SG2-3 /root]#sysinit =20 Processing /etc/profile... Done /sbin/sysinit: line 22: /etc/platx/unknown.conf: No such file or directory [root@SG2-3 /root]# =20 ________________________________ From: Epp, Edward [mailto:edw...@in...]=20 Sent: Tuesday, October 24, 2006 1:06 PM To: Yuvraj Agarwal; pla...@li... Subject: RE: [Platformx-sg2-devel] New release 1.0 =20 Do a "sysinit". It will ask for a hostname, mac address, and then run configure. This is the most recent change and I haven't documented it yet. =20 ed c. =20 ________________________________ From: pla...@li... [mailto:pla...@li...] On Behalf Of Yuvraj Agarwal Sent: Tuesday, October 24, 2006 12:16 PM To: pla...@li... Subject: [Platformx-sg2-devel] New release 1.0 Hi Ed,=20 I just download the latest snapshot from CVS and built the kernel and the filesystem from scratch.=20 The system boots up OK, however the only modules loaded were the ones associated with the pmic.=20 I remember that there used to be a file for the iMote2 and Sg2 that did the customizations for each=20 platform. I cant see those files in /root anymore...Any idea what happened to them ?=20 cheers Yuvraj =20 ---------------------------------------------------------- Learn as if you were to live forever; live as if you were going to die tomorrow ----------------------------------------------------------- Yuvraj Agarwal University of California, San Diego =20 URL: http://mesl.ucsd.edu/yuvraj <http://mesl.ucsd.edu/yuvraj>=20 Email: yu...@cs... <mailto:yu...@cs...>=20 Ph : (858) 534-9895 (Lab)=20 : (858) 717-2800 (cell)=20 -------------------------------------------------------- =20 |
From: Yuvraj A. <yu...@uc...> - 2006-10-24 21:00:33
|
Hi ed, thanks for the reply. Unfortunately "sysinit" does not work for me. I am executing sysinit on the SG device. . --Yuvraj [root@SG2-3 /root]#sysinit Processing /etc/profile... Done /sbin/sysinit: line 22: /etc/platx/unknown.conf: No such file or directory [root@SG2-3 /root]# _____ From: Epp, Edward [mailto:edw...@in...] Sent: Tuesday, October 24, 2006 1:06 PM To: Yuvraj Agarwal; pla...@li... Subject: RE: [Platformx-sg2-devel] New release 1.0 Do a "sysinit". It will ask for a hostname, mac address, and then run configure. This is the most recent change and I haven't documented it yet. ed c. _____ From: pla...@li... [mailto:pla...@li...] On Behalf Of Yuvraj Agarwal Sent: Tuesday, October 24, 2006 12:16 PM To: pla...@li... Subject: [Platformx-sg2-devel] New release 1.0 Hi Ed, I just download the latest snapshot from CVS and built the kernel and the filesystem from scratch. The system boots up OK, however the only modules loaded were the ones associated with the pmic. I remember that there used to be a file for the iMote2 and Sg2 that did the customizations for each platform. I cant see those files in /root anymore.Any idea what happened to them ? cheers Yuvraj ---------------------------------------------------------- Learn as if you were to live forever; live as if you were going to die tomorrow ----------------------------------------------------------- Yuvraj Agarwal University of California, San Diego URL: <http://mesl.ucsd.edu/yuvraj> http://mesl.ucsd.edu/yuvraj Email: <mailto:yu...@cs...> yu...@cs... Ph : (858) 534-9895 (Lab) : (858) 717-2800 (cell) -------------------------------------------------------- |
From: Epp, E. <edw...@in...> - 2006-10-24 20:06:44
|
Do a "sysinit". It will ask for a hostname, mac address, and then run configure. This is the most recent change and I haven't documented it yet. =20 ed c. ________________________________ From: pla...@li... [mailto:pla...@li...] On Behalf Of Yuvraj Agarwal Sent: Tuesday, October 24, 2006 12:16 PM To: pla...@li... Subject: [Platformx-sg2-devel] New release 1.0 Hi Ed,=20 I just download the latest snapshot from CVS and built the kernel and the filesystem from scratch.=20 The system boots up OK, however the only modules loaded were the ones associated with the pmic.=20 I remember that there used to be a file for the iMote2 and Sg2 that did the customizations for each=20 platform. I cant see those files in /root anymore...Any idea what happened to them ?=20 cheers Yuvraj =20 ---------------------------------------------------------- Learn as if you were to live forever; live as if you were going to die tomorrow ----------------------------------------------------------- Yuvraj Agarwal University of California, San Diego =20 URL: http://mesl.ucsd.edu/yuvraj <http://mesl.ucsd.edu/yuvraj>=20 Email: yu...@cs... <mailto:yu...@cs...>=20 Ph : (858) 534-9895 (Lab)=20 : (858) 717-2800 (cell)=20 -------------------------------------------------------- =20 |
From: Yuvraj A. <yu...@uc...> - 2006-10-24 19:16:34
|
Hi Ed, I just download the latest snapshot from CVS and built the kernel and the filesystem from scratch. The system boots up OK, however the only modules loaded were the ones associated with the pmic. I remember that there used to be a file for the iMote2 and Sg2 that did the customizations for each platform. I cant see those files in /root anymore.Any idea what happened to them ? cheers Yuvraj ---------------------------------------------------------- Learn as if you were to live forever; live as if you were going to die tomorrow ----------------------------------------------------------- Yuvraj Agarwal University of California, San Diego URL: <http://mesl.ucsd.edu/yuvraj> http://mesl.ucsd.edu/yuvraj Email: <mailto:yu...@cs...> yu...@cs... Ph : (858) 534-9895 (Lab) : (858) 717-2800 (cell) -------------------------------------------------------- |
From: <ni...@cs...> - 2006-10-19 22:34:07
|
Yes, I want to power it through J2 and use USB for debugging. I have located D9 on the board. Thanks. Nilanjan Quoting "Pering, Trevor" <tre...@in...>: > Alex, I think Nilanjan wants to power the board through J2 so he can > measure the power while having the USB connector attached for debugging > purposes. > > I think if he removes D9 then it will work out -- is that accurate? At > least, work out ok to a first order? > > Cheers, > Trevor > > > -----Original Message----- > From: Nguyen, Alex > Sent: Thursday, October 19, 2006 2:15 PM > To: ni...@cs...; Pering, Trevor > Cc: pla...@li... > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > Nilanjan, > > The J2 connector is for connecting the Lithium Ion battery which about > 4.2V to 4.4V. If you could apply that the voltage in that range to J2 > then you should be able to power the SG2 from this source. > > Alex, > > -----Original Message----- > From: pla...@li... > [mailto:pla...@li...] On Behalf Of > ni...@cs... > Sent: Thursday, October 19, 2006 1:08 PM > To: Pering, Trevor > Cc: pla...@li... > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > > I have been trying to power SG2 from the 3.3 V supply (through connector > J2). > > My console on my PC uses the miniusb on the SG2 main card (J9), which > can also > be used to supply power to the main board. > > So, when both the miniusb is plugged in and I am trying to supply power > through > the 3.3 V supply (J2) the board draws power through the miniusb alone. > Is > there any way ( a jumper or a switch onboard) which can be used to > switch off > power supplied from miniusb and use it only for the console on the PC. > > > > -Nilanjan > > P.S. : Sorry for the late reply on your previous question. I will try > the 3.3 V > supply once the above problem is solved. I am using a DLINK AIR DCF-660W > Wireless card. > > Quoting "Pering, Trevor" <tre...@in...>: > > > Ah -- can you try it with the 3.3 supply? The 5V USB supply is > really, > > well, for the USB and so it's not really integrated with the PCMCIA. > If > > you really need it I'm sure it can be made to work... > > > > Try controlling the USB power to see how that works. I think removing > > the USB modules might do it, or you can try something like "echo off > > > /proc/pmic/USBH" to turn it off... > > > > What kind of card are you using with the system? > > > > Trevor > > > > > > -----Original Message----- > > From: ni...@cs... [mailto:ni...@cs...] > > Sent: Thursday, October 05, 2006 5:05 PM > > To: Pering, Trevor > > Cc: pla...@li... > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > I am using the 5V USB supply (C). > > > > -Nilanjan > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > It depends somewhat -- how are you powering it? There are three > > several > > > options: > > > > > > A) External 5V supply > > > B) Battery direct > > > C) 5V USB Charge Pump > > > D) 3.3V regulator > > > > > > Each one has a different way of control... What configuration are > you > > > using? > > > > > > If it's option D), then the method that Ed describes should do it, > but > > > if it's not then we can poke on it some more... > > > > > > Trevor > > > > > > > > > > > > > > > -----Original Message----- > > > From: pla...@li... > > > [mailto:pla...@li...] On Behalf > > Of > > > ni...@cs... > > > Sent: Wednesday, October 04, 2006 10:25 AM > > > To: pla...@li... > > > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > > > > > > I tried it with a laptop. It does draw more power that I would > expect > > > , around 150 mW, but nothing like 500 mW that it shows on the > > stargate. > > > However, > > > I can get around this problem by powering the mote separately rather > > > than the USB. > > > > > > I want some help regarding the suspension/standby power of the > > stargate. > > > In a > > > mail, few weeks ago, you said you will help me debug why the > stargate > > > was > > > pulling such a lot of power during suspension. From my experiments, > I > > > could > > > figure out that the power supply to the CF card is not being cut > off. > > > Will > > > just unloading the drivers cut the current supply *completely* to > the > > > CF slot. > > > > > > -Nilanjan > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > > > Huh -- not really sure what to say. Seems like the TelosB is > doing > > > > something weird -- there is really nothing that the SG2 > could/should > > > be > > > > able to do to cause this problem. It's a very simple circuit, and > > the > > > > fact that it's fine with another USB device indicates that the HW > is > > > ok. > > > > > > > > Have you measured the power of the TelosB platform with a > different > > > USB > > > > master? E.g., a laptop of some kind? > > > > > > > > Cheers, > > > > Trevor > > > > > > > > > > > > -----Original Message----- > > > > From: pla...@li... > > > > [mailto:pla...@li...] On > Behalf > > > Of > > > > ni...@cs... > > > > Sent: Wednesday, September 27, 2006 3:14 PM > > > > To: pla...@li... > > > > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > > > > > > > > Hi Trevor, > > > > Sorry for the late reply. I did what you asked. It seems like the > > > > problem only > > > > occurs with a tmote sky mote (and not with a SanDisk USB memory > > > stick). > > > > I have > > > > answered inline in detail using ---. > > > > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > > > > > Nilanjan, so -- you are saying that if the USBH interface *is* > > > powered > > > > > up, but that a USB dongle is NOT plugged in, that there is *no* > > > > leakage? > > > > > That is, under what conditions does the leakage occur? When the > > > rail > > > > is > > > > > powered up? When the USB dongle is plugged in? > > > > > > > > --- When the USBH *is* powered up but the TelosB is not plugged > in, > > > > there > > > > is *no* leakage. The leakage only occurs with the mote is plugged > > in. > > > > > > > > > > > > > > > > > Also, can you try it with J12 removed -- this is the power for > the > > > > > PCMCIA socket. It just isolates it some, but I wouldn't expect > it > > > to > > > > do > > > > > anything. > > > > > > > > -- Removing J12 doesnot help. > > > > > > > > > > > > > > > > > Oh, if you try the port with something else other than the > TelosB, > > > > e.g., > > > > > a memory stick -- do you see similar problems? > > > > > > > > > > > > --- The problem doesnot occur with a memory stick. I used a 512 MB > > > > SanDisk > > > > USB memory stick in place of the TelosB and there was no leakage. > > The > > > > system > > > > drew around 350 mW of power (as expected).I tried different > programs > > > on > > > > the > > > > TelosB , but the leakage still remained. > > > > > > > > > > > > > And, if you disable the software drivers (prevent the USB > modules > > > from > > > > > being loaded), do you see the same effect? > > > > > > > > > > > > ---Unloading the USB drivers didnot help. > > > > > > > > > > > > > Depending on what you find we might need/want to get Alex to > poke > > at > > > > it > > > > > some, but we would need a very specific test case for him to > > > > isolate... > > > > > > > > > > Cheers, > > > > > Trevor > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Thanks, > > > > Nilanjan > > > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Nilanjan Banerjee [mailto:ni...@cs...] > > > > > Sent: Wednesday, September 13, 2006 2:45 PM > > > > > To: Pering, Trevor > > > > > Cc: pla...@li... > > > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > > > > > > > I made a mistake in the last mail. It is actually the charge > pump > > > mode > > > > > which has a larger leakage current. I got the pins 1 2 3 on J8 > in > > > the > > > > > reverse direction. So my measurement on charge pump and "direct > > from > > > > > the battery" mode should be swapped. > > > > > > > > > > Indeed powering off the power by echo off > /proc/pmic/USBH > makes > > > the > > > > > leakage goes away for the charge pump mode. I am using revision > > 2.2 > > > > for > > > > > the mothercard. > > > > > > > > > > -Nilanjan > > > > > > > > > > On Wed, 13 Sep 2006, Pering, Trevor wrote: > > > > > > > > > > > Hmmm -- not sure where the power is going. You could try > > manually > > > > > > turning subsystems off one by one to see if it helps at all. > > The > > > > > power > > > > > > rails are listed in /proc/pmic/VDD_* -- and if you do > something > > > > like: > > > > > > > > > > > > echo off > /proc/pmic/VDD_CC2420 > > > > > > > > > > > > it should turn power off to that rail. There are some rails > > that > > > > you > > > > > > can't really turn off and still have a functional system. > E.g., > > > > > VCC_IO. > > > > > > However, you can turn it off once and see how much it drops > the > > > > power, > > > > > > but you'll need to power-cycle to get it working again. > > > > > > > > > > > > Also, if you turn the power off for the charge pump (USBH), > does > > > the > > > > > > leakage go away? This would be the obvious place and it would > > > > > indicate > > > > > > that there is some kind of leakage in that part of the system > > that > > > > we > > > > > > could look for... That power rail does go a few other places > so > > it > > > > > > wouldn't be unreasonable. > > > > > > > > > > > > Just to verify, which version of the board do you have? This > > > should > > > > > be > > > > > > something like 2.1 or 2.2, and would be written in the silk > > screen > > > > > > somewhere... > > > > > > > > > > > > Cheers, > > > > > > Trevor > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: ni...@cs... [mailto:ni...@cs...] > > > > > > Sent: Wednesday, September 13, 2006 12:38 PM > > > > > > To: Pering, Trevor > > > > > > Cc: pla...@li... > > > > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > > > > > > > > > Hi, > > > > > > I was using the "direct from the battery" to power the USB. > > > > > > So I tried the charge pump too. So these are > > > > > > the power characteristics for the above two modes of > > > > > > powering the usb. > > > > > > > > > > > > 1. "direct from the battery" : Initially, for about 30 > > > > > > seconds the power consumption rises to 1170 mW. It seems > > > > > > that for this period of time a process called "usb.agent" is > > > > > > using about 15% of the CPU. Once this process terminates > > > > > > the power consumption falls to about 780 mW. The mote > > > > > > alone from the usb draws 145 mW. (This is high but this > > > > > > is the amount that it draws independently from a laptop > > > > > > usb too. I will try to see why this is the case !!). So > > > > > > there is at least a leakage of about 360 mW somewhere else. > > > > > > > > > > > > > > > > > > 2. charge pump : Initially for about 30 seconds the > > > > > > power rises to 850 mW due to the process usb.agent, I guess. > > > > > > and then it falls to 490 mW. the mote again pulls around > > > > > > 145 mW. So there is a leakage of about 75 mW. > > > > > > > > > > > > > > > > > > What does this process usb.agent actually do ? It runs for a > > long > > > > > > time (30 seconds) and energy consumption during this time > > > > > > is high ? Can it be brought down ? > > > > > > > > > > > > > > > > > > For the suspension number of 98mW, I didnot use the daughter > > > > > > card, the usb , the CF or SD slot. However, I experimented > > > > > > today by attaching a mote to the USB and the Wifi card in > > > > > > the CF slot. None of the these subsystems are being > > > > > > turned off on suspension, and consequently on suspension, with > > the > > > > CF > > > > > > card and the mote attached the power consumption is around > > > > > > a watt. > > > > > > > > > > > > > > > > > > -Nilanjan > > > > > > > > > > > > > > > > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > > > > > > > >> Nilanjan, thanks for you questions. > > > > > >> > > > > > >> 1) short answer is I don't know, but you're right that it's > > very > > > > > >> strange. How are you powering the USB interface? There are > two > > > > > > options: > > > > > >> direct from the battery (high current, but lower voltage) or > > from > > > > the > > > > > >> on-board charge pump (5V, but limited current). This is > > > controlled > > > > > by > > > > > >> jumper J8 on the board (which should be fairly near the USBH > > > > > > connector). > > > > > >> > > > > > >> You can try turning off the power, either by removing the > > jumper, > > > > or > > > > > > if > > > > > >> it's using the charge-pump by doing "echo off > > > /proc/pmic/USBH" > > > or > > > > > >> something like that -- just to see what's going on. > > > > > >> > > > > > >> Also, if nothing else comes up, it would be good/interesting > to > > > > > > measure > > > > > >> the power consumption of the mote with a similar > > > resistor-in-series > > > > > >> trick just to see if that's indeed where the power is > going... > > > > > >> > > > > > >> Maybe it's a software issue -- when you plug the telosB mote > > in, > > > is > > > > > >> there any process that's consuming a lot of CPU? Does ps > show > > > any > > > > > CPU > > > > > >> usage? Uptime? I think there are/were some issues with the > > udev > > > > > >> filesystem that would cause it to consume a lot of CPU for a > > > short > > > > > > time. > > > > > >> How long does it run at 830mW for...? Is it still like that > 20 > > > > > > minutes > > > > > >> later? Actually, now that I think of it I think there is > > > something > > > > > to > > > > > >> this line, so maybe check it first. > > > > > >> > > > > > >> 2) Yah, I think your correct again in that I don't think > we've > > > done > > > > > >> anything really to reduce the power consumption in sleep > mode, > > so > > > > > > there > > > > > >> are probably a lot of peripherals that are still on. Is this > > > with > > > > > the > > > > > >> DC plugged in? I think the Ethernet interface probably > > consumes > > > a > > > > > lot > > > > > >> if so. Otherwise, probably need to go through each subsystem > > and > > > > > > think > > > > > >> about what kind of low-power state they might be in... Let > me > > > know > > > > > > how > > > > > >> you want to proceed on this -- I could help you make a list > of > > > all > > > > > the > > > > > >> subsystems and then we could discuss what might need to be > done > > > for > > > > > > each > > > > > >> of them... > > > > > >> > > > > > >> Cheers, > > > > > >> Trevor > > > > > >> > > > > > >> > > > > > >> -----Original Message----- > > > > > >> From: pla...@li... > > > > > >> [mailto:pla...@li...] On > > > > Behalf > > > > > > Of > > > > > >> ni...@cs... > > > > > >> Sent: Tuesday, September 12, 2006 11:47 AM > > > > > >> To: pla...@li... > > > > > >> Subject: [Platformx-sg2-devel] power measurements for SG2 > > > > > >> > > > > > >> Hi, > > > > > >> I did some power measurements for the stargate 2 platform. > > > > > >> I just used the mothercard for the measurements (no daughter > > > > > >> card). I attached a 1 ohm resistance in series with the mini > > usb > > > > > cable > > > > > > > > > > > >> and used a NI-DAQ to measure the voltage across the resistor > > > > > >> and subsequently the current and the power consumed by > > > > > >> the stargate. > > > > > >> > > > > > >> I have the following two questions in this regard. > > > > > >> > > > > > >> 1. The idle power of the platform (without any > > > > > >> CF or SD card ) is around 270 mW, which > > > > > >> seems reasonable. However, as soon as I plug in a Telosb > > > > > >> using the USB on the mothercard, the power consumption > > > > > >> rises to 830 mW. This seems like an odd jump, as the mote > > > > > >> alone doesnot draw more than 50 mW of power. I am using > > > > > >> the ftdi_sio driver and the stargate recognises the Telosb > > > > > >> correctly and is able to communicate with it. > > > > > >> > > > > > >> > > > > > >> 2. The standby/suspension power of the platform is around > > > > > >> 98 mW which is also kind of high, since I remember that > > > > > >> Stargate 1 with the daughter card removed pulled around > > > > > >> 35 mW of power. However, in this case, it might be a > > > > > >> possible software problem, like maybe unloading the proper > > > > > >> device drivers before suspension ? > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> -Nilanjan > > > > > >> > > > > > >> > > > > > >> > > > > > >> ------------------------------------------------- > > > > > >> This mail sent through IMP: http://horde.org/imp/ > > > > > >> > > > > > >> > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > >> - > > > > > >> Using Tomcat but need to do more? Need to support web > services, > > > > > >> security? > > > > > >> Get stuff done quickly with pre-integrated technology to make > > > your > > > > > job > > > > > >> easier > > > > > >> Download IBM WebSphere Application Server v.1.0.1 based on > > Apache > > > > > >> Geronimo > > > > > >> > > > > > > > > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > > >> _______________________________________________ > > > > > >> Platformx-sg2-devel mailing list > > > > > >> Pla...@li... > > > > > >> > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------- > > > > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------- > > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > - > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > Join SourceForge.net's Techsay panel and you'll get the chance to > > > share > > > > your > > > > opinions on IT & business topics through brief surveys -- and earn > > > cash > > > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > > > > V > > > > _______________________________________________ > > > > Platformx-sg2-devel mailing list > > > > Pla...@li... > > > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > > > > > > > > > > > > > > > > > ------------------------------------------------- > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > > > ------------------------------------------------------------------------ > > > - > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share > > > your > > > opinions on IT & business topics through brief surveys -- and earn > > cash > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > > > V > > > _______________________________________________ > > > Platformx-sg2-devel mailing list > > > Pla...@li... > > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > > > > > > > > > > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Platformx-sg2-devel mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |
From: Nguyen, A. <ale...@in...> - 2006-10-19 22:14:37
|
Trevor - yes. You could do that. Alex, -----Original Message----- From: Pering, Trevor=20 Sent: Thursday, October 19, 2006 2:55 PM To: Nguyen, Alex; 'ni...@cs...' Cc: 'pla...@li...' Subject: RE: [Platformx-sg2-devel] power measurements for SG2 Alex, I think Nilanjan wants to power the board through J2 so he can measure the power while having the USB connector attached for debugging purposes. I think if he removes D9 then it will work out -- is that accurate? At least, work out ok to a first order? Cheers, Trevor =20 -----Original Message----- From: Nguyen, Alex=20 Sent: Thursday, October 19, 2006 2:15 PM To: ni...@cs...; Pering, Trevor Cc: pla...@li... Subject: RE: [Platformx-sg2-devel] power measurements for SG2 Nilanjan,=20 The J2 connector is for connecting the Lithium Ion battery which about 4.2V to 4.4V. If you could apply that the voltage in that range to J2 then you should be able to power the SG2 from this source. Alex, -----Original Message----- From: pla...@li... [mailto:pla...@li...] On Behalf Of ni...@cs... Sent: Thursday, October 19, 2006 1:08 PM To: Pering, Trevor Cc: pla...@li... Subject: Re: [Platformx-sg2-devel] power measurements for SG2 I have been trying to power SG2 from the 3.3 V supply (through connector J2). My console on my PC uses the miniusb on the SG2 main card (J9), which can also be used to supply power to the main board.=20 So, when both the miniusb is plugged in and I am trying to supply power through the 3.3 V supply (J2) the board draws power through the miniusb alone. Is there any way ( a jumper or a switch onboard) which can be used to switch off power supplied from miniusb and use it only for the console on the PC. -Nilanjan =20 P.S. : Sorry for the late reply on your previous question. I will try the 3.3 V supply once the above problem is solved. I am using a DLINK AIR DCF-660W Wireless card. Quoting "Pering, Trevor" <tre...@in...>: > Ah -- can you try it with the 3.3 supply? The 5V USB supply is really, > well, for the USB and so it's not really integrated with the PCMCIA. If > you really need it I'm sure it can be made to work... >=20 > Try controlling the USB power to see how that works. I think removing > the USB modules might do it, or you can try something like "echo off > > /proc/pmic/USBH" to turn it off... >=20 > What kind of card are you using with the system? >=20 > Trevor > =20 >=20 > -----Original Message----- > From: ni...@cs... [mailto:ni...@cs...]=20 > Sent: Thursday, October 05, 2006 5:05 PM > To: Pering, Trevor > Cc: pla...@li... > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 >=20 > I am using the 5V USB supply (C). >=20 > -Nilanjan >=20 >=20 > Quoting "Pering, Trevor" <tre...@in...>: >=20 > > It depends somewhat -- how are you powering it? There are three > several > > options: > >=20 > > A) External 5V supply > > B) Battery direct > > C) 5V USB Charge Pump > > D) 3.3V regulator > >=20 > > Each one has a different way of control... What configuration are you > > using? > >=20 > > If it's option D), then the method that Ed describes should do it, but > > if it's not then we can poke on it some more... > >=20 > > Trevor > >=20 > >=20 > > =20 > >=20 > > -----Original Message----- > > From: pla...@li... > > [mailto:pla...@li...] On Behalf > Of > > ni...@cs... > > Sent: Wednesday, October 04, 2006 10:25 AM > > To: pla...@li... > > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > >=20 > > I tried it with a laptop. It does draw more power that I would expect > > , around 150 mW, but nothing like 500 mW that it shows on the > stargate. > > However, > > I can get around this problem by powering the mote separately rather > > than the USB. > >=20 > > I want some help regarding the suspension/standby power of the > stargate. > > In a > > mail, few weeks ago, you said you will help me debug why the stargate > > was > > pulling such a lot of power during suspension. From my experiments, I > > could > > figure out that the power supply to the CF card is not being cut off. > > Will > > just unloading the drivers cut the current supply *completely* to the > > CF slot. > >=20 > > -Nilanjan > >=20 > >=20 > > Quoting "Pering, Trevor" <tre...@in...>: > >=20 > > > Huh -- not really sure what to say. Seems like the TelosB is doing > > > something weird -- there is really nothing that the SG2 could/should > > be > > > able to do to cause this problem. It's a very simple circuit, and > the > > > fact that it's fine with another USB device indicates that the HW is > > ok. > > >=20 > > > Have you measured the power of the TelosB platform with a different > > USB > > > master? E.g., a laptop of some kind? > > >=20 > > > Cheers, > > > Trevor > > >=20 > > >=20 > > > -----Original Message----- > > > From: pla...@li... > > > [mailto:pla...@li...] On Behalf > > Of > > > ni...@cs... > > > Sent: Wednesday, September 27, 2006 3:14 PM > > > To: pla...@li... > > > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > > >=20 > > > Hi Trevor, > > > Sorry for the late reply. I did what you asked. It seems like the > > > problem only > > > occurs with a tmote sky mote (and not with a SanDisk USB memory > > stick). > > > I have > > > answered inline in detail using ---. > > >=20 > > >=20 > > > Quoting "Pering, Trevor" <tre...@in...>: > > >=20 > > > > Nilanjan, so -- you are saying that if the USBH interface *is* > > powered > > > > up, but that a USB dongle is NOT plugged in, that there is *no* > > > leakage? > > > > That is, under what conditions does the leakage occur? When the > > rail > > > is > > > > powered up? When the USB dongle is plugged in? =20 > > >=20 > > > --- When the USBH *is* powered up but the TelosB is not plugged in, > > > there > > > is *no* leakage. The leakage only occurs with the mote is plugged > in. > > >=20 > > >=20 > > >=20 > > > > Also, can you try it with J12 removed -- this is the power for the > > > > PCMCIA socket. It just isolates it some, but I wouldn't expect it > > to > > > do > > > > anything. =20 > > >=20 > > > -- Removing J12 doesnot help. > > >=20 > > >=20 > > >=20 > > > > Oh, if you try the port with something else other than the TelosB, > > > e.g., > > > > a memory stick -- do you see similar problems? =20 > > >=20 > > >=20 > > > --- The problem doesnot occur with a memory stick. I used a 512 MB > > > SanDisk > > > USB memory stick in place of the TelosB and there was no leakage. > The > > > system > > > drew around 350 mW of power (as expected).I tried different programs > > on > > > the=20 > > > TelosB , but the leakage still remained. > > >=20 > > >=20 > > > > And, if you disable the software drivers (prevent the USB modules > > from > > > > being loaded), do you see the same effect? > > >=20 > > >=20 > > > ---Unloading the USB drivers didnot help. > > >=20 > > >=20 > > > > Depending on what you find we might need/want to get Alex to poke > at > > > it > > > > some, but we would need a very specific test case for him to > > > isolate... > > > >=20 > > > > Cheers, > > > > Trevor > > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > > Thanks, > > > Nilanjan > > >=20 > > >=20 > > >=20 > > >=20 > > > > -----Original Message----- > > > > From: Nilanjan Banerjee [mailto:ni...@cs...]=20 > > > > Sent: Wednesday, September 13, 2006 2:45 PM > > > > To: Pering, Trevor > > > > Cc: pla...@li... > > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > >=20 > > > > I made a mistake in the last mail. It is actually the charge pump > > mode > > > > which has a larger leakage current. I got the pins 1 2 3 on J8 in > > the=20 > > > > reverse direction. So my measurement on charge pump and "direct > from > > > > the battery" mode should be swapped. > > > >=20 > > > > Indeed powering off the power by echo off > /proc/pmic/USBH makes > > the > > > > leakage goes away for the charge pump mode. I am using revision > 2.2 > > > for=20 > > > > the mothercard. > > > >=20 > > > > -Nilanjan > > > >=20 > > > > On Wed, 13 Sep 2006, Pering, Trevor wrote: > > > >=20 > > > > > Hmmm -- not sure where the power is going. You could try > manually > > > > > turning subsystems off one by one to see if it helps at all. > The > > > > power > > > > > rails are listed in /proc/pmic/VDD_* -- and if you do something > > > like: > > > > > > > > > > echo off > /proc/pmic/VDD_CC2420 > > > > > > > > > > it should turn power off to that rail. There are some rails > that > > > you > > > > > can't really turn off and still have a functional system. E.g., > > > > VCC_IO. > > > > > However, you can turn it off once and see how much it drops the > > > power, > > > > > but you'll need to power-cycle to get it working again. > > > > > > > > > > Also, if you turn the power off for the charge pump (USBH), does > > the > > > > > leakage go away? This would be the obvious place and it would > > > > indicate > > > > > that there is some kind of leakage in that part of the system > that > > > we > > > > > could look for... That power rail does go a few other places so > it > > > > > wouldn't be unreasonable. > > > > > > > > > > Just to verify, which version of the board do you have? This > > should > > > > be > > > > > something like 2.1 or 2.2, and would be written in the silk > screen > > > > > somewhere... > > > > > > > > > > Cheers, > > > > > Trevor > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: ni...@cs... [mailto:ni...@cs...] > > > > > Sent: Wednesday, September 13, 2006 12:38 PM > > > > > To: Pering, Trevor > > > > > Cc: pla...@li... > > > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > > > > > > > Hi, > > > > > I was using the "direct from the battery" to power the USB. > > > > > So I tried the charge pump too. So these are > > > > > the power characteristics for the above two modes of > > > > > powering the usb. > > > > > > > > > > 1. "direct from the battery" : Initially, for about 30 > > > > > seconds the power consumption rises to 1170 mW. It seems > > > > > that for this period of time a process called "usb.agent" is > > > > > using about 15% of the CPU. Once this process terminates > > > > > the power consumption falls to about 780 mW. The mote > > > > > alone from the usb draws 145 mW. (This is high but this > > > > > is the amount that it draws independently from a laptop > > > > > usb too. I will try to see why this is the case !!). So > > > > > there is at least a leakage of about 360 mW somewhere else. > > > > > > > > > > > > > > > 2. charge pump : Initially for about 30 seconds the > > > > > power rises to 850 mW due to the process usb.agent, I guess. > > > > > and then it falls to 490 mW. the mote again pulls around > > > > > 145 mW. So there is a leakage of about 75 mW. > > > > > > > > > > > > > > > What does this process usb.agent actually do ? It runs for a > long > > > > > time (30 seconds) and energy consumption during this time > > > > > is high ? Can it be brought down ? > > > > > > > > > > > > > > > For the suspension number of 98mW, I didnot use the daughter > > > > > card, the usb , the CF or SD slot. However, I experimented > > > > > today by attaching a mote to the USB and the Wifi card in > > > > > the CF slot. None of the these subsystems are being > > > > > turned off on suspension, and consequently on suspension, with > the > > > CF > > > > > card and the mote attached the power consumption is around > > > > > a watt. > > > > > > > > > > > > > > > -Nilanjan > > > > > > > > > > > > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > > > > > >> Nilanjan, thanks for you questions. > > > > >> > > > > >> 1) short answer is I don't know, but you're right that it's > very > > > > >> strange. How are you powering the USB interface? There are two > > > > > options: > > > > >> direct from the battery (high current, but lower voltage) or > from > > > the > > > > >> on-board charge pump (5V, but limited current). This is > > controlled > > > > by > > > > >> jumper J8 on the board (which should be fairly near the USBH > > > > > connector). > > > > >> > > > > >> You can try turning off the power, either by removing the > jumper, > > > or > > > > > if > > > > >> it's using the charge-pump by doing "echo off > > /proc/pmic/USBH" > > or > > > > >> something like that -- just to see what's going on. > > > > >> > > > > >> Also, if nothing else comes up, it would be good/interesting to > > > > > measure > > > > >> the power consumption of the mote with a similar > > resistor-in-series > > > > >> trick just to see if that's indeed where the power is going... > > > > >> > > > > >> Maybe it's a software issue -- when you plug the telosB mote > in, > > is > > > > >> there any process that's consuming a lot of CPU? Does ps show > > any > > > > CPU > > > > >> usage? Uptime? I think there are/were some issues with the > udev > > > > >> filesystem that would cause it to consume a lot of CPU for a > > short > > > > > time. > > > > >> How long does it run at 830mW for...? Is it still like that 20 > > > > > minutes > > > > >> later? Actually, now that I think of it I think there is > > something > > > > to > > > > >> this line, so maybe check it first. > > > > >> > > > > >> 2) Yah, I think your correct again in that I don't think we've > > done > > > > >> anything really to reduce the power consumption in sleep mode, > so > > > > > there > > > > >> are probably a lot of peripherals that are still on. Is this > > with > > > > the > > > > >> DC plugged in? I think the Ethernet interface probably > consumes > > a > > > > lot > > > > >> if so. Otherwise, probably need to go through each subsystem > and > > > > > think > > > > >> about what kind of low-power state they might be in... Let me > > know > > > > > how > > > > >> you want to proceed on this -- I could help you make a list of > > all > > > > the > > > > >> subsystems and then we could discuss what might need to be done > > for > > > > > each > > > > >> of them... > > > > >> > > > > >> Cheers, > > > > >> Trevor > > > > >> > > > > >> > > > > >> -----Original Message----- > > > > >> From: pla...@li... > > > > >> [mailto:pla...@li...] On > > > Behalf > > > > > Of > > > > >> ni...@cs... > > > > >> Sent: Tuesday, September 12, 2006 11:47 AM > > > > >> To: pla...@li... > > > > >> Subject: [Platformx-sg2-devel] power measurements for SG2 > > > > >> > > > > >> Hi, > > > > >> I did some power measurements for the stargate 2 platform. > > > > >> I just used the mothercard for the measurements (no daughter > > > > >> card). I attached a 1 ohm resistance in series with the mini > usb > > > > cable > > > > > > > > > >> and used a NI-DAQ to measure the voltage across the resistor > > > > >> and subsequently the current and the power consumed by > > > > >> the stargate. > > > > >> > > > > >> I have the following two questions in this regard. > > > > >> > > > > >> 1. The idle power of the platform (without any > > > > >> CF or SD card ) is around 270 mW, which > > > > >> seems reasonable. However, as soon as I plug in a Telosb > > > > >> using the USB on the mothercard, the power consumption > > > > >> rises to 830 mW. This seems like an odd jump, as the mote > > > > >> alone doesnot draw more than 50 mW of power. I am using > > > > >> the ftdi_sio driver and the stargate recognises the Telosb > > > > >> correctly and is able to communicate with it. > > > > >> > > > > >> > > > > >> 2. The standby/suspension power of the platform is around > > > > >> 98 mW which is also kind of high, since I remember that > > > > >> Stargate 1 with the daughter card removed pulled around > > > > >> 35 mW of power. However, in this case, it might be a > > > > >> possible software problem, like maybe unloading the proper > > > > >> device drivers before suspension ? > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> -Nilanjan > > > > >> > > > > >> > > > > >> > > > > >> ------------------------------------------------- > > > > >> This mail sent through IMP: http://horde.org/imp/ > > > > >> > > > > >> > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > >> - > > > > >> Using Tomcat but need to do more? Need to support web services, > > > > >> security? > > > > >> Get stuff done quickly with pre-integrated technology to make > > your > > > > job > > > > >> easier > > > > >> Download IBM WebSphere Application Server v.1.0.1 based on > Apache > > > > >> Geronimo > > > > >> > > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 > > > > >> _______________________________________________ > > > > >> Platformx-sg2-devel mailing list > > > > >> Pla...@li... > > > > >> > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------- > > > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------- > > > This mail sent through IMP: http://horde.org/imp/ > > >=20 > > > > > > ------------------------------------------------------------------------ > > > - > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share > > > your > > > opinions on IT & business topics through brief surveys -- and earn > > cash > > > > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE > > > V > > > _______________________________________________ > > > Platformx-sg2-devel mailing list > > > Pla...@li... > > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > >=20 > >=20 > >=20 > >=20 > >=20 > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > >=20 > > > ------------------------------------------------------------------------ > > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > share > > your > > opinions on IT & business topics through brief surveys -- and earn > cash > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE > > V > > _______________________________________________ > > Platformx-sg2-devel mailing list > > Pla...@li... > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ >=20 ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Platformx-sg2-devel mailing list Pla...@li... https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel |
From: Pering, T. <tre...@in...> - 2006-10-19 21:55:23
|
Alex, I think Nilanjan wants to power the board through J2 so he can measure the power while having the USB connector attached for debugging purposes. I think if he removes D9 then it will work out -- is that accurate? At least, work out ok to a first order? Cheers, Trevor =20 -----Original Message----- From: Nguyen, Alex=20 Sent: Thursday, October 19, 2006 2:15 PM To: ni...@cs...; Pering, Trevor Cc: pla...@li... Subject: RE: [Platformx-sg2-devel] power measurements for SG2 Nilanjan,=20 The J2 connector is for connecting the Lithium Ion battery which about 4.2V to 4.4V. If you could apply that the voltage in that range to J2 then you should be able to power the SG2 from this source. Alex, -----Original Message----- From: pla...@li... [mailto:pla...@li...] On Behalf Of ni...@cs... Sent: Thursday, October 19, 2006 1:08 PM To: Pering, Trevor Cc: pla...@li... Subject: Re: [Platformx-sg2-devel] power measurements for SG2 I have been trying to power SG2 from the 3.3 V supply (through connector J2). My console on my PC uses the miniusb on the SG2 main card (J9), which can also be used to supply power to the main board.=20 So, when both the miniusb is plugged in and I am trying to supply power through the 3.3 V supply (J2) the board draws power through the miniusb alone. Is there any way ( a jumper or a switch onboard) which can be used to switch off power supplied from miniusb and use it only for the console on the PC. -Nilanjan =20 P.S. : Sorry for the late reply on your previous question. I will try the 3.3 V supply once the above problem is solved. I am using a DLINK AIR DCF-660W Wireless card. Quoting "Pering, Trevor" <tre...@in...>: > Ah -- can you try it with the 3.3 supply? The 5V USB supply is really, > well, for the USB and so it's not really integrated with the PCMCIA. If > you really need it I'm sure it can be made to work... >=20 > Try controlling the USB power to see how that works. I think removing > the USB modules might do it, or you can try something like "echo off > > /proc/pmic/USBH" to turn it off... >=20 > What kind of card are you using with the system? >=20 > Trevor > =20 >=20 > -----Original Message----- > From: ni...@cs... [mailto:ni...@cs...]=20 > Sent: Thursday, October 05, 2006 5:05 PM > To: Pering, Trevor > Cc: pla...@li... > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 >=20 > I am using the 5V USB supply (C). >=20 > -Nilanjan >=20 >=20 > Quoting "Pering, Trevor" <tre...@in...>: >=20 > > It depends somewhat -- how are you powering it? There are three > several > > options: > >=20 > > A) External 5V supply > > B) Battery direct > > C) 5V USB Charge Pump > > D) 3.3V regulator > >=20 > > Each one has a different way of control... What configuration are you > > using? > >=20 > > If it's option D), then the method that Ed describes should do it, but > > if it's not then we can poke on it some more... > >=20 > > Trevor > >=20 > >=20 > > =20 > >=20 > > -----Original Message----- > > From: pla...@li... > > [mailto:pla...@li...] On Behalf > Of > > ni...@cs... > > Sent: Wednesday, October 04, 2006 10:25 AM > > To: pla...@li... > > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > >=20 > > I tried it with a laptop. It does draw more power that I would expect > > , around 150 mW, but nothing like 500 mW that it shows on the > stargate. > > However, > > I can get around this problem by powering the mote separately rather > > than the USB. > >=20 > > I want some help regarding the suspension/standby power of the > stargate. > > In a > > mail, few weeks ago, you said you will help me debug why the stargate > > was > > pulling such a lot of power during suspension. From my experiments, I > > could > > figure out that the power supply to the CF card is not being cut off. > > Will > > just unloading the drivers cut the current supply *completely* to the > > CF slot. > >=20 > > -Nilanjan > >=20 > >=20 > > Quoting "Pering, Trevor" <tre...@in...>: > >=20 > > > Huh -- not really sure what to say. Seems like the TelosB is doing > > > something weird -- there is really nothing that the SG2 could/should > > be > > > able to do to cause this problem. It's a very simple circuit, and > the > > > fact that it's fine with another USB device indicates that the HW is > > ok. > > >=20 > > > Have you measured the power of the TelosB platform with a different > > USB > > > master? E.g., a laptop of some kind? > > >=20 > > > Cheers, > > > Trevor > > >=20 > > >=20 > > > -----Original Message----- > > > From: pla...@li... > > > [mailto:pla...@li...] On Behalf > > Of > > > ni...@cs... > > > Sent: Wednesday, September 27, 2006 3:14 PM > > > To: pla...@li... > > > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > > >=20 > > > Hi Trevor, > > > Sorry for the late reply. I did what you asked. It seems like the > > > problem only > > > occurs with a tmote sky mote (and not with a SanDisk USB memory > > stick). > > > I have > > > answered inline in detail using ---. > > >=20 > > >=20 > > > Quoting "Pering, Trevor" <tre...@in...>: > > >=20 > > > > Nilanjan, so -- you are saying that if the USBH interface *is* > > powered > > > > up, but that a USB dongle is NOT plugged in, that there is *no* > > > leakage? > > > > That is, under what conditions does the leakage occur? When the > > rail > > > is > > > > powered up? When the USB dongle is plugged in? =20 > > >=20 > > > --- When the USBH *is* powered up but the TelosB is not plugged in, > > > there > > > is *no* leakage. The leakage only occurs with the mote is plugged > in. > > >=20 > > >=20 > > >=20 > > > > Also, can you try it with J12 removed -- this is the power for the > > > > PCMCIA socket. It just isolates it some, but I wouldn't expect it > > to > > > do > > > > anything. =20 > > >=20 > > > -- Removing J12 doesnot help. > > >=20 > > >=20 > > >=20 > > > > Oh, if you try the port with something else other than the TelosB, > > > e.g., > > > > a memory stick -- do you see similar problems? =20 > > >=20 > > >=20 > > > --- The problem doesnot occur with a memory stick. I used a 512 MB > > > SanDisk > > > USB memory stick in place of the TelosB and there was no leakage. > The > > > system > > > drew around 350 mW of power (as expected).I tried different programs > > on > > > the=20 > > > TelosB , but the leakage still remained. > > >=20 > > >=20 > > > > And, if you disable the software drivers (prevent the USB modules > > from > > > > being loaded), do you see the same effect? > > >=20 > > >=20 > > > ---Unloading the USB drivers didnot help. > > >=20 > > >=20 > > > > Depending on what you find we might need/want to get Alex to poke > at > > > it > > > > some, but we would need a very specific test case for him to > > > isolate... > > > >=20 > > > > Cheers, > > > > Trevor > > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > > Thanks, > > > Nilanjan > > >=20 > > >=20 > > >=20 > > >=20 > > > > -----Original Message----- > > > > From: Nilanjan Banerjee [mailto:ni...@cs...]=20 > > > > Sent: Wednesday, September 13, 2006 2:45 PM > > > > To: Pering, Trevor > > > > Cc: pla...@li... > > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > >=20 > > > > I made a mistake in the last mail. It is actually the charge pump > > mode > > > > which has a larger leakage current. I got the pins 1 2 3 on J8 in > > the=20 > > > > reverse direction. So my measurement on charge pump and "direct > from > > > > the battery" mode should be swapped. > > > >=20 > > > > Indeed powering off the power by echo off > /proc/pmic/USBH makes > > the > > > > leakage goes away for the charge pump mode. I am using revision > 2.2 > > > for=20 > > > > the mothercard. > > > >=20 > > > > -Nilanjan > > > >=20 > > > > On Wed, 13 Sep 2006, Pering, Trevor wrote: > > > >=20 > > > > > Hmmm -- not sure where the power is going. You could try > manually > > > > > turning subsystems off one by one to see if it helps at all. > The > > > > power > > > > > rails are listed in /proc/pmic/VDD_* -- and if you do something > > > like: > > > > > > > > > > echo off > /proc/pmic/VDD_CC2420 > > > > > > > > > > it should turn power off to that rail. There are some rails > that > > > you > > > > > can't really turn off and still have a functional system. E.g., > > > > VCC_IO. > > > > > However, you can turn it off once and see how much it drops the > > > power, > > > > > but you'll need to power-cycle to get it working again. > > > > > > > > > > Also, if you turn the power off for the charge pump (USBH), does > > the > > > > > leakage go away? This would be the obvious place and it would > > > > indicate > > > > > that there is some kind of leakage in that part of the system > that > > > we > > > > > could look for... That power rail does go a few other places so > it > > > > > wouldn't be unreasonable. > > > > > > > > > > Just to verify, which version of the board do you have? This > > should > > > > be > > > > > something like 2.1 or 2.2, and would be written in the silk > screen > > > > > somewhere... > > > > > > > > > > Cheers, > > > > > Trevor > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: ni...@cs... [mailto:ni...@cs...] > > > > > Sent: Wednesday, September 13, 2006 12:38 PM > > > > > To: Pering, Trevor > > > > > Cc: pla...@li... > > > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > > > > > > > Hi, > > > > > I was using the "direct from the battery" to power the USB. > > > > > So I tried the charge pump too. So these are > > > > > the power characteristics for the above two modes of > > > > > powering the usb. > > > > > > > > > > 1. "direct from the battery" : Initially, for about 30 > > > > > seconds the power consumption rises to 1170 mW. It seems > > > > > that for this period of time a process called "usb.agent" is > > > > > using about 15% of the CPU. Once this process terminates > > > > > the power consumption falls to about 780 mW. The mote > > > > > alone from the usb draws 145 mW. (This is high but this > > > > > is the amount that it draws independently from a laptop > > > > > usb too. I will try to see why this is the case !!). So > > > > > there is at least a leakage of about 360 mW somewhere else. > > > > > > > > > > > > > > > 2. charge pump : Initially for about 30 seconds the > > > > > power rises to 850 mW due to the process usb.agent, I guess. > > > > > and then it falls to 490 mW. the mote again pulls around > > > > > 145 mW. So there is a leakage of about 75 mW. > > > > > > > > > > > > > > > What does this process usb.agent actually do ? It runs for a > long > > > > > time (30 seconds) and energy consumption during this time > > > > > is high ? Can it be brought down ? > > > > > > > > > > > > > > > For the suspension number of 98mW, I didnot use the daughter > > > > > card, the usb , the CF or SD slot. However, I experimented > > > > > today by attaching a mote to the USB and the Wifi card in > > > > > the CF slot. None of the these subsystems are being > > > > > turned off on suspension, and consequently on suspension, with > the > > > CF > > > > > card and the mote attached the power consumption is around > > > > > a watt. > > > > > > > > > > > > > > > -Nilanjan > > > > > > > > > > > > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > > > > > >> Nilanjan, thanks for you questions. > > > > >> > > > > >> 1) short answer is I don't know, but you're right that it's > very > > > > >> strange. How are you powering the USB interface? There are two > > > > > options: > > > > >> direct from the battery (high current, but lower voltage) or > from > > > the > > > > >> on-board charge pump (5V, but limited current). This is > > controlled > > > > by > > > > >> jumper J8 on the board (which should be fairly near the USBH > > > > > connector). > > > > >> > > > > >> You can try turning off the power, either by removing the > jumper, > > > or > > > > > if > > > > >> it's using the charge-pump by doing "echo off > > /proc/pmic/USBH" > > or > > > > >> something like that -- just to see what's going on. > > > > >> > > > > >> Also, if nothing else comes up, it would be good/interesting to > > > > > measure > > > > >> the power consumption of the mote with a similar > > resistor-in-series > > > > >> trick just to see if that's indeed where the power is going... > > > > >> > > > > >> Maybe it's a software issue -- when you plug the telosB mote > in, > > is > > > > >> there any process that's consuming a lot of CPU? Does ps show > > any > > > > CPU > > > > >> usage? Uptime? I think there are/were some issues with the > udev > > > > >> filesystem that would cause it to consume a lot of CPU for a > > short > > > > > time. > > > > >> How long does it run at 830mW for...? Is it still like that 20 > > > > > minutes > > > > >> later? Actually, now that I think of it I think there is > > something > > > > to > > > > >> this line, so maybe check it first. > > > > >> > > > > >> 2) Yah, I think your correct again in that I don't think we've > > done > > > > >> anything really to reduce the power consumption in sleep mode, > so > > > > > there > > > > >> are probably a lot of peripherals that are still on. Is this > > with > > > > the > > > > >> DC plugged in? I think the Ethernet interface probably > consumes > > a > > > > lot > > > > >> if so. Otherwise, probably need to go through each subsystem > and > > > > > think > > > > >> about what kind of low-power state they might be in... Let me > > know > > > > > how > > > > >> you want to proceed on this -- I could help you make a list of > > all > > > > the > > > > >> subsystems and then we could discuss what might need to be done > > for > > > > > each > > > > >> of them... > > > > >> > > > > >> Cheers, > > > > >> Trevor > > > > >> > > > > >> > > > > >> -----Original Message----- > > > > >> From: pla...@li... > > > > >> [mailto:pla...@li...] On > > > Behalf > > > > > Of > > > > >> ni...@cs... > > > > >> Sent: Tuesday, September 12, 2006 11:47 AM > > > > >> To: pla...@li... > > > > >> Subject: [Platformx-sg2-devel] power measurements for SG2 > > > > >> > > > > >> Hi, > > > > >> I did some power measurements for the stargate 2 platform. > > > > >> I just used the mothercard for the measurements (no daughter > > > > >> card). I attached a 1 ohm resistance in series with the mini > usb > > > > cable > > > > > > > > > >> and used a NI-DAQ to measure the voltage across the resistor > > > > >> and subsequently the current and the power consumed by > > > > >> the stargate. > > > > >> > > > > >> I have the following two questions in this regard. > > > > >> > > > > >> 1. The idle power of the platform (without any > > > > >> CF or SD card ) is around 270 mW, which > > > > >> seems reasonable. However, as soon as I plug in a Telosb > > > > >> using the USB on the mothercard, the power consumption > > > > >> rises to 830 mW. This seems like an odd jump, as the mote > > > > >> alone doesnot draw more than 50 mW of power. I am using > > > > >> the ftdi_sio driver and the stargate recognises the Telosb > > > > >> correctly and is able to communicate with it. > > > > >> > > > > >> > > > > >> 2. The standby/suspension power of the platform is around > > > > >> 98 mW which is also kind of high, since I remember that > > > > >> Stargate 1 with the daughter card removed pulled around > > > > >> 35 mW of power. However, in this case, it might be a > > > > >> possible software problem, like maybe unloading the proper > > > > >> device drivers before suspension ? > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> -Nilanjan > > > > >> > > > > >> > > > > >> > > > > >> ------------------------------------------------- > > > > >> This mail sent through IMP: http://horde.org/imp/ > > > > >> > > > > >> > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > >> - > > > > >> Using Tomcat but need to do more? Need to support web services, > > > > >> security? > > > > >> Get stuff done quickly with pre-integrated technology to make > > your > > > > job > > > > >> easier > > > > >> Download IBM WebSphere Application Server v.1.0.1 based on > Apache > > > > >> Geronimo > > > > >> > > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 > > > > >> _______________________________________________ > > > > >> Platformx-sg2-devel mailing list > > > > >> Pla...@li... > > > > >> > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------- > > > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------- > > > This mail sent through IMP: http://horde.org/imp/ > > >=20 > > > > > > ------------------------------------------------------------------------ > > > - > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share > > > your > > > opinions on IT & business topics through brief surveys -- and earn > > cash > > > > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE > > > V > > > _______________________________________________ > > > Platformx-sg2-devel mailing list > > > Pla...@li... > > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > >=20 > >=20 > >=20 > >=20 > >=20 > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > >=20 > > > ------------------------------------------------------------------------ > > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > share > > your > > opinions on IT & business topics through brief surveys -- and earn > cash > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE > > V > > _______________________________________________ > > Platformx-sg2-devel mailing list > > Pla...@li... > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ >=20 ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Platformx-sg2-devel mailing list Pla...@li... https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel |
From: Nguyen, A. <ale...@in...> - 2006-10-19 21:15:36
|
Nilanjan,=20 The J2 connector is for connecting the Lithium Ion battery which about 4.2V to 4.4V. If you could apply that the voltage in that range to J2 then you should be able to power the SG2 from this source. Alex, -----Original Message----- From: pla...@li... [mailto:pla...@li...] On Behalf Of ni...@cs... Sent: Thursday, October 19, 2006 1:08 PM To: Pering, Trevor Cc: pla...@li... Subject: Re: [Platformx-sg2-devel] power measurements for SG2 I have been trying to power SG2 from the 3.3 V supply (through connector J2). My console on my PC uses the miniusb on the SG2 main card (J9), which can also be used to supply power to the main board.=20 So, when both the miniusb is plugged in and I am trying to supply power through the 3.3 V supply (J2) the board draws power through the miniusb alone. Is there any way ( a jumper or a switch onboard) which can be used to switch off power supplied from miniusb and use it only for the console on the PC. -Nilanjan =20 P.S. : Sorry for the late reply on your previous question. I will try the 3.3 V supply once the above problem is solved. I am using a DLINK AIR DCF-660W Wireless card. Quoting "Pering, Trevor" <tre...@in...>: > Ah -- can you try it with the 3.3 supply? The 5V USB supply is really, > well, for the USB and so it's not really integrated with the PCMCIA. If > you really need it I'm sure it can be made to work... >=20 > Try controlling the USB power to see how that works. I think removing > the USB modules might do it, or you can try something like "echo off > > /proc/pmic/USBH" to turn it off... >=20 > What kind of card are you using with the system? >=20 > Trevor > =20 >=20 > -----Original Message----- > From: ni...@cs... [mailto:ni...@cs...]=20 > Sent: Thursday, October 05, 2006 5:05 PM > To: Pering, Trevor > Cc: pla...@li... > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 >=20 > I am using the 5V USB supply (C). >=20 > -Nilanjan >=20 >=20 > Quoting "Pering, Trevor" <tre...@in...>: >=20 > > It depends somewhat -- how are you powering it? There are three > several > > options: > >=20 > > A) External 5V supply > > B) Battery direct > > C) 5V USB Charge Pump > > D) 3.3V regulator > >=20 > > Each one has a different way of control... What configuration are you > > using? > >=20 > > If it's option D), then the method that Ed describes should do it, but > > if it's not then we can poke on it some more... > >=20 > > Trevor > >=20 > >=20 > > =20 > >=20 > > -----Original Message----- > > From: pla...@li... > > [mailto:pla...@li...] On Behalf > Of > > ni...@cs... > > Sent: Wednesday, October 04, 2006 10:25 AM > > To: pla...@li... > > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > >=20 > > I tried it with a laptop. It does draw more power that I would expect > > , around 150 mW, but nothing like 500 mW that it shows on the > stargate. > > However, > > I can get around this problem by powering the mote separately rather > > than the USB. > >=20 > > I want some help regarding the suspension/standby power of the > stargate. > > In a > > mail, few weeks ago, you said you will help me debug why the stargate > > was > > pulling such a lot of power during suspension. From my experiments, I > > could > > figure out that the power supply to the CF card is not being cut off. > > Will > > just unloading the drivers cut the current supply *completely* to the > > CF slot. > >=20 > > -Nilanjan > >=20 > >=20 > > Quoting "Pering, Trevor" <tre...@in...>: > >=20 > > > Huh -- not really sure what to say. Seems like the TelosB is doing > > > something weird -- there is really nothing that the SG2 could/should > > be > > > able to do to cause this problem. It's a very simple circuit, and > the > > > fact that it's fine with another USB device indicates that the HW is > > ok. > > >=20 > > > Have you measured the power of the TelosB platform with a different > > USB > > > master? E.g., a laptop of some kind? > > >=20 > > > Cheers, > > > Trevor > > >=20 > > >=20 > > > -----Original Message----- > > > From: pla...@li... > > > [mailto:pla...@li...] On Behalf > > Of > > > ni...@cs... > > > Sent: Wednesday, September 27, 2006 3:14 PM > > > To: pla...@li... > > > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > > >=20 > > > Hi Trevor, > > > Sorry for the late reply. I did what you asked. It seems like the > > > problem only > > > occurs with a tmote sky mote (and not with a SanDisk USB memory > > stick). > > > I have > > > answered inline in detail using ---. > > >=20 > > >=20 > > > Quoting "Pering, Trevor" <tre...@in...>: > > >=20 > > > > Nilanjan, so -- you are saying that if the USBH interface *is* > > powered > > > > up, but that a USB dongle is NOT plugged in, that there is *no* > > > leakage? > > > > That is, under what conditions does the leakage occur? When the > > rail > > > is > > > > powered up? When the USB dongle is plugged in? =20 > > >=20 > > > --- When the USBH *is* powered up but the TelosB is not plugged in, > > > there > > > is *no* leakage. The leakage only occurs with the mote is plugged > in. > > >=20 > > >=20 > > >=20 > > > > Also, can you try it with J12 removed -- this is the power for the > > > > PCMCIA socket. It just isolates it some, but I wouldn't expect it > > to > > > do > > > > anything. =20 > > >=20 > > > -- Removing J12 doesnot help. > > >=20 > > >=20 > > >=20 > > > > Oh, if you try the port with something else other than the TelosB, > > > e.g., > > > > a memory stick -- do you see similar problems? =20 > > >=20 > > >=20 > > > --- The problem doesnot occur with a memory stick. I used a 512 MB > > > SanDisk > > > USB memory stick in place of the TelosB and there was no leakage. > The > > > system > > > drew around 350 mW of power (as expected).I tried different programs > > on > > > the=20 > > > TelosB , but the leakage still remained. > > >=20 > > >=20 > > > > And, if you disable the software drivers (prevent the USB modules > > from > > > > being loaded), do you see the same effect? > > >=20 > > >=20 > > > ---Unloading the USB drivers didnot help. > > >=20 > > >=20 > > > > Depending on what you find we might need/want to get Alex to poke > at > > > it > > > > some, but we would need a very specific test case for him to > > > isolate... > > > >=20 > > > > Cheers, > > > > Trevor > > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > > Thanks, > > > Nilanjan > > >=20 > > >=20 > > >=20 > > >=20 > > > > -----Original Message----- > > > > From: Nilanjan Banerjee [mailto:ni...@cs...]=20 > > > > Sent: Wednesday, September 13, 2006 2:45 PM > > > > To: Pering, Trevor > > > > Cc: pla...@li... > > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > >=20 > > > > I made a mistake in the last mail. It is actually the charge pump > > mode > > > > which has a larger leakage current. I got the pins 1 2 3 on J8 in > > the=20 > > > > reverse direction. So my measurement on charge pump and "direct > from > > > > the battery" mode should be swapped. > > > >=20 > > > > Indeed powering off the power by echo off > /proc/pmic/USBH makes > > the > > > > leakage goes away for the charge pump mode. I am using revision > 2.2 > > > for=20 > > > > the mothercard. > > > >=20 > > > > -Nilanjan > > > >=20 > > > > On Wed, 13 Sep 2006, Pering, Trevor wrote: > > > >=20 > > > > > Hmmm -- not sure where the power is going. You could try > manually > > > > > turning subsystems off one by one to see if it helps at all. > The > > > > power > > > > > rails are listed in /proc/pmic/VDD_* -- and if you do something > > > like: > > > > > > > > > > echo off > /proc/pmic/VDD_CC2420 > > > > > > > > > > it should turn power off to that rail. There are some rails > that > > > you > > > > > can't really turn off and still have a functional system. E.g., > > > > VCC_IO. > > > > > However, you can turn it off once and see how much it drops the > > > power, > > > > > but you'll need to power-cycle to get it working again. > > > > > > > > > > Also, if you turn the power off for the charge pump (USBH), does > > the > > > > > leakage go away? This would be the obvious place and it would > > > > indicate > > > > > that there is some kind of leakage in that part of the system > that > > > we > > > > > could look for... That power rail does go a few other places so > it > > > > > wouldn't be unreasonable. > > > > > > > > > > Just to verify, which version of the board do you have? This > > should > > > > be > > > > > something like 2.1 or 2.2, and would be written in the silk > screen > > > > > somewhere... > > > > > > > > > > Cheers, > > > > > Trevor > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: ni...@cs... [mailto:ni...@cs...] > > > > > Sent: Wednesday, September 13, 2006 12:38 PM > > > > > To: Pering, Trevor > > > > > Cc: pla...@li... > > > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > > > > > > > Hi, > > > > > I was using the "direct from the battery" to power the USB. > > > > > So I tried the charge pump too. So these are > > > > > the power characteristics for the above two modes of > > > > > powering the usb. > > > > > > > > > > 1. "direct from the battery" : Initially, for about 30 > > > > > seconds the power consumption rises to 1170 mW. It seems > > > > > that for this period of time a process called "usb.agent" is > > > > > using about 15% of the CPU. Once this process terminates > > > > > the power consumption falls to about 780 mW. The mote > > > > > alone from the usb draws 145 mW. (This is high but this > > > > > is the amount that it draws independently from a laptop > > > > > usb too. I will try to see why this is the case !!). So > > > > > there is at least a leakage of about 360 mW somewhere else. > > > > > > > > > > > > > > > 2. charge pump : Initially for about 30 seconds the > > > > > power rises to 850 mW due to the process usb.agent, I guess. > > > > > and then it falls to 490 mW. the mote again pulls around > > > > > 145 mW. So there is a leakage of about 75 mW. > > > > > > > > > > > > > > > What does this process usb.agent actually do ? It runs for a > long > > > > > time (30 seconds) and energy consumption during this time > > > > > is high ? Can it be brought down ? > > > > > > > > > > > > > > > For the suspension number of 98mW, I didnot use the daughter > > > > > card, the usb , the CF or SD slot. However, I experimented > > > > > today by attaching a mote to the USB and the Wifi card in > > > > > the CF slot. None of the these subsystems are being > > > > > turned off on suspension, and consequently on suspension, with > the > > > CF > > > > > card and the mote attached the power consumption is around > > > > > a watt. > > > > > > > > > > > > > > > -Nilanjan > > > > > > > > > > > > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > > > > > >> Nilanjan, thanks for you questions. > > > > >> > > > > >> 1) short answer is I don't know, but you're right that it's > very > > > > >> strange. How are you powering the USB interface? There are two > > > > > options: > > > > >> direct from the battery (high current, but lower voltage) or > from > > > the > > > > >> on-board charge pump (5V, but limited current). This is > > controlled > > > > by > > > > >> jumper J8 on the board (which should be fairly near the USBH > > > > > connector). > > > > >> > > > > >> You can try turning off the power, either by removing the > jumper, > > > or > > > > > if > > > > >> it's using the charge-pump by doing "echo off > > /proc/pmic/USBH" > > or > > > > >> something like that -- just to see what's going on. > > > > >> > > > > >> Also, if nothing else comes up, it would be good/interesting to > > > > > measure > > > > >> the power consumption of the mote with a similar > > resistor-in-series > > > > >> trick just to see if that's indeed where the power is going... > > > > >> > > > > >> Maybe it's a software issue -- when you plug the telosB mote > in, > > is > > > > >> there any process that's consuming a lot of CPU? Does ps show > > any > > > > CPU > > > > >> usage? Uptime? I think there are/were some issues with the > udev > > > > >> filesystem that would cause it to consume a lot of CPU for a > > short > > > > > time. > > > > >> How long does it run at 830mW for...? Is it still like that 20 > > > > > minutes > > > > >> later? Actually, now that I think of it I think there is > > something > > > > to > > > > >> this line, so maybe check it first. > > > > >> > > > > >> 2) Yah, I think your correct again in that I don't think we've > > done > > > > >> anything really to reduce the power consumption in sleep mode, > so > > > > > there > > > > >> are probably a lot of peripherals that are still on. Is this > > with > > > > the > > > > >> DC plugged in? I think the Ethernet interface probably > consumes > > a > > > > lot > > > > >> if so. Otherwise, probably need to go through each subsystem > and > > > > > think > > > > >> about what kind of low-power state they might be in... Let me > > know > > > > > how > > > > >> you want to proceed on this -- I could help you make a list of > > all > > > > the > > > > >> subsystems and then we could discuss what might need to be done > > for > > > > > each > > > > >> of them... > > > > >> > > > > >> Cheers, > > > > >> Trevor > > > > >> > > > > >> > > > > >> -----Original Message----- > > > > >> From: pla...@li... > > > > >> [mailto:pla...@li...] On > > > Behalf > > > > > Of > > > > >> ni...@cs... > > > > >> Sent: Tuesday, September 12, 2006 11:47 AM > > > > >> To: pla...@li... > > > > >> Subject: [Platformx-sg2-devel] power measurements for SG2 > > > > >> > > > > >> Hi, > > > > >> I did some power measurements for the stargate 2 platform. > > > > >> I just used the mothercard for the measurements (no daughter > > > > >> card). I attached a 1 ohm resistance in series with the mini > usb > > > > cable > > > > > > > > > >> and used a NI-DAQ to measure the voltage across the resistor > > > > >> and subsequently the current and the power consumed by > > > > >> the stargate. > > > > >> > > > > >> I have the following two questions in this regard. > > > > >> > > > > >> 1. The idle power of the platform (without any > > > > >> CF or SD card ) is around 270 mW, which > > > > >> seems reasonable. However, as soon as I plug in a Telosb > > > > >> using the USB on the mothercard, the power consumption > > > > >> rises to 830 mW. This seems like an odd jump, as the mote > > > > >> alone doesnot draw more than 50 mW of power. I am using > > > > >> the ftdi_sio driver and the stargate recognises the Telosb > > > > >> correctly and is able to communicate with it. > > > > >> > > > > >> > > > > >> 2. The standby/suspension power of the platform is around > > > > >> 98 mW which is also kind of high, since I remember that > > > > >> Stargate 1 with the daughter card removed pulled around > > > > >> 35 mW of power. However, in this case, it might be a > > > > >> possible software problem, like maybe unloading the proper > > > > >> device drivers before suspension ? > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> -Nilanjan > > > > >> > > > > >> > > > > >> > > > > >> ------------------------------------------------- > > > > >> This mail sent through IMP: http://horde.org/imp/ > > > > >> > > > > >> > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > >> - > > > > >> Using Tomcat but need to do more? Need to support web services, > > > > >> security? > > > > >> Get stuff done quickly with pre-integrated technology to make > > your > > > > job > > > > >> easier > > > > >> Download IBM WebSphere Application Server v.1.0.1 based on > Apache > > > > >> Geronimo > > > > >> > > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 > > > > >> _______________________________________________ > > > > >> Platformx-sg2-devel mailing list > > > > >> Pla...@li... > > > > >> > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------- > > > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > > >=20 > > >=20 > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------- > > > This mail sent through IMP: http://horde.org/imp/ > > >=20 > > > > > > ------------------------------------------------------------------------ > > > - > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share > > > your > > > opinions on IT & business topics through brief surveys -- and earn > > cash > > > > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE > > > V > > > _______________________________________________ > > > Platformx-sg2-devel mailing list > > > Pla...@li... > > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > >=20 > >=20 > >=20 > >=20 > >=20 > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > >=20 > > > ------------------------------------------------------------------------ > > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > share > > your > > opinions on IT & business topics through brief surveys -- and earn > cash > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE > > V > > _______________________________________________ > > Platformx-sg2-devel mailing list > > Pla...@li... > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ >=20 ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 _______________________________________________ Platformx-sg2-devel mailing list Pla...@li... https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel |
From: <ni...@cs...> - 2006-10-19 20:08:24
|
I have been trying to power SG2 from the 3.3 V supply (through connector J2). My console on my PC uses the miniusb on the SG2 main card (J9), which can also be used to supply power to the main board. So, when both the miniusb is plugged in and I am trying to supply power through the 3.3 V supply (J2) the board draws power through the miniusb alone. Is there any way ( a jumper or a switch onboard) which can be used to switch off power supplied from miniusb and use it only for the console on the PC. -Nilanjan P.S. : Sorry for the late reply on your previous question. I will try the 3.3 V supply once the above problem is solved. I am using a DLINK AIR DCF-660W Wireless card. Quoting "Pering, Trevor" <tre...@in...>: > Ah -- can you try it with the 3.3 supply? The 5V USB supply is really, > well, for the USB and so it's not really integrated with the PCMCIA. If > you really need it I'm sure it can be made to work... > > Try controlling the USB power to see how that works. I think removing > the USB modules might do it, or you can try something like "echo off > > /proc/pmic/USBH" to turn it off... > > What kind of card are you using with the system? > > Trevor > > > -----Original Message----- > From: ni...@cs... [mailto:ni...@cs...] > Sent: Thursday, October 05, 2006 5:05 PM > To: Pering, Trevor > Cc: pla...@li... > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > I am using the 5V USB supply (C). > > -Nilanjan > > > Quoting "Pering, Trevor" <tre...@in...>: > > > It depends somewhat -- how are you powering it? There are three > several > > options: > > > > A) External 5V supply > > B) Battery direct > > C) 5V USB Charge Pump > > D) 3.3V regulator > > > > Each one has a different way of control... What configuration are you > > using? > > > > If it's option D), then the method that Ed describes should do it, but > > if it's not then we can poke on it some more... > > > > Trevor > > > > > > > > > > -----Original Message----- > > From: pla...@li... > > [mailto:pla...@li...] On Behalf > Of > > ni...@cs... > > Sent: Wednesday, October 04, 2006 10:25 AM > > To: pla...@li... > > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > > > > I tried it with a laptop. It does draw more power that I would expect > > , around 150 mW, but nothing like 500 mW that it shows on the > stargate. > > However, > > I can get around this problem by powering the mote separately rather > > than the USB. > > > > I want some help regarding the suspension/standby power of the > stargate. > > In a > > mail, few weeks ago, you said you will help me debug why the stargate > > was > > pulling such a lot of power during suspension. From my experiments, I > > could > > figure out that the power supply to the CF card is not being cut off. > > Will > > just unloading the drivers cut the current supply *completely* to the > > CF slot. > > > > -Nilanjan > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > Huh -- not really sure what to say. Seems like the TelosB is doing > > > something weird -- there is really nothing that the SG2 could/should > > be > > > able to do to cause this problem. It's a very simple circuit, and > the > > > fact that it's fine with another USB device indicates that the HW is > > ok. > > > > > > Have you measured the power of the TelosB platform with a different > > USB > > > master? E.g., a laptop of some kind? > > > > > > Cheers, > > > Trevor > > > > > > > > > -----Original Message----- > > > From: pla...@li... > > > [mailto:pla...@li...] On Behalf > > Of > > > ni...@cs... > > > Sent: Wednesday, September 27, 2006 3:14 PM > > > To: pla...@li... > > > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > > > > > > Hi Trevor, > > > Sorry for the late reply. I did what you asked. It seems like the > > > problem only > > > occurs with a tmote sky mote (and not with a SanDisk USB memory > > stick). > > > I have > > > answered inline in detail using ---. > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > > > Nilanjan, so -- you are saying that if the USBH interface *is* > > powered > > > > up, but that a USB dongle is NOT plugged in, that there is *no* > > > leakage? > > > > That is, under what conditions does the leakage occur? When the > > rail > > > is > > > > powered up? When the USB dongle is plugged in? > > > > > > --- When the USBH *is* powered up but the TelosB is not plugged in, > > > there > > > is *no* leakage. The leakage only occurs with the mote is plugged > in. > > > > > > > > > > > > > Also, can you try it with J12 removed -- this is the power for the > > > > PCMCIA socket. It just isolates it some, but I wouldn't expect it > > to > > > do > > > > anything. > > > > > > -- Removing J12 doesnot help. > > > > > > > > > > > > > Oh, if you try the port with something else other than the TelosB, > > > e.g., > > > > a memory stick -- do you see similar problems? > > > > > > > > > --- The problem doesnot occur with a memory stick. I used a 512 MB > > > SanDisk > > > USB memory stick in place of the TelosB and there was no leakage. > The > > > system > > > drew around 350 mW of power (as expected).I tried different programs > > on > > > the > > > TelosB , but the leakage still remained. > > > > > > > > > > And, if you disable the software drivers (prevent the USB modules > > from > > > > being loaded), do you see the same effect? > > > > > > > > > ---Unloading the USB drivers didnot help. > > > > > > > > > > Depending on what you find we might need/want to get Alex to poke > at > > > it > > > > some, but we would need a very specific test case for him to > > > isolate... > > > > > > > > Cheers, > > > > Trevor > > > > > > > > > > > > > > > > > > > > > > > > > Thanks, > > > Nilanjan > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: Nilanjan Banerjee [mailto:ni...@cs...] > > > > Sent: Wednesday, September 13, 2006 2:45 PM > > > > To: Pering, Trevor > > > > Cc: pla...@li... > > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > > > > > I made a mistake in the last mail. It is actually the charge pump > > mode > > > > which has a larger leakage current. I got the pins 1 2 3 on J8 in > > the > > > > reverse direction. So my measurement on charge pump and "direct > from > > > > the battery" mode should be swapped. > > > > > > > > Indeed powering off the power by echo off > /proc/pmic/USBH makes > > the > > > > leakage goes away for the charge pump mode. I am using revision > 2.2 > > > for > > > > the mothercard. > > > > > > > > -Nilanjan > > > > > > > > On Wed, 13 Sep 2006, Pering, Trevor wrote: > > > > > > > > > Hmmm -- not sure where the power is going. You could try > manually > > > > > turning subsystems off one by one to see if it helps at all. > The > > > > power > > > > > rails are listed in /proc/pmic/VDD_* -- and if you do something > > > like: > > > > > > > > > > echo off > /proc/pmic/VDD_CC2420 > > > > > > > > > > it should turn power off to that rail. There are some rails > that > > > you > > > > > can't really turn off and still have a functional system. E.g., > > > > VCC_IO. > > > > > However, you can turn it off once and see how much it drops the > > > power, > > > > > but you'll need to power-cycle to get it working again. > > > > > > > > > > Also, if you turn the power off for the charge pump (USBH), does > > the > > > > > leakage go away? This would be the obvious place and it would > > > > indicate > > > > > that there is some kind of leakage in that part of the system > that > > > we > > > > > could look for... That power rail does go a few other places so > it > > > > > wouldn't be unreasonable. > > > > > > > > > > Just to verify, which version of the board do you have? This > > should > > > > be > > > > > something like 2.1 or 2.2, and would be written in the silk > screen > > > > > somewhere... > > > > > > > > > > Cheers, > > > > > Trevor > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: ni...@cs... [mailto:ni...@cs...] > > > > > Sent: Wednesday, September 13, 2006 12:38 PM > > > > > To: Pering, Trevor > > > > > Cc: pla...@li... > > > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > > > > > > > Hi, > > > > > I was using the "direct from the battery" to power the USB. > > > > > So I tried the charge pump too. So these are > > > > > the power characteristics for the above two modes of > > > > > powering the usb. > > > > > > > > > > 1. "direct from the battery" : Initially, for about 30 > > > > > seconds the power consumption rises to 1170 mW. It seems > > > > > that for this period of time a process called "usb.agent" is > > > > > using about 15% of the CPU. Once this process terminates > > > > > the power consumption falls to about 780 mW. The mote > > > > > alone from the usb draws 145 mW. (This is high but this > > > > > is the amount that it draws independently from a laptop > > > > > usb too. I will try to see why this is the case !!). So > > > > > there is at least a leakage of about 360 mW somewhere else. > > > > > > > > > > > > > > > 2. charge pump : Initially for about 30 seconds the > > > > > power rises to 850 mW due to the process usb.agent, I guess. > > > > > and then it falls to 490 mW. the mote again pulls around > > > > > 145 mW. So there is a leakage of about 75 mW. > > > > > > > > > > > > > > > What does this process usb.agent actually do ? It runs for a > long > > > > > time (30 seconds) and energy consumption during this time > > > > > is high ? Can it be brought down ? > > > > > > > > > > > > > > > For the suspension number of 98mW, I didnot use the daughter > > > > > card, the usb , the CF or SD slot. However, I experimented > > > > > today by attaching a mote to the USB and the Wifi card in > > > > > the CF slot. None of the these subsystems are being > > > > > turned off on suspension, and consequently on suspension, with > the > > > CF > > > > > card and the mote attached the power consumption is around > > > > > a watt. > > > > > > > > > > > > > > > -Nilanjan > > > > > > > > > > > > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > > > > > >> Nilanjan, thanks for you questions. > > > > >> > > > > >> 1) short answer is I don't know, but you're right that it's > very > > > > >> strange. How are you powering the USB interface? There are two > > > > > options: > > > > >> direct from the battery (high current, but lower voltage) or > from > > > the > > > > >> on-board charge pump (5V, but limited current). This is > > controlled > > > > by > > > > >> jumper J8 on the board (which should be fairly near the USBH > > > > > connector). > > > > >> > > > > >> You can try turning off the power, either by removing the > jumper, > > > or > > > > > if > > > > >> it's using the charge-pump by doing "echo off > > /proc/pmic/USBH" > > or > > > > >> something like that -- just to see what's going on. > > > > >> > > > > >> Also, if nothing else comes up, it would be good/interesting to > > > > > measure > > > > >> the power consumption of the mote with a similar > > resistor-in-series > > > > >> trick just to see if that's indeed where the power is going... > > > > >> > > > > >> Maybe it's a software issue -- when you plug the telosB mote > in, > > is > > > > >> there any process that's consuming a lot of CPU? Does ps show > > any > > > > CPU > > > > >> usage? Uptime? I think there are/were some issues with the > udev > > > > >> filesystem that would cause it to consume a lot of CPU for a > > short > > > > > time. > > > > >> How long does it run at 830mW for...? Is it still like that 20 > > > > > minutes > > > > >> later? Actually, now that I think of it I think there is > > something > > > > to > > > > >> this line, so maybe check it first. > > > > >> > > > > >> 2) Yah, I think your correct again in that I don't think we've > > done > > > > >> anything really to reduce the power consumption in sleep mode, > so > > > > > there > > > > >> are probably a lot of peripherals that are still on. Is this > > with > > > > the > > > > >> DC plugged in? I think the Ethernet interface probably > consumes > > a > > > > lot > > > > >> if so. Otherwise, probably need to go through each subsystem > and > > > > > think > > > > >> about what kind of low-power state they might be in... Let me > > know > > > > > how > > > > >> you want to proceed on this -- I could help you make a list of > > all > > > > the > > > > >> subsystems and then we could discuss what might need to be done > > for > > > > > each > > > > >> of them... > > > > >> > > > > >> Cheers, > > > > >> Trevor > > > > >> > > > > >> > > > > >> -----Original Message----- > > > > >> From: pla...@li... > > > > >> [mailto:pla...@li...] On > > > Behalf > > > > > Of > > > > >> ni...@cs... > > > > >> Sent: Tuesday, September 12, 2006 11:47 AM > > > > >> To: pla...@li... > > > > >> Subject: [Platformx-sg2-devel] power measurements for SG2 > > > > >> > > > > >> Hi, > > > > >> I did some power measurements for the stargate 2 platform. > > > > >> I just used the mothercard for the measurements (no daughter > > > > >> card). I attached a 1 ohm resistance in series with the mini > usb > > > > cable > > > > > > > > > >> and used a NI-DAQ to measure the voltage across the resistor > > > > >> and subsequently the current and the power consumed by > > > > >> the stargate. > > > > >> > > > > >> I have the following two questions in this regard. > > > > >> > > > > >> 1. The idle power of the platform (without any > > > > >> CF or SD card ) is around 270 mW, which > > > > >> seems reasonable. However, as soon as I plug in a Telosb > > > > >> using the USB on the mothercard, the power consumption > > > > >> rises to 830 mW. This seems like an odd jump, as the mote > > > > >> alone doesnot draw more than 50 mW of power. I am using > > > > >> the ftdi_sio driver and the stargate recognises the Telosb > > > > >> correctly and is able to communicate with it. > > > > >> > > > > >> > > > > >> 2. The standby/suspension power of the platform is around > > > > >> 98 mW which is also kind of high, since I remember that > > > > >> Stargate 1 with the daughter card removed pulled around > > > > >> 35 mW of power. However, in this case, it might be a > > > > >> possible software problem, like maybe unloading the proper > > > > >> device drivers before suspension ? > > > > >> > > > > >> > > > > >> > > > > >> > > > > >> -Nilanjan > > > > >> > > > > >> > > > > >> > > > > >> ------------------------------------------------- > > > > >> This mail sent through IMP: http://horde.org/imp/ > > > > >> > > > > >> > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > >> - > > > > >> Using Tomcat but need to do more? Need to support web services, > > > > >> security? > > > > >> Get stuff done quickly with pre-integrated technology to make > > your > > > > job > > > > >> easier > > > > >> Download IBM WebSphere Application Server v.1.0.1 based on > Apache > > > > >> Geronimo > > > > >> > > > > > > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > > >> _______________________________________________ > > > > >> Platformx-sg2-devel mailing list > > > > >> Pla...@li... > > > > >> > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------- > > > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------- > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > > > ------------------------------------------------------------------------ > > > - > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to > > share > > > your > > > opinions on IT & business topics through brief surveys -- and earn > > cash > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > > > V > > > _______________________________________________ > > > Platformx-sg2-devel mailing list > > > Pla...@li... > > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > > > > > > > > > > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > > > > > ------------------------------------------------------------------------ > > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > share > > your > > opinions on IT & business topics through brief surveys -- and earn > cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > > V > > _______________________________________________ > > Platformx-sg2-devel mailing list > > Pla...@li... > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |
From: Pering, T. <tre...@in...> - 2006-10-07 00:29:55
|
Ed, thanks for getting this release together and distributed! Like Ed mentioned, there are still some underlying problems with the driver, and some details are still being worked out.=20 Towards that end, if you run into any problems please use this list to ask questions, so we can keep track of what's going on out there. Likewise, expect some things to change -- there may be some quirks in the behavior that get worked out as we resolve issues. I'm currently working on getting the platform working with several other platforms (both TinyOS and non-TinyOS), and so getting the cross-compatibility working is likely to uncover a few kinks! Cheers, Trevor -----Original Message----- From: pla...@li... [mailto:pla...@li...] On Behalf Of Epp, Edward Sent: Friday, October 06, 2006 11:45 AM To: pla...@li... Subject: [Platformx-sg2-devel] Release 1.0 Release 1.0 for the Stargate 2 and Intel Mote 2 has been posted on Sourceforge. You can find it by following the links at: =20 http://embedded.seattle.intel-research.net/wiki/index.php?title=3DDownloa= d s The primary motivation for this release is the driver for the CC2420 radio. This driver is compatible with the TinyOS MAC (small subset of 802.15.4). Instructions are at: =20 http://embedded.seattle.intel-research.net/wiki/index.php?title=3DCourtin= g _LEDs_TinyOS_MAC_test The driver has effectively been tested between Stargates transmitting over a range of 25 feet in a lab environment with no competing traffic. These tests have been successful over a 16 hour period. We also know that it works on Intel Mote 2s under Linux. It works between Intel Mote 2s under TinyOS and Stargate 2s under Linux. This is encouraging - we have an excellent staring point. However, we believe there to be potential issues. * Does it behave well in high traffic environments? * Does it manage memory well? * How well does it respond to error conditions? (We know that if the oscillator doesn't come up because of a radio hardware issue, the driver will crash.) * What happens when transmit and receive tasks occur asynchronously? * Are interrupts handled properly? Bottom line - We are pleased with our starting point but believe we have a lot of work to do. ed c. ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Platformx-sg2-devel mailing list Pla...@li... https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel |
From: steve a. <ay...@ha...> - 2006-10-07 00:00:39
|
ed, excellent news and great work. maybe i can find the time to pitch in with a uIP port so that we can do straight IP-based ipc with the imote2, as with the msp430/tos-based platforms that we've been building in cambridge; it would be great to have a device with more horsepower with regular networking capabilities. -steve ayer Epp, Edward wrote: > Release 1.0 for the Stargate 2 and Intel Mote 2 has been posted on > Sourceforge. You can find it by following the links at: > > http://embedded.seattle.intel-research.net/wiki/index.php?title=Download > s > > The primary motivation for this release is the driver for the CC2420 > radio. This driver is compatible with the TinyOS MAC (small subset of > 802.15.4). Instructions are at: > > http://embedded.seattle.intel-research.net/wiki/index.php?title=Courting > _LEDs_TinyOS_MAC_test > > The driver has effectively been tested between Stargates transmitting > over a range of 25 feet in a lab environment with no competing traffic. > These tests have been successful over a 16 hour period. We also know > that it works on Intel Mote 2s under Linux. It works between Intel Mote > 2s under TinyOS and Stargate 2s under Linux. This is encouraging - we > have an excellent staring point. However, we believe there to be > potential issues. > * Does it behave well in high traffic environments? > * Does it manage memory well? > * How well does it respond to error conditions? (We know that if the > oscillator doesn't come up because of a radio hardware issue, the driver > will crash.) > * What happens when transmit and receive tasks occur asynchronously? > * Are interrupts handled properly? > > Bottom line - We are pleased with our starting point but believe we have > a lot of work to do. > > ed c. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Platformx-sg2-devel mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel |
From: Epp, E. <edw...@in...> - 2006-10-06 18:45:23
|
Release 1.0 for the Stargate 2 and Intel Mote 2 has been posted on Sourceforge. You can find it by following the links at: =20 http://embedded.seattle.intel-research.net/wiki/index.php?title=3DDownloa= d s The primary motivation for this release is the driver for the CC2420 radio. This driver is compatible with the TinyOS MAC (small subset of 802.15.4). Instructions are at: =20 http://embedded.seattle.intel-research.net/wiki/index.php?title=3DCourtin= g _LEDs_TinyOS_MAC_test The driver has effectively been tested between Stargates transmitting over a range of 25 feet in a lab environment with no competing traffic. These tests have been successful over a 16 hour period. We also know that it works on Intel Mote 2s under Linux. It works between Intel Mote 2s under TinyOS and Stargate 2s under Linux. This is encouraging - we have an excellent staring point. However, we believe there to be potential issues. * Does it behave well in high traffic environments? * Does it manage memory well? * How well does it respond to error conditions? (We know that if the oscillator doesn't come up because of a radio hardware issue, the driver will crash.) * What happens when transmit and receive tasks occur asynchronously? * Are interrupts handled properly? Bottom line - We are pleased with our starting point but believe we have a lot of work to do. ed c. |
From: Pering, T. <tre...@in...> - 2006-10-06 00:24:17
|
Ah -- can you try it with the 3.3 supply? The 5V USB supply is really, well, for the USB and so it's not really integrated with the PCMCIA. If you really need it I'm sure it can be made to work... Try controlling the USB power to see how that works. I think removing the USB modules might do it, or you can try something like "echo off > /proc/pmic/USBH" to turn it off... What kind of card are you using with the system? Trevor =20 -----Original Message----- From: ni...@cs... [mailto:ni...@cs...]=20 Sent: Thursday, October 05, 2006 5:05 PM To: Pering, Trevor Cc: pla...@li... Subject: RE: [Platformx-sg2-devel] power measurements for SG2 I am using the 5V USB supply (C). -Nilanjan Quoting "Pering, Trevor" <tre...@in...>: > It depends somewhat -- how are you powering it? There are three several > options: >=20 > A) External 5V supply > B) Battery direct > C) 5V USB Charge Pump > D) 3.3V regulator >=20 > Each one has a different way of control... What configuration are you > using? >=20 > If it's option D), then the method that Ed describes should do it, but > if it's not then we can poke on it some more... >=20 > Trevor >=20 >=20 > =20 >=20 > -----Original Message----- > From: pla...@li... > [mailto:pla...@li...] On Behalf Of > ni...@cs... > Sent: Wednesday, October 04, 2006 10:25 AM > To: pla...@li... > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 >=20 > I tried it with a laptop. It does draw more power that I would expect > , around 150 mW, but nothing like 500 mW that it shows on the stargate. > However, > I can get around this problem by powering the mote separately rather > than the USB. >=20 > I want some help regarding the suspension/standby power of the stargate. > In a > mail, few weeks ago, you said you will help me debug why the stargate > was > pulling such a lot of power during suspension. From my experiments, I > could > figure out that the power supply to the CF card is not being cut off. > Will > just unloading the drivers cut the current supply *completely* to the > CF slot. >=20 > -Nilanjan >=20 >=20 > Quoting "Pering, Trevor" <tre...@in...>: >=20 > > Huh -- not really sure what to say. Seems like the TelosB is doing > > something weird -- there is really nothing that the SG2 could/should > be > > able to do to cause this problem. It's a very simple circuit, and the > > fact that it's fine with another USB device indicates that the HW is > ok. > >=20 > > Have you measured the power of the TelosB platform with a different > USB > > master? E.g., a laptop of some kind? > >=20 > > Cheers, > > Trevor > >=20 > >=20 > > -----Original Message----- > > From: pla...@li... > > [mailto:pla...@li...] On Behalf > Of > > ni...@cs... > > Sent: Wednesday, September 27, 2006 3:14 PM > > To: pla...@li... > > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > >=20 > > Hi Trevor, > > Sorry for the late reply. I did what you asked. It seems like the > > problem only > > occurs with a tmote sky mote (and not with a SanDisk USB memory > stick). > > I have > > answered inline in detail using ---. > >=20 > >=20 > > Quoting "Pering, Trevor" <tre...@in...>: > >=20 > > > Nilanjan, so -- you are saying that if the USBH interface *is* > powered > > > up, but that a USB dongle is NOT plugged in, that there is *no* > > leakage? > > > That is, under what conditions does the leakage occur? When the > rail > > is > > > powered up? When the USB dongle is plugged in? =20 > >=20 > > --- When the USBH *is* powered up but the TelosB is not plugged in, > > there > > is *no* leakage. The leakage only occurs with the mote is plugged in. > >=20 > >=20 > >=20 > > > Also, can you try it with J12 removed -- this is the power for the > > > PCMCIA socket. It just isolates it some, but I wouldn't expect it > to > > do > > > anything. =20 > >=20 > > -- Removing J12 doesnot help. > >=20 > >=20 > >=20 > > > Oh, if you try the port with something else other than the TelosB, > > e.g., > > > a memory stick -- do you see similar problems? =20 > >=20 > >=20 > > --- The problem doesnot occur with a memory stick. I used a 512 MB > > SanDisk > > USB memory stick in place of the TelosB and there was no leakage. The > > system > > drew around 350 mW of power (as expected).I tried different programs > on > > the=20 > > TelosB , but the leakage still remained. > >=20 > >=20 > > > And, if you disable the software drivers (prevent the USB modules > from > > > being loaded), do you see the same effect? > >=20 > >=20 > > ---Unloading the USB drivers didnot help. > >=20 > >=20 > > > Depending on what you find we might need/want to get Alex to poke at > > it > > > some, but we would need a very specific test case for him to > > isolate... > > >=20 > > > Cheers, > > > Trevor > > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > >=20 > > Thanks, > > Nilanjan > >=20 > >=20 > >=20 > >=20 > > > -----Original Message----- > > > From: Nilanjan Banerjee [mailto:ni...@cs...]=20 > > > Sent: Wednesday, September 13, 2006 2:45 PM > > > To: Pering, Trevor > > > Cc: pla...@li... > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > >=20 > > > I made a mistake in the last mail. It is actually the charge pump > mode > > > which has a larger leakage current. I got the pins 1 2 3 on J8 in > the=20 > > > reverse direction. So my measurement on charge pump and "direct from > > > the battery" mode should be swapped. > > >=20 > > > Indeed powering off the power by echo off > /proc/pmic/USBH makes > the > > > leakage goes away for the charge pump mode. I am using revision 2.2 > > for=20 > > > the mothercard. > > >=20 > > > -Nilanjan > > >=20 > > > On Wed, 13 Sep 2006, Pering, Trevor wrote: > > >=20 > > > > Hmmm -- not sure where the power is going. You could try manually > > > > turning subsystems off one by one to see if it helps at all. The > > > power > > > > rails are listed in /proc/pmic/VDD_* -- and if you do something > > like: > > > > > > > > echo off > /proc/pmic/VDD_CC2420 > > > > > > > > it should turn power off to that rail. There are some rails that > > you > > > > can't really turn off and still have a functional system. E.g., > > > VCC_IO. > > > > However, you can turn it off once and see how much it drops the > > power, > > > > but you'll need to power-cycle to get it working again. > > > > > > > > Also, if you turn the power off for the charge pump (USBH), does > the > > > > leakage go away? This would be the obvious place and it would > > > indicate > > > > that there is some kind of leakage in that part of the system that > > we > > > > could look for... That power rail does go a few other places so it > > > > wouldn't be unreasonable. > > > > > > > > Just to verify, which version of the board do you have? This > should > > > be > > > > something like 2.1 or 2.2, and would be written in the silk screen > > > > somewhere... > > > > > > > > Cheers, > > > > Trevor > > > > > > > > > > > > -----Original Message----- > > > > From: ni...@cs... [mailto:ni...@cs...] > > > > Sent: Wednesday, September 13, 2006 12:38 PM > > > > To: Pering, Trevor > > > > Cc: pla...@li... > > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > > > > > Hi, > > > > I was using the "direct from the battery" to power the USB. > > > > So I tried the charge pump too. So these are > > > > the power characteristics for the above two modes of > > > > powering the usb. > > > > > > > > 1. "direct from the battery" : Initially, for about 30 > > > > seconds the power consumption rises to 1170 mW. It seems > > > > that for this period of time a process called "usb.agent" is > > > > using about 15% of the CPU. Once this process terminates > > > > the power consumption falls to about 780 mW. The mote > > > > alone from the usb draws 145 mW. (This is high but this > > > > is the amount that it draws independently from a laptop > > > > usb too. I will try to see why this is the case !!). So > > > > there is at least a leakage of about 360 mW somewhere else. > > > > > > > > > > > > 2. charge pump : Initially for about 30 seconds the > > > > power rises to 850 mW due to the process usb.agent, I guess. > > > > and then it falls to 490 mW. the mote again pulls around > > > > 145 mW. So there is a leakage of about 75 mW. > > > > > > > > > > > > What does this process usb.agent actually do ? It runs for a long > > > > time (30 seconds) and energy consumption during this time > > > > is high ? Can it be brought down ? > > > > > > > > > > > > For the suspension number of 98mW, I didnot use the daughter > > > > card, the usb , the CF or SD slot. However, I experimented > > > > today by attaching a mote to the USB and the Wifi card in > > > > the CF slot. None of the these subsystems are being > > > > turned off on suspension, and consequently on suspension, with the > > CF > > > > card and the mote attached the power consumption is around > > > > a watt. > > > > > > > > > > > > -Nilanjan > > > > > > > > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > > > >> Nilanjan, thanks for you questions. > > > >> > > > >> 1) short answer is I don't know, but you're right that it's very > > > >> strange. How are you powering the USB interface? There are two > > > > options: > > > >> direct from the battery (high current, but lower voltage) or from > > the > > > >> on-board charge pump (5V, but limited current). This is > controlled > > > by > > > >> jumper J8 on the board (which should be fairly near the USBH > > > > connector). > > > >> > > > >> You can try turning off the power, either by removing the jumper, > > or > > > > if > > > >> it's using the charge-pump by doing "echo off > /proc/pmic/USBH" > or > > > >> something like that -- just to see what's going on. > > > >> > > > >> Also, if nothing else comes up, it would be good/interesting to > > > > measure > > > >> the power consumption of the mote with a similar > resistor-in-series > > > >> trick just to see if that's indeed where the power is going... > > > >> > > > >> Maybe it's a software issue -- when you plug the telosB mote in, > is > > > >> there any process that's consuming a lot of CPU? Does ps show > any > > > CPU > > > >> usage? Uptime? I think there are/were some issues with the udev > > > >> filesystem that would cause it to consume a lot of CPU for a > short > > > > time. > > > >> How long does it run at 830mW for...? Is it still like that 20 > > > > minutes > > > >> later? Actually, now that I think of it I think there is > something > > > to > > > >> this line, so maybe check it first. > > > >> > > > >> 2) Yah, I think your correct again in that I don't think we've > done > > > >> anything really to reduce the power consumption in sleep mode, so > > > > there > > > >> are probably a lot of peripherals that are still on. Is this > with > > > the > > > >> DC plugged in? I think the Ethernet interface probably consumes > a > > > lot > > > >> if so. Otherwise, probably need to go through each subsystem and > > > > think > > > >> about what kind of low-power state they might be in... Let me > know > > > > how > > > >> you want to proceed on this -- I could help you make a list of > all > > > the > > > >> subsystems and then we could discuss what might need to be done > for > > > > each > > > >> of them... > > > >> > > > >> Cheers, > > > >> Trevor > > > >> > > > >> > > > >> -----Original Message----- > > > >> From: pla...@li... > > > >> [mailto:pla...@li...] On > > Behalf > > > > Of > > > >> ni...@cs... > > > >> Sent: Tuesday, September 12, 2006 11:47 AM > > > >> To: pla...@li... > > > >> Subject: [Platformx-sg2-devel] power measurements for SG2 > > > >> > > > >> Hi, > > > >> I did some power measurements for the stargate 2 platform. > > > >> I just used the mothercard for the measurements (no daughter > > > >> card). I attached a 1 ohm resistance in series with the mini usb > > > cable > > > > > > > >> and used a NI-DAQ to measure the voltage across the resistor > > > >> and subsequently the current and the power consumed by > > > >> the stargate. > > > >> > > > >> I have the following two questions in this regard. > > > >> > > > >> 1. The idle power of the platform (without any > > > >> CF or SD card ) is around 270 mW, which > > > >> seems reasonable. However, as soon as I plug in a Telosb > > > >> using the USB on the mothercard, the power consumption > > > >> rises to 830 mW. This seems like an odd jump, as the mote > > > >> alone doesnot draw more than 50 mW of power. I am using > > > >> the ftdi_sio driver and the stargate recognises the Telosb > > > >> correctly and is able to communicate with it. > > > >> > > > >> > > > >> 2. The standby/suspension power of the platform is around > > > >> 98 mW which is also kind of high, since I remember that > > > >> Stargate 1 with the daughter card removed pulled around > > > >> 35 mW of power. However, in this case, it might be a > > > >> possible software problem, like maybe unloading the proper > > > >> device drivers before suspension ? > > > >> > > > >> > > > >> > > > >> > > > >> -Nilanjan > > > >> > > > >> > > > >> > > > >> ------------------------------------------------- > > > >> This mail sent through IMP: http://horde.org/imp/ > > > >> > > > >> > > > > > > > > > > ------------------------------------------------------------------------ > > > >> - > > > >> Using Tomcat but need to do more? Need to support web services, > > > >> security? > > > >> Get stuff done quickly with pre-integrated technology to make > your > > > job > > > >> easier > > > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > > > >> Geronimo > > > >> > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 > > > >> _______________________________________________ > > > >> Platformx-sg2-devel mailing list > > > >> Pla...@li... > > > >> https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > >> > > > > > > > > > > > > > > > > > > > > ------------------------------------------------- > > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > >=20 > >=20 > >=20 > >=20 > >=20 > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > >=20 > > > ------------------------------------------------------------------------ > > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > share > > your > > opinions on IT & business topics through brief surveys -- and earn > cash > > > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE > > V > > _______________________________________________ > > Platformx-sg2-devel mailing list > > Pla...@li... > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ >=20 > ------------------------------------------------------------------------ > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE > V > _______________________________________________ > Platformx-sg2-devel mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel >=20 ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |
From: <ni...@cs...> - 2006-10-06 00:05:07
|
I am using the 5V USB supply (C). -Nilanjan Quoting "Pering, Trevor" <tre...@in...>: > It depends somewhat -- how are you powering it? There are three several > options: > > A) External 5V supply > B) Battery direct > C) 5V USB Charge Pump > D) 3.3V regulator > > Each one has a different way of control... What configuration are you > using? > > If it's option D), then the method that Ed describes should do it, but > if it's not then we can poke on it some more... > > Trevor > > > > > -----Original Message----- > From: pla...@li... > [mailto:pla...@li...] On Behalf Of > ni...@cs... > Sent: Wednesday, October 04, 2006 10:25 AM > To: pla...@li... > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > > I tried it with a laptop. It does draw more power that I would expect > , around 150 mW, but nothing like 500 mW that it shows on the stargate. > However, > I can get around this problem by powering the mote separately rather > than the USB. > > I want some help regarding the suspension/standby power of the stargate. > In a > mail, few weeks ago, you said you will help me debug why the stargate > was > pulling such a lot of power during suspension. From my experiments, I > could > figure out that the power supply to the CF card is not being cut off. > Will > just unloading the drivers cut the current supply *completely* to the > CF slot. > > -Nilanjan > > > Quoting "Pering, Trevor" <tre...@in...>: > > > Huh -- not really sure what to say. Seems like the TelosB is doing > > something weird -- there is really nothing that the SG2 could/should > be > > able to do to cause this problem. It's a very simple circuit, and the > > fact that it's fine with another USB device indicates that the HW is > ok. > > > > Have you measured the power of the TelosB platform with a different > USB > > master? E.g., a laptop of some kind? > > > > Cheers, > > Trevor > > > > > > -----Original Message----- > > From: pla...@li... > > [mailto:pla...@li...] On Behalf > Of > > ni...@cs... > > Sent: Wednesday, September 27, 2006 3:14 PM > > To: pla...@li... > > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 > > > > Hi Trevor, > > Sorry for the late reply. I did what you asked. It seems like the > > problem only > > occurs with a tmote sky mote (and not with a SanDisk USB memory > stick). > > I have > > answered inline in detail using ---. > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > Nilanjan, so -- you are saying that if the USBH interface *is* > powered > > > up, but that a USB dongle is NOT plugged in, that there is *no* > > leakage? > > > That is, under what conditions does the leakage occur? When the > rail > > is > > > powered up? When the USB dongle is plugged in? > > > > --- When the USBH *is* powered up but the TelosB is not plugged in, > > there > > is *no* leakage. The leakage only occurs with the mote is plugged in. > > > > > > > > > Also, can you try it with J12 removed -- this is the power for the > > > PCMCIA socket. It just isolates it some, but I wouldn't expect it > to > > do > > > anything. > > > > -- Removing J12 doesnot help. > > > > > > > > > Oh, if you try the port with something else other than the TelosB, > > e.g., > > > a memory stick -- do you see similar problems? > > > > > > --- The problem doesnot occur with a memory stick. I used a 512 MB > > SanDisk > > USB memory stick in place of the TelosB and there was no leakage. The > > system > > drew around 350 mW of power (as expected).I tried different programs > on > > the > > TelosB , but the leakage still remained. > > > > > > > And, if you disable the software drivers (prevent the USB modules > from > > > being loaded), do you see the same effect? > > > > > > ---Unloading the USB drivers didnot help. > > > > > > > Depending on what you find we might need/want to get Alex to poke at > > it > > > some, but we would need a very specific test case for him to > > isolate... > > > > > > Cheers, > > > Trevor > > > > > > > > > > > > > > > > > Thanks, > > Nilanjan > > > > > > > > > > > -----Original Message----- > > > From: Nilanjan Banerjee [mailto:ni...@cs...] > > > Sent: Wednesday, September 13, 2006 2:45 PM > > > To: Pering, Trevor > > > Cc: pla...@li... > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > > > I made a mistake in the last mail. It is actually the charge pump > mode > > > which has a larger leakage current. I got the pins 1 2 3 on J8 in > the > > > reverse direction. So my measurement on charge pump and "direct from > > > the battery" mode should be swapped. > > > > > > Indeed powering off the power by echo off > /proc/pmic/USBH makes > the > > > leakage goes away for the charge pump mode. I am using revision 2.2 > > for > > > the mothercard. > > > > > > -Nilanjan > > > > > > On Wed, 13 Sep 2006, Pering, Trevor wrote: > > > > > > > Hmmm -- not sure where the power is going. You could try manually > > > > turning subsystems off one by one to see if it helps at all. The > > > power > > > > rails are listed in /proc/pmic/VDD_* -- and if you do something > > like: > > > > > > > > echo off > /proc/pmic/VDD_CC2420 > > > > > > > > it should turn power off to that rail. There are some rails that > > you > > > > can't really turn off and still have a functional system. E.g., > > > VCC_IO. > > > > However, you can turn it off once and see how much it drops the > > power, > > > > but you'll need to power-cycle to get it working again. > > > > > > > > Also, if you turn the power off for the charge pump (USBH), does > the > > > > leakage go away? This would be the obvious place and it would > > > indicate > > > > that there is some kind of leakage in that part of the system that > > we > > > > could look for... That power rail does go a few other places so it > > > > wouldn't be unreasonable. > > > > > > > > Just to verify, which version of the board do you have? This > should > > > be > > > > something like 2.1 or 2.2, and would be written in the silk screen > > > > somewhere... > > > > > > > > Cheers, > > > > Trevor > > > > > > > > > > > > -----Original Message----- > > > > From: ni...@cs... [mailto:ni...@cs...] > > > > Sent: Wednesday, September 13, 2006 12:38 PM > > > > To: Pering, Trevor > > > > Cc: pla...@li... > > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > > > > > Hi, > > > > I was using the "direct from the battery" to power the USB. > > > > So I tried the charge pump too. So these are > > > > the power characteristics for the above two modes of > > > > powering the usb. > > > > > > > > 1. "direct from the battery" : Initially, for about 30 > > > > seconds the power consumption rises to 1170 mW. It seems > > > > that for this period of time a process called "usb.agent" is > > > > using about 15% of the CPU. Once this process terminates > > > > the power consumption falls to about 780 mW. The mote > > > > alone from the usb draws 145 mW. (This is high but this > > > > is the amount that it draws independently from a laptop > > > > usb too. I will try to see why this is the case !!). So > > > > there is at least a leakage of about 360 mW somewhere else. > > > > > > > > > > > > 2. charge pump : Initially for about 30 seconds the > > > > power rises to 850 mW due to the process usb.agent, I guess. > > > > and then it falls to 490 mW. the mote again pulls around > > > > 145 mW. So there is a leakage of about 75 mW. > > > > > > > > > > > > What does this process usb.agent actually do ? It runs for a long > > > > time (30 seconds) and energy consumption during this time > > > > is high ? Can it be brought down ? > > > > > > > > > > > > For the suspension number of 98mW, I didnot use the daughter > > > > card, the usb , the CF or SD slot. However, I experimented > > > > today by attaching a mote to the USB and the Wifi card in > > > > the CF slot. None of the these subsystems are being > > > > turned off on suspension, and consequently on suspension, with the > > CF > > > > card and the mote attached the power consumption is around > > > > a watt. > > > > > > > > > > > > -Nilanjan > > > > > > > > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > > > >> Nilanjan, thanks for you questions. > > > >> > > > >> 1) short answer is I don't know, but you're right that it's very > > > >> strange. How are you powering the USB interface? There are two > > > > options: > > > >> direct from the battery (high current, but lower voltage) or from > > the > > > >> on-board charge pump (5V, but limited current). This is > controlled > > > by > > > >> jumper J8 on the board (which should be fairly near the USBH > > > > connector). > > > >> > > > >> You can try turning off the power, either by removing the jumper, > > or > > > > if > > > >> it's using the charge-pump by doing "echo off > /proc/pmic/USBH" > or > > > >> something like that -- just to see what's going on. > > > >> > > > >> Also, if nothing else comes up, it would be good/interesting to > > > > measure > > > >> the power consumption of the mote with a similar > resistor-in-series > > > >> trick just to see if that's indeed where the power is going... > > > >> > > > >> Maybe it's a software issue -- when you plug the telosB mote in, > is > > > >> there any process that's consuming a lot of CPU? Does ps show > any > > > CPU > > > >> usage? Uptime? I think there are/were some issues with the udev > > > >> filesystem that would cause it to consume a lot of CPU for a > short > > > > time. > > > >> How long does it run at 830mW for...? Is it still like that 20 > > > > minutes > > > >> later? Actually, now that I think of it I think there is > something > > > to > > > >> this line, so maybe check it first. > > > >> > > > >> 2) Yah, I think your correct again in that I don't think we've > done > > > >> anything really to reduce the power consumption in sleep mode, so > > > > there > > > >> are probably a lot of peripherals that are still on. Is this > with > > > the > > > >> DC plugged in? I think the Ethernet interface probably consumes > a > > > lot > > > >> if so. Otherwise, probably need to go through each subsystem and > > > > think > > > >> about what kind of low-power state they might be in... Let me > know > > > > how > > > >> you want to proceed on this -- I could help you make a list of > all > > > the > > > >> subsystems and then we could discuss what might need to be done > for > > > > each > > > >> of them... > > > >> > > > >> Cheers, > > > >> Trevor > > > >> > > > >> > > > >> -----Original Message----- > > > >> From: pla...@li... > > > >> [mailto:pla...@li...] On > > Behalf > > > > Of > > > >> ni...@cs... > > > >> Sent: Tuesday, September 12, 2006 11:47 AM > > > >> To: pla...@li... > > > >> Subject: [Platformx-sg2-devel] power measurements for SG2 > > > >> > > > >> Hi, > > > >> I did some power measurements for the stargate 2 platform. > > > >> I just used the mothercard for the measurements (no daughter > > > >> card). I attached a 1 ohm resistance in series with the mini usb > > > cable > > > > > > > >> and used a NI-DAQ to measure the voltage across the resistor > > > >> and subsequently the current and the power consumed by > > > >> the stargate. > > > >> > > > >> I have the following two questions in this regard. > > > >> > > > >> 1. The idle power of the platform (without any > > > >> CF or SD card ) is around 270 mW, which > > > >> seems reasonable. However, as soon as I plug in a Telosb > > > >> using the USB on the mothercard, the power consumption > > > >> rises to 830 mW. This seems like an odd jump, as the mote > > > >> alone doesnot draw more than 50 mW of power. I am using > > > >> the ftdi_sio driver and the stargate recognises the Telosb > > > >> correctly and is able to communicate with it. > > > >> > > > >> > > > >> 2. The standby/suspension power of the platform is around > > > >> 98 mW which is also kind of high, since I remember that > > > >> Stargate 1 with the daughter card removed pulled around > > > >> 35 mW of power. However, in this case, it might be a > > > >> possible software problem, like maybe unloading the proper > > > >> device drivers before suspension ? > > > >> > > > >> > > > >> > > > >> > > > >> -Nilanjan > > > >> > > > >> > > > >> > > > >> ------------------------------------------------- > > > >> This mail sent through IMP: http://horde.org/imp/ > > > >> > > > >> > > > > > > > > > > ------------------------------------------------------------------------ > > > >> - > > > >> Using Tomcat but need to do more? Need to support web services, > > > >> security? > > > >> Get stuff done quickly with pre-integrated technology to make > your > > > job > > > >> easier > > > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > > > >> Geronimo > > > >> > > > > > > > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > >> _______________________________________________ > > > >> Platformx-sg2-devel mailing list > > > >> Pla...@li... > > > >> https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > >> > > > > > > > > > > > > > > > > > > > > ------------------------------------------------- > > > > This mail sent through IMP: http://horde.org/imp/ > > > > > > > > > > > > > > > > > ------------------------------------------------- > > This mail sent through IMP: http://horde.org/imp/ > > > > > ------------------------------------------------------------------------ > > - > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to > share > > your > > opinions on IT & business topics through brief surveys -- and earn > cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > > V > > _______________________________________________ > > Platformx-sg2-devel mailing list > > Pla...@li... > > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > > > > > > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ > > ------------------------------------------------------------------------ > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDE > V > _______________________________________________ > Platformx-sg2-devel mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |
From: Pering, T. <tre...@in...> - 2006-10-05 16:44:43
|
It depends somewhat -- how are you powering it? There are three several options: A) External 5V supply B) Battery direct C) 5V USB Charge Pump D) 3.3V regulator Each one has a different way of control... What configuration are you using? If it's option D), then the method that Ed describes should do it, but if it's not then we can poke on it some more... Trevor =20 -----Original Message----- From: pla...@li... [mailto:pla...@li...] On Behalf Of ni...@cs... Sent: Wednesday, October 04, 2006 10:25 AM To: pla...@li... Subject: Re: [Platformx-sg2-devel] power measurements for SG2 I tried it with a laptop. It does draw more power that I would expect , around 150 mW, but nothing like 500 mW that it shows on the stargate. However, I can get around this problem by powering the mote separately rather than the USB. I want some help regarding the suspension/standby power of the stargate. In a mail, few weeks ago, you said you will help me debug why the stargate was pulling such a lot of power during suspension. From my experiments, I could figure out that the power supply to the CF card is not being cut off. Will just unloading the drivers cut the current supply *completely* to the CF slot. -Nilanjan Quoting "Pering, Trevor" <tre...@in...>: > Huh -- not really sure what to say. Seems like the TelosB is doing > something weird -- there is really nothing that the SG2 could/should be > able to do to cause this problem. It's a very simple circuit, and the > fact that it's fine with another USB device indicates that the HW is ok. >=20 > Have you measured the power of the TelosB platform with a different USB > master? E.g., a laptop of some kind? >=20 > Cheers, > Trevor >=20 >=20 > -----Original Message----- > From: pla...@li... > [mailto:pla...@li...] On Behalf Of > ni...@cs... > Sent: Wednesday, September 27, 2006 3:14 PM > To: pla...@li... > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 >=20 > Hi Trevor, > Sorry for the late reply. I did what you asked. It seems like the > problem only > occurs with a tmote sky mote (and not with a SanDisk USB memory stick). > I have > answered inline in detail using ---. >=20 >=20 > Quoting "Pering, Trevor" <tre...@in...>: >=20 > > Nilanjan, so -- you are saying that if the USBH interface *is* powered > > up, but that a USB dongle is NOT plugged in, that there is *no* > leakage? > > That is, under what conditions does the leakage occur? When the rail > is > > powered up? When the USB dongle is plugged in? =20 >=20 > --- When the USBH *is* powered up but the TelosB is not plugged in, > there > is *no* leakage. The leakage only occurs with the mote is plugged in. >=20 >=20 >=20 > > Also, can you try it with J12 removed -- this is the power for the > > PCMCIA socket. It just isolates it some, but I wouldn't expect it to > do > > anything. =20 >=20 > -- Removing J12 doesnot help. >=20 >=20 >=20 > > Oh, if you try the port with something else other than the TelosB, > e.g., > > a memory stick -- do you see similar problems? =20 >=20 >=20 > --- The problem doesnot occur with a memory stick. I used a 512 MB > SanDisk > USB memory stick in place of the TelosB and there was no leakage. The > system > drew around 350 mW of power (as expected).I tried different programs on > the=20 > TelosB , but the leakage still remained. >=20 >=20 > > And, if you disable the software drivers (prevent the USB modules from > > being loaded), do you see the same effect? >=20 >=20 > ---Unloading the USB drivers didnot help. >=20 >=20 > > Depending on what you find we might need/want to get Alex to poke at > it > > some, but we would need a very specific test case for him to > isolate... > >=20 > > Cheers, > > Trevor > >=20 >=20 >=20 >=20 >=20 >=20 >=20 > Thanks, > Nilanjan >=20 >=20 >=20 >=20 > > -----Original Message----- > > From: Nilanjan Banerjee [mailto:ni...@cs...]=20 > > Sent: Wednesday, September 13, 2006 2:45 PM > > To: Pering, Trevor > > Cc: pla...@li... > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > >=20 > > I made a mistake in the last mail. It is actually the charge pump mode > > which has a larger leakage current. I got the pins 1 2 3 on J8 in the=20 > > reverse direction. So my measurement on charge pump and "direct from > > the battery" mode should be swapped. > >=20 > > Indeed powering off the power by echo off > /proc/pmic/USBH makes the > > leakage goes away for the charge pump mode. I am using revision 2.2 > for=20 > > the mothercard. > >=20 > > -Nilanjan > >=20 > > On Wed, 13 Sep 2006, Pering, Trevor wrote: > >=20 > > > Hmmm -- not sure where the power is going. You could try manually > > > turning subsystems off one by one to see if it helps at all. The > > power > > > rails are listed in /proc/pmic/VDD_* -- and if you do something > like: > > > > > > echo off > /proc/pmic/VDD_CC2420 > > > > > > it should turn power off to that rail. There are some rails that > you > > > can't really turn off and still have a functional system. E.g., > > VCC_IO. > > > However, you can turn it off once and see how much it drops the > power, > > > but you'll need to power-cycle to get it working again. > > > > > > Also, if you turn the power off for the charge pump (USBH), does the > > > leakage go away? This would be the obvious place and it would > > indicate > > > that there is some kind of leakage in that part of the system that > we > > > could look for... That power rail does go a few other places so it > > > wouldn't be unreasonable. > > > > > > Just to verify, which version of the board do you have? This should > > be > > > something like 2.1 or 2.2, and would be written in the silk screen > > > somewhere... > > > > > > Cheers, > > > Trevor > > > > > > > > > -----Original Message----- > > > From: ni...@cs... [mailto:ni...@cs...] > > > Sent: Wednesday, September 13, 2006 12:38 PM > > > To: Pering, Trevor > > > Cc: pla...@li... > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > > > Hi, > > > I was using the "direct from the battery" to power the USB. > > > So I tried the charge pump too. So these are > > > the power characteristics for the above two modes of > > > powering the usb. > > > > > > 1. "direct from the battery" : Initially, for about 30 > > > seconds the power consumption rises to 1170 mW. It seems > > > that for this period of time a process called "usb.agent" is > > > using about 15% of the CPU. Once this process terminates > > > the power consumption falls to about 780 mW. The mote > > > alone from the usb draws 145 mW. (This is high but this > > > is the amount that it draws independently from a laptop > > > usb too. I will try to see why this is the case !!). So > > > there is at least a leakage of about 360 mW somewhere else. > > > > > > > > > 2. charge pump : Initially for about 30 seconds the > > > power rises to 850 mW due to the process usb.agent, I guess. > > > and then it falls to 490 mW. the mote again pulls around > > > 145 mW. So there is a leakage of about 75 mW. > > > > > > > > > What does this process usb.agent actually do ? It runs for a long > > > time (30 seconds) and energy consumption during this time > > > is high ? Can it be brought down ? > > > > > > > > > For the suspension number of 98mW, I didnot use the daughter > > > card, the usb , the CF or SD slot. However, I experimented > > > today by attaching a mote to the USB and the Wifi card in > > > the CF slot. None of the these subsystems are being > > > turned off on suspension, and consequently on suspension, with the > CF > > > card and the mote attached the power consumption is around > > > a watt. > > > > > > > > > -Nilanjan > > > > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > >> Nilanjan, thanks for you questions. > > >> > > >> 1) short answer is I don't know, but you're right that it's very > > >> strange. How are you powering the USB interface? There are two > > > options: > > >> direct from the battery (high current, but lower voltage) or from > the > > >> on-board charge pump (5V, but limited current). This is controlled > > by > > >> jumper J8 on the board (which should be fairly near the USBH > > > connector). > > >> > > >> You can try turning off the power, either by removing the jumper, > or > > > if > > >> it's using the charge-pump by doing "echo off > /proc/pmic/USBH" or > > >> something like that -- just to see what's going on. > > >> > > >> Also, if nothing else comes up, it would be good/interesting to > > > measure > > >> the power consumption of the mote with a similar resistor-in-series > > >> trick just to see if that's indeed where the power is going... > > >> > > >> Maybe it's a software issue -- when you plug the telosB mote in, is > > >> there any process that's consuming a lot of CPU? Does ps show any > > CPU > > >> usage? Uptime? I think there are/were some issues with the udev > > >> filesystem that would cause it to consume a lot of CPU for a short > > > time. > > >> How long does it run at 830mW for...? Is it still like that 20 > > > minutes > > >> later? Actually, now that I think of it I think there is something > > to > > >> this line, so maybe check it first. > > >> > > >> 2) Yah, I think your correct again in that I don't think we've done > > >> anything really to reduce the power consumption in sleep mode, so > > > there > > >> are probably a lot of peripherals that are still on. Is this with > > the > > >> DC plugged in? I think the Ethernet interface probably consumes a > > lot > > >> if so. Otherwise, probably need to go through each subsystem and > > > think > > >> about what kind of low-power state they might be in... Let me know > > > how > > >> you want to proceed on this -- I could help you make a list of all > > the > > >> subsystems and then we could discuss what might need to be done for > > > each > > >> of them... > > >> > > >> Cheers, > > >> Trevor > > >> > > >> > > >> -----Original Message----- > > >> From: pla...@li... > > >> [mailto:pla...@li...] On > Behalf > > > Of > > >> ni...@cs... > > >> Sent: Tuesday, September 12, 2006 11:47 AM > > >> To: pla...@li... > > >> Subject: [Platformx-sg2-devel] power measurements for SG2 > > >> > > >> Hi, > > >> I did some power measurements for the stargate 2 platform. > > >> I just used the mothercard for the measurements (no daughter > > >> card). I attached a 1 ohm resistance in series with the mini usb > > cable > > > > > >> and used a NI-DAQ to measure the voltage across the resistor > > >> and subsequently the current and the power consumed by > > >> the stargate. > > >> > > >> I have the following two questions in this regard. > > >> > > >> 1. The idle power of the platform (without any > > >> CF or SD card ) is around 270 mW, which > > >> seems reasonable. However, as soon as I plug in a Telosb > > >> using the USB on the mothercard, the power consumption > > >> rises to 830 mW. This seems like an odd jump, as the mote > > >> alone doesnot draw more than 50 mW of power. I am using > > >> the ftdi_sio driver and the stargate recognises the Telosb > > >> correctly and is able to communicate with it. > > >> > > >> > > >> 2. The standby/suspension power of the platform is around > > >> 98 mW which is also kind of high, since I remember that > > >> Stargate 1 with the daughter card removed pulled around > > >> 35 mW of power. However, in this case, it might be a > > >> possible software problem, like maybe unloading the proper > > >> device drivers before suspension ? > > >> > > >> > > >> > > >> > > >> -Nilanjan > > >> > > >> > > >> > > >> ------------------------------------------------- > > >> This mail sent through IMP: http://horde.org/imp/ > > >> > > >> > > > > > > ------------------------------------------------------------------------ > > >> - > > >> Using Tomcat but need to do more? Need to support web services, > > >> security? > > >> Get stuff done quickly with pre-integrated technology to make your > > job > > >> easier > > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > > >> Geronimo > > >> > > > > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 > > >> _______________________________________________ > > >> Platformx-sg2-devel mailing list > > >> Pla...@li... > > >> https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > >> > > > > > > > > > > > > > > > ------------------------------------------------- > > > This mail sent through IMP: http://horde.org/imp/ > > > > >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ >=20 > ------------------------------------------------------------------------ > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE > V > _______________________________________________ > Platformx-sg2-devel mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel >=20 ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Platformx-sg2-devel mailing list Pla...@li... https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel |
From: Epp, E. <edw...@in...> - 2006-10-04 18:25:32
|
You can edit the /etc/modules file so that it does not load the pcmcia drivers. The gpios that control the pcmcia are manages in one of those drivers. From that file just remove pxa2xx_cs pcmcia ide-cs ide-disk hostap_cs There are also module that drive the wired Ethernet chip, usb, and sd (mmc) hardware in that file. ed c.=20 -----Original Message----- From: pla...@li... [mailto:pla...@li...] On Behalf Of ni...@cs... Sent: Wednesday, October 04, 2006 10:25 AM To: pla...@li... Subject: Re: [Platformx-sg2-devel] power measurements for SG2 I tried it with a laptop. It does draw more power that I would expect , around 150 mW, but nothing like 500 mW that it shows on the stargate. However, I can get around this problem by powering the mote separately rather than the USB. I want some help regarding the suspension/standby power of the stargate. In a mail, few weeks ago, you said you will help me debug why the stargate was pulling such a lot of power during suspension. From my experiments, I could figure out that the power supply to the CF card is not being cut off. Will just unloading the drivers cut the current supply *completely* to the CF slot. -Nilanjan Quoting "Pering, Trevor" <tre...@in...>: > Huh -- not really sure what to say. Seems like the TelosB is doing > something weird -- there is really nothing that the SG2 could/should be > able to do to cause this problem. It's a very simple circuit, and the > fact that it's fine with another USB device indicates that the HW is ok. >=20 > Have you measured the power of the TelosB platform with a different USB > master? E.g., a laptop of some kind? >=20 > Cheers, > Trevor >=20 >=20 > -----Original Message----- > From: pla...@li... > [mailto:pla...@li...] On Behalf Of > ni...@cs... > Sent: Wednesday, September 27, 2006 3:14 PM > To: pla...@li... > Subject: Re: [Platformx-sg2-devel] power measurements for SG2 >=20 > Hi Trevor, > Sorry for the late reply. I did what you asked. It seems like the > problem only > occurs with a tmote sky mote (and not with a SanDisk USB memory stick). > I have > answered inline in detail using ---. >=20 >=20 > Quoting "Pering, Trevor" <tre...@in...>: >=20 > > Nilanjan, so -- you are saying that if the USBH interface *is* powered > > up, but that a USB dongle is NOT plugged in, that there is *no* > leakage? > > That is, under what conditions does the leakage occur? When the rail > is > > powered up? When the USB dongle is plugged in? =20 >=20 > --- When the USBH *is* powered up but the TelosB is not plugged in, > there > is *no* leakage. The leakage only occurs with the mote is plugged in. >=20 >=20 >=20 > > Also, can you try it with J12 removed -- this is the power for the > > PCMCIA socket. It just isolates it some, but I wouldn't expect it to > do > > anything. =20 >=20 > -- Removing J12 doesnot help. >=20 >=20 >=20 > > Oh, if you try the port with something else other than the TelosB, > e.g., > > a memory stick -- do you see similar problems? =20 >=20 >=20 > --- The problem doesnot occur with a memory stick. I used a 512 MB > SanDisk > USB memory stick in place of the TelosB and there was no leakage. The > system > drew around 350 mW of power (as expected).I tried different programs on > the=20 > TelosB , but the leakage still remained. >=20 >=20 > > And, if you disable the software drivers (prevent the USB modules from > > being loaded), do you see the same effect? >=20 >=20 > ---Unloading the USB drivers didnot help. >=20 >=20 > > Depending on what you find we might need/want to get Alex to poke at > it > > some, but we would need a very specific test case for him to > isolate... > >=20 > > Cheers, > > Trevor > >=20 >=20 >=20 >=20 >=20 >=20 >=20 > Thanks, > Nilanjan >=20 >=20 >=20 >=20 > > -----Original Message----- > > From: Nilanjan Banerjee [mailto:ni...@cs...]=20 > > Sent: Wednesday, September 13, 2006 2:45 PM > > To: Pering, Trevor > > Cc: pla...@li... > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > >=20 > > I made a mistake in the last mail. It is actually the charge pump mode > > which has a larger leakage current. I got the pins 1 2 3 on J8 in the=20 > > reverse direction. So my measurement on charge pump and "direct from > > the battery" mode should be swapped. > >=20 > > Indeed powering off the power by echo off > /proc/pmic/USBH makes the > > leakage goes away for the charge pump mode. I am using revision 2.2 > for=20 > > the mothercard. > >=20 > > -Nilanjan > >=20 > > On Wed, 13 Sep 2006, Pering, Trevor wrote: > >=20 > > > Hmmm -- not sure where the power is going. You could try manually > > > turning subsystems off one by one to see if it helps at all. The > > power > > > rails are listed in /proc/pmic/VDD_* -- and if you do something > like: > > > > > > echo off > /proc/pmic/VDD_CC2420 > > > > > > it should turn power off to that rail. There are some rails that > you > > > can't really turn off and still have a functional system. E.g., > > VCC_IO. > > > However, you can turn it off once and see how much it drops the > power, > > > but you'll need to power-cycle to get it working again. > > > > > > Also, if you turn the power off for the charge pump (USBH), does the > > > leakage go away? This would be the obvious place and it would > > indicate > > > that there is some kind of leakage in that part of the system that > we > > > could look for... That power rail does go a few other places so it > > > wouldn't be unreasonable. > > > > > > Just to verify, which version of the board do you have? This should > > be > > > something like 2.1 or 2.2, and would be written in the silk screen > > > somewhere... > > > > > > Cheers, > > > Trevor > > > > > > > > > -----Original Message----- > > > From: ni...@cs... [mailto:ni...@cs...] > > > Sent: Wednesday, September 13, 2006 12:38 PM > > > To: Pering, Trevor > > > Cc: pla...@li... > > > Subject: RE: [Platformx-sg2-devel] power measurements for SG2 > > > > > > Hi, > > > I was using the "direct from the battery" to power the USB. > > > So I tried the charge pump too. So these are > > > the power characteristics for the above two modes of > > > powering the usb. > > > > > > 1. "direct from the battery" : Initially, for about 30 > > > seconds the power consumption rises to 1170 mW. It seems > > > that for this period of time a process called "usb.agent" is > > > using about 15% of the CPU. Once this process terminates > > > the power consumption falls to about 780 mW. The mote > > > alone from the usb draws 145 mW. (This is high but this > > > is the amount that it draws independently from a laptop > > > usb too. I will try to see why this is the case !!). So > > > there is at least a leakage of about 360 mW somewhere else. > > > > > > > > > 2. charge pump : Initially for about 30 seconds the > > > power rises to 850 mW due to the process usb.agent, I guess. > > > and then it falls to 490 mW. the mote again pulls around > > > 145 mW. So there is a leakage of about 75 mW. > > > > > > > > > What does this process usb.agent actually do ? It runs for a long > > > time (30 seconds) and energy consumption during this time > > > is high ? Can it be brought down ? > > > > > > > > > For the suspension number of 98mW, I didnot use the daughter > > > card, the usb , the CF or SD slot. However, I experimented > > > today by attaching a mote to the USB and the Wifi card in > > > the CF slot. None of the these subsystems are being > > > turned off on suspension, and consequently on suspension, with the > CF > > > card and the mote attached the power consumption is around > > > a watt. > > > > > > > > > -Nilanjan > > > > > > > > > > > > Quoting "Pering, Trevor" <tre...@in...>: > > > > > >> Nilanjan, thanks for you questions. > > >> > > >> 1) short answer is I don't know, but you're right that it's very > > >> strange. How are you powering the USB interface? There are two > > > options: > > >> direct from the battery (high current, but lower voltage) or from > the > > >> on-board charge pump (5V, but limited current). This is controlled > > by > > >> jumper J8 on the board (which should be fairly near the USBH > > > connector). > > >> > > >> You can try turning off the power, either by removing the jumper, > or > > > if > > >> it's using the charge-pump by doing "echo off > /proc/pmic/USBH" or > > >> something like that -- just to see what's going on. > > >> > > >> Also, if nothing else comes up, it would be good/interesting to > > > measure > > >> the power consumption of the mote with a similar resistor-in-series > > >> trick just to see if that's indeed where the power is going... > > >> > > >> Maybe it's a software issue -- when you plug the telosB mote in, is > > >> there any process that's consuming a lot of CPU? Does ps show any > > CPU > > >> usage? Uptime? I think there are/were some issues with the udev > > >> filesystem that would cause it to consume a lot of CPU for a short > > > time. > > >> How long does it run at 830mW for...? Is it still like that 20 > > > minutes > > >> later? Actually, now that I think of it I think there is something > > to > > >> this line, so maybe check it first. > > >> > > >> 2) Yah, I think your correct again in that I don't think we've done > > >> anything really to reduce the power consumption in sleep mode, so > > > there > > >> are probably a lot of peripherals that are still on. Is this with > > the > > >> DC plugged in? I think the Ethernet interface probably consumes a > > lot > > >> if so. Otherwise, probably need to go through each subsystem and > > > think > > >> about what kind of low-power state they might be in... Let me know > > > how > > >> you want to proceed on this -- I could help you make a list of all > > the > > >> subsystems and then we could discuss what might need to be done for > > > each > > >> of them... > > >> > > >> Cheers, > > >> Trevor > > >> > > >> > > >> -----Original Message----- > > >> From: pla...@li... > > >> [mailto:pla...@li...] On > Behalf > > > Of > > >> ni...@cs... > > >> Sent: Tuesday, September 12, 2006 11:47 AM > > >> To: pla...@li... > > >> Subject: [Platformx-sg2-devel] power measurements for SG2 > > >> > > >> Hi, > > >> I did some power measurements for the stargate 2 platform. > > >> I just used the mothercard for the measurements (no daughter > > >> card). I attached a 1 ohm resistance in series with the mini usb > > cable > > > > > >> and used a NI-DAQ to measure the voltage across the resistor > > >> and subsequently the current and the power consumed by > > >> the stargate. > > >> > > >> I have the following two questions in this regard. > > >> > > >> 1. The idle power of the platform (without any > > >> CF or SD card ) is around 270 mW, which > > >> seems reasonable. However, as soon as I plug in a Telosb > > >> using the USB on the mothercard, the power consumption > > >> rises to 830 mW. This seems like an odd jump, as the mote > > >> alone doesnot draw more than 50 mW of power. I am using > > >> the ftdi_sio driver and the stargate recognises the Telosb > > >> correctly and is able to communicate with it. > > >> > > >> > > >> 2. The standby/suspension power of the platform is around > > >> 98 mW which is also kind of high, since I remember that > > >> Stargate 1 with the daughter card removed pulled around > > >> 35 mW of power. However, in this case, it might be a > > >> possible software problem, like maybe unloading the proper > > >> device drivers before suspension ? > > >> > > >> > > >> > > >> > > >> -Nilanjan > > >> > > >> > > >> > > >> ------------------------------------------------- > > >> This mail sent through IMP: http://horde.org/imp/ > > >> > > >> > > > > > > ------------------------------------------------------------------------ > > >> - > > >> Using Tomcat but need to do more? Need to support web services, > > >> security? > > >> Get stuff done quickly with pre-integrated technology to make your > > job > > >> easier > > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache > > >> Geronimo > > >> > > > > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D= 121642 > > >> _______________________________________________ > > >> Platformx-sg2-devel mailing list > > >> Pla...@li... > > >> https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel > > >> > > > > > > > > > > > > > > > ------------------------------------------------- > > > This mail sent through IMP: http://horde.org/imp/ > > > > >=20 >=20 >=20 >=20 >=20 > ------------------------------------------------- > This mail sent through IMP: http://horde.org/imp/ >=20 > ------------------------------------------------------------------------ > - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE > V > _______________________________________________ > Platformx-sg2-devel mailing list > Pla...@li... > https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel >=20 ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDE V _______________________________________________ Platformx-sg2-devel mailing list Pla...@li... https://lists.sourceforge.net/lists/listinfo/platformx-sg2-devel |